<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 4/12/19 9:35 AM, Khem Raj wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMKF1sqvdAkHU+htzTcoGgtWrSrp2t76CAYxvDJpxRroKn6+gA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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" moz-do-not-send="true">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 "Image" 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"
              moz-do-not-send="true">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("UBOOT_ARCH")<br>
                     if uarch == "arm64":<br>
                         replacementtype = "Image"<br>
            +        elif uarch == "riscv":<br>
            +            replacementtype = "Image"</blockquote>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Make it or condition along with arm64 check <br>
          </div>
        </div>
      </div>
    </blockquote>
    Sure, sending v2.<br>
    <blockquote type="cite"
cite="mid:CAMKF1sqvdAkHU+htzTcoGgtWrSrp2t76CAYxvDJpxRroKn6+gA@mail.gmail.com">
      <div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
                     elif uarch == "mips":<br>
                         replacementtype = "vmlinuz.bin"<br>
                     elif uarch == "x86":<br>
            -- <br>
            2.21.0<br>
            <br>
            -- <br>
            _______________________________________________<br>
            Openembedded-core mailing list<br>
            <a href="mailto:Openembedded-core@lists.openembedded.org"
              target="_blank" moz-do-not-send="true">Openembedded-core@lists.openembedded.org</a><br>
            <a
              href="http://lists.openembedded.org/mailman/listinfo/openembedded-core"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Michael Scott
Embedded Software Engineer at Foundries.io
"microPlatforms™ for Connected Products"
E: <a class="moz-txt-link-abbreviated" href="mailto:mike@foundries.io">mike@foundries.io</a>
W: <a class="moz-txt-link-freetext" href="https://www.foundries.io">https://www.foundries.io</a></pre>
  </body>
</html>