SENTRY5 revision 215270
1178171Simp# 2178171Simp# $FreeBSD: head/sys/mips/conf/SENTRY5 215270 2010-11-13 22:34:12Z imp $ 3178171Simp# 4178171Simp# The Broadcom Sentry5 series of processors and boards is very commonly 5178171Simp# used in COTS hardware including the Netgear WGT634U. 6178171Simp# 7178171Simp# Some tweaks are needed for use with this platform: 8178171Simp# 9178171Simp# * CFE firmware's ELF loader expects an ELF kernel which is linked so as 10178171Simp# not to contain offsets in PT_LOAD which point behind the actual offset 11178171Simp# of that PT header. FreeBSD normally links the first PT_LOAD header to 12178171Simp# begin at offset 0. 13178171Simp# 14178171Simp# * Broadcom's support package for the internal bus, the Sonics 15178171Simp# SiliconBackplane, needs to be integrated to detect and probe hardware 16178171Simp# correctly. 17178171Simp# 18178171Simp# * The clock needs to be calibrated correctly, so that DELAY() may work. 19178171Simp# One problem with this is that the low-level printf() routine calls DELAY(), 20178171Simp# which currently causes divide-by-zero trap 21178171Simp# 22178171Simp# * The Broadcom CPUs have no FPU. Attempting to detect one by reading CP1's 23178171Simp# status register causes an unhandled boot-time exception. An FPU emulator 24178171Simp# will be necessary to support multi-user boot. 25178171Simp# 26178171Simp 27178171Simpident SENTRY5 28178171Simp 29178171Simp# XXX only siba should be hardwired for now; we will use 30178171Simp# bus enumeration there 31178171Simphints "SENTRY5.hints" 32178171Simp 33178171Simp# sentry5 normally ships with cfe firmware; use the console for now 34202034Simpoptions CFE 35202034Simpoptions CFE_CONSOLE 36202034Simpoptions ALT_BREAK_TO_DEBUGGER 37178171Simp 38178171Simpmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 39178171Simpmakeoptions MODULES_OVERRIDE="" 40178171Simp 41202034Simpoptions DDB 42202034Simpoptions KDB 43178171Simp 44202034Simpoptions SCHED_4BSD #4BSD scheduler 45202034Simpoptions INET #InterNETworking 46202034Simpoptions NFSCLIENT #Network Filesystem Client 47202034Simpoptions NFS_ROOT #NFS usable as /, requires NFSCLIENT 48202034Simpoptions PSEUDOFS #Pseudo-filesystem framework 49202034Simpoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 50178171Simp 51178171Simp# Debugging for use in -current 52215270Simp#options DEADLKRES 53202034Simpoptions INVARIANTS 54202034Simpoptions INVARIANT_SUPPORT 55178171Simp 56215270Simp#options BUS_DEBUG 57178171Simp#makeoptions BUS_DEBUG 58178171Simp 59178171Simpdevice siba # Sonics SiliconBackplane 60178171Simpdevice pci # siba_pcib 61178171Simp 62215270Simp# device bfe # XXX will build both pci and siba 63215270Simp# device miibus # attachments 64178171Simp 65178171Simp# pci devices 66178171Simp# notyet: 67178171Simp#device ath # in pci slot 68185522Ssam#device ath_hal # pci chip support 69202034Simp#options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors 70178171Simp 71207077Sthompsaoptions USB_DEBUG # enable debug msgs 72178171Simpdevice usb # USB Bus (required) 73178171Simpdevice uhci # UHCI PCI->USB interface 74178171Simpdevice ehci # EHCI PCI->USB interface (USB 2.0) 75178171Simp 76178171Simp# need to teach the code to ignore the bridge.... 77178171Simp 78178171Simp 79178171Simp# XXX notyet; need to be auto probed children of siba_cc. 80178171Simp#device uart 81178171Simp 82178171Simpdevice loop 83178171Simpdevice ether 84178171Simpdevice md 85