summaryrefslogtreecommitdiffstats
path: root/platforms/image_jffs2.in
diff options
context:
space:
mode:
authorLuotao Fu <l.fu@pengutronix.de>2009-08-04 15:55:07 +0200
committerLuotao Fu <l.fu@pengutronix.de>2009-08-04 16:09:27 +0200
commit61ce362a75144dffbe766c539b4e08bfd399a886 (patch)
treef1920dfc04c7c813bb88c41a95421d62c547b662 /platforms/image_jffs2.in
parent5388f034e39c25ac13861717fcacaa4fe4844c56 (diff)
downloadptxdist-61ce362a75144dffbe766c539b4e08bfd399a886.tar.gz
ptxdist-61ce362a75144dffbe766c539b4e08bfd399a886.tar.xz
[image] add creattion of jffs2 image with summary
EBS (Erase Block Summary) can speed up the mount process. The userspace tool sumtool is needed to generate a jffs2 image with ebs. With this patch we add the possibilty to generate a summary-enabled jffs2 image. Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Diffstat (limited to 'platforms/image_jffs2.in')
-rw-r--r--platforms/image_jffs2.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/platforms/image_jffs2.in b/platforms/image_jffs2.in
index 2d0d3e837..14c0bdd4b 100644
--- a/platforms/image_jffs2.in
+++ b/platforms/image_jffs2.in
@@ -29,4 +29,21 @@ config IMAGE_JFFS2_EXTRA_ARGS
(e.g. --devtable=${PTXDIST_WORKSPACE}/device_table.txt or
-b to create a big endian filesystem on a little endian host)
+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
+ (e.g. --devtable=${PTXDIST_WORKSPACE}/device_table.txt or
+ -b to create a big endian filesystem on a little endian host)
endif