diff options
author | Koen Kooi <koen@openembedded.org> | 2009-04-27 15:18:13 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-04-27 15:18:13 +0200 |
commit | eee57a831f63162a5c40c7ed53805f8d78a058bf (patch) | |
tree | 0f5a814fb8708924c2cdf4245acd692600864b16 /conf/machine | |
parent | 6259f5219fa7d3e21dfb34b30970d42ed23e71d4 (diff) |
sheevaplug: add ubifs params
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/include/kirkwood.inc | 4 | ||||
-rw-r--r-- | 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 be38858ae9..f58feb686c 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 ee9ba6cb88..4517312e7a 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 |