SENTRY5 revision 256281
1#
2# $FreeBSD: stable/10/sys/mips/conf/SENTRY5 221753 2011-05-11 00:52:41Z gonzo $
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
11#   of that PT header. FreeBSD normally links the first PT_LOAD header to
12#   begin at offset 0.
13#
14# * Broadcom's support package for the internal bus, the Sonics
15#   SiliconBackplane, needs to be integrated to detect and probe hardware
16#   correctly.
17#
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
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
28
29# XXX only siba should be hardwired for now; we will use
30# bus enumeration there
31hints		"SENTRY5.hints"
32include		"../sentry5/std.sentry5"
33
34# sentry5 normally ships with cfe firmware; use the console for now
35options		CFE
36options		CFE_CONSOLE
37options		ALT_BREAK_TO_DEBUGGER
38
39makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
40makeoptions	MODULES_OVERRIDE=""
41
42options		DDB
43options		KDB
44
45options		SCHED_4BSD		#4BSD scheduler
46options		INET			#InterNETworking
47options		NFSCL			#Network Filesystem Client
48options		NFS_ROOT		#NFS usable as /, requires NFSCL
49options		PSEUDOFS		#Pseudo-filesystem framework
50options		_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
51
52# Debugging for use in -current
53#options 	DEADLKRES
54options		INVARIANTS
55options		INVARIANT_SUPPORT
56
57#options 	BUS_DEBUG
58#makeoptions	BUS_DEBUG
59
60device		siba			# Sonics SiliconBackplane
61device		pci			# siba_pcib
62
63# device 	bfe			# XXX will build both pci and siba
64# device 	miibus			# attachments
65
66# pci devices
67# notyet:
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
72
73options 	USB_DEBUG		# enable debug msgs
74device		usb			# USB Bus (required)
75device		uhci			# UHCI PCI->USB interface
76device		ehci			# EHCI PCI->USB interface (USB 2.0)
77
78# need to teach the code to ignore the bridge....
79
80
81# XXX notyet; need to be auto probed children of siba_cc.
82#device		uart
83
84device		loop
85device		ether
86device		md
87