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