Checksum Error on Leon3 Qemu patches

Jiri Gaisler jiri at
Fri Aug 16 21:00:10 UTC 2019

On 8/15/19 12:09 AM, Joel Sherrill wrote:
> On Wed, Aug 14, 2019 at 4:42 PM Chris Johns <chrisj at> wrote:
>> On 15/8/19 12:46 am, Joel Sherrill wrote:
>>> Qemu isn't building due to a checksum error.
>>> These patches are at 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 ...


More information about the devel mailing list