Annotation of elwix/config/ELWIX_ALFA_NX, 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_ALFA_N2
! 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 "ALFA_N2.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: # 802.11 framework
! 102: options IEEE80211_DEBUG
! 103: options IEEE80211_ALQ
! 104: options IEEE80211_SUPPORT_MESH
! 105: options IEEE80211_SUPPORT_SUPERG
! 106: options IEEE80211_SUPPORT_TDMA
! 107: options IEEE80211_AMPDU_AGE
! 108: device wlan # 802.11 support
! 109: device wlan_wep # 802.11 WEP support
! 110: device wlan_ccmp # 802.11 CCMP support
! 111: device wlan_tkip # 802.11 TKIP support
! 112: device wlan_xauth # 802.11 hostap support
! 113: device wlan_acl
! 114: device wlan_amrr
! 115: device wlan_rssadapt
! 116:
! 117: # Atheros wireless NICs
! 118: device ath # Atheros interface support
! 119: device ath_pci # Atheros PCI/Cardbus bus
! 120: device ath_ahb
! 121: options ATH_DEBUG
! 122: options ATH_DIAGAPI
! 123: options ATH_ENABLE_11N
! 124: options AH_DEBUG
! 125: options AH_DEBUG_ALQ
! 126: options ALQ
! 127: device ath_hal
! 128: option AH_SUPPORT_AR5416
! 129: #option AH_SUPPORT_AR9130 # Makes other chipsets not function!
! 130: device ath_rate_sample
! 131: option AH_RXCFG_SDMAMW_4BYTES
! 132: option AH_AR5416_INTERRUPT_MITIGATION
! 133: # There's no DFS radar detection support yet so this won't actually
! 134: # detect radars. It however does enable the rest of the channel change
! 135: # machinery so DFS can be debugged.
! 136: #option ATH_ENABLE_DFS
! 137:
! 138: device mii
! 139: device arge
! 140: options ARGE_DEBUG # Enable if_arge debugging for now
! 141: options ARGE_MDIO # Export an MDIO bus separate from arge
! 142: device miiproxy # MDIO bus <-> MII PHY rendezvous
! 143:
! 144: device usb
! 145: options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
! 146: options USB_DEBUG
! 147: options USB_HOST_ALIGN=32 # AR724X (MIPS in general?) requires this
! 148: device ehci
! 149: #device ohci # OHCI PCI->USB interface
! 150:
! 151: device umass
! 152:
! 153: device scbus
! 154: device da
! 155:
! 156: # On-board SPI flash
! 157: device spibus
! 158: device ar71xx_spi
! 159: device mx25l
! 160: device ar71xx_wdog
! 161:
! 162: device uart
! 163: device uart_ar71xx
! 164:
! 165: device loop
! 166: device ether
! 167: device md
! 168: device bpf
! 169: device random
! 170: device if_bridge
! 171: device gif # ip[46] in ip[46] tunneling protocol
! 172: #device gre # generic encapsulation - only for IPv4 in IPv4 though atm
! 173:
! 174: # Enable GPIO
! 175: device gpio
! 176: device gpioled
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>