* [PATCH 3/3] keystone: k2e-evm config: add k2e-evm machine config
@ 2014-05-16 19:14 hzhang
0 siblings, 0 replies; 3+ messages in thread
From: hzhang @ 2014-05-16 19:14 UTC (permalink / raw)
To: meta-ti
From: Hao Zhang <hzhang@ti.com>
Add a new k2e-evm machine config for Keystone II SoC family.
Signed-off-by: Hao Zhang <hzhang@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 3/3] keystone: k2e-evm config: add k2e-evm machine config
2014-05-16 19:22 hzhang
@ 2014-05-16 19:31 ` Denys Dmytriyenko
0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-05-16 19:31 UTC (permalink / raw)
To: hzhang; +Cc: meta-ti
On Fri, May 16, 2014 at 03:22:28PM -0400, hzhang@ti.com wrote:
> From: Hao Zhang <hzhang@ti.com>
>
> Add a new k2e-evm machine config for Keystone II SoC family.
>
> Signed-off-by: Hao Zhang <hzhang@ti.com>
> ---
> conf/machine/{k2hk-evm.conf => k2e-evm.conf} | 8 ++++----
> recipes-bsp/boot-monitor/boot-monitor_git.bb | 2 +-
> 2 files changed, 5 insertions(+), 5 deletions(-)
> copy conf/machine/{k2hk-evm.conf => k2e-evm.conf} (79%)
Ok, this one is much better to review! Not sure why #2 wasn't done like this.
I mostly like it. Still the same comment about COMPATIBLE_MACHINE below for
the boot-monitor.
> diff --git a/conf/machine/k2hk-evm.conf b/conf/machine/k2e-evm.conf
> similarity index 79%
> copy from conf/machine/k2hk-evm.conf
> copy to conf/machine/k2e-evm.conf
> index 2885335..551587f 100644
> --- a/conf/machine/k2hk-evm.conf
> +++ b/conf/machine/k2e-evm.conf
> @@ -1,12 +1,12 @@
> #@TYPE: Machine
> -#@NAME: Keystone 2 machine
> -#@DESCRIPTION: Machine configuration for the TI Keystone 2
> +#@NAME: Keystone 2 K2E machine
> +#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
>
> require conf/machine/include/keystone.inc
>
> -UBOOT_MACHINE = "k2hk_evm_config"
> +UBOOT_MACHINE = "k2e_evm_config"
>
> -BOOT_MONITOR_MAKE_TARGET = "k2hk"
> +BOOT_MONITOR_MAKE_TARGET = "k2e"
>
> IMAGE_FSTYPES += "ubi tar.gz cpio"
>
> 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"
Why can't use use the SOC family here:
COMPATIBLE_MACHINE = "keystone"
> SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
>
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 3/3] keystone: k2e-evm config: add k2e-evm machine config
@ 2014-05-16 19:22 hzhang
2014-05-16 19:31 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: hzhang @ 2014-05-16 19:22 UTC (permalink / raw)
To: meta-ti
From: Hao Zhang <hzhang@ti.com>
Add a new k2e-evm machine config for Keystone II SoC family.
Signed-off-by: Hao Zhang <hzhang@ti.com>
---
conf/machine/{k2hk-evm.conf => k2e-evm.conf} | 8 ++++----
recipes-bsp/boot-monitor/boot-monitor_git.bb | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
copy conf/machine/{k2hk-evm.conf => k2e-evm.conf} (79%)
diff --git a/conf/machine/k2hk-evm.conf b/conf/machine/k2e-evm.conf
similarity index 79%
copy from conf/machine/k2hk-evm.conf
copy to conf/machine/k2e-evm.conf
index 2885335..551587f 100644
--- a/conf/machine/k2hk-evm.conf
+++ b/conf/machine/k2e-evm.conf
@@ -1,12 +1,12 @@
#@TYPE: Machine
-#@NAME: Keystone 2 machine
-#@DESCRIPTION: Machine configuration for the TI Keystone 2
+#@NAME: Keystone 2 K2E machine
+#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
require conf/machine/include/keystone.inc
-UBOOT_MACHINE = "k2hk_evm_config"
+UBOOT_MACHINE = "k2e_evm_config"
-BOOT_MONITOR_MAKE_TARGET = "k2hk"
+BOOT_MONITOR_MAKE_TARGET = "k2e"
IMAGE_FSTYPES += "ubi tar.gz cpio"
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-16 19:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-16 19:14 [PATCH 3/3] keystone: k2e-evm config: add k2e-evm machine config hzhang
2014-05-16 19:22 hzhang
2014-05-16 19:31 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.