From b57f845cf32257a56448d59ecb590cc64737a82a Mon Sep 17 00:00:00 2001 From: Andrea Adami Date: Wed, 11 Dec 2013 00:01:33 +0100 Subject: collie.conf: fix mkfs.ubifs and ubinize parameters for NOR Type: nor Eraseblock size: 131072 bytes, 128.0 KiB Amount of eraseblocks: 113 (14811136 bytes, 14.1 MiB) Minimum input/output unit size: 1 byte Sub-page size: 1 byte See example for 32MiB NOR flash with 128KiB: http://www.linux-mtd.infradead.org/faq/ubifs.html#L_mkfubifs Signed-off-by: Andrea Adami --- conf/machine/collie.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf') diff --git a/conf/machine/collie.conf b/conf/machine/collie.conf index c98d2f4..cb5a928 100644 --- a/conf/machine/collie.conf +++ b/conf/machine/collie.conf @@ -13,8 +13,8 @@ EXTRA_IMAGECMD_sum.jffs2 = "-p -l -e ${JFFS2_ERASEBLOCK}" # UBI: max collie (14.125 = 113 PEBs) # 14.125 x 1024 : 128 = 113 PEBs -MKUBIFS_ARGS = "-m 2048 -e 129024 -c 113 -x zlib" -UBINIZE_ARGS = "-m 2048 -p 131072 -s 512" +MKUBIFS_ARGS = "-m 1 -e 130944 -c 113 -x zlib" +UBINIZE_ARGS = "-m 1 -p 131072" MACHINE_GUI_CLASS = "smallscreen" MACHINE_DISPLAY_WIDTH_PIXELS = "240" -- cgit 1.2.3-korg