Deleted Added
full compact
SENTRY5 (185522) SENTRY5 (191954)
1#
1#
2# $FreeBSD: head/sys/mips/conf/SENTRY5 185522 2008-12-01 16:53:01Z sam $
2# $FreeBSD: head/sys/mips/conf/SENTRY5 191954 2009-05-10 00:00:25Z kuriyama $
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

--- 10 unchanged lines hidden (view full) ---

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
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

--- 10 unchanged lines hidden (view full) ---

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 CPU_NOFPU
29options CPU_NOFPU
30options ISA_MIPS32
30options ISA_MIPS32
31options CPU_SENTRY5 # XXX should this be a
31options CPU_SENTRY5 # XXX should this be a
32 # sub-cpu option?
33
34# XXX only siba should be hardwired for now; we will use
35# bus enumeration there
36files "../sentry5/files.sentry5"
37hints "SENTRY5.hints"
38
39# sentry5 normally ships with cfe firmware; use the console for now
32 # sub-cpu option?
33
34# XXX only siba should be hardwired for now; we will use
35# bus enumeration there
36files "../sentry5/files.sentry5"
37hints "SENTRY5.hints"
38
39# sentry5 normally ships with cfe firmware; use the console for now
40options CFE
41options CFE_CONSOLE
42options ALT_BREAK_TO_DEBUGGER
40options CFE
41options CFE_CONSOLE
42options ALT_BREAK_TO_DEBUGGER
43
44# cfe loader expects kernel at 0x80001000 for mips32 w/o backwards
45# offsets in the linked elf image (see ldscript hack)
46# XXX can we conditionalize the linker stuff on options CFE?
43
44# cfe loader expects kernel at 0x80001000 for mips32 w/o backwards
45# offsets in the linked elf image (see ldscript hack)
46# XXX can we conditionalize the linker stuff on options CFE?
47options KERNVIRTADDR=0x80001000
47options KERNVIRTADDR=0x80001000
48
49makeoptions LDSCRIPT_NAME= ldscript.mips.cfe
50
51#makeoptions ARCH_FLAGS=-march=mips32
52makeoptions MIPS_LITTLE_ENDIAN=defined
53makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
54makeoptions MODULES_OVERRIDE=""
55
48
49makeoptions LDSCRIPT_NAME= ldscript.mips.cfe
50
51#makeoptions ARCH_FLAGS=-march=mips32
52makeoptions MIPS_LITTLE_ENDIAN=defined
53makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
54makeoptions MODULES_OVERRIDE=""
55
56options DDB
57options KDB
56options DDB
57options KDB
58
58
59options SCHED_4BSD #4BSD scheduler
60options INET #InterNETworking
61options NFSCLIENT #Network Filesystem Client
62options NFS_ROOT #NFS usable as /, requires NFSCLIENT
63options PSEUDOFS #Pseudo-filesystem framework
64options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
59options SCHED_4BSD #4BSD scheduler
60options INET #InterNETworking
61options NFSCLIENT #Network Filesystem Client
62options NFS_ROOT #NFS usable as /, requires NFSCLIENT
63options PSEUDOFS #Pseudo-filesystem framework
64options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
65
66# Debugging for use in -current
65
66# Debugging for use in -current
67options INVARIANTS
68options INVARIANT_SUPPORT
67options INVARIANTS
68options INVARIANT_SUPPORT
69
69
70#options BUS_DEBUG
70#options BUS_DEBUG
71#makeoptions BUS_DEBUG
72
73device siba # Sonics SiliconBackplane
74device pci # siba_pcib
75
76device bfe # XXX will build both pci and siba
77device miibus # attachments
78
79# pci devices
80# notyet:
81#device ath # in pci slot
82#device ath_hal # pci chip support
71#makeoptions BUS_DEBUG
72
73device siba # Sonics SiliconBackplane
74device pci # siba_pcib
75
76device bfe # XXX will build both pci and siba
77device miibus # attachments
78
79# pci devices
80# notyet:
81#device ath # in pci slot
82#device ath_hal # pci chip support
83#options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
83#options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
84
85device usb # USB Bus (required)
86device uhci # UHCI PCI->USB interface
87device ehci # EHCI PCI->USB interface (USB 2.0)
88
89# need to teach the code to ignore the bridge....
90
91
92# XXX notyet; need to be auto probed children of siba_cc.
93#device uart
94
95device loop
96device ether
97device md
84
85device usb # USB Bus (required)
86device uhci # UHCI PCI->USB interface
87device ehci # EHCI PCI->USB interface (USB 2.0)
88
89# need to teach the code to ignore the bridge....
90
91
92# XXX notyet; need to be auto probed children of siba_cc.
93#device uart
94
95device loop
96device ether
97device md