hawkboard: add ubifs support, number of LEBs might change due pending kernel partitio...
authorKoen Kooi <koen@openembedded.org>
Mon, 22 Feb 2010 12:27:59 +0000 (13:27 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 22 Feb 2010 12:27:59 +0000 (13:27 +0100)
conf/machine/hawkboard.conf

index ae53a53..7251de7 100644 (file)
@@ -11,4 +11,19 @@ UBOOT_LOADADDRESS = "0xc0008000"
 
 MACHINE_FEATURES = "kernel26 serial ethernet ide screen"
 
+# 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 960 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 960"
+
+# 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"
+
 SERIAL_CONSOLE = "115200 ttyS2"