1220295Sadrian# 2220295Sadrian# TP-1043ND -- Kernel configuration file for the TP-Link WR-1043ND 3220295Sadrian# 4220295Sadrian# $FreeBSD$ 5220295Sadrian# 6220295Sadrian 7220295Sadrian# Include the default AR913x parameters common to all AR913x SoC users. 8220295Sadrianinclude "AR91XX_BASE" 9220295Sadrian 10220295Sadrianident TP-WN1043ND 11220295Sadrian 12220295Sadrian# Override hints with board values 13220295Sadrianhints "TP-WN1043ND.hints" 14220295Sadrian 15220295Sadrian# Force the board memory - 32mb 16220295Sadrianoptions AR71XX_REALMEM=32*1024*1024 17220295Sadrian 18235345Sadrian# i2c GPIO bus 19235345Sadriandevice gpioiic 20235345Sadriandevice iicbb 21235345Sadriandevice iicbus 22235345Sadriandevice iic 23235345Sadrian 24235345Sadrian# ethernet switch device 25235345Sadriandevice etherswitch 26235345Sadrian 27235345Sadrian# RTL8366RB support 28235345Sadriandevice rtl8366rb 29235345Sadrian 30220295Sadrian# read MSDOS formatted disks - USB 31266331Sianoptions MSDOSFS 32220295Sadrian 33227925Sadrian# Enable the uboot environment stuff rather then the 34227925Sadrian# redboot stuff. 35266331Sianoptions AR71XX_ENV_UBOOT 36227925Sadrian 37255656Shiren# uncompress - to boot natively from flash 38255656Shirendevice geom_uncompress 39255656Shirenoptions GEOM_UNCOMPRESS 40227921Sadrian 41227921Sadrian# Used for the static uboot partition map 42227921Sadriandevice geom_map 43227921Sadrian 44227921Sadrian# Boot off of the rootfs, as defined in the geom_map setup. 45255656Shirenoptions ROOTDEVNAME=\"ufs:map/rootfs.uncompress\" 46255656Shiren 47255656Shiren# We bite the performance overhead for now; the kernel won't 48255656Shiren# fit if the mutexes are inlined. 49255656Shirenoptions MUTEX_NOINLINE 50255656Shirenoptions RWLOCK_NOINLINE 51255656Shirenoptions SX_NOINLINE 52255656Shiren 53255656Shiren# Remove everything we don't need. We need a _really_ small kernel! 54255656Shirennooptions INVARIANTS 55255656Shirennooptions INVARIANT_SUPPORT 56255656Shirennooptions WITNESS 57255656Shirennooptions WITNESS_SKIPSPIN 58255656Shirennooptions DEBUG_REDZONE 59255656Shirennooptions DEBUG_MEMGUARD 60