From eb105b4fc3d99ca5b313000b774bd195dde11046 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Sun, 2 May 2010 23:48:43 +0100 Subject: [PATCH] omap3-pandora.conf: Move to building UBIFS images by default (not SquashFS) and tweak UBI values. --- conf/machine/omap3-pandora.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/conf/machine/omap3-pandora.conf b/conf/machine/omap3-pandora.conf index 7e735d1179..ee59709441 100644 --- a/conf/machine/omap3-pandora.conf +++ b/conf/machine/omap3-pandora.conf @@ -26,7 +26,7 @@ MACHINE_GUI_CLASS = "bigscreen" MACHINE_DISPLAY_WIDTH_PIXELS = "800" MACHINE_DISPLAY_HEIGHT_PIXELS = "480" -IMAGE_FSTYPES = "tar.bz2 squashfs" +IMAGE_FSTYPES = "tar.bz2 ubifs" SERIAL_CONSOLE = "115200 ttyS0" @@ -34,7 +34,7 @@ require conf/machine/include/omap3.inc # Put it below omap3.inc as we override the kernel and PR here PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}-kernel" -MACHINE_KERNEL_PR = "r15" +MACHINE_KERNEL_PR = "r18" # Use our 'Powered by Angstrom' splash for the images. PREFERRED_PROVIDER_virtual/psplash = "psplash-omap3pandora" @@ -43,11 +43,12 @@ KERNEL_IMAGETYPE = "uImage" # do ubiattach /dev/ubi_ctrl -m 4 # From dmesg: -# UBI: smallest flash I/O unit: 2048 # UBI: logical eraseblock size: 129024 bytes +# UBI: smallest flash I/O unit: 2048 # from ubiattach stdout: -# UBI device number 0, total 1996 LEBs -MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996" +# UBI device number 0, total 4042 LEBs + +MKUBIFS_ARGS = "-m 2048 -e 129024 -c 4042 -x favor_lzo -X 20" # do ubiattach /dev/ubi_ctrl -m 4 # from dmesg: -- 2.39.5