1#
2# TP-1043ND -- Kernel configuration file for the TP-Link WR-1043ND
3#
4# $FreeBSD$
5#
6
7#NO_UNIVERSE
8
9# Include the default AR913x parameters common to all AR913x SoC users.
10include         "std.AR91XX"
11
12ident           TP-WN1043ND
13
14# Override hints with board values
15hints           "TP-WN1043ND.hints"
16
17# Force the board memory - 32mb
18options         AR71XX_REALMEM=32*1024*1024
19
20# i2c GPIO bus
21device		gpio
22device		gpioiic
23device		iicbb
24device		iicbus
25device		iic
26
27# ethernet switch device
28device		etherswitch
29
30# RTL8366RB support
31device		mdio
32device		rtl8366rb
33
34# read MSDOS formatted disks - USB
35options 	MSDOSFS
36
37# Enable the uboot environment stuff rather then the
38# redboot stuff.
39options 	AR71XX_ENV_UBOOT
40
41# uncompress - to boot natively from flash
42device		xz
43options        GEOM_UZIP
44
45# Used for the static uboot partition map
46device          geom_map
47
48# Boot off of the rootfs, as defined in the geom_map setup.
49options                ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
50
51# We bite the performance overhead for now; the kernel won't
52# fit if the mutexes are inlined.
53options        MUTEX_NOINLINE
54options        RWLOCK_NOINLINE
55options        SX_NOINLINE
56
57# Remove everything we don't need.  We need a _really_ small kernel!
58nooptions      INVARIANTS
59nooptions      INVARIANT_SUPPORT
60nooptions      WITNESS
61nooptions      WITNESS_SKIPSPIN
62nooptions      DEBUG_REDZONE
63nooptions      DEBUG_MEMGUARD
64