diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2012-08-03 23:34:03 +0200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-08-12 13:12:20 +0100 |
commit | 4cf803fc8d982c9cb47b119e69d249b150d7197c (patch) | |
tree | ea151c1e8d47fc2da10006a406f0f3fb0749973a /conf/machine/include/zaurus.inc | |
parent | ca69f0206f14f76210ee021cd8282334778fa14b (diff) | |
download | meta-handheld-4cf803fc8d982c9cb47b119e69d249b150d7197c.tar.gz |
zaurus: fix jffs2 and ubifs images for collie
* sumtool doesn't accept the same params used in mkfs.jffs2
* ubi calculation was wrong, erasesize is 0x20000
* and subpages seem to be 512 bytes
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'conf/machine/include/zaurus.inc')
-rw-r--r-- | conf/machine/include/zaurus.inc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/conf/machine/include/zaurus.inc b/conf/machine/include/zaurus.inc index cfcee14..3f5c642 100644 --- a/conf/machine/include/zaurus.inc +++ b/conf/machine/include/zaurus.inc @@ -19,10 +19,10 @@ ERASEBLOCKSIZE_spitz = "0x20000" # UBINIZE_ARGS_spitz = "-m 512 -p 16384 -s 256" # ERASEBLOCKSIZE_spitz = "0x4000" -# UBI: max collie (14.125 = 904 PEBs) -# 14.125 x 1024 : 16 = 904 PEBs -MKUBIFS_ARGS_collie = "-m 512 -e 15872 -c 904 -x zlib" -UBINIZE_ARGS_collie = "-m 512 -p 16384 -s 256" +# UBI: max collie (14.125 = 113 PEBs) +# 14.125 x 1024 : 128 = 113 PEBs +MKUBIFS_ARGS_collie = "-m 2048 -e 129024 -c 113 -x zlib" +UBINIZE_ARGS_collie = "-m 2048 -p 131072 -s 512" # UBI: max poodle (64-7 MiB = 3648 PEBs) # 57 x 1024 : 16 = 3648 PEBs @@ -53,6 +53,9 @@ UBINIZE_ARGS_spitz = "-m 2048 -p 131072 -s 512" EXTRA_IMAGECMD_jffs2 = "-p -l --eraseblock=${ERASEBLOCKSIZE}" EXTRA_IMAGECMD_sum.jffs2 = "${EXTRA_IMAGECMD_jffs2}" +EXTRA_IMAGECMD_jffs2_collie = "--pad=14680064 --little-endian --eraseblock=0x20000 -n" +EXTRA_IMAGECMD_sum.jffs2_collie = "--pad -l --eraseblock=0x20000 -n" + ######### # xserver ######### |