[OE-core] [meta][pyro][PATCH] Fix some issues in the fitImage generation

Thomas PERROT thomas.perrot at tupi.fr
Wed Oct 18 09:54:21 UTC 2017


Hi,

I updated the commit message with the reason for the third change.

When INITRAMFS_IMAGE_BUNDLE is set to 1 and the kernel image type is a
fitimage the task do_bundle_initramfs should be only substitute the
initramfs of KERNEL_IMAGETYPE_FOR_MAKE (e.g Image for aarch64, zImage for
arm...).

Best regards,
Thomas P.




On Wed, Oct 18, 2017 at 9:02 AM, André Draszik <git at andred.net> wrote:

> On Tue, 2017-10-17 at 18:54 +0200, Thomas Perrot wrote:
> > - Bad image type replacement for aarch64
> > - Fix DTB path in fitimage.its
> > - Ignore fitImage type during the packaging of the initramfs
> >
> > Signed-off-by: Thomas Perrot <thomas.perrot at tupi.fr>
> > ---
> >  meta/classes/kernel-fitimage.bbclass | 6 +++++-
> >  meta/classes/kernel.bbclass          | 4 +++-
> >  2 files changed, 8 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-
> > fitimage.bbclass
> > index 2630b47316..abbc309b09 100644
> > --- a/meta/classes/kernel-fitimage.bbclass
> > +++ b/meta/classes/kernel-fitimage.bbclass
> > @@ -7,8 +7,11 @@ python __anonymous () {
> >          depends = "%s u-boot-mkimage-native dtc-native" % depends
> >          d.setVar("DEPENDS", depends)
> >
> > -        if d.getVar("UBOOT_ARCH") == "x86":
> > +        uarch = d.getVar("UBOOT_ARCH")
> > +        if uarch == "x86":
> >              replacementtype = "bzImage"
> > +        elif uarch == "arm64":
> > +            replacementtype = "Image"
>
> I can't see this in master - it should go there first.
>
> Cheers,
> Andre'
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171018/89cacf51/attachment-0002.html>


More information about the Openembedded-core mailing list