1# 2# Specific board setup for the D-Link DIR-825 router. 3# 4# The DIR-825 has the following hardware: 5# 6# + AR7161 CPU SoC 7# + AR9223 2.4GHz 11n 8# + AR9220 5GHz 11n 9# + RealTek RTL8366S Gigabit switch 10# + m25p64 based 8MB flash 11# + 64MB RAM 12# + uboot environment 13 14# $FreeBSD$ 15 16include "AR71XX_BASE" 17ident "DIR-825" 18hints "DIR-825.hints" 19 20# Since the kernel image must fit inside 1024KiB, we have to build almost 21# everything as modules. 22nodevice random 23nodevice gpio 24nodevice gpioled 25nodevice gif 26nodevice gre 27nodevice if_bridge 28nodevice usb 29nodevice ehci 30nodevice wlan 31nodevice wlan_xauth 32nodevice wlan_acl 33nodevice wlan_wep 34nodevice wlan_tkip 35nodevice wlan_ccmp 36nodevice wlan_rssadapt 37nodevice wlan_amrr 38nodevice ath 39nodevice ath_pci 40nodevice ath_hal 41nodevice umass 42nodevice ath_rate_sample 43 44nooptions INET6 45 46# Don't include the SCSI/CAM strings in the default build 47options SCSI_NO_SENSE_STRINGS 48options SCSI_NO_OP_STRINGS 49 50# .. And no sysctl strings 51options NO_SYSCTL_DESCR 52 53# GEOM modules 54device geom_map # to get access to the SPI flash partitions 55device geom_uncompress # compressed in-memory filesystem hackery! 56options GEOM_UNCOMPRESS 57options GEOM_PART_GPT 58 59options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\" 60options AR71XX_REALMEM=64*1024*1024 61 62options AR71XX_ENV_UBOOT 63 64options MSDOSFS # Read MSDOS filesystems; useful for USB/CF 65 66# options MD_ROOT 67# options MD_ROOT_SIZE="6144" 68 69options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash 70options ATH_EEPROM_FIRMWARE # Use EEPROM from flash 71device firmware # Used by the above 72