File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / ELWIX_ALFA_N2
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Sep 15 19:06:42 2014 UTC (9 years, 9 months ago) by misho
Branches: MAIN
CVS tags: elwix2_3, HEAD, ELWIX2_2p0
elwix 2.2

    1: #
    2: # PB92 -- Kernel configuration file for FreeBSD/mips for Atheros PB92 reference
    3: #         board (AR7242)
    4: #
    5: # $FreeBSD: head/sys/mips/conf/PB92 263301 2014-03-18 14:41:18Z imp $
    6: #
    7: 
    8: machine		mips mips
    9: ident		ELWIX_ALFA_N2
   10: # XXX The default load address in the Uboot environment is 0x80010000
   11: makeoptions	KERNLOADADDR=0x80050000
   12: options		HZ=1000
   13: options		HWPMC_HOOKS
   14: device		hwpmc
   15: device		hwpmc_mips24k
   16: 
   17: # The PB92 has 32mb of RAM; hard-code that
   18: options		AR71XX_REALMEM=32*1024*1024
   19: 
   20: # It's UBOOT, not Redboot - without this, things will hang at startup
   21: options		AR71XX_ENV_UBOOT
   22: options 	AR71XX_ATH_EEPROM	# Fetch EEPROM/PCI config from flash
   23: options 	ATH_EEPROM_FIRMWARE	# Use EEPROM from flash
   24: device		firmware		# Used by the above
   25: 
   26: device		etherswitch
   27: device		arswitch
   28: 
   29: hints		"ELWIX_ALFA_N2.hints"
   30: include		"../atheros/std.ar71xx"
   31: 
   32: makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
   33: #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"
   34: 
   35: #options		DDB
   36: #options		KDB
   37: 
   38: options 	PREEMPTION		# Enable kernel thread preemption
   39: options 	SCHED_ULE		# ULE scheduler
   40: #options		SCHED_4BSD		#4BSD scheduler
   41: options		INET			#InterNETworking
   42: options		INET6
   43: options		PSEUDOFS		#Pseudo-filesystem framework
   44: options		_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
   45: options		ALQ
   46: 
   47: # Debugging for use in -current
   48: #options		DEADLKRES
   49: #options		INVARIANTS
   50: #options		INVARIANT_SUPPORT
   51: #options		WITNESS
   52: #options		WITNESS_SKIPSPIN
   53: 
   54: # Don't include the SCSI/CAM strings in the default build
   55: options 	SCSI_NO_SENSE_STRINGS
   56: options 	SCSI_NO_OP_STRINGS
   57: 
   58: options         FFS                     #Berkeley Fast Filesystem
   59: options 	NO_FFS_SNAPSHOT
   60: #options         SOFTUPDATES             #Enable FFS soft updates support
   61: #options         UFS_ACL                 #Support for access control lists
   62: #options         UFS_DIRHASH             #Improve performance on big directories
   63: 
   64: # Support uncompress lzma rootfs
   65: device		geom_uncompress
   66: options		GEOM_UNCOMPRESS
   67: options		ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
   68: 
   69: # PCI bus
   70: device		pci
   71: device		ar724x_pci
   72: 
   73: # NVRAM U-Boot Environment -> Kernel environment
   74: device		nvram2env
   75: 
   76: options 	NFSCL			# New Network Filesystem Client
   77: #options 	NFSD			# New Network Filesystem Server
   78: options 	NFSCLIENT		#Network File System client
   79: #options 	NFSSERVER		#Network File System server
   80: options 	NFSLOCKD		# Network Lock Manager
   81: options 	NFS_ROOT		# NFS usable as /, requires NFSCL
   82: #options 	BOOTP			# Use BOOTP to obtain IP address/hostname
   83: 					# Requires NFSCLIENT and NFS_ROOT
   84: #options 	BOOTP_NFSROOT		# NFS mount root filesystem using BOOTP info
   85: #options 	BOOTP_NFSV3		# Use NFS v3 to NFS mount root
   86: #options 	BOOTP_COMPAT		# Workaround for broken bootp daemons.
   87: #options 	BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
   88: 
   89: options 	GEOM_LABEL		# Provides labelization
   90: options 	GEOM_UZIP
   91: device		geom_uzip		# compressed in-memory filesystem support
   92: 
   93: # Wireless NIC cards
   94: #options		IEEE80211_DEBUG
   95: options		IEEE80211_SUPPORT_MESH
   96: options		IEEE80211_SUPPORT_SUPERG
   97: options		IEEE80211_AMPDU_AGE
   98: options		IEEE80211_SUPPORT_TDMA
   99: options		IEEE80211_ALQ
  100: device		wlan            # 802.11 support
  101: device		wlan_wep        # 802.11 WEP support
  102: device		wlan_ccmp       # 802.11 CCMP support
  103: device		wlan_tkip       # 802.11 TKIP support
  104: device		wlan_xauth	# 802.11 hostap support
  105: device		wlan_acl
  106: device		wlan_amrr
  107: device		wlan_rssadapt
  108: 
  109: # Atheros wireless NICs
  110: device		ath             # Atheros interface support
  111: device		ath_pci		# Atheros PCI/Cardbus bus
  112: device		ath_ahb
  113: #options 	ATH_DEBUG
  114: options		ATH_ENABLE_11N
  115: options		ATH_DIAGAPI
  116: 
  117: device		ath_hal
  118: options		AH_SUPPORT_AR5416
  119: options		AH_DEBUG
  120: options		AH_DEBUG_ALQ
  121: 
  122: #option		AH_SUPPORT_AR9130	# Makes other chipsets not function!
  123: device		ath_rate_sample
  124: options		AH_RXCFG_SDMAMW_4BYTES
  125: options		AH_AR5416_INTERRUPT_MITIGATION
  126: # There's no DFS radar detection support yet so this won't actually
  127: # detect radars.  It however does enable the rest of the channel change
  128: # machinery so DFS can be debugged.
  129: option		ATH_ENABLE_DFS
  130: 
  131: device		mii
  132: device		arge
  133: ##options 	ARGE_DEBUG	# Enable if_arge debugging for now
  134: options 	ARGE_MDIO		# Export an MDIO bus separate from arge
  135: device		miiproxy		# MDIO bus <-> MII PHY rendezvous
  136: 
  137: # USB devices - PB92 has EHCI only
  138: 
  139: #device		usb
  140: options		USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
  141: #options		USB_DEBUG
  142: options		USB_HOST_ALIGN=32
  143: #device		ehci
  144: 
  145: # Mass storage
  146: #device		scbus
  147: #device		umass
  148: #device		da
  149: 
  150: # Read MSDOS formatted disks
  151: options		GEOM_PART_BSD
  152: options		GEOM_PART_MBR
  153: 
  154: options 	NULLFS
  155: options 	UNIONFS
  156: #options 	TMPFS
  157: #options	MSDOSFS
  158: 
  159: # GPIO Bus
  160: device		gpio
  161: device		gpioled
  162: device		gpioiic
  163: 
  164: device		iicbb
  165: device		iicbus
  166: device		iic
  167: 
  168: # SPI and flash
  169: device		spibus
  170: device		ar71xx_spi
  171: device		mx25l
  172: 
  173: # The flash is statically partitioned; add in that
  174: device		geom_map
  175: 
  176: device		ar71xx_wdog
  177: 
  178: # Serial
  179: device		uart
  180: device		uart_ar71xx
  181: 
  182: # Network twiddling
  183: device		loop
  184: device		ether
  185: device		vlan
  186: device		md
  187: device		bpf
  188: device		random
  189: device		if_bridge
  190: device		gif		# ip[46] in ip[46] tunneling protocol
  191: device		gre		# generic encapsulation - only for IPv4 in IPv4 though atm
  192: device		tun
  193: device		tap
  194: 
  195: device		pf
  196: device		pflog
  197: device		pfsync
  198: 
  199: options 	P1003_1B_MQUEUE
  200: options 	P1003_1B_SEMAPHORES	# POSIX-style semaphores
  201: 
  202: #options		MSGBUF_SIZE=65536
  203: #options		SHMALL=128
  204: #options		NSFBUFS=1024
  205: #options		MAXFILES=512
  206: #options		MAXUSERS=3

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