Patchwork [0/1,V2] Fix KERNEL_ALT_IMAGETYPE deploy

mail settings
Submitter Yang Shi
Date July 16, 2014, 6:42 p.m.
Message ID <>
Download mbox
Permalink /patch/75821/
State New
Headers show


git:// yshi/kernel_altimg_v2


Yang Shi - July 16, 2014, 6:42 p.m.
When trying to bootup qemuarma9 BSP with uImage, I ran into the below issues:

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.


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:// 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(-)