summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-03-29 10:18:18 -0700
committerDenys Dmytriyenko <denys@ti.com>2012-03-30 01:45:33 -0400
commitf02d5e79064f09100b430644a92fe7d2e1418bcd (patch)
tree15bee0de0f6e3c3621c9e9e0f44d67005ff299ba
parentbab63afdb0b4ca8d9470f0bef353421aa0c15493 (diff)
downloadmeta-ti-f02d5e79064f09100b430644a92fe7d2e1418bcd.tar.gz
am335x-evm.conf: Add 'ubi' to IMAGE_FSTYPES, use '+=' in assignment
As per http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/020053.html a machine conf file should use '+=' to set IMAGE_FSTYPES. We also add the required MKUBIFS_ARGS / UBINIZE_ARGS. These are placed next to the line that sets us to use the PSP kernel tree and reference the TI wiki for the source of our info as well as dmesg / userland commands. Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--conf/machine/am335x-evm.conf23
1 files changed, 22 insertions, 1 deletions
diff --git a/conf/machine/am335x-evm.conf b/conf/machine/am335x-evm.conf
index eedf0723..e7ddd0be 100644
--- a/conf/machine/am335x-evm.conf
+++ b/conf/machine/am335x-evm.conf
@@ -12,12 +12,33 @@ GUI_MACHINE_CLASS = "smallscreen"
12 12
13require conf/machine/include/ti33x.inc 13require conf/machine/include/ti33x.inc
14 14
15IMAGE_FSTYPES ?= "tar.bz2" 15IMAGE_FSTYPES += "ubi tar.bz2"
16 16
17SERIAL_CONSOLE = "115200 ttyO0" 17SERIAL_CONSOLE = "115200 ttyO0"
18 18
19PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp" 19PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
20 20
21# UBI information. Note that this is board and kernel specific. Changes
22# in your kernel port may require changes in these variables. For more
23# details about this board please see
24# http://processors.wiki.ti.com/index.php/UBIFS_Support
25
26# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
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 1988 LEBs
32MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 1988"
33
34# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
35# from dmesg:
36# UBI: smallest flash I/O unit: 2048
37# UBI: physical eraseblock size: 131072 bytes (128 KiB)
38# UBI: sub-page size: 512
39# UBI: VID header offset: 2048 (aligned 2048)
40UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
41
21PREFERRED_PROVIDER_virtual/bootloader = "u-boot" 42PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
22 43
23UBOOT_ARCH = "arm" 44UBOOT_ARCH = "arm"