summaryrefslogtreecommitdiffstats
path: root/platforms/image-root-ubifs.in
blob: e5820e4b2c9ae7ae853ce1dc66d3258e3065d76d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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