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