b9dc043726
Assume and enforce the fact that this will always boot a rootfs from usb.
56 lines
1.2 KiB
Plaintext
56 lines
1.2 KiB
Plaintext
#
|
|
# TP Link MR3020 - an AR9331 based SoC wifi device.
|
|
#
|
|
# This is for the 32 RAM/4 flash part. There is little to no
|
|
# chance that this will ever boot FreeBSD directly from the 3.5MB
|
|
# of flash. The kernel can fit into the space, but userland is just
|
|
# too big even when stripped down to its limits.
|
|
#
|
|
# * AR9331 SoC
|
|
# * 32MB RAM
|
|
# * 4MB flash
|
|
# * Integrated 1x1 2GHz wifi and 10/100 bridge
|
|
# * USB powered
|
|
# * USB storage
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# Include the default AR933x parameters
|
|
include "AR933X_BASE"
|
|
|
|
ident TP-MR3020
|
|
|
|
# Override hints with board values
|
|
hints "TP-MR3020.hints"
|
|
|
|
# Board memory - 32MB
|
|
options AR71XX_REALMEM=(32*1024*1024)
|
|
|
|
# i2c GPIO bus
|
|
device gpioiic
|
|
device iicbb
|
|
device iicbus
|
|
device iic
|
|
|
|
# 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 the uboot environment stuff rather then the
|
|
# redboot stuff.
|
|
options AR71XX_ENV_UBOOT
|
|
|
|
# uzip - to boot natively from flash
|
|
device geom_uncompress
|
|
|
|
# Used for the static uboot partition map
|
|
device geom_map
|
|
|
|
# With only 4MB of flash, we are stuck using USB
|
|
# for the rootfs.
|
|
options ROOTDEVNAME=\"ufs:da0\"
|