summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--platforms/image_jffs2.in52
-rw-r--r--rules/post/image_jffs2.make47
2 files changed, 0 insertions, 99 deletions
diff --git a/platforms/image_jffs2.in b/platforms/image_jffs2.in
deleted file mode 100644
index 5a7118c73..000000000
--- a/platforms/image_jffs2.in
+++ /dev/null
@@ -1,52 +0,0 @@
-## 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
diff --git a/rules/post/image_jffs2.make b/rules/post/image_jffs2.make
deleted file mode 100644
index 7f12883ad..000000000
--- a/rules/post/image_jffs2.make
+++ /dev/null
@@ -1,47 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2003-2010 by the ptxdist project <ptxdist@pengutronix.de>
-#
-# See CREDITS for details about who has contributed to this project.
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-SEL_ROOTFS-$(PTXCONF_IMAGE_JFFS2) += $(IMAGEDIR)/root.jffs2
-SEL_ROOTFS-$(PTXCONF_IMAGE_JFFS2_SUM) += $(IMAGEDIR)/root.sum.jffs2
-
-ifdef PTXCONF_IMAGE_JFFS2
-$(IMAGEDIR)/root.jffs2: $(STATEDIR)/image_working_dir $(STATEDIR)/host-mtd-utils.install.post
- @echo -n "Creating root.jffs2 from working dir... "
- @echo -n "(--eraseblock=$(PTXCONF_IMAGE_JFFS2_BLOCKSIZE) "
- @echo "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_EXTRA_ARGS)))"
- @cd $(image/work_dir); \
- (awk $(DOPERMISSIONS) $(image/permissions) && \
- ( \
- echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/mkfs.jffs2 "; \
- echo -n "-d $(image/work_dir) "; \
- echo -n "--eraseblock=$(PTXCONF_IMAGE_JFFS2_BLOCKSIZE) "; \
- echo -n "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_EXTRA_ARGS)) ";\
- echo "-o $@" ) | tee -a "$(PTX_LOGFILE)" \
- ) | $(FAKEROOT) --
- @echo "done."
-endif
-
-ifdef PTXCONF_IMAGE_JFFS2_SUM
-$(IMAGEDIR)/root.sum.jffs2: $(IMAGEDIR)/root.jffs2
- @echo -n "Creating root.sum.jffs2 with summary... "
- @echo -n "(--eraseblock=$(PTXCONF_IMAGE_JFFS2_BLOCKSIZE) "
- @echo "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)))"
- @cd $(image/work_dir); \
- (( \
- echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/sumtool "; \
- echo -n "-i $< "; \
- echo -n "--eraseblock=$(PTXCONF_IMAGE_JFFS2_BLOCKSIZE) "; \
- echo -n "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)) "; \
- echo "-o $@" ) | tee -a "$(PTX_LOGFILE)" \
- ) | $(FAKEROOT) --
- @echo "done."
-endif
-
-# vim: syntax=make