Checksum Error on Leon3 Qemu patches

Jiri Gaisler jiri at gaisler.se
Sat Aug 17 18:07:18 UTC 2019


On 8/16/19 11:03 PM, Juan Rafael García Blanco wrote:
> Hi,
>
> AFAIK, the last qemu major version includes support for leon3. But I
> dont't know if that work was based on these patches.

Indeed. Qemu git head now includes leon3 plug&play and should be able to
run RTEMS images unpatched. Is there a reason why the qemu version built
by RSB is from June 2015 ..?

Jiri.

>
> Regards,
> Juan.
>
> On Fri, Aug 16, 2019, 11:00 PM Jiri Gaisler <jiri at gaisler.se
> <mailto:jiri at gaisler.se>> wrote:
>
>
>     On 8/15/19 12:09 AM, Joel Sherrill wrote:
>     > On Wed, Aug 14, 2019 at 4:42 PM Chris Johns <chrisj at rtems.org
>     <mailto:chrisj at rtems.org>> wrote:
>     >> On 15/8/19 12:46 am, Joel Sherrill wrote:
>     >>> Qemu isn't building due to a checksum error.
>     >>>
>     >>> These patches are at gaisler.org <http://gaisler.org>. I don't
>     know where to move them but
>     >>> eventually they should be moved.
>     >> You can post them to qemu's patchworks and then get them from
>     there. The RSB
>     >> supports fetching from patchworks.
>     > Jiri: Are these already on patchworks by any chance?
>
>     Not that I am aware of. The checksum probably changed because the
>     original patches were lost during a server rehost, and I recovered
>     some earlier version from a backup disk. The patches do not apply
>     cleanly to the latest version of qemu:
>
>     + /bin/cat
>     /home/jiri/ibm/src/rtems/rtems-source-builder/bare/patches/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch
>     + /usr/bin/patch -p1
>     patching file hw/sparc/Makefile.objs
>     patching file hw/sparc/grlib_ambapnp.c
>     patching file hw/sparc/leon3.c
>     Hunk #1 succeeded at 207 (offset -7 lines).
>     patching file include/hw/sparc/grlib.h
>     Hunk #1 FAILED at 117.
>     1 out of 1 hunk FAILED -- saving rejects to file
>     include/hw/sparc/grlib.h.rej
>
>     Could be that qemu has moved since the patches were make, I will
>     try to take a look ...
>
>     Jiri.
>
>
>
>     _______________________________________________
>     devel mailing list
>     devel at rtems.org <mailto:devel at rtems.org>
>     http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190817/17f0c082/attachment.html>


More information about the devel mailing list