2 # PB92 -- Kernel configuration file for FreeBSD/mips for Atheros PB92 reference
9 # XXX The default load address in the Uboot environment is 0x80010000
10 makeoptions KERNLOADADDR=0x80050000
13 # The PB92 has 32mb of RAM; hard-code that
14 options AR71XX_REALMEM=32*1024*1024
16 # It's UBOOT, not Redboot - without this, things will hang at startup
17 options AR71XX_ENV_UBOOT
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.
25 makeoptions MODULES_OVERRIDE="ath ath_pci ath_ahb bridgestp if_bridge if_gif if_gre random wlan wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt wlan_tkip wlan_wep wlan_xauth usb ar71xx"
28 include "../atheros/std.ar71xx"
30 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
31 makeoptions MODULES_OVERRIDE=""
36 options SCHED_4BSD #4BSD scheduler
37 options INET #InterNETworking
38 # Can't do IPv6 - it just doesn't fit.
40 # options NFSCL #Network Filesystem Client
41 options PSEUDOFS #Pseudo-filesystem framework
42 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
45 # Debugging for use in -current
48 options INVARIANT_SUPPORT
50 options WITNESS_SKIPSPIN
51 options FFS #Berkeley Fast Filesystem
52 #options SOFTUPDATES #Enable FFS soft updates support
53 #options UFS_ACL #Support for access control lists
54 #options UFS_DIRHASH #Improve performance on big directories
56 # Support uncompress lzma rootfs
57 device geom_uncompress
58 options GEOM_UNCOMPRESS
59 options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
65 # NVRAM U-Boot Environment -> Kernel environment
69 options IEEE80211_DEBUG
70 options IEEE80211_SUPPORT_MESH
71 options IEEE80211_SUPPORT_TDMA
73 #device wlan # 802.11 support
74 #device wlan_wep # 802.11 WEP support
75 #device wlan_ccmp # 802.11 CCMP support
76 #device wlan_tkip # 802.11 TKIP support
77 #device wlan_xauth # 802.11 hostap support
79 #device ath # Atheros pci/cardbus NIC's
80 #device ath_pci # PCI/PCIe bus glue
82 options ATH_ENABLE_11N
86 options AH_SUPPORT_AR5416
90 # device ath_rate_sample
95 # USB devices - PB92 has EHCI only
98 options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
100 options USB_HOST_ALIGN=32
108 # Read MSDOS formatted disks
120 # The flash is statically partitioned; add in that