[oe-commits] Koen Kooi : sheevaplug: add ubifs params

GIT User account git at amethyst.openembedded.net
Mon Apr 27 13:24:02 UTC 2009


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

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Apr 27 15:18:13 2009 +0200

sheevaplug: add ubifs params

---

 conf/machine/include/kirkwood.inc |    4 +++-
 conf/machine/sheevaplug.conf      |   15 +++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/conf/machine/include/kirkwood.inc b/conf/machine/include/kirkwood.inc
index be38858..f58feb6 100644
--- a/conf/machine/include/kirkwood.inc
+++ b/conf/machine/include/kirkwood.inc
@@ -11,7 +11,9 @@ USE_DEVFS = "0"
 PREFERRED_PROVIDER_virtual/bootloader = ""
 PREFERRED_PROVIDER_virtual/kernel = "linux-kirkwood"
 
-IMAGE_FSTYPES += "tar.gz"
+MACHINE_KERNEL_PR = "r1"
+
+IMAGE_FSTYPES += "tar.gz ubi"
 SERIAL_CONSOLE = "ttyS0 115200"
 
 # Currently all the orion devices we support use uImage
diff --git a/conf/machine/sheevaplug.conf b/conf/machine/sheevaplug.conf
index ee9ba6c..4517312 100644
--- a/conf/machine/sheevaplug.conf
+++ b/conf/machine/sheevaplug.conf
@@ -3,4 +3,19 @@
 MACHINE_EXTRA_RDEPENDS          = "u-boot-utils"
 MACHINE_EXTRA_RRECOMMENDS       = "kernel-modules"
 
+# 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 4096 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 4096"
+
+# 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"
+
 require conf/machine/include/kirkwood.inc





More information about the Openembedded-commits mailing list