From: Denys Dmytriyenko <denys@ti.com>
To: <hzhang@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH 2/3] keystone: k2l-evm conf: add k2l-evm machine config
Date: Fri, 16 May 2014 15:21:50 -0400 [thread overview]
Message-ID: <20140516192150.GH18053@edge> (raw)
In-Reply-To: <1400267639-24448-1-git-send-email-hzhang@ti.com>
On Fri, May 16, 2014 at 03:13:59PM -0400, hzhang@ti.com wrote:
> From: Hao Zhang <hzhang@ti.com>
>
> k2l-evm machine config shares the same Keystone SoC family, it has K2L EVM
> specific machine configuration for UBI image, boot monitor, U-boot, etc.
>
> Signed-off-by: Hao Zhang <hzhang@ti.com>
> ---
> conf/machine/include/keystone.inc | 2 --
> conf/machine/k2hk-evm.conf | 4 ++++
> conf/machine/k2l-evm.conf | 30 ++++++++++++++++++++++++++
> recipes-bsp/boot-monitor/boot-monitor_git.bb | 9 ++++----
> 4 files changed, 38 insertions(+), 7 deletions(-)
> create mode 100644 conf/machine/k2l-evm.conf
>
> diff --git a/conf/machine/include/keystone.inc b/conf/machine/include/keystone.inc
> index 63f069c..a9449b2 100644
> --- a/conf/machine/include/keystone.inc
> +++ b/conf/machine/include/keystone.inc
> @@ -12,8 +12,6 @@ MACHINE_KERNEL_PR = "r7"
>
> KERNEL_IMAGETYPE = "uImage"
>
> -UBOOT_MACHINE = "k2hk_evm_config"
> -
> UBOOT_ENTRYPOINT = "0x80008000"
> UBOOT_LOADADDRESS = "0x80008000"
>
> diff --git a/conf/machine/k2hk-evm.conf b/conf/machine/k2hk-evm.conf
> index 088e524..2885335 100644
> --- a/conf/machine/k2hk-evm.conf
> +++ b/conf/machine/k2hk-evm.conf
> @@ -4,6 +4,10 @@
>
> require conf/machine/include/keystone.inc
>
> +UBOOT_MACHINE = "k2hk_evm_config"
> +
> +BOOT_MONITOR_MAKE_TARGET = "k2hk"
> +
> IMAGE_FSTYPES += "ubi tar.gz cpio"
>
> SERIAL_CONSOLE = "115200 ttyS0"
> diff --git a/conf/machine/k2l-evm.conf b/conf/machine/k2l-evm.conf
> new file mode 100644
> index 0000000..0824a09
> --- /dev/null
> +++ b/conf/machine/k2l-evm.conf
> @@ -0,0 +1,30 @@
> +#@TYPE: Machine
> +#@NAME: Keystone 2 K2L machine
> +#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L EVM
Same comment as to #1 - find-copies-harder would have detected this file being
very similar to the original, making review much easier.
> +require conf/machine/include/keystone.inc
> +
> +UBOOT_MACHINE = "k2l_evm_config"
> +
> +BOOT_MONITOR_MAKE_TARGET = "k2hk"
> +
> +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: 4096
> +# UBI: logical eraseblock size: 253952 bytes
> +# from ubiattach stdout:
> +# UBI device number 0, total 1926 LEBs
> +MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
> +
> +# do ubiattach /dev/ubi_ctrl -m 4
> +# from dmesg:
> +# UBI: smallest flash I/O unit: 4096
> +# UBI: physical eraseblock size: 256 KiB
> +# UBI: sub-page size: 4096
> +UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
> diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb b/recipes-bsp/boot-monitor/boot-monitor_git.bb
> index 0b559fa..0761d83 100644
> --- a/recipes-bsp/boot-monitor/boot-monitor_git.bb
> +++ b/recipes-bsp/boot-monitor/boot-monitor_git.bb
> @@ -5,23 +5,22 @@ LICENSE = "BSD"
>
> BOOT_MONITOR_BINARY ?= "skern.bin"
> BOOT_MONITOR_IMAGE ?= "skern-${MACHINE}.bin"
> -BOOT_MONITOR_MAKE_TARGET ?= "all"
>
> LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
>
> -COMPATIBLE_MACHINE = "k2hk-evm"
> +COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm"
Just do the entire SOC family:
COMPATIBLE_MACHINE = "keystone"
> SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
>
> PV = "2.0"
> -PR = "r0+gitr${SRCPV}"
> +PR = "r1+gitr${SRCPV}"
>
> BRANCH = "master"
>
> S = "${WORKDIR}/git"
>
> -#Tag "K2_BM_13.11"
> -SRCREV = "ba597d183423971e63295cdd59d3c90245e9170a"
> +#Tag "K2_BM_14.05"
> +SRCREV = "0e3ffe1ea4a0cee38ae2406901b7cf4d5324b5e9"
>
> do_compile () {
> unset LDFLAGS
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
next prev parent reply other threads:[~2014-05-16 19:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-16 19:13 [PATCH 2/3] keystone: k2l-evm conf: add k2l-evm machine config hzhang
2014-05-16 19:21 ` Denys Dmytriyenko [this message]
2014-05-16 19:37 ` Hao Zhang
2014-05-16 19:54 ` Denys Dmytriyenko
-- strict thread matches above, loose matches on Subject: below --
2014-05-16 19:22 hzhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140516192150.GH18053@edge \
--to=denys@ti.com \
--cc=hzhang@ti.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.