Re: [PATCH] hw/core: properly terminate loading .hex on EOF record

2020-04-02 Thread Philippe Mathieu-Daudé
On 4/1/20 9:38 PM, Alex Bennée wrote: The https://makecode.microbit.org/#editor generates slightly weird .hex files which work fine on a real microbit but causes QEMU to choke. The reason is extraneous data after the EOF record which causes the loader to attempt to write a bigger file than it

Re: [PATCH] hw/core: properly terminate loading .hex on EOF record

2020-04-02 Thread Richard Henderson
On 4/1/20 12:38 PM, Alex Bennée wrote: > The https://makecode.microbit.org/#editor generates slightly weird > .hex files which work fine on a real microbit but causes QEMU to > choke. The reason is extraneous data after the EOF record which causes > the loader to attempt to write a bigger file

Re: [PATCH] hw/core: properly terminate loading .hex on EOF record

2020-04-02 Thread Stefan Hajnoczi
On Wed, Apr 01, 2020 at 08:38:49PM +0100, Alex Bennée wrote: > The https://makecode.microbit.org/#editor generates slightly weird > .hex files which work fine on a real microbit but causes QEMU to > choke. The reason is extraneous data after the EOF record which causes > the loader to attempt to

[PATCH] hw/core: properly terminate loading .hex on EOF record

2020-04-01 Thread Alex Bennée
The https://makecode.microbit.org/#editor generates slightly weird .hex files which work fine on a real microbit but causes QEMU to choke. The reason is extraneous data after the EOF record which causes the loader to attempt to write a bigger file than it should to the "rom". According to the HEX