All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Murali Karicheri <m-karicheri2@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [RESEND: PATCH 3/3] keystone2: linux: add support for building 3.8.4 based Linux kernel
Date: Tue, 7 May 2013 17:59:54 -0400	[thread overview]
Message-ID: <20130507215954.GG12982@edge> (raw)
In-Reply-To: <1367961859-6243-3-git-send-email-m-karicheri2@ti.com>

On Tue, May 07, 2013 at 05:24:19PM -0400, Murali Karicheri wrote:
> This also allow support for switching between release tag and tip of the
> master/master for nightly builds.
> 
> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
> ---
>  .../linux/linux-keystone-3.8.4/defconfig           |    1 +
>  recipes-kernel/linux/linux-keystone_3.8.4.bb       |   41 ++++++++++++++++++++
>  2 files changed, 42 insertions(+)
>  create mode 100644 recipes-kernel/linux/linux-keystone-3.8.4/defconfig
>  create mode 100644 recipes-kernel/linux/linux-keystone_3.8.4.bb
> 
> diff --git a/recipes-kernel/linux/linux-keystone-3.8.4/defconfig b/recipes-kernel/linux/linux-keystone-3.8.4/defconfig
> new file mode 100644
> index 0000000..04e6b17
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-keystone-3.8.4/defconfig
> @@ -0,0 +1 @@
> +use-kernel-config=keystone2_defconfig
> diff --git a/recipes-kernel/linux/linux-keystone_3.8.4.bb b/recipes-kernel/linux/linux-keystone_3.8.4.bb
> new file mode 100644
> index 0000000..0237e66
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-keystone_3.8.4.bb
> @@ -0,0 +1,41 @@
> +LICENSE = "GPLv2"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> +
> +COMPATIBLE_MACHINE = "keystone-evm"

Same as with u-boot, you should probably use "keystone" SOC family here.


> +inherit kernel
> +
> +do_deploy_append() {
> +    cd ${S}
> +}

This do_deploy_append() fix is no longer required.


> +require recipes-kernel/linux/linux-dtb.inc
> +require recipes-kernel/linux/setup-defconfig.inc
> +
> +MACHINE_KERNEL_PR_append = "a"
> +
> +CORTEXA8FIXUP = "no"
> +
> +KERNEL_DEVICETREE_keystone-evm = "arch/${ARCH}/boot/dts/k2hk-evm.dts"
> +
> +# The tree tends to rebase, use literal stable tags
> +# for nightly switch the two lines below
> +#SRCREV = "DEV.MCSDK-03.08.04.10"
> +SRCREV = "${AUTOREV}"
> +
> +BRANCH = "master/master"
> +#BRANCH = "releases/03.00.00.10"
> +
> +# for nightly switch the three lines below
> +#SRC_URI = "git://arago-project.org/git/projects/linux-keystone.git;protocol=git;branch=${BRANCH} \
> +#           file://defconfig \
> +#           "
> +SRC_URI = "git://gtgit01.gt.design.ti.com/git/projects/linux-keystone.git;protocol=git;branch=${BRANCH} \
> +           file://defconfig \
> +           "

Same comments for SRCREV and SRC_URI as with u-boot.


> +S = "${WORKDIR}/git"
> +
> +RDEPENDS_kernel-base = ""

You should probably move this line to an image recipe of distro/SDK config. 
There might be people wanting to build Kkeystone kernel and get the default 
/boot image installed. So, either put this in tisdk-server-rootfs-image 
(would be rootfs-specific) or better yet in conf/distro/include/branding-mcsdk.inc 
to be MCSDK-specific.

-- 
Denys


  reply	other threads:[~2013-05-07 21:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 21:24 [RESEND: PATCH 1/3] keystone2: boot-monitor: update to pull code from tip of the master Murali Karicheri
2013-05-07 21:24 ` [RESEND: PATCH 2/3] keystone2: u-boot: update to add gph support Murali Karicheri
2013-05-07 21:52   ` Denys Dmytriyenko
2013-05-07 22:07     ` Karicheri, Muralidharan
2013-05-07 22:40       ` Denys Dmytriyenko
2013-05-07 22:51         ` Karicheri, Muralidharan
2013-05-07 23:06           ` Denys Dmytriyenko
2013-05-08 14:39             ` Karicheri, Muralidharan
2013-05-08 15:11         ` Tom Rini
2013-05-08 15:32           ` Carlos Hernandez
2013-05-08 15:55           ` Karicheri, Muralidharan
2013-05-08 16:44             ` Tom Rini
2013-05-07 21:24 ` [RESEND: PATCH 3/3] keystone2: linux: add support for building 3.8.4 based Linux kernel Murali Karicheri
2013-05-07 21:59   ` Denys Dmytriyenko [this message]
2013-05-07 21:38 ` [RESEND: PATCH 1/3] keystone2: boot-monitor: update to pull code from tip of the master Denys Dmytriyenko
2013-05-08  8:27 ` Maxin B. John
2013-05-08 12:42   ` Dmytriyenko, Denys

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=20130507215954.GG12982@edge \
    --to=denys@ti.com \
    --cc=m-karicheri2@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.