168651Skris# 268651Skris# $FreeBSD: releng/11.0/sys/mips/conf/SENTRY5 302190 2016-06-25 04:34:54Z landonf $ 368651Skris# 468651Skris# The Broadcom Sentry5 series of processors and boards is very commonly 568651Skris# used in COTS hardware including the Netgear WGT634U. 668651Skris# 768651Skris# Some tweaks are needed for use with this platform: 868651Skris# 968651Skris# * CFE firmware's ELF loader expects an ELF kernel which is linked so as 1068651Skris# not to contain offsets in PT_LOAD which point behind the actual offset 1168651Skris# of that PT header. FreeBSD normally links the first PT_LOAD header to 1268651Skris# begin at offset 0. 1368651Skris# 1468651Skris# * Broadcom's support package for the internal bus, the Sonics 1568651Skris# SiliconBackplane, needs to be integrated to detect and probe hardware 1668651Skris# correctly. 17194206Ssimon# 1868651Skris# * The clock needs to be calibrated correctly, so that DELAY() may work. 1976866Skris# One problem with this is that the low-level printf() routine calls DELAY(), 2076866Skris# which currently causes divide-by-zero trap 2176866Skris# 2268651Skris# * The Broadcom CPUs have no FPU. Attempting to detect one by reading CP1's 2368651Skris# status register causes an unhandled boot-time exception. An FPU emulator 2468651Skris# will be necessary to support multi-user boot. 2568651Skris# 2668651Skris 2768651Skrisident SENTRY5 2876866Skriscpu CPU_MIPS4KC 2976866Skrismakeoptions TRAMPLOADADDR=0x807963c0 3076866Skris 3176866Skrishints "SENTRY5.hints" 3276866Skrisinclude "../broadcom/std.broadcom" 3376866Skris 3476866Skris# sentry5 normally ships with cfe firmware; use the console for now 3576866Skrisoptions CFE 3668651Skrisoptions CFE_CONSOLE 3768651Skrisoptions ALT_BREAK_TO_DEBUGGER 3868651Skris 3968651Skrismakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 4068651Skrismakeoptions MODULES_OVERRIDE="" 4176866Skris 4268651Skrisoptions DDB 4368651Skrisoptions KDB 4468651Skris 45options SCHED_4BSD #4BSD scheduler 46options INET #InterNETworking 47options NFSCL #Network Filesystem Client 48options NFS_ROOT #NFS usable as /, requires NFSCL 49options PSEUDOFS #Pseudo-filesystem framework 50options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 51 52# Debugging for use in -current 53#options DEADLKRES 54options INVARIANTS 55options INVARIANT_SUPPORT 56 57#options BUS_DEBUG 58#makeoptions BUS_DEBUG 59 60device bhnd 61device siba 62device siba_nexus 63device bhnd_pcib 64device pci # bhnd_pcib 65 66# device bfe # XXX will build both pci and siba 67# device miibus # attachments 68 69# pci devices 70# notyet: 71#device ath # in pci slot 72#device ath_pci # Atheros pci/cardbus glue 73#device ath_hal # pci chip support 74#options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors 75 76options USB_DEBUG # enable debug msgs 77device usb # USB Bus (required) 78device uhci # UHCI PCI->USB interface 79device ehci # EHCI PCI->USB interface (USB 2.0) 80 81device cfi # parallel flash 82device cfid 83 84device uart 85 86device loop 87device ether 88device md 89