]> git.openpandora.org Git - openembedded.git/commitdiff
beagleboard: add ubifs params and document how to get them if you have access to...
authorKoen Kooi <koen@openembedded.org>
Thu, 12 Feb 2009 22:03:39 +0000 (23:03 +0100)
committerKoen Kooi <koen@openembedded.org>
Thu, 12 Feb 2009 22:03:39 +0000 (23:03 +0100)
conf/machine/beagleboard.conf

index c95c373d2cbb0317154bbc853a004357cfd97f35..78c63019aecf4a326ef4a373c2958138509f7b4a 100644 (file)
@@ -32,6 +32,21 @@ UBOOT_ENTRYPOINT = "0x80008000"
 UBOOT_LOADADDRESS = "0x80008000"
 UBOOT_MACHINE = "omap3_beagle_config"
 
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: logical eraseblock size:    129024 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 1996 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# from dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+# UBI: sub-page size:              512
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
+
 
 PREFERRED_VERSION_u-boot = "git"
 EXTRA_IMAGEDEPENDS += "u-boot x-load"