Config.in 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. config BR2_TARGET_ROOTFS_JFFS2
  2. bool "jffs2 root filesystem"
  3. help
  4. Build a jffs2 root filesystem
  5. if BR2_TARGET_ROOTFS_JFFS2
  6. choice
  7. prompt "Flash Type"
  8. default BR2_TARGET_ROOTFS_JFFS2_FLASH_128
  9. config BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
  10. bool "AT45 dataflash with 1056 byte pagesize"
  11. select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
  12. config BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
  13. bool "AT45 dataflash with 528 byte pagesize"
  14. select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
  15. config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K
  16. bool "NAND flash with 16 kB erasesize"
  17. select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
  18. config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K
  19. bool "NAND flash with 128 kB erasesize"
  20. select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
  21. config BR2_TARGET_ROOTFS_JFFS2_FLASH_128
  22. bool "Parallel flash with 128 kB erase size"
  23. config BR2_TARGET_ROOTFS_JFFS2_FLASH_64
  24. bool "Parallel flash with 64 kB erase size"
  25. config BR2_TARGET_ROOTFS_JFFS2_CUSTOM
  26. bool "Select custom erase size"
  27. endchoice
  28. config BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE
  29. hex "Erase block size"
  30. default 0x20000
  31. depends on BR2_TARGET_ROOTFS_JFFS2_CUSTOM
  32. help
  33. Set to erase size of memory
  34. config BR2_TARGET_ROOTFS_JFFS2_EBSIZE
  35. hex
  36. default 0x2100 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
  37. default 0x1080 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
  38. default 0x4000 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K
  39. default 0x20000 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K
  40. default 0x20000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_128
  41. default 0x10000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_64
  42. default BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE if BR2_TARGET_ROOTFS_JFFS2_CUSTOM
  43. config BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
  44. bool "Do not use Cleanmarker"
  45. default y if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
  46. default y if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
  47. default y if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K
  48. default y if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K
  49. help
  50. Do not use cleanmarkers if using NAND flash or Dataflash where
  51. the pagesize is not a power of 2
  52. config BR2_TARGET_ROOTFS_JFFS2_PAD
  53. bool "Pad output"
  54. config BR2_TARGET_ROOTFS_JFFS2_PADSIZE
  55. hex "Pad output size (0x0 = to end of EB)"
  56. default 0x0
  57. depends on BR2_TARGET_ROOTFS_JFFS2_PAD
  58. help
  59. Set to 0x0 to pad to end of erase block.
  60. choice
  61. prompt "Endianess"
  62. default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_ENDIAN = "BIG"
  63. config BR2_TARGET_ROOTFS_JFFS2_LE
  64. bool "little-endian"
  65. config BR2_TARGET_ROOTFS_JFFS2_BE
  66. bool "big-endian"
  67. endchoice
  68. config BR2_TARGET_ROOTFS_JFFS2_SUMMARY
  69. bool "Produce a summarized JFFS2 image"
  70. help
  71. A summarised image can be mounted faster if support is
  72. enabled in the kernel (CONFIG_JFFS2_SUMMARY)
  73. config BR2_TARGET_ROOTFS_JFFS2_USE_CUSTOM_PAGESIZE
  74. bool "Select custom virtual memory page size"
  75. help
  76. Use a custom virtual memory page size. Note that this is not
  77. related to the flash memory page size. Using this option is
  78. only needed if Linux is configured to use a page size
  79. different than 4kB.
  80. config BR2_TARGET_ROOTFS_JFFS2_CUSTOM_PAGESIZE
  81. hex "Virtual memory page size"
  82. default 0x1000
  83. depends on BR2_TARGET_ROOTFS_JFFS2_USE_CUSTOM_PAGESIZE
  84. help
  85. Set to virtual memory page size of target system (in bytes).
  86. This value should match the virtual page size in Linux (i.e.
  87. this should have the same value as the value of the PAGE_SIZE
  88. macro in Linux). It is not related to the flash memory page
  89. size.
  90. endif