diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-04-18 16:55:46 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-05-05 17:30:50 +0200 |
commit | f8121306fbbc2944a3eef8aacb597a947166ff42 (patch) | |
tree | 60be73ec37856b327e4c6a6821e3c34f1461fcdd /platforms/image-root-ubifs.in | |
parent | f1fbac6d8b6fe41e4c837fe156aaecb558873505 (diff) | |
download | ptxdist-f8121306fbbc2944a3eef8aacb597a947166ff42.tar.gz ptxdist-f8121306fbbc2944a3eef8aacb597a947166ff42.tar.xz |
image-root-ubifs: add rules for generic UBIFS image
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms/image-root-ubifs.in')
-rw-r--r-- | platforms/image-root-ubifs.in | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/platforms/image-root-ubifs.in b/platforms/image-root-ubifs.in new file mode 100644 index 000000000..e5820e4b2 --- /dev/null +++ b/platforms/image-root-ubifs.in @@ -0,0 +1,64 @@ +## SECTION=image2 + +menuconfig IMAGE_ROOT_UBIFS + tristate + select HOST_GENIMAGE + select HOST_MTD_UTILS + select IMAGE_ROOT_TGZ + prompt "Generate images/root.ubifs " + help + Build ubifs images of the root filesystem. + +if IMAGE_ROOT_UBIFS + +config IMAGE_ROOT_UBIFS_MAX_SIZE + string + default "20M" + prompt "maximum filesystem size" + help + The maximum filesystem size in bytes or with unit, e.g. 42M, 23G, etc. + The filesystem will never grow larger than this regardless of the + available space in the underlying UBI container. + +menu "Flash Properties " + +config IMAGE_ROOT_UBIFS_PEB_SIZE + string + prompt "Eraseblock size" + help + Size of the physical eraseblock of the flash this UBI image is + created for in bytes. + Gain the correct value from 'mtdinfo -u' on your target. + +config IMAGE_ROOT_UBIFS_MINIMUM_IO_UNIT_SIZE + string + prompt "Minimum input/output unit size" + help + Minimum input/output unit size of the flash in bytes. + Gain the correct value from 'mtdinfo -u' on your target. + +config IMAGE_ROOT_UBIFS_SUB_PAGE_SIZE + string + prompt "Sub-page size" + help + Minimum input/output unit used for UBI headers, + e.g. sub-page size in case of NAND flash. + Gain the correct value from 'mtdinfo -u' on your target. + +config IMAGE_ROOT_UBIFS_VID_HEADER_OFFSET + string + prompt "UBI VID header offset" + help + Offset if the VID header from start of the physical eraseblock. + Gain the correct value from 'mtdinfo -u' on your target. + +config IMAGE_ROOT_UBIFS_LEB_SIZE + string + prompt "UBI LEB size" + help + Logical erase block size. + Gain the correct value from 'mtdinfo -u' on your target. + +endmenu + +endif |