2012-08-28 06:17:44 +00:00
|
|
|
#
|
2014-03-05 04:19:52 +00:00
|
|
|
# Specific board setup for the D-Link DIR-825B1 router.
|
2012-08-28 06:17:44 +00:00
|
|
|
#
|
2014-03-05 04:19:52 +00:00
|
|
|
# The DIR-825B1 has the following hardware:
|
2012-08-28 06:17:44 +00:00
|
|
|
#
|
|
|
|
# + AR7161 CPU SoC
|
|
|
|
# + AR9223 2.4GHz 11n
|
|
|
|
# + AR9220 5GHz 11n
|
|
|
|
# + RealTek RTL8366S Gigabit switch
|
|
|
|
# + m25p64 based 8MB flash
|
|
|
|
# + 64MB RAM
|
|
|
|
# + uboot environment
|
|
|
|
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
include "AR71XX_BASE"
|
2014-03-05 04:19:52 +00:00
|
|
|
ident "DIR-825B1"
|
|
|
|
hints "DIR-825B1.hints"
|
2012-08-28 06:17:44 +00:00
|
|
|
|
|
|
|
# Since the kernel image must fit inside 1024KiB, we have to build almost
|
|
|
|
# everything as modules.
|
2015-01-03 02:39:28 +00:00
|
|
|
# nodevice random
|
2012-08-28 06:17:44 +00:00
|
|
|
nodevice gpio
|
|
|
|
nodevice gpioled
|
|
|
|
nodevice gif
|
|
|
|
nodevice gre
|
2013-07-31 16:26:34 +00:00
|
|
|
nodevice if_bridge
|
2012-08-28 06:17:44 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
# Don't include the SCSI/CAM strings in the default build
|
|
|
|
options SCSI_NO_SENSE_STRINGS
|
|
|
|
options SCSI_NO_OP_STRINGS
|
|
|
|
|
|
|
|
# .. And no sysctl strings
|
|
|
|
options NO_SYSCTL_DESCR
|
|
|
|
|
|
|
|
# GEOM modules
|
|
|
|
device geom_map # to get access to the SPI flash partitions
|
|
|
|
device geom_uncompress # compressed in-memory filesystem hackery!
|
2014-03-18 14:41:18 +00:00
|
|
|
options GEOM_UNCOMPRESS
|
|
|
|
options GEOM_PART_GPT
|
2012-08-28 06:17:44 +00:00
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
|
|
|
|
options AR71XX_REALMEM=64*1024*1024
|
2012-08-28 06:17:44 +00:00
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
options AR71XX_ENV_UBOOT
|
2012-08-28 06:17:44 +00:00
|
|
|
|
2015-01-03 02:34:23 +00:00
|
|
|
# options MSDOSFS # Read MSDOS filesystems; useful for USB/CF
|
2013-09-03 22:33:06 +00:00
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
# options MD_ROOT
|
|
|
|
# options MD_ROOT_SIZE="6144"
|
2012-08-28 06:17:44 +00:00
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash
|
|
|
|
options ATH_EEPROM_FIRMWARE # Use EEPROM from flash
|
2012-08-28 06:17:44 +00:00
|
|
|
device firmware # Used by the above
|