2013-09-17 22:26:07 +00:00
|
|
|
#
|
|
|
|
# Specific board setup for the Buffalo Airstation WZR-300HP
|
|
|
|
#
|
|
|
|
# The WZR-300HP has the following hardware:
|
|
|
|
#
|
|
|
|
# + AR7242 CPU SoC
|
|
|
|
# + AR9280 5GHz 11n
|
|
|
|
# + AR8136 Gigabit switch
|
|
|
|
# + 2 m25ll128 based 16MB flash
|
|
|
|
# + 64MB RAM
|
|
|
|
# + uboot environment
|
|
|
|
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2015-11-19 01:58:12 +00:00
|
|
|
#NO_UNIVERSE
|
|
|
|
|
2017-05-31 16:32:33 +00:00
|
|
|
include "std.AR724X"
|
2013-09-17 22:26:07 +00:00
|
|
|
ident "WZR-300HP"
|
|
|
|
hints "WZR-300HP.hints"
|
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
options AR71XX_REALMEM=64*1024*1024
|
2013-09-17 22:26:07 +00:00
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
options AR71XX_ENV_UBOOT
|
2013-09-17 22:26:07 +00:00
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
options BOOTVERBOSE
|
2013-09-17 22:26:07 +00:00
|
|
|
|
|
|
|
# GEOM modules
|
|
|
|
device geom_map # to get access to the SPI flash partitions
|
2019-02-26 19:55:03 +00:00
|
|
|
device xz
|
2019-02-23 00:00:49 +00:00
|
|
|
options GEOM_UZIP
|
2013-09-17 22:26:07 +00:00
|
|
|
|
2016-02-24 00:39:36 +00:00
|
|
|
options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
|
2013-09-17 22:26:07 +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
|
2013-09-17 22:26:07 +00:00
|
|
|
device firmware # Used by the above
|
|
|
|
|
|
|
|
# Options required for miiproxy and mdiobus
|
|
|
|
options ARGE_MDIO # Export an MDIO bus separate from arge
|
|
|
|
device miiproxy # MDIO bus <-> MII PHY rendezvous
|
|
|
|
|
|
|
|
device etherswitch
|
|
|
|
device arswitch
|
|
|
|
|
|
|
|
# hwpmc
|
|
|
|
device hwpmc_mips24k
|
|
|
|
device hwpmc
|
2015-10-04 22:50:37 +00:00
|
|
|
|
|
|
|
# load these via modules, shrink kernel
|
|
|
|
nodevice if_bridge
|
|
|
|
nodevice bridgestp
|
2019-06-21 00:16:30 +00:00
|
|
|
options RANDOM_LOADABLE
|