diff options
author | John Crispin <john@openwrt.org> | 2016-03-23 12:52:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-03-23 12:52:05 +0000 |
commit | 28b6e5e2255e8de2e223bbcfc11b70bf0711a57c (patch) | |
tree | df85aa11b21f098ff2bfd832c6b04ee5cce61bed /target/linux/oxnas/image | |
parent | dd70bcc0895463dadf1976b925bb5e705a1ed2cb (diff) | |
download | mtk-20170518-28b6e5e2255e8de2e223bbcfc11b70bf0711a57c.zip mtk-20170518-28b6e5e2255e8de2e223bbcfc11b70bf0711a57c.tar.gz mtk-20170518-28b6e5e2255e8de2e223bbcfc11b70bf0711a57c.tar.bz2 |
oxnas: set ubifs parameters for Default profile
Work-around obsolete mkfs/ubifs code.
Unlike squashfs, ubifs images should be generated per-device so
minimum I/O unit size, logical erase block size, maximum logical erase
block count can be defined for the specific flash-chips parameters.
Also, generating ubinized images is unrelated to rootfs being ubifs or
squashfs, but rather depends on the device supporting UBI or not.
In the meantime and in order to fix an error which currently causes the
image generation on buildbot to fail, work-around by defining
UBIFS_OPTS for the Default profile.
See also
http://buildbot.openwrt.org:8010/builders/oxnas/builds/246/steps/compile_8/logs/stdio
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 49068
Diffstat (limited to 'target/linux/oxnas/image')
-rw-r--r-- | target/linux/oxnas/image/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image/Makefile index 548fa62..ae1050e 100644 --- a/target/linux/oxnas/image/Makefile +++ b/target/linux/oxnas/image/Makefile @@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk +Default_UBIFS_OPTS = -m 2048 -e 126KiB -c 4096 STG212_UBIFS_OPTS = -m 2048 -e 126KiB -c 4096 KD20_UBIFS_OPTS = -m 2048 -e 126KiB -c 4096 POGOPLUG_PRO_UBIFS_OPTS = -m 2048 -e 126KiB -c 4096 |