summaryrefslogtreecommitdiffstats
path: root/platforms/image_ubifs.in
blob: f0334fc5f720719be590c98822b5f61fd7d5545f (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
65
66
67
68
69
70
71
72
73
74
75
76
77
## SECTION=image

menuconfig IMAGE_UBIFS
	bool
	select HOST_MTD_UTILS
	prompt "Generate UBIFS Images         "
	help
	  Build ubifs images of the root filesystem or an optional data
	  partition. Note that this image is not suitable for raw flash
	  but for usage with the ubiupdatevol utility. If you are looking
	  for a image for raw flash look at the "UBI Image" option below

if IMAGE_UBIFS

config IMAGE_UBIFS_MINIMUM_IO_UNIT_SIZE
	string
	default "<invalid>"
	prompt "minimum I/O unit size"
	help
	  This option is passed to the -m option of mkfs.ubifs. Gain the
	  correct value from 'mtdinfo -u' on your target.

config IMAGE_UBIFS_LEB_SIZE
	string
	default "<invalid>"
	prompt "Logical erase block size"
	help
	  This option is passed to the -e option of mkfs.ubifs. Gain the
	  correct value from 'mtdinfo -u' on your target.

config IMAGE_UBIFS_EXTRA_ARGS
	string
	default ""
	prompt "extra arguments passed to mkfs.ubifs"
	help
	  If needed you can add extra arguments for mkfs.ubifs here
	  (e.g. --devtable=${PTXDIST_WORKSPACE}/device_table.txt)

menuconfig IMAGE_UBIFS_ROOT
	bool
	default y
	prompt "Generate images/root.ubifs      "
	help
	  Build an ubifs image of the root filesystem.

if IMAGE_UBIFS_ROOT

config IMAGE_UBIFS_ROOT_MAX_LEB_COUNT
	string
	default "<invalid>"
	prompt "maximum logical erase block count"
	help
	  This option is passed to the -c option of mkfs.ubifs. This specifies
	  the maximum size of your ubi filesystem in units of logical erase
	  blocks

endif

menuconfig IMAGE_UBIFS_DATA
	bool
	prompt "Generate images/data.ubifs      "
	help
	  Build an empty data image of the root filesystem.

if IMAGE_UBIFS_DATA

config IMAGE_UBIFS_DATA_MAX_LEB_COUNT
	string
	default "<invalid>"
	prompt "maximum logical erase block count"
	help
	  This option is passed to the -c option of mkfs.ubifs. This specifies
	  the maximum size of your ubi filesystem in units of logical erase
	  blocks

endif
endif