Openembedded Core Discussions
 help / color / mirror / Atom feed
* [meta][PATCH 1/3] Fix some issues in the fitImage generation
@ 2017-10-25 18:03 Thomas Perrot
  2017-10-25 18:03 ` [meta][PATCH 2/3] " Thomas Perrot
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Thomas Perrot @ 2017-10-25 18:03 UTC (permalink / raw)
  To: openembedded-core

Bad image type replacement for aarch64

Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
---
 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 179185b6b2..9baf399f2e 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.13.6



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-26 10:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-25 18:03 [meta][PATCH 1/3] Fix some issues in the fitImage generation Thomas Perrot
2017-10-25 18:03 ` [meta][PATCH 2/3] " Thomas Perrot
2017-10-26 10:28   ` André Draszik
2017-10-25 18:03 ` [meta][PATCH 3/3] " Thomas Perrot
2017-10-26 10:34   ` André Draszik
2017-10-25 18:32 ` ✗ patchtest: failure for "[meta] Fix some issues in the ..." and 2 more Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox