SENTRY5 (207077) | SENTRY5 (215270) |
---|---|
1# | 1# |
2# $FreeBSD: head/sys/mips/conf/SENTRY5 207077 2010-04-22 21:31:34Z thompsa $ | 2# $FreeBSD: head/sys/mips/conf/SENTRY5 215270 2010-11-13 22:34:12Z imp $ |
3# 4# The Broadcom Sentry5 series of processors and boards is very commonly 5# used in COTS hardware including the Netgear WGT634U. 6# 7# Some tweaks are needed for use with this platform: 8# 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 --- 9 unchanged lines hidden (view full) --- 20# which currently causes divide-by-zero trap 21# 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. 25# 26 27ident SENTRY5 | 3# 4# The Broadcom Sentry5 series of processors and boards is very commonly 5# used in COTS hardware including the Netgear WGT634U. 6# 7# Some tweaks are needed for use with this platform: 8# 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 --- 9 unchanged lines hidden (view full) --- 20# which currently causes divide-by-zero trap 21# 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. 25# 26 27ident SENTRY5 |
28cpu CPU_MIPS4KC 29options ISA_MIPS32 30options CPU_SENTRY5 # XXX should this be a 31 # sub-cpu option? | |
32 33# XXX only siba should be hardwired for now; we will use 34# bus enumeration there | 28 29# XXX only siba should be hardwired for now; we will use 30# bus enumeration there |
35files "../sentry5/files.sentry5" | |
36hints "SENTRY5.hints" 37 38# sentry5 normally ships with cfe firmware; use the console for now 39options CFE 40options CFE_CONSOLE 41options ALT_BREAK_TO_DEBUGGER 42 | 31hints "SENTRY5.hints" 32 33# sentry5 normally ships with cfe firmware; use the console for now 34options CFE 35options CFE_CONSOLE 36options ALT_BREAK_TO_DEBUGGER 37 |
43#makeoptions ARCH_FLAGS=-march=mips32 44makeoptions MIPS_LITTLE_ENDIAN=defined | |
45makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 46makeoptions MODULES_OVERRIDE="" 47 48options DDB 49options KDB 50 51options SCHED_4BSD #4BSD scheduler 52options INET #InterNETworking 53options NFSCLIENT #Network Filesystem Client 54options NFS_ROOT #NFS usable as /, requires NFSCLIENT 55options PSEUDOFS #Pseudo-filesystem framework 56options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 57 58# Debugging for use in -current | 38makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 39makeoptions MODULES_OVERRIDE="" 40 41options DDB 42options KDB 43 44options SCHED_4BSD #4BSD scheduler 45options INET #InterNETworking 46options NFSCLIENT #Network Filesystem Client 47options NFS_ROOT #NFS usable as /, requires NFSCLIENT 48options PSEUDOFS #Pseudo-filesystem framework 49options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 50 51# Debugging for use in -current |
59#options DEADLKRES | 52#options DEADLKRES |
60options INVARIANTS 61options INVARIANT_SUPPORT 62 | 53options INVARIANTS 54options INVARIANT_SUPPORT 55 |
63#options BUS_DEBUG | 56#options BUS_DEBUG |
64#makeoptions BUS_DEBUG 65 66device siba # Sonics SiliconBackplane 67device pci # siba_pcib 68 | 57#makeoptions BUS_DEBUG 58 59device siba # Sonics SiliconBackplane 60device pci # siba_pcib 61 |
69# device bfe # XXX will build both pci and siba 70# device miibus # attachments | 62# device bfe # XXX will build both pci and siba 63# device miibus # attachments |
71 72# pci devices 73# notyet: 74#device ath # in pci slot 75#device ath_hal # pci chip support 76#options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors 77 78options USB_DEBUG # enable debug msgs --- 13 unchanged lines hidden --- | 64 65# pci devices 66# notyet: 67#device ath # in pci slot 68#device ath_hal # pci chip support 69#options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors 70 71options USB_DEBUG # enable debug msgs --- 13 unchanged lines hidden --- |