2012-08-29 01:08:36 +00:00
|
|
|
#
|
|
|
|
# Specific board setup for the Atheros AP91 reference board.
|
|
|
|
#
|
|
|
|
# The AP91 has the following hardware:
|
|
|
|
#
|
|
|
|
# + AR7241 CPU SoC
|
|
|
|
# + AR9287 Wifi
|
|
|
|
# + Integrated switch (XXX speed?)
|
|
|
|
# + 4MB flash
|
|
|
|
# + 16MB 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"
|
2012-08-29 01:08:36 +00:00
|
|
|
ident "AP91"
|
|
|
|
hints "AP91.hints"
|
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
options AR71XX_REALMEM=16*1024*1024
|
2012-08-29 01:08:36 +00:00
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
options AR71XX_ENV_UBOOT
|
2012-08-29 01:08:36 +00:00
|
|
|
|
|
|
|
# Limit inlines
|
|
|
|
makeoptions INLINE_LIMIT=768
|
|
|
|
|
|
|
|
# We bite the performance overhead for now; the kernel won't
|
|
|
|
# fit if the mutexes are inlined.
|
|
|
|
options MUTEX_NOINLINE
|
|
|
|
options RWLOCK_NOINLINE
|
|
|
|
options SX_NOINLINE
|
|
|
|
|
|
|
|
# There's no need to enable swapping on this platform.
|
|
|
|
options NO_SWAPPING
|
|
|
|
|
|
|
|
# For DOS - enable if required
|
|
|
|
# options MSDOSFS
|
|
|
|
|
|
|
|
# uncompress - to boot read-only lzma natively from flash
|
2016-02-24 00:39:36 +00:00
|
|
|
device geom_uzip
|
|
|
|
options GEOM_UZIP
|
|
|
|
options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
|
2012-08-29 01:08:36 +00:00
|
|
|
|
|
|
|
# Not enough space for these..
|
|
|
|
nooptions INVARIANTS
|
|
|
|
nooptions INVARIANT_SUPPORT
|
|
|
|
nooptions WITNESS
|
|
|
|
nooptions WITNESS_SKIPSPIN
|
|
|
|
nooptions DEBUG_REDZONE
|
|
|
|
nooptions DEBUG_MEMGUARD
|
|
|
|
|
|
|
|
# Used for the static uboot partition map
|
|
|
|
device geom_map
|
|
|
|
|
|
|
|
# Options needed for the EEPROM based calibration/PCI configuration data.
|
|
|
|
options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash
|
|
|
|
options ATH_EEPROM_FIRMWARE # Use EEPROM from flash
|
|
|
|
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
|