## SECTION=image menuconfig IMAGE_JFFS2 bool select HOST_MTD_UTILS prompt "Generate images/root.jffs2 " help Build a jffs2 image of the root filesystem. This image can be stored linearly into target's flash device at the start of the desired partition. You should erase the whole partition first if the image is smaller than partition's size. If not, garbage data in the remaining space could confuse the filesystem driver. if IMAGE_JFFS2 config IMAGE_JFFS2_BLOCKSIZE hex default 0x10000 prompt "Erase Block Size (bytes in HEX)" help Enter here the size of each (sector) block in target's flash device. The image must use the same blocksize as the real JFFS2 filesystem running on the target. comment "*** add '-n' here for NAND flash ***" config IMAGE_JFFS2_EXTRA_ARGS string default "" prompt "extra arguments passed to mkfs.jffs2" help If needed you can add extra arguments for mkfs.jffs2 here (e.g. --devtable=${PTXDIST_WORKSPACE}/device_table.txt, -b to create a big endian filesystem on a little endian host or -n if targeting NAND flash) config IMAGE_JFFS2_SUM bool prompt "Generate images/root.sum.jffs2 " help Build an extra jffs2 image with summary information to enable faster filesystem mount. To use this the JFFS2_SUMMARY option must be enabled in target kernel. config IMAGE_JFFS2_SUM_EXTRA_ARGS string depends on IMAGE_JFFS2_SUM default "" prompt "extra arguments passed to sumtool" help If needed you can add extra arguments for sumtool here endif