Advertisement
Guest User

Untitled

a guest
Aug 30th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. Index: TP-WN1043ND
  2. ===================================================================
  3. --- TP-WN1043ND (revision 254986)
  4. +++ TP-WN1043ND (working copy)
  5. @@ -15,6 +15,33 @@
  6. # Force the board memory - 32mb
  7. options AR71XX_REALMEM=32*1024*1024
  8.  
  9. +# Limit inlines
  10. +makeoptions INLINE_LIMIT=768
  11. +
  12. +# We bite the performance overhead for now; the kernel won't
  13. +# fit if the mutexes are inlined.
  14. +options MUTEX_NOINLINE
  15. +options RWLOCK_NOINLINE
  16. +options SX_NOINLINE
  17. +
  18. +# There's no need to enable swapping on this platform.
  19. +options NO_SWAPPING
  20. +
  21. +# No hwpmc
  22. +nooptions HWPMC_HOOKS
  23. +nodevice hwpmc
  24. +nodevice hwpmc_mips24k
  25. +
  26. +# Remove everything we don't need. We need a _really_ small kernel!
  27. +nooptions DDB
  28. +nooptions KDB
  29. +nooptions INVARIANTS
  30. +nooptions INVARIANT_SUPPORT
  31. +nooptions WITNESS
  32. +nooptions WITNESS_SKIPSPIN
  33. +nooptions DEBUG_REDZONE
  34. +nooptions DEBUG_MEMGUARD
  35. +
  36. # i2c GPIO bus
  37. device gpioiic
  38. device iicbb
  39. @@ -34,12 +61,12 @@
  40. # redboot stuff.
  41. options AR71XX_ENV_UBOOT
  42.  
  43. -# uzip - to boot natively from flash
  44. -device geom_uzip
  45. -options GEOM_UZIP
  46. +# uncompress - to boot natively from flash
  47. +device geom_uncompress
  48. +options GEOM_UNCOMPRESS
  49.  
  50. # Used for the static uboot partition map
  51. device geom_map
  52.  
  53. # Boot off of the rootfs, as defined in the geom_map setup.
  54. -options ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
  55. +options ROOTDEVNAME=\"ufs:map/rootfs.uncompress\"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement