]> git.openpandora.org Git - openembedded.git/commitdiff
sheevaplug: add ubifs params
authorKoen Kooi <koen@openembedded.org>
Mon, 27 Apr 2009 13:18:13 +0000 (15:18 +0200)
committerKoen Kooi <koen@openembedded.org>
Mon, 27 Apr 2009 13:18:13 +0000 (15:18 +0200)
conf/machine/include/kirkwood.inc
conf/machine/sheevaplug.conf

index be38858ae99e3980669b843f40d0cd14946dc7a3..f58feb686c66b45b565a3505d5ee981fbe01e492 100644 (file)
@@ -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
index ee9ba6cb885df1a01487ecc16cbf0e2fb4e18b50..4517312e7af2888fe06cb08df96da6a3429873dc 100644 (file)
@@ -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