diff options
author | Hao Zhang <hzhang@ti.com> | 2013-02-26 14:48:50 -0500 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2013-02-28 15:18:53 -0500 |
commit | a5ebeba1c708c0aef6e7af5671ac516602052284 (patch) | |
tree | 2dd68183271612dc08b80b76fae186a676dbb9e0 /conf/machine | |
parent | 263a46fa46fc05c86673890523cea8fc37b2f3ed (diff) | |
download | meta-ti-a5ebeba1c708c0aef6e7af5671ac516602052284.tar.gz |
keystone-evm config: add ubifs support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/keystone-evm.conf | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/conf/machine/keystone-evm.conf b/conf/machine/keystone-evm.conf index e73d84be..13df843f 100644 --- a/conf/machine/keystone-evm.conf +++ b/conf/machine/keystone-evm.conf | |||
@@ -14,7 +14,7 @@ require conf/machine/include/keystone.inc | |||
14 | 14 | ||
15 | PREFERRED_PROVIDER_virtual/kernel = "linux-keystone" | 15 | PREFERRED_PROVIDER_virtual/kernel = "linux-keystone" |
16 | 16 | ||
17 | IMAGE_FSTYPES += "tar.bz2 cpio" | 17 | IMAGE_FSTYPES += "ubi tar.bz2 cpio" |
18 | 18 | ||
19 | SERIAL_CONSOLE = "115200 ttyS0" | 19 | SERIAL_CONSOLE = "115200 ttyS0" |
20 | 20 | ||
@@ -23,3 +23,18 @@ SYSVINIT_ENABLED_GETTYS = "" | |||
23 | UBOOT_MACHINE = "tci6638_evm_config" | 23 | UBOOT_MACHINE = "tci6638_evm_config" |
24 | 24 | ||
25 | MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa" | 25 | MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa" |
26 | # do ubiattach /dev/ubi_ctrl -m 4 | ||
27 | # From dmesg: | ||
28 | # UBI: smallest flash I/O unit: 2048 | ||
29 | # UBI: logical eraseblock size: 126976 bytes | ||
30 | # from ubiattach stdout: | ||
31 | # UBI device number 0, total 857 LEBs | ||
32 | # MKUBIFS_ARGS = "-m 2048 -e 129024 -c 857" | ||
33 | MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 857" | ||
34 | |||
35 | # do ubiattach /dev/ubi_ctrl -m 4 | ||
36 | # from dmesg: | ||
37 | # UBI: smallest flash I/O unit: 2048 | ||
38 | # UBI: physical eraseblock size: 131072 bytes (128 KiB) | ||
39 | # UBI: sub-page size: 2048 | ||
40 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048" | ||