xref: /freebsd-12.1/sys/mips/conf/PB92 (revision b57c318b)
1#
2# PB92 -- Kernel configuration file for FreeBSD/mips for Atheros PB92 reference
3#         board (AR7242)
4#
5# $FreeBSD$
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 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
40options 	TCP_HHOOK		# hhook(9) framework for TCP
41# options 	NFSCL			#Network Filesystem Client
42options 	PSEUDOFS		#Pseudo-filesystem framework
43options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
44options 	ALQ
45
46# Debugging for use in -current
47options 	DEADLKRES
48options 	INVARIANTS
49options 	INVARIANT_SUPPORT
50options 	WITNESS
51options 	WITNESS_SKIPSPIN
52options         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
58device		xz
59options 	GEOM_UZIP
60options 	ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
61
62# PCI bus
63device		pci
64device		ar724x_pci
65
66# NVRAM U-Boot Environment -> Kernel environment
67device		nvram2env
68
69# Wireless NIC cards
70options 	IEEE80211_DEBUG
71options 	IEEE80211_SUPPORT_MESH
72options 	IEEE80211_SUPPORT_TDMA
73options 	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
82options 	ATH_DEBUG
83options 	ATH_ENABLE_11N
84options 	ATH_DIAGAPI
85
86# device		ath_hal
87options 	AH_SUPPORT_AR5416
88options 	AH_DEBUG
89options 	AH_DEBUG_ALQ
90
91# device		ath_rate_sample
92
93device		mii
94device		arge
95
96# USB devices - PB92 has EHCI only
97
98#device		usb
99options 	USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
100options 	USB_DEBUG
101options 	USB_HOST_ALIGN=32
102#device		ehci
103
104# Mass storage
105#device		scbus
106#device		umass
107#device		da
108
109# Read MSDOS formatted disks
110# options 	MSDOSFS
111
112# GPIO Bus
113#device		gpio
114#device		gpioled
115
116# SPI and flash
117device		spibus
118device		ar71xx_spi
119device		mx25l
120
121# The flash is statically partitioned; add in that
122device		geom_map
123
124device		ar71xx_wdog
125
126# Serial
127device		uart
128device		uart_ar71xx
129
130device		ar71xx_apb
131
132# Network twiddling
133device		loop
134device		ether
135#device		md
136#device		bpf
137#device		random
138#device		if_bridge
139