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