freebsd-dev/sys/mips/conf/TP-MR3020
Bjoern A. Zeeb 4490a86891 Disable the makeoption with MFS_IMAGE= set as we don't ship that file
and it thus breaks the default build.   You can still use various other
ways (tools) to embedd the image after the kernel build.
2014-09-27 17:11:51 +00:00

66 lines
1.8 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
# Boot off of the rootfs, as defined in the geom_map setup.
# Probably, this should be a USB device as the memory available
# compressed rootfs is simply too small for FreeBSD
#options ROOTDEVNAME=\"ufs:map/rootfs.uncompress\"
# Boot off of a uboot tftp ramdisk kernel image. Because the flash
# on this unit is so small, this is the only way to do dev work.
# For full deployment, you will *have* to use a usb storage device
# as a rootfs and use the flash to hold the kernel only.
options MD_ROOT # md device usable as a potential root device
options MD_ROOT_SIZE=10240
#makeoptions MFS_IMAGE=/tftpboot/mfsroot-tl-mr3020.img.ulzma
options ROOTDEVNAME=\"ufs:md0.uncompress\"