From: Denys Dmytriyenko <denys@ti.com>
To: Sam Nelson <sam.nelson@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH 1/5] recovery-kernel: recovery kernel build for keystone
Date: Fri, 20 Mar 2015 20:10:07 -0400 [thread overview]
Message-ID: <20150321001006.GS11557@edge> (raw)
In-Reply-To: <1426127016-21527-1-git-send-email-sam.nelson@ti.com>
Well, there are few minor issues with some of the recipes in this patchset,
but overall is fine.
On Wed, Mar 11, 2015 at 10:23:32PM -0400, Sam Nelson wrote:
> From: Hao Zhang <hzhang@ti.com>
>
> Build recovery kernel image and k2hk-evm dtb image for Keystone II
> devices.
>
> Normally when kernel is booted by u-boot, u-boot takes care to reserve
> free memory space in the DTB, which is required for kernel. For recovery
> image, user has to add the free space manually using dtc compiler.
>
> Signed-off-by: Hao Zhang <hzhang@ti.com>
> ---
> .../recovery-kernel/recovery-kernel_1.0.bb | 39 ++++++++++++++++++++
> 1 file changed, 39 insertions(+)
> create mode 100644 meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb
>
> diff --git a/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb b/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb
> new file mode 100644
> index 0000000..634f7c5
> --- /dev/null
> +++ b/meta-arago-extras/recipes-kernel/recovery-kernel/recovery-kernel_1.0.bb
> @@ -0,0 +1,39 @@
> +DESCRIPTION = "Recovery kernel building for Keystone EVM"
> +LICENSE = "GPLv2"
> +
> +PR = "r2"
> +EXTRA_OEMAKE += " KALLSYMS_EXTRA_PASS=1"
> +DEFAULT_PREFERENCE = "1"
> +COMPATIBLE_MACHINE = "keystone"
> +BRANCH = "master"
> +SRCREV = "9bc93706b37c39c3a95593dc3d56773e9b7425ad"
> +SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}"
> +S = "${WORKDIR}/git"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> +
> +FILES_${PN} += "${bindir}/crashdump"
> +LINUX_ZIMAGE = "zImage"
> +KERNEL_MACHINE ?= "keystone2_recovery_defconfig"
> +KERNEL_DTBTYPE = "k2hk-evm-recovery.dtb"
> +CRASHDIR = "crashdump"
> +ARCH = "${TARGET_ARCH}"
> +CROSS_COMPILE = "${TARGET_PREFIX}"
> +
> +export ARCH
> +export CROSS_COMPILE
> +
> +do_configure () {
> + make ${KERNEL_MACHINE}
> +}
> +
> +do_compile() {
> + make ${LINUX_ZIMAGE} KALLSYMS_EXTRA_PASS=1
> + make ${KERNEL_DTBTYPE}
> + dtc -I dtb -O dtb -p 2048 -o ${KERNEL_DTBTYPE} arch/arm/boot/dts/${KERNEL_DTBTYPE}
> +}
> +
> +do_install () {
> + install -d ${D}${bindir}/${CRASHDIR}/
> + install ${S}/arch/arm/boot/${LINUX_ZIMAGE} ${D}${bindir}/${CRASHDIR}
> + install ${S}/${KERNEL_DTBTYPE} ${D}${bindir}/${CRASHDIR}
> +}
> --
> 1.7.9.5
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
prev parent reply other threads:[~2015-03-21 0:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-12 2:23 [PATCH 1/5] recovery-kernel: recovery kernel build for keystone Sam Nelson
2015-03-12 2:23 ` [PATCH 2/5] makedumpfile: Add makedumpfile tool Sam Nelson
2015-03-12 2:23 ` [PATCH 3/5] packagegroup-arago-tisdk-recoveryfs: Packagegroup for recovery root filesystem Sam Nelson
2015-03-12 2:23 ` [PATCH 4/5] tisdk-recovery-rootfs-image: Recovery root filesystem image Sam Nelson
2015-03-12 2:23 ` [PATCH 5/5] crash-recovery: initial script to recover kernel crash Sam Nelson
2015-03-21 0:10 ` Denys Dmytriyenko [this message]
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=20150321001006.GS11557@edge \
--to=denys@ti.com \
--cc=meta-arago@arago-project.org \
--cc=sam.nelson@ti.com \
/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.