[meta-ti] [PATCH 3/3] keystone: k2e-evm config: add k2e-evm machine config
hzhang at ti.com
hzhang at ti.com
Fri May 16 12:14:06 PDT 2014
From: Hao Zhang <hzhang at ti.com>
Add a new k2e-evm machine config for Keystone II SoC family.
Signed-off-by: Hao Zhang <hzhang at ti.com>
---
conf/machine/k2e-evm.conf | 30 ++++++++++++++++++++++++++
recipes-bsp/boot-monitor/boot-monitor_git.bb | 2 +-
2 files changed, 31 insertions(+), 1 deletion(-)
create mode 100644 conf/machine/k2e-evm.conf
diff --git a/conf/machine/k2e-evm.conf b/conf/machine/k2e-evm.conf
new file mode 100644
index 0000000..551587f
--- /dev/null
+++ b/conf/machine/k2e-evm.conf
@@ -0,0 +1,30 @@
+#@TYPE: Machine
+#@NAME: Keystone 2 K2E machine
+#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
+
+require conf/machine/include/keystone.inc
+
+UBOOT_MACHINE = "k2e_evm_config"
+
+BOOT_MONITOR_MAKE_TARGET = "k2e"
+
+IMAGE_FSTYPES += "ubi tar.gz cpio"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
+SYSVINIT_ENABLED_GETTYS = ""
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit: 2048
+# UBI: logical eraseblock size: 126976 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 3856 LEBs
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
+
+# 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: 2048
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb b/recipes-bsp/boot-monitor/boot-monitor_git.bb
index 0761d83..b3aa806 100644
--- a/recipes-bsp/boot-monitor/boot-monitor_git.bb
+++ b/recipes-bsp/boot-monitor/boot-monitor_git.bb
@@ -8,7 +8,7 @@ BOOT_MONITOR_IMAGE ?= "skern-${MACHINE}.bin"
LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
-COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm"
+COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm|k2e-evm"
SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
--
1.7.9.5
More information about the meta-ti
mailing list