SENTRY5 revision 203938
1456SN/A# 21087Slana# $FreeBSD: head/sys/mips/conf/SENTRY5 203938 2010-02-15 23:44:48Z attilio $ 3456SN/A# 4456SN/A# The Broadcom Sentry5 series of processors and boards is very commonly 5456SN/A# used in COTS hardware including the Netgear WGT634U. 6456SN/A# 7456SN/A# Some tweaks are needed for use with this platform: 8456SN/A# 9456SN/A# * CFE firmware's ELF loader expects an ELF kernel which is linked so as 10456SN/A# not to contain offsets in PT_LOAD which point behind the actual offset 11456SN/A# of that PT header. FreeBSD normally links the first PT_LOAD header to 12456SN/A# begin at offset 0. 13456SN/A# 14456SN/A# * Broadcom's support package for the internal bus, the Sonics 15456SN/A# SiliconBackplane, needs to be integrated to detect and probe hardware 16456SN/A# correctly. 17456SN/A# 18456SN/A# * The clock needs to be calibrated correctly, so that DELAY() may work. 19456SN/A# One problem with this is that the low-level printf() routine calls DELAY(), 20456SN/A# which currently causes divide-by-zero trap 21456SN/A# 22456SN/A# * The Broadcom CPUs have no FPU. Attempting to detect one by reading CP1's 23456SN/A# status register causes an unhandled boot-time exception. An FPU emulator 24456SN/A# will be necessary to support multi-user boot. 25281SN/A# 26281SN/A 27281SN/Aident SENTRY5 28281SN/Acpu CPU_MIPS4KC 29281SN/Aoptions ISA_MIPS32 30281SN/Aoptions CPU_SENTRY5 # XXX should this be a 31281SN/A # sub-cpu option? 32281SN/A 33281SN/A# XXX only siba should be hardwired for now; we will use 34281SN/A# bus enumeration there 35281SN/Afiles "../sentry5/files.sentry5" 36281SN/Ahints "SENTRY5.hints" 37281SN/A 38281SN/A# sentry5 normally ships with cfe firmware; use the console for now 39281SN/Aoptions CFE 40940Slanaoptions CFE_CONSOLE 41456SN/Aoptions ALT_BREAK_TO_DEBUGGER 42940Slana 43940Slana#makeoptions ARCH_FLAGS=-march=mips32 44940Slanamakeoptions MIPS_LITTLE_ENDIAN=defined 45456SN/Amakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 46940Slanamakeoptions MODULES_OVERRIDE="" 47940Slana 48940Slanaoptions DDB 49456SN/Aoptions KDB 50456SN/A 51940Slanaoptions SCHED_4BSD #4BSD scheduler 52281SN/Aoptions INET #InterNETworking 53281SN/Aoptions NFSCLIENT #Network Filesystem Client 54281SN/Aoptions NFS_ROOT #NFS usable as /, requires NFSCLIENT 55281SN/Aoptions PSEUDOFS #Pseudo-filesystem framework 56281SN/Aoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 57281SN/A 58281SN/A# Debugging for use in -current 59940Slana#options DEADLKRES 60281SN/Aoptions INVARIANTS 61281SN/Aoptions INVARIANT_SUPPORT 62281SN/A 63281SN/A#options BUS_DEBUG 64281SN/A#makeoptions BUS_DEBUG 65281SN/A 66281SN/Adevice siba # Sonics SiliconBackplane 67940Slanadevice pci # siba_pcib 68940Slana 69940Slana# device bfe # XXX will build both pci and siba 70940Slana# device miibus # attachments 71940Slana 72940Slana# pci devices 73940Slana# notyet: 74281SN/A#device ath # in pci slot 75281SN/A#device ath_hal # pci chip support 76281SN/A#options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors 77281SN/A 78281SN/Adevice usb # USB Bus (required) 79940Slanadevice uhci # UHCI PCI->USB interface 80281SN/Adevice ehci # EHCI PCI->USB interface (USB 2.0) 81281SN/A 82281SN/A# need to teach the code to ignore the bridge.... 83940Slana 84940Slana 85281SN/A# XXX notyet; need to be auto probed children of siba_cc. 86940Slana#device uart 87281SN/A 88281SN/Adevice loop 89281SN/Adevice ether 90281SN/Adevice md 91281SN/A