This uses the new firmware(9) method for squirreling away the EEPROM contents from SPI flash so ath(4) can get to them later. It won't work out of the box just yet - you have to add this to if_ath_pci.c: #define ATH_EEPROM_FIRMWARE .. until I've added it as a configuration option and updated things.
33 lines
663 B
Plaintext
33 lines
663 B
Plaintext
#
|
|
# 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"
|
|
|
|
# GEOM modules
|
|
device geom_redboot # to get access to the SPI flash partitions
|
|
device geom_uzip # compressed in-memory filesystem hackery!
|
|
options GEOM_UZIP
|
|
|
|
options ROOTDEVNAME=\"ufs:md0.uzip\"
|
|
options AR71XX_REALMEM=64*1024*1024
|
|
|
|
# options MD_ROOT
|
|
# options MD_ROOT_SIZE="6144"
|
|
|
|
options AR71XX_ATH_EEPROM
|
|
device firmware
|