File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / ELWIX_ALFA_N2
Revision 1.1.2.2: download - view: text, annotated - select for diffs - revision graph
Tue Jan 14 18:24:24 2014 UTC (10 years, 5 months ago) by misho
Branches: elwix2_2
update kernel

    1: #
    2: # PB92 -- Kernel configuration file for FreeBSD/mips for Atheros PB92 reference
    3: #         board (AR7242)
    4: #
    5: # $FreeBSD: head/sys/mips/conf/PB92 253845 2013-07-31 17:21:18Z obrien $
    6: #
    7: 
    8: machine		mips mips
    9: ident		ELWIX_ALFA_NX
   10: cpu		CPU_MIPS4KC
   11: makeoptions	KERNLOADADDR=0x80002000
   12: options		HZ=1000
   13: options		HWPMC_HOOKS
   14: 
   15: # The PB92 has 32mb of RAM; hard-code that
   16: options		AR71XX_REALMEM=32*1024*1024
   17: 
   18: # It's UBOOT, not Redboot - without this, things will hang at startup
   19: options		AR71XX_ENV_UBOOT
   20: #options 	AR71XX_ATH_EEPROM	# Fetch EEPROM/PCI config from flash
   21: #options 	ATH_EEPROM_FIRMWARE	# Use EEPROM from flash
   22: #device		firmware		# Used by the above
   23: 
   24: device		etherswitch
   25: device		arswitch
   26: 
   27: hints		"ALFA_NX.hints"
   28: include		"../atheros/std.ar71xx"
   29: 
   30: makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
   31: #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"
   32: 
   33: options		DDB
   34: #options		KDB
   35: 
   36: options		SCHED_4BSD		#4BSD scheduler
   37: options		INET			#InterNETworking
   38: # Can't do IPv6 - it just doesn't fit.
   39: # options		INET6
   40: # options		NFSCL			#Network Filesystem Client
   41: options		PSEUDOFS		#Pseudo-filesystem framework
   42: options		_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
   43: options		ALQ
   44: 
   45: # Debugging for use in -current
   46: #options		DEADLKRES
   47: #options		INVARIANTS
   48: #options		INVARIANT_SUPPORT
   49: #options		WITNESS
   50: #options		WITNESS_SKIPSPIN
   51: options         FFS                     #Berkeley Fast Filesystem
   52: #options         SOFTUPDATES             #Enable FFS soft updates support
   53: #options         UFS_ACL                 #Support for access control lists
   54: #options         UFS_DIRHASH             #Improve performance on big directories
   55: 
   56: # Support uncompress lzma rootfs
   57: device		geom_uncompress
   58: options		GEOM_UNCOMPRESS
   59: options		ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
   60: 
   61: # PCI bus
   62: device		pci
   63: device		ar724x_pci
   64: 
   65: # NVRAM U-Boot Environment -> Kernel environment
   66: device		nvram2env
   67: 
   68: #options 	MD_ROOT			# MD is a potential root device
   69: #options	MD_ROOT_SIZE=5120
   70: 
   71: #options 	NFSD			# New Network Filesystem Server
   72: #options 	NFSCLIENT		#Network File System client
   73: #options 	NFSSERVER		#Network File System server
   74: #options 	NFSLOCKD		# Network Lock Manager
   75: #options 	NFS_ROOT		# NFS usable as /, requires NFSCL
   76: #options 	BOOTP			# Use BOOTP to obtain IP address/hostname
   77: 					# Requires NFSCLIENT and NFS_ROOT
   78: #options 	BOOTP_NFSROOT		# NFS mount root filesystem using BOOTP info
   79: #options 	BOOTP_NFSV3		# Use NFS v3 to NFS mount root
   80: #options 	BOOTP_COMPAT		# Workaround for broken bootp daemons.
   81: #options 	BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
   82: 
   83: options 	GEOM_LABEL		# Provides labelization
   84: options 	GEOM_UZIP
   85: device		geom_uzip	# compressed in-memory filesystem support
   86: 
   87: # Wireless NIC cards
   88: options		IEEE80211_DEBUG
   89: options		IEEE80211_SUPPORT_MESH
   90: options		IEEE80211_SUPPORT_SUPERG
   91: options		IEEE80211_AMPDU_AGE
   92: options		IEEE80211_SUPPORT_TDMA
   93: options		IEEE80211_ALQ
   94: device		wlan            # 802.11 support
   95: device		wlan_wep        # 802.11 WEP support
   96: device		wlan_ccmp       # 802.11 CCMP support
   97: device		wlan_tkip       # 802.11 TKIP support
   98: device		wlan_xauth	# 802.11 hostap support
   99: device		wlan_acl
  100: device		wlan_amrr
  101: device		wlan_rssadapt
  102: 
  103: # Atheros wireless NICs
  104: device		ath             # Atheros interface support
  105: device		ath_pci		# Atheros PCI/Cardbus bus
  106: device		ath_ahb
  107: options 	ATH_DEBUG
  108: options		ATH_ENABLE_11N
  109: options		ATH_DIAGAPI
  110: 
  111: # device		ath_hal
  112: options		AH_SUPPORT_AR5416
  113: options		AH_DEBUG
  114: options		AH_DEBUG_ALQ
  115: 
  116: device		ath_hal
  117: #option		AH_SUPPORT_AR9130	# Makes other chipsets not function!
  118: device		ath_rate_sample
  119: option		AH_RXCFG_SDMAMW_4BYTES
  120: option		AH_AR5416_INTERRUPT_MITIGATION
  121: # There's no DFS radar detection support yet so this won't actually
  122: # detect radars.  It however does enable the rest of the channel change
  123: # machinery so DFS can be debugged.
  124: #option		ATH_ENABLE_DFS
  125: 
  126: device		mii
  127: device		arge
  128: #options 	ARGE_DEBUG	# Enable if_arge debugging for now
  129: #options 	ARGE_MDIO		# Export an MDIO bus separate from arge
  130: #device		miiproxy		# MDIO bus <-> MII PHY rendezvous
  131: 
  132: #device		usb
  133: options		USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
  134: #options		USB_DEBUG
  135: options		USB_HOST_ALIGN=32
  136: #device		ehci
  137: 
  138: # Mass storage
  139: device		scbus
  140: #device		umass
  141: device		da
  142: 
  143: # Read MSDOS formatted disks
  144: options		MSDOSFS
  145: 
  146: # GPIO Bus
  147: device		gpio
  148: device		gpioled
  149: 
  150: # SPI and flash
  151: device		spibus
  152: device		ar71xx_spi
  153: device		mx25l
  154: 
  155: # The flash is statically partitioned; add in that
  156: device		geom_map
  157: 
  158: device		ar71xx_wdog
  159: 
  160: # Serial
  161: device		uart
  162: device		uart_ar71xx
  163: 
  164: # Network twiddling
  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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>