Annotation of elwix/config/ELWIX_PB92, revision 1.1.2.1
1.1.2.1 ! misho 1: #
! 2: # AR724X -- Kernel configuration file for FreeBSD/MIPS for Atheros 724x systems
! 3: #
! 4: # This includes all the common drivers for the AR724x boards.
! 5: # Since the AR724x boards tend to have minimal flash (sometimes 4MB!),
! 6: # the majority of the kernel framework will be built as modules.
! 7: #
! 8: # $FreeBSD: src/sys/mips/conf/AR724X_BASE,v 1.7 2012/11/17 05:10:20 svnexp Exp $
! 9: #
! 10:
! 11: machine mips mips
! 12: ident ELWIX_PB92
! 13: cpu CPU_MIPS4KC
! 14: makeoptions KERNLOADADDR=0x80050000
! 15: options HZ=1000
! 16: #options HWPMC_HOOKS
! 17:
! 18: device nvram2env
! 19:
! 20: options AR71XX_ENV_UBOOT
! 21: #options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash
! 22: #options ATH_EEPROM_FIRMWARE # Use EEPROM from flash
! 23: #device firmware # Used by the above
! 24:
! 25: #device etherswitch
! 26: #device arswitch
! 27:
! 28: files "../atheros/files.ar71xx"
! 29:
! 30: # For now, hints are per-board.
! 31:
! 32: hints "PB92.hints"
! 33:
! 34: makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
! 35:
! 36: # Build these as modules so small platform builds will have the
! 37: # modules already built.
! 38: #makeoptions MODULES_OVERRIDE="random gpio ar71xx if_gif if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath ath_pci hwpmc cam zlib"
! 39:
! 40: options DDB
! 41: #options KDB
! 42:
! 43: options SCHED_4BSD #4BSD scheduler
! 44: options INET #InterNETworking
! 45: options INET6 # IPv6
! 46: #options NFSCL #Network Filesystem Client
! 47: options PSEUDOFS #Pseudo-filesystem framework
! 48: options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
! 49:
! 50: #options NFS_LEGACYRPC
! 51: # Debugging for use in -current
! 52: #options INVARIANTS
! 53: #options INVARIANT_SUPPORT
! 54: #options WITNESS
! 55: #options WITNESS_SKIPSPIN
! 56: #options DEBUG_REDZONE
! 57: #options DEBUG_MEMGUARD
! 58:
! 59: # Don't include the SCSI/CAM strings in the default build
! 60: #options SCSI_NO_SENSE_STRINGS
! 61: #options SCSI_NO_OP_STRINGS
! 62:
! 63: # .. And no sysctl strings
! 64: #options NO_SYSCTL_DESCR
! 65:
! 66: options FFS #Berkeley Fast Filesystem
! 67: options NO_FFS_SNAPSHOT
! 68: # options SOFTUPDATES #Enable FFS soft updates support
! 69: # options UFS_ACL #Support for access control lists
! 70: # options UFS_DIRHASH #Improve performance on big directories
! 71: # options MSDOSFS # Read MSDOS filesystems; useful for USB/CF
! 72:
! 73: device pci
! 74: device ar724x_pci
! 75:
! 76: options MD_ROOT # MD is a potential root device
! 77: options MD_ROOT_SIZE=5120
! 78:
! 79: #options NFSD # New Network Filesystem Server
! 80: #options NFSCLIENT #Network File System client
! 81: #options NFSSERVER #Network File System server
! 82: #options NFSLOCKD # Network Lock Manager
! 83: #options NFS_ROOT # NFS usable as /, requires NFSCL
! 84: #options BOOTP # Use BOOTP to obtain IP address/hostname
! 85: # Requires NFSCLIENT and NFS_ROOT
! 86: #options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
! 87: #options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
! 88: #options BOOTP_COMPAT # Workaround for broken bootp daemons.
! 89: #options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
! 90: options ROOTDEVNAME=\"ufs:/dev/md0.uzip\"
! 91:
! 92: options GEOM_LABEL # Provides labelization
! 93: options GEOM_UZIP
! 94: #options GEOM_REDBOOT
! 95: options GEOM_UNCOMPRESS
! 96: #device geom_redboot
! 97: device geom_map # to get access to the SPI flash partitions
! 98: device geom_uncompress # compressed in-memory filesystem hackery!
! 99: device geom_uzip # compressed in-memory filesystem support
! 100:
! 101: options GEOM_PART_BSD
! 102:
! 103: # 802.11 framework
! 104: options IEEE80211_DEBUG
! 105: options IEEE80211_ALQ
! 106: options IEEE80211_SUPPORT_MESH
! 107: options IEEE80211_SUPPORT_SUPERG
! 108: options IEEE80211_SUPPORT_TDMA
! 109: options IEEE80211_AMPDU_AGE
! 110: device wlan # 802.11 support
! 111: device wlan_wep # 802.11 WEP support
! 112: device wlan_ccmp # 802.11 CCMP support
! 113: device wlan_tkip # 802.11 TKIP support
! 114: device wlan_xauth # 802.11 hostap support
! 115: device wlan_acl
! 116: device wlan_amrr
! 117: device wlan_rssadapt
! 118:
! 119: # Atheros wireless NICs
! 120: device ath # Atheros interface support
! 121: device ath_pci # Atheros PCI/Cardbus bus
! 122: device ath_ahb
! 123: options ATH_DEBUG
! 124: options ATH_DIAGAPI
! 125: options ATH_ENABLE_11N
! 126: options AH_DEBUG
! 127: options AH_DEBUG_ALQ
! 128: options ALQ
! 129: device ath_hal
! 130: option AH_SUPPORT_AR5416
! 131: #option AH_SUPPORT_AR9130 # Makes other chipsets not function!
! 132: device ath_rate_sample
! 133: option AH_RXCFG_SDMAMW_4BYTES
! 134: option AH_AR5416_INTERRUPT_MITIGATION
! 135: # There's no DFS radar detection support yet so this won't actually
! 136: # detect radars. It however does enable the rest of the channel change
! 137: # machinery so DFS can be debugged.
! 138: #option ATH_ENABLE_DFS
! 139:
! 140: device mii
! 141: device arge
! 142: options ARGE_DEBUG # Enable if_arge debugging for now
! 143: #options ARGE_MDIO # Export an MDIO bus separate from arge
! 144: #device miiproxy # MDIO bus <-> MII PHY rendezvous
! 145:
! 146: device usb
! 147: options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
! 148: options USB_DEBUG
! 149: options USB_HOST_ALIGN=32 # AR724X (MIPS in general?) requires this
! 150: device ehci
! 151: #device ohci # OHCI PCI->USB interface
! 152:
! 153: device umass
! 154:
! 155: device scbus
! 156: device da
! 157:
! 158: # On-board SPI flash
! 159: device spibus
! 160: device ar71xx_spi
! 161: device mx25l
! 162: device ar71xx_wdog
! 163:
! 164: device uart
! 165: device uart_ar71xx
! 166:
! 167: device loop
! 168: device ether
! 169: device md
! 170: device bpf
! 171: device random
! 172: device if_bridge
! 173: device gif # ip[46] in ip[46] tunneling protocol
! 174: #device gre # generic encapsulation - only for IPv4 in IPv4 though atm
! 175:
! 176: # Enable GPIO
! 177: device gpio
! 178: device gpioled
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>