1 config BR2_TARGET_ROOTFS_JFFS2
2 bool "jffs2 root filesystem"
4 Build a jffs2 root filesystem
6 if BR2_TARGET_ROOTFS_JFFS2
10 default BR2_TARGET_ROOTFS_JFFS2_FLASH_128
12 config BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
13 bool "AT45 dataflash with 1056 byte pagesize"
14 select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
16 config BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
17 bool "AT45 dataflash with 528 byte pagesize"
18 select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
20 config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K
21 bool "NAND flash with 16 kB erasesize"
22 select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
24 config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K
25 bool "NAND flash with 128 kB erasesize"
26 select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
28 config BR2_TARGET_ROOTFS_JFFS2_FLASH_128
29 bool "Parallel flash with 128 kB erase size"
31 config BR2_TARGET_ROOTFS_JFFS2_FLASH_64
32 bool "Parallel flash with 64 kB erase size"
34 config BR2_TARGET_ROOTFS_JFFS2_CUSTOM
35 bool "Select custom erase size"
39 config BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE
40 hex "Erase block size"
41 depends on BR2_TARGET_ROOTFS_JFFS2_CUSTOM
44 Set to erase size of memory
46 config BR2_TARGET_ROOTFS_JFFS2_EBSIZE
48 default 0x2100 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
49 default 0x1080 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
50 default 0x4000 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K
51 default 0x20000 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K
52 default 0x20000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_128
53 default 0x10000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_64
54 default BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE if BR2_TARGET_ROOTFS_JFFS2_CUSTOM
56 config BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
57 bool "Do not use Cleanmarker"
58 default y if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
59 default y if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
60 default y if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K
61 default y if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K
63 Do not use cleanmarkers if using NAND flash or Dataflash where
64 the pagesize is not a power of 2
66 config BR2_TARGET_ROOTFS_JFFS2_PAD
69 config BR2_TARGET_ROOTFS_JFFS2_PADSIZE
70 hex "Pad output size (0x0 = to end of EB)"
71 depends on BR2_TARGET_ROOTFS_JFFS2_PAD
74 Set to 0x0 to pad to end of erase block.
78 default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_ENDIAN = "BIG"
80 config BR2_TARGET_ROOTFS_JFFS2_LE
83 config BR2_TARGET_ROOTFS_JFFS2_BE
88 config BR2_TARGET_ROOTFS_JFFS2_SUMMARY
89 bool "Produce a summarized JFFS2 image"
91 A summarised image can be mounted faster if support is
92 enabled in the kernel (CONFIG_JFFS2_SUMMARY)
94 config BR2_TARGET_ROOTFS_JFFS2_USE_CUSTOM_PAGESIZE
95 bool "Select custom virtual memory page size"
97 Use a custom virtual memory page size. Note that this is not related to
98 the flash memory page size. Using this option is only needed if Linux is
99 configured to use a page size different than 4kB.
102 config BR2_TARGET_ROOTFS_JFFS2_CUSTOM_PAGESIZE
103 hex "Virtual memory page size"
104 depends on BR2_TARGET_ROOTFS_JFFS2_USE_CUSTOM_PAGESIZE
107 Set to virtual memory page size of target system (in bytes). This value
108 should match the virtual page size in Linux (i.e. this should have the
109 same value as the value of the PAGE_SIZE macro in Linux). It is not
110 related to the flash memory page size.