1# 2# 3# The Broadcom 470x/471x/535x series of processors and boards is very commonly 4# used in COTS hardware including the ASUS RT-N12, RT-N16, RT-N53. 5# 6 7ident BCM 8cpu CPU_MIPS74K 9 10hints "BCM.hints" 11include "../broadcom/std.broadcom" 12 13# ships with cfe firmware 14options CFE 15device cfe 16 17options ALT_BREAK_TO_DEBUGGER 18options BREAK_TO_DEBUGGER 19options BOOTVERBOSE=0 20 21makeoptions TRAMPLOADADDR=0x80800000 22makeoptions DEBUG="-g3" #Build kernel with gdb(1) debug symbols 23makeoptions MODULES_OVERRIDE="" 24 25options DDB 26options KDB 27 28options SCHED_4BSD #4BSD scheduler 29options INET #InterNETworking 30options TCP_HHOOK # hhook(9) framework for TCP 31options NFSCL #Network Filesystem Client 32#options NFS_ROOT #NFS usable as /, requires NFSCL 33options PSEUDOFS #Pseudo-filesystem framework 34options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 35 36options FFS #Berkeley Fast Filesystem 37options SOFTUPDATES #Enable FFS soft updates support 38options UFS_ACL #Support for access control lists 39options UFS_DIRHASH #Improve performance on big directories 40 41device xz 42options GEOM_UZIP 43options GEOM_LABEL # Providers labelization. 44options ROOTDEVNAME=\"ufs:ufs/FBSD\" # assumes FW built by 45 # freebsd-build-wifi 46 47# Debugging for use in -current 48#options DEADLKRES 49options INVARIANTS 50options INVARIANT_SUPPORT 51 52#options BHND_LOGLEVEL=BHND_DEBUG_LEVEL 53#options BUS_DEBUG 54#makeoptions BUS_DEBUG 55options EARLY_PRINTF 56#options VERBOSE_SYSINIT 57#makeoptions VERBOSE_SYSINIT 58 59# bhnd(4) 60device bhnd 61device bcma # bcma backplane 62device bcma_nexus 63 64device pci 65device bhnd_pcib # PCIe-G1 core 66 67#device bgmac # Broadcom GMAC - not yet 68 69device gpio 70device mdio 71 72#Flash 73device spibus 74device mx25l # Serial Flash 75device cfi # Parallel Flash 76device cfid 77 78#UART 79device uart 80 81#Base 82device loop 83device ether 84device md 85 86#Performance 87#options HWPMC_HOOKS 88#device hwpmc 89#device hwpmc_mips74k 90 91#Ethernet 92# device bfe # XXX will build both pci and siba 93device miibus # attachments 94 95# pci devices 96 97# USB 98options USB_DEBUG # enable debug msgs 99# taken from atheros 100options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 101options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this 102 103device usb # USB Bus (required) 104device ohci # OHCI interface 105device ehci # EHCI interface (USB 2.0) 106 107device scbus 108device umass 109device da 110