From 91052aa8adea176d1ecb46e6b458a576938e0e8e Mon Sep 17 00:00:00 2001 From: Apelete Seketeli Date: Thu, 14 Mar 2013 10:47:52 +0100 Subject: jlime-2010.1: build ubi image for ben-nanonote machine Build a ubi image for the ben-nanonote machine when using the jlime-2010.1 distro. The resulting image is ready to use and fully functionnal. Signed-off-by: Apelete Seketeli --- conf/machine/ben-nanonote.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'conf/machine/ben-nanonote.conf') diff --git a/conf/machine/ben-nanonote.conf b/conf/machine/ben-nanonote.conf index fd4aba48f8..e92992d1a5 100644 --- a/conf/machine/ben-nanonote.conf +++ b/conf/machine/ben-nanonote.conf @@ -13,6 +13,18 @@ KERNEL_IMAGETYPE = "vmlinux.bin" IMAGE_FSTYPES ?= "jffs2" +# do ubiattach /dev/ubi_ctrl -m 2 +# From dmesg: +# UBI: physical eraseblock size: 524288 bytes (512 KiB) +# UBI: logical eraseblock size: 516096 bytes +# UBI: smallest flash I/O unit: 4096 +# UBI: VID header offset: 4096 (aligned 4096) +# UBI: data offset: 8192 +MKUBIFS_ARGS = "-m 4096 -e 516096 -c 4095" +UBINIZE_ARGS = "-m 4096 -p 512KiB" + +EXTRA_IMAGECMD_ubi = "; echo vol_alignment=1 >> ubinize.cfg" + PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" PREFERRED_VERSION_xserver-kdrive = "1.3.0.0" -- cgit 1.2.3-korg