2012-04-13 08:52:25 +00:00
|
|
|
#
|
|
|
|
# Specific board setup for the Atheros AP96 reference board.
|
|
|
|
#
|
|
|
|
# The AP96 has the following hardware:
|
|
|
|
#
|
|
|
|
# + AR7161 CPU SoC
|
|
|
|
# + AR9223 2.4GHz 11n
|
|
|
|
# + AR9220 5GHz 11n
|
|
|
|
# + AR8316 10/100/1000 switch
|
|
|
|
# + m25p64 based 8MB flash
|
|
|
|
# + 64mb RAM
|
|
|
|
# + uboot environment
|
|
|
|
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
include "AR71XX_BASE"
|
|
|
|
ident "AP96"
|
|
|
|
hints "AP96.hints"
|
|
|
|
|
|
|
|
options AR71XX_REALMEM=64*1024*1024
|
|
|
|
|
2012-04-13 08:56:23 +00:00
|
|
|
options AR71XX_ENV_UBOOT
|
|
|
|
|
2012-04-13 20:23:32 +00:00
|
|
|
# For DOS - enable if required
|
|
|
|
options GEOM_PART_BSD
|
|
|
|
options GEOM_PART_MBR
|
|
|
|
options MSDOSFS
|
|
|
|
|
|
|
|
# uncompress - to boot read-only lzma natively from flash
|
|
|
|
device geom_uzip
|
|
|
|
options GEOM_UZIP
|
|
|
|
|
|
|
|
# Used for the static uboot partition map
|
|
|
|
device geom_map
|
|
|
|
|
|
|
|
# Boot off of the rootfs, as defined in the geom_map setup.
|
|
|
|
options ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
|
2012-04-13 08:52:25 +00:00
|
|
|
|
2012-04-13 20:23:32 +00:00
|
|
|
# Options needed for the EEPROM based calibration/PCI configuration data.
|
2012-04-13 18:01:53 +00:00
|
|
|
options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash
|
|
|
|
options ATH_EEPROM_FIRMWARE # Use EEPROM from flash
|
|
|
|
device firmware # Used by the above
|
2012-05-01 06:21:02 +00:00
|
|
|
|
|
|
|
# Options required for miiproxy and mdiobus
|
|
|
|
options ARGE_MDIO # Export an MDIO bus separate from arge
|
|
|
|
device miiproxy # MDIO bus <-> MII PHY rendezvous
|
2012-05-11 21:13:43 +00:00
|
|
|
|
|
|
|
device etherswitch
|
|
|
|
device arswitch
|