Ouss4 commented on pull request #5407:
URL: https://github.com/apache/incubator-nuttx/pull/5407#issuecomment-1029498412
> > @masayuki2009 is nuttx.bin the flash image that includes all 3 binaries?
There is also the option to generate the >nuttx.merged.bin for QEMU.
>
> @Ouss4 No, because
>
> > QEMU is now loading the same image as the hardware chip and thus this
> > special case doesn't exist anymore.
>
> I thought we can use the nuttx.bin for QEMU
>
That was referencing the ROM code only. Now in QEMU we have two images for
the ROM bootloader (one for each core), which is similar to the real hardware.
Before this we were loading the PRO CPU's image for both cores.
As for `nuttx.merged.bin`, with the `CONFIG_ESP32_QEMU_IMAGE` option we
create an image for the whole flash size, this is required by QEMU.
> Now I tried to load ./nuttx.merged.bin but it still fails.
> ...
> qemu-system-xtensa: Error: -bios argument not set, and ROM code binary not
found (1)
Do you have the latest version? Can you please `ls /path/qemu/pc-bios`,
there should be:
```
pc-bios/esp32-v3-rom-app.bin pc-bios/esp32-v3-rom.bin
```
You can see these files here:
https://github.com/espressif/qemu/tree/esp-develop/pc-bios and the error you
are getting is just a missing file:
https://github.com/espressif/qemu/blob/esp-develop/hw/xtensa/esp32.c#L799-L802
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]