FreeBSD/Linux Kernel Cross Reference
sys/mips/conf/PB92
1 #
2 # PB92 -- Kernel configuration file for FreeBSD/mips for Atheros PB92 reference
3 # board (AR7242)
4 #
5 # $FreeBSD$
6 #
7
8 ident PB92
9 # XXX The default load address in the Uboot environment is 0x80010000
10 makeoptions KERNLOADADDR=0x80050000
11 options HZ=1000
12
13 # The PB92 has 32mb of RAM; hard-code that
14 options AR71XX_REALMEM=32*1024*1024
15
16 # It's UBOOT, not Redboot - without this, things will hang at startup
17 options AR71XX_ENV_UBOOT
18
19 # We have to build most things as modules rather than in the kernel.
20 # The PB92 has 4MB of SPI flash and the default kernel "partition"
21 # is only 892KiB. In order to try and squeeze into that (so people
22 # who already are using it without modifying the default flash layout)
23 # we need to cut down on a lot of things.
24
25 makeoptions MODULES_OVERRIDE="ath ath_pci ath_ahb bridgestp if_bridge if_gif if_gre wlan wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt wlan_tkip wlan_wep wlan_xauth usb ar71xx"
26
27 hints "PB92.hints"
28 include "../atheros/std.ar71xx"
29
30 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
31 makeoptions MODULES_OVERRIDE=""
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 TCP_HHOOK # hhook(9) framework for TCP
41 # options NFSCL #Network Filesystem Client
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 options FFS #Berkeley Fast Filesystem
53 #options SOFTUPDATES #Enable FFS soft updates support
54 #options UFS_ACL #Support for access control lists
55 #options UFS_DIRHASH #Improve performance on big directories
56
57 # Support uncompress lzma rootfs
58 device xz
59 options GEOM_UZIP
60 options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
61
62 # PCI bus
63 device pci
64 device ar724x_pci
65
66 # NVRAM U-Boot Environment -> Kernel environment
67 device nvram2env
68
69 # Wireless NIC cards
70 options IEEE80211_DEBUG
71 options IEEE80211_SUPPORT_MESH
72 options IEEE80211_SUPPORT_TDMA
73 options IEEE80211_ALQ
74 #device wlan # 802.11 support
75 #device wlan_wep # 802.11 WEP support
76 #device wlan_ccmp # 802.11 CCMP support
77 #device wlan_tkip # 802.11 TKIP support
78 #device wlan_xauth # 802.11 hostap support
79
80 #device ath # Atheros pci/cardbus NIC's
81 #device ath_pci # PCI/PCIe bus glue
82 options ATH_DEBUG
83 options ATH_ENABLE_11N
84 options ATH_DIAGAPI
85
86 # device ath_hal
87 options AH_DEBUG
88 options AH_DEBUG_ALQ
89
90 # device ath_rate_sample
91
92 device mii
93 device arge
94
95 # USB devices - PB92 has EHCI only
96
97 #device usb
98 options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
99 options USB_DEBUG
100 options USB_HOST_ALIGN=32
101 #device ehci
102
103 # Mass storage
104 #device scbus
105 #device umass
106 #device da
107
108 # Read MSDOS formatted disks
109 # options MSDOSFS
110
111 # GPIO Bus
112 #device gpio
113 #device gpioled
114
115 # SPI and flash
116 device spibus
117 device ar71xx_spi
118 device mx25l
119
120 # The flash is statically partitioned; add in that
121 device geom_map
122
123 device ar71xx_wdog
124
125 # Serial
126 device uart
127 device uart_ar71xx
128
129 device ar71xx_apb
130
131 # Network twiddling
132 device loop
133 device ether
134 #device md
135 #device bpf
136 #device if_bridge
Cache object: 4fea417bc01856c4f690dee522c05c16
|