1# 2# PB92 -- Kernel configuration file for FreeBSD/mips for Atheros PB92 reference 3# board (AR7242) 4# 5# $FreeBSD: releng/10.2/sys/mips/conf/PB92 266331 2014-05-17 17:34:37Z ian $ 6# 7 8ident PB92 9# XXX The default load address in the Uboot environment is 0x80010000 10makeoptions KERNLOADADDR=0x80050000 11options HZ=1000 12 13# The PB92 has 32mb of RAM; hard-code that 14options AR71XX_REALMEM=32*1024*1024 15 16# It's UBOOT, not Redboot - without this, things will hang at startup 17options 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 25makeoptions 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" 26 27hints "PB92.hints" 28include "../atheros/std.ar71xx" 29 30makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 31makeoptions MODULES_OVERRIDE="" 32 33options DDB 34options KDB 35 36options SCHED_4BSD #4BSD scheduler 37options INET #InterNETworking 38# Can't do IPv6 - it just doesn't fit. 39# options INET6 40# options NFSCL #Network Filesystem Client 41options PSEUDOFS #Pseudo-filesystem framework 42options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 43options ALQ 44 45# Debugging for use in -current 46options DEADLKRES 47options INVARIANTS 48options INVARIANT_SUPPORT 49options WITNESS 50options WITNESS_SKIPSPIN 51options 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 55 56# Support uncompress lzma rootfs 57device geom_uncompress 58options GEOM_UNCOMPRESS 59options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\" 60 61# PCI bus 62device pci 63device ar724x_pci 64 65# NVRAM U-Boot Environment -> Kernel environment 66device nvram2env 67 68# Wireless NIC cards 69options IEEE80211_DEBUG 70options IEEE80211_SUPPORT_MESH 71options IEEE80211_SUPPORT_TDMA 72options IEEE80211_ALQ 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 78 79#device ath # Atheros pci/cardbus NIC's 80#device ath_pci # PCI/PCIe bus glue 81options ATH_DEBUG 82options ATH_ENABLE_11N 83options ATH_DIAGAPI 84 85# device ath_hal 86options AH_SUPPORT_AR5416 87options AH_DEBUG 88options AH_DEBUG_ALQ 89 90# device ath_rate_sample 91 92device mii 93device arge 94 95# USB devices - PB92 has EHCI only 96 97#device usb 98options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 99options USB_DEBUG 100options 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 116device spibus 117device ar71xx_spi 118device mx25l 119 120# The flash is statically partitioned; add in that 121device geom_map 122 123device ar71xx_wdog 124 125# Serial 126device uart 127device uart_ar71xx 128 129# Network twiddling 130device loop 131device ether 132#device md 133#device bpf 134#device random 135#device if_bridge 136