4 # The Broadcom Sentry5 series of processors and boards is very commonly
5 # used in COTS hardware including the Netgear WGT634U.
7 # Some tweaks are needed for use with this platform:
9 # * CFE firmware's ELF loader expects an ELF kernel which is linked so as
10 # not to contain offsets in PT_LOAD which point behind the actual offset
11 # of that PT header. FreeBSD normally links the first PT_LOAD header to
14 # * Broadcom's support package for the internal bus, the Sonics
15 # SiliconBackplane, needs to be integrated to detect and probe hardware
18 # * The clock needs to be calibrated correctly, so that DELAY() may work.
19 # One problem with this is that the low-level printf() routine calls DELAY(),
20 # which currently causes divide-by-zero trap
22 # * The Broadcom CPUs have no FPU. Attempting to detect one by reading CP1's
23 # status register causes an unhandled boot-time exception. An FPU emulator
24 # will be necessary to support multi-user boot.
31 options CPU_SENTRY5 # XXX should this be a
34 # XXX only siba should be hardwired for now; we will use
35 # bus enumeration there
36 files "../sentry5/files.sentry5"
39 # sentry5 normally ships with cfe firmware; use the console for now
42 options ALT_BREAK_TO_DEBUGGER
44 # cfe loader expects kernel at 0x80001000 for mips32 w/o backwards
45 # offsets in the linked elf image (see ldscript hack)
46 # XXX can we conditionalize the linker stuff on options CFE?
47 options KERNVIRTADDR=0x80001000
49 makeoptions LDSCRIPT_NAME= ldscript.mips.cfe
51 #makeoptions ARCH_FLAGS=-march=mips32
52 makeoptions MIPS_LITTLE_ENDIAN=defined
53 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
54 makeoptions MODULES_OVERRIDE=""
59 options SCHED_4BSD #4BSD scheduler
60 options INET #InterNETworking
61 options NFSCLIENT #Network Filesystem Client
62 options NFS_ROOT #NFS usable as /, requires NFSCLIENT
63 options PSEUDOFS #Pseudo-filesystem framework
64 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
66 # Debugging for use in -current
68 options INVARIANT_SUPPORT
71 #makeoptions BUS_DEBUG
73 device siba # Sonics SiliconBackplane
74 device pci # siba_pcib
76 device bfe # XXX will build both pci and siba
77 device miibus # attachments
81 #device ath # in pci slot
82 #device ath_hal # pci chip support
83 #options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
85 options USB_DEBUG # enable debug msgs
86 device usb # USB Bus (required)
87 device uhci # UHCI PCI->USB interface
88 device ehci # EHCI PCI->USB interface (USB 2.0)
90 # need to teach the code to ignore the bridge....
93 # XXX notyet; need to be auto probed children of siba_cc.