2011-04-03 13:19:58 +00:00
|
|
|
#
|
|
|
|
# TP-1043ND -- Kernel configuration file for the TP-Link WR-1043ND
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2015-11-19 01:58:12 +00:00
|
|
|
#NO_UNIVERSE
|
|
|
|
|
2011-04-03 13:19:58 +00:00
|
|
|
# Include the default AR913x parameters common to all AR913x SoC users.
|
2016-08-28 04:10:23 +00:00
|
|
|
include "std.AR91XX"
|
2011-04-03 13:19:58 +00:00
|
|
|
|
|
|
|
ident TP-WN1043ND
|
|
|
|
|
|
|
|
# Override hints with board values
|
|
|
|
hints "TP-WN1043ND.hints"
|
|
|
|
|
|
|
|
# Force the board memory - 32mb
|
|
|
|
options AR71XX_REALMEM=32*1024*1024
|
|
|
|
|
2012-05-12 17:41:42 +00:00
|
|
|
# i2c GPIO bus
|
2017-12-26 19:50:23 +00:00
|
|
|
device gpio
|
2012-05-12 17:41:42 +00:00
|
|
|
device gpioiic
|
|
|
|
device iicbb
|
|
|
|
device iicbus
|
|
|
|
device iic
|
|
|
|
|
|
|
|
# ethernet switch device
|
|
|
|
device etherswitch
|
|
|
|
|
|
|
|
# RTL8366RB support
|
2017-12-26 19:50:23 +00:00
|
|
|
device mdio
|
2012-05-12 17:41:42 +00:00
|
|
|
device rtl8366rb
|
|
|
|
|
2011-04-03 13:19:58 +00:00
|
|
|
# read MSDOS formatted disks - USB
|
2014-03-18 14:41:18 +00:00
|
|
|
options MSDOSFS
|
2011-04-03 13:19:58 +00:00
|
|
|
|
2011-11-24 07:33:41 +00:00
|
|
|
# Enable the uboot environment stuff rather then the
|
|
|
|
# redboot stuff.
|
2014-03-18 14:41:18 +00:00
|
|
|
options AR71XX_ENV_UBOOT
|
2011-11-24 07:33:41 +00:00
|
|
|
|
2013-09-17 20:33:42 +00:00
|
|
|
# uncompress - to boot natively from flash
|
2016-02-24 00:39:36 +00:00
|
|
|
device geom_uzip
|
|
|
|
options GEOM_UZIP
|
2011-11-24 04:39:01 +00:00
|
|
|
|
|
|
|
# Used for the static uboot partition map
|
|
|
|
device geom_map
|
|
|
|
|
|
|
|
# Boot off of the rootfs, as defined in the geom_map setup.
|
2016-02-24 00:39:36 +00:00
|
|
|
options ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
|
2013-09-17 20:33:42 +00:00
|
|
|
|
|
|
|
# We bite the performance overhead for now; the kernel won't
|
|
|
|
# fit if the mutexes are inlined.
|
|
|
|
options MUTEX_NOINLINE
|
|
|
|
options RWLOCK_NOINLINE
|
|
|
|
options SX_NOINLINE
|
|
|
|
|
|
|
|
# Remove everything we don't need. We need a _really_ small kernel!
|
|
|
|
nooptions INVARIANTS
|
|
|
|
nooptions INVARIANT_SUPPORT
|
|
|
|
nooptions WITNESS
|
|
|
|
nooptions WITNESS_SKIPSPIN
|
|
|
|
nooptions DEBUG_REDZONE
|
|
|
|
nooptions DEBUG_MEMGUARD
|