summaryrefslogtreecommitdiffstats
path: root/platforms/image_jffs2.in
blob: 5a7118c73ab3df56076ef9b59fb93044acdcefd7 (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
## 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