The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/mips/conf/SENTRY5

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #
    2 # $FreeBSD: releng/8.1/sys/mips/conf/SENTRY5 207399 2010-04-29 22:44:04Z thompsa $
    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         CPU_NOFPU
   30 options         ISA_MIPS32
   31 options         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
   36 files           "../sentry5/files.sentry5"
   37 hints           "SENTRY5.hints"
   38 
   39 # sentry5 normally ships with cfe firmware; use the console for now
   40 options         CFE
   41 options         CFE_CONSOLE
   42 options         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?
   47 options         KERNVIRTADDR=0x80001000
   48 
   49 makeoptions     LDSCRIPT_NAME=  ldscript.mips.cfe
   50 
   51 #makeoptions    ARCH_FLAGS=-march=mips32
   52 makeoptions     MIPS_LITTLE_ENDIAN=defined
   53 makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
   54 makeoptions     MODULES_OVERRIDE=""
   55 
   56 options         DDB
   57 options         KDB
   58 
   59 options         SCHED_4BSD              #4BSD scheduler
   60 options         INET                    #InterNETworking
   61 options         NFSCLIENT               #Network Filesystem Client
   62 options         NFS_ROOT                #NFS usable as /, requires NFSCLIENT
   63 options         PSEUDOFS                #Pseudo-filesystem framework
   64 options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
   65 
   66 # Debugging for use in -current
   67 options         INVARIANTS
   68 options         INVARIANT_SUPPORT
   69 
   70 #options        BUS_DEBUG
   71 #makeoptions    BUS_DEBUG
   72 
   73 device          siba                    # Sonics SiliconBackplane
   74 device          pci                     # siba_pcib
   75 
   76 device          bfe                     # XXX will build both pci and siba
   77 device          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
   84 
   85 options         USB_DEBUG               # enable debug msgs
   86 device          usb                     # USB Bus (required)
   87 device          uhci                    # UHCI PCI->USB interface
   88 device          ehci                    # EHCI PCI->USB interface (USB 2.0)
   89 
   90 # need to teach the code to ignore the bridge....
   91 
   92 
   93 # XXX notyet; need to be auto probed children of siba_cc.
   94 #device         uart
   95 
   96 device          loop
   97 device          ether
   98 device          md

Cache object: 989fcdfa26914d4dd9a1568f9956eec3


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.