[OE-core] [PATCH] kernel-fitimage: Fix bad image type replacement for aarch64
Manjukumar Harthikote Matha
MANJUKUM at xilinx.com
Tue Dec 19 22:11:23 UTC 2017
> -----Original Message-----
> From: Burton, Ross [mailto:ross.burton at intel.com]
> Sent: Tuesday, December 19, 2017 2:02 PM
> To: Manjukumar Harthikote Matha <MANJUKUM at xilinx.com>
> Cc: openembedded-core at lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] kernel-fitimage: Fix bad image type replacement for
> aarch64
>
> This is queued in ross/mut2 and should be in master shortly, although as it's almost
> the Christmas holidays here it may be in the new year.
>
Thanks Ross, new year works :)
> Ross
>
> On 19 December 2017 at 21:34, Manjukumar Harthikote Matha
> <MANJUKUM at xilinx.com <mailto:MANJUKUM at xilinx.com> > wrote:
>
>
> Ping?
>
> Any reason for this being in pending status? Please let me know
>
> Thanks,
> Manju
>
>
> > -----Original Message-----
> > From: Manjukumar Matha [mailto:manjukumar.harthikote-
> matha at xilinx.com <mailto:manjukumar.harthikote-matha at xilinx.com> ]
> > Sent: Wednesday, December 13, 2017 10:27 AM
> > To: openembedded-core at lists.openembedded.org
> <mailto:openembedded-core at lists.openembedded.org>
> > Cc: Thomas Perrot <thomas.perrot at tupi.fr
> <mailto:thomas.perrot at tupi.fr> >; Manjukumar Harthikote Matha
> > <MANJUKUM at xilinx.com <mailto:MANJUKUM at xilinx.com> >
> > Subject: [OE-core][PATCH] kernel-fitimage: Fix bad image type
> replacement for
> > aarch64
> >
> > From: Thomas Perrot <thomas.perrot at tupi.fr
> <mailto:thomas.perrot at tupi.fr> >
> >
> > When using kernel-fitimage class with aarch64, the image type has to be
> Image not
> > zImage. This patch fixes the bad image type replacement for
> > aarch64
> >
> > Signed-off-by: Thomas Perrot <thomas.perrot at tupi.fr
> <mailto:thomas.perrot at tupi.fr> >
> > Signed-off-by: Manjukumar Matha <manjukumar.harthikote-
> matha at xilinx.com <mailto:manjukumar.harthikote-matha at xilinx.com> >
> > ---
> > meta/classes/kernel-fitimage.bbclass | 7 +++++--
> > 1 file changed, 5 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-
> > fitimage.bbclass
> > index 179185b..9baf399 100644
> > --- a/meta/classes/kernel-fitimage.bbclass
> > +++ b/meta/classes/kernel-fitimage.bbclass
> > @@ -7,9 +7,12 @@ python __anonymous () {
> > depends = "%s u-boot-mkimage-native dtc-native" % depends
> > d.setVar("DEPENDS", depends)
> >
> > - if d.getVar("UBOOT_ARCH") == "mips":
> > + uarch = d.getVar("UBOOT_ARCH")
> > + if uarch == "arm64":
> > + replacementtype = "Image"
> > + elif uarch == "mips":
> > replacementtype = "vmlinuz.bin"
> > - elif d.getVar("UBOOT_ARCH") == "x86":
> > + elif uarch == "x86":
> > replacementtype = "bzImage"
> > else:
> > replacementtype = "zImage"
> > --
> > 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org <mailto:Openembedded-
> core at lists.openembedded.org>
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
>
>
More information about the Openembedded-core
mailing list