<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 11, 2019 at 10:46 PM Michael Scott &lt;<a href="mailto:mike@foundries.io">mike@foundries.io</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Support RISC-V kernel image, using the &quot;Image&quot; target.<br>
<br>
This change allows RISC-V support for fitImage via the following<br>
flow: OpenSBI -&gt; u-boot (as payload) -&gt; Linux kernel (as fitImage<br>
with ramdisk and dtb).<br>
<br>
This was tested using QEMU RISC-V 64-bit.<br>
<br>
Signed-off-by: Michael Scott &lt;<a href="mailto:mike@foundries.io" target="_blank">mike@foundries.io</a>&gt;<br>
---<br>
 meta/classes/kernel-fitimage.bbclass | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass<br>
index 2517d75746..2820ff9689 100644<br>
--- a/meta/classes/kernel-fitimage.bbclass<br>
+++ b/meta/classes/kernel-fitimage.bbclass<br>
@@ -10,6 +10,8 @@ python __anonymous () {<br>
         uarch = d.getVar(&quot;UBOOT_ARCH&quot;)<br>
         if uarch == &quot;arm64&quot;:<br>
             replacementtype = &quot;Image&quot;<br>
+        elif uarch == &quot;riscv&quot;:<br>
+            replacementtype = &quot;Image&quot;</blockquote><div dir="auto"><br></div><div dir="auto">Make it or condition along with arm64 check </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
         elif uarch == &quot;mips&quot;:<br>
             replacementtype = &quot;vmlinuz.bin&quot;<br>
         elif uarch == &quot;x86&quot;:<br>
-- <br>
2.21.0<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div></div>