mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
7995e29931
wireless home router. Notable things: 2x 16 MB flash devices Atheros Wireless Atheros Switching Many thanks to adrian@ for his guidance on this and keeping the drivers in the base system up to date Approved by: re (delphij)
58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
#
|
|
# 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$
|
|
|
|
include "AR724X_BASE"
|
|
ident "WZR-300HP"
|
|
hints "WZR-300HP.hints"
|
|
|
|
options AR71XX_REALMEM=64*1024*1024
|
|
|
|
options AR71XX_ENV_UBOOT
|
|
|
|
options BOOTVERBOSE
|
|
# Don't include the SCSI/CAM strings in the default build
|
|
options SCSI_NO_SENSE_STRINGS
|
|
options SCSI_NO_OP_STRINGS
|
|
|
|
# .. And no sysctl strings
|
|
options NO_SYSCTL_DESCR
|
|
|
|
# GEOM modules
|
|
device geom_map # to get access to the SPI flash partitions
|
|
device geom_uncompress # compressed in-memory filesystem hackery!
|
|
|
|
options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
|
|
|
|
# options MD_ROOT
|
|
# options MD_ROOT_SIZE="6144"
|
|
|
|
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
|
|
|
|
# Enable GPIO
|
|
device gpio
|
|
device gpioled
|
|
|
|
# hwpmc
|
|
device hwpmc_mips24k
|
|
device hwpmc
|