aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/conf/DIR-825B1
blob: 19cbb68ea6a42a964501d562b9619dd23b6a2aa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# Specific board setup for the D-Link DIR-825B1 router.
#
# The DIR-825B1 has the following hardware:
#
# + AR7161 CPU SoC
# + AR9223 2.4GHz 11n
# + AR9220 5GHz 11n
# + RealTek RTL8366S Gigabit switch
# + m25p64 based 8MB flash
# + 64MB RAM
# + uboot environment

# $FreeBSD$

#NO_UNIVERSE

include		"AR71XX_BASE"
ident		"DIR-825B1"
hints		"DIR-825B1.hints"

# Since the kernel image must fit inside 1024KiB, we have to build almost
# everything as modules.
# nodevice random
nodevice gpio
nodevice gpioled
nodevice gif
nodevice gre
nodevice if_bridge
nodevice usb
nodevice ehci
nodevice wlan
nodevice wlan_xauth
nodevice wlan_acl
nodevice wlan_wep
nodevice wlan_tkip
nodevice wlan_ccmp
nodevice wlan_rssadapt
nodevice wlan_amrr
nodevice ath
nodevice ath_pci
nodevice ath_hal
nodevice umass
nodevice ath_rate_sample

nooptions	INET6

# GEOM modules
device		geom_map	# to get access to the SPI flash partitions
device		geom_uzip	# compressed in-memory filesystem hackery!
options 	GEOM_UZIP
options 	GEOM_PART_GPT

options 	ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
options 	AR71XX_REALMEM=64*1024*1024

options 	AR71XX_ENV_UBOOT

# options 	MSDOSFS			# Read MSDOS filesystems; useful for USB/CF

# options 	MD_ROOT
# options 	MD_ROOT_SIZE="6144"

options 	AR71XX_ATH_EEPROM	# Fetch EEPROM/PCI config from flash
options 	ATH_EEPROM_FIRMWARE	# Use EEPROM from flash
device		firmware		# Used by the above