diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-02-12 10:48:33 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-02-12 10:48:33 +0000 |
commit | 936166c04296d5d9c651f5edd34c5c892a5f088c (patch) | |
tree | 3aa3a3fdd775dc7e53c90ffd408e7bd935b63ebc /target/linux/omap/image | |
parent | 3194834c55c3f4753565664d98adf0c57e9e5f5f (diff) | |
download | mtk-20170518-936166c04296d5d9c651f5edd34c5c892a5f088c.zip mtk-20170518-936166c04296d5d9c651f5edd34c5c892a5f088c.tar.gz mtk-20170518-936166c04296d5d9c651f5edd34c5c892a5f088c.tar.bz2 |
generate ubifs images
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39576
Diffstat (limited to 'target/linux/omap/image')
-rw-r--r-- | target/linux/omap/image/Makefile | 3 | ||||
-rw-r--r-- | target/linux/omap/image/ubinize.cfg | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/omap/image/Makefile b/target/linux/omap/image/Makefile index 42ca517..91b9df3 100644 --- a/target/linux/omap/image/Makefile +++ b/target/linux/omap/image/Makefile @@ -7,6 +7,9 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk +UBIFS_OPTS = -F -m 2048 -e 124KiB -c 4096 -U +UBI_OPTS = -m 2048 -p 128KiB -s 512 -O 2048 + define Image/BuildKernel cp $(KDIR)/zImage $(BIN_DIR)/openwrt-$(BOARD)-zImage -mkdir $(BIN_DIR)/dtbs diff --git a/target/linux/omap/image/ubinize.cfg b/target/linux/omap/image/ubinize.cfg new file mode 100644 index 0000000..49d55b9 --- /dev/null +++ b/target/linux/omap/image/ubinize.cfg @@ -0,0 +1,14 @@ +[rootfs] +# Volume mode (other option is static) +mode=ubi +# Source image +image=root.ubifs +# Volume ID in UBI image +vol_id=0 +# Allow for dynamic resize +vol_type=dynamic +# Volume name +vol_name=rootfs +# Autoresize volume at first mount +vol_flags=autoresize + |