]> CyberLeo.Net >> Repos - FreeBSD/releng/8.2.git/blob - sys/mips/conf/SENTRY5
Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.
[FreeBSD/releng/8.2.git] / sys / mips / conf / SENTRY5
1 #
2 # $FreeBSD$
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
27 ident           SENTRY5
28 cpu             CPU_MIPS4KC
29 options         ISA_MIPS32
30 options         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
35 files           "../sentry5/files.sentry5"
36 hints           "SENTRY5.hints"
37
38 # sentry5 normally ships with cfe firmware; use the console for now
39 options         CFE
40 options         CFE_CONSOLE
41 options         ALT_BREAK_TO_DEBUGGER
42
43 #makeoptions    ARCH_FLAGS=-march=mips32
44 makeoptions     MIPS_LITTLE_ENDIAN=defined
45 makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
46 makeoptions     MODULES_OVERRIDE=""
47
48 options         DDB
49 options         KDB
50
51 options         SCHED_4BSD              #4BSD scheduler
52 options         INET                    #InterNETworking
53 options         NFSCLIENT               #Network Filesystem Client
54 options         NFS_ROOT                #NFS usable as /, requires NFSCLIENT
55 options         PSEUDOFS                #Pseudo-filesystem framework
56 options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
57
58 # Debugging for use in -current
59 options         INVARIANTS
60 options         INVARIANT_SUPPORT
61
62 #options                BUS_DEBUG
63 #makeoptions    BUS_DEBUG
64
65 device          siba                    # Sonics SiliconBackplane
66 device          pci                     # siba_pcib
67
68 # device                bfe                     # XXX will build both pci and siba
69 # device                miibus                  # attachments
70
71 # pci devices
72 # notyet:
73 #device         ath                     # in pci slot
74 #device         ath_hal                 # pci chip support
75 #options                AH_SUPPORT_AR5416       # enable AR5416 tx/rx descriptors
76
77 options         USB_DEBUG               # enable debug msgs
78 device          usb                     # USB Bus (required)
79 device          uhci                    # UHCI PCI->USB interface
80 device          ehci                    # EHCI PCI->USB interface (USB 2.0)
81
82 # need to teach the code to ignore the bridge....
83
84
85 # XXX notyet; need to be auto probed children of siba_cc.
86 #device         uart
87
88 device          loop
89 device          ether
90 device          md