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.
29 # XXX only siba should be hardwired for now; we will use
30 # bus enumeration there
32 include "../sentry5/std.sentry5"
34 # sentry5 normally ships with cfe firmware; use the console for now
37 options ALT_BREAK_TO_DEBUGGER
39 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
40 makeoptions MODULES_OVERRIDE=""
45 options SCHED_4BSD #4BSD scheduler
46 options INET #InterNETworking
47 options NFSCL #Network Filesystem Client
48 options NFS_ROOT #NFS usable as /, requires NFSCL
49 options PSEUDOFS #Pseudo-filesystem framework
50 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
52 # Debugging for use in -current
55 options INVARIANT_SUPPORT
58 #makeoptions BUS_DEBUG
60 device siba # Sonics SiliconBackplane
61 device pci # siba_pcib
63 # device bfe # XXX will build both pci and siba
64 # device miibus # attachments
68 #device ath # in pci slot
69 #device ath_pci # Atheros pci/cardbus glue
70 #device ath_hal # pci chip support
71 #options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
73 options USB_DEBUG # enable debug msgs
74 device usb # USB Bus (required)
75 device uhci # UHCI PCI->USB interface
76 device ehci # EHCI PCI->USB interface (USB 2.0)
78 # need to teach the code to ignore the bridge....
81 # XXX notyet; need to be auto probed children of siba_cc.