Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: TP-WN1043ND
- ===================================================================
- --- TP-WN1043ND (revision 254986)
- +++ TP-WN1043ND (working copy)
- @@ -15,6 +15,33 @@
- # Force the board memory - 32mb
- options AR71XX_REALMEM=32*1024*1024
- +# Limit inlines
- +makeoptions INLINE_LIMIT=768
- +
- +# 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
- +
- +# There's no need to enable swapping on this platform.
- +options NO_SWAPPING
- +
- +# No hwpmc
- +nooptions HWPMC_HOOKS
- +nodevice hwpmc
- +nodevice hwpmc_mips24k
- +
- +# Remove everything we don't need. We need a _really_ small kernel!
- +nooptions DDB
- +nooptions KDB
- +nooptions INVARIANTS
- +nooptions INVARIANT_SUPPORT
- +nooptions WITNESS
- +nooptions WITNESS_SKIPSPIN
- +nooptions DEBUG_REDZONE
- +nooptions DEBUG_MEMGUARD
- +
- # i2c GPIO bus
- device gpioiic
- device iicbb
- @@ -34,12 +61,12 @@
- # redboot stuff.
- options AR71XX_ENV_UBOOT
- -# uzip - to boot natively from flash
- -device geom_uzip
- -options GEOM_UZIP
- +# uncompress - to boot natively from flash
- +device geom_uncompress
- +options GEOM_UNCOMPRESS
- # Used for the static uboot partition map
- device geom_map
- # Boot off of the rootfs, as defined in the geom_map setup.
- -options ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
- +options ROOTDEVNAME=\"ufs:map/rootfs.uncompress\"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement