[oe-commits] Koen Kooi : beagleboard: add ubifs params and document how to get them if you have access to the real hardware

GIT User account git at amethyst.openembedded.net
Thu Feb 12 22:04:16 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 76af265d0f1a9ed377dbaba7be03fe23643910fe
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=76af265d0f1a9ed377dbaba7be03fe23643910fe

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Feb 12 23:03:39 2009 +0100

beagleboard: add ubifs params and document how to get them if you have access to the real hardware

---

 conf/machine/beagleboard.conf |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/conf/machine/beagleboard.conf b/conf/machine/beagleboard.conf
index c95c373..78c6301 100644
--- a/conf/machine/beagleboard.conf
+++ b/conf/machine/beagleboard.conf
@@ -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"





More information about the Openembedded-commits mailing list