From: Yang Shi <yang.shi@windriver.com>
To: <bruce.ashfield@windriver.com>,
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 0/1 V2] Fix KERNEL_ALT_IMAGETYPE deploy
Date: Wed, 20 Aug 2014 14:25:53 -0700 [thread overview]
Message-ID: <53F51261.6090403@windriver.com> (raw)
In-Reply-To: <1405536132-31250-1-git-send-email-yang.shi@windriver.com>
On 7/16/2014 11:42 AM, Yang Shi wrote:
> When trying to bootup qemuarma9 BSP with uImage, I ran into the below issues:
In some usecases, a BSP may need two kernel image types coexist, like
zImage and uImage.
For example, qemuarm BSP could be run on arm-versatile-926 board too,
but it needs uImage. However, qemu needs zImage.
Yang
>
> 1. Need u-boot-mkimage-native depend.
> kernel.bbclass just checks if KERNEL_IMAGETYPE is uImage, if it is the depend will be added. But, it doesn't check KERNEL_ALT_IMAGETYPE.
> In the patch, the check for alt image is added.
>
> 2. UBOOT_LOADADDRESS is passed to uboot-mkimage in do_uboot_mkimage. But, this function just check if KERNEL_IMAGETYPE is uImage or not. It doesn't check KERNEL_ALT_IMAGETYPE.
> The patch adds the check.
>
> 3. KERNEL_ALT_IMAGETYPE is not deployed at all, although it is built. So, we need install, deploy and package the atl image.
>
> Changelog V1 -> V2:
> Check if KERNEL_ALT_IMAGETYPE is empty or not. If KERNEL_ALT_IMAGETYPE is empty, just skip alt image install and deploy, otherwise it is failed to install/deploy
> because KERNEL_ALT_OUTPUT doesn't point to a real kernel image file.
>
> Yang
>
>
> The following changes since commit 68824d9b8f6e290da078383316b3f4b732585f2b:
>
> u-boot-fw-utils: install config file (2014-06-25 13:51:49 +0100)
>
> are available in the git repository at:
>
> git://git.yoctoproject.org/poky-contrib yshi/kernel_altimg_v2
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=yshi/kernel_altimg_v2
>
> for you to fetch changes up to a4d3971a48d0fb490537d755a19740cb25ea5f4c:
>
> oe-core/kernel: Deploy KERNEL_ALT_IMAGETYPE and check it for uImage (2014-07-16 11:36:12 -0700)
>
> ----------------------------------------------------------------
> Yang Shi (1):
> oe-core/kernel: Deploy KERNEL_ALT_IMAGETYPE and check it for uImage
>
> meta/classes/kernel.bbclass | 38 +++++++++++++++++++++++++++++++++++---
> 1 file changed, 35 insertions(+), 3 deletions(-)
>
>
next prev parent reply other threads:[~2014-08-20 21:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-16 18:42 [PATCH 0/1 V2] Fix KERNEL_ALT_IMAGETYPE deploy Yang Shi
2014-07-16 18:42 ` [PATCH 1/1] oe-core/kernel: Deploy KERNEL_ALT_IMAGETYPE and check it for uImage Yang Shi
2014-08-29 0:34 ` Saul Wold
2014-08-20 21:25 ` Yang Shi [this message]
2014-08-21 4:21 ` [PATCH 0/1 V2] Fix KERNEL_ALT_IMAGETYPE deploy Bruce Ashfield
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=53F51261.6090403@windriver.com \
--to=yang.shi@windriver.com \
--cc=bruce.ashfield@windriver.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox