I was wondering if I could get a dump of rom0, rom1 and flash to try out esp32-qemu. Also could be useful to add in that repo right?
https://github.com/Ebiroll/qemu_esp32
Super simple to do that btw, could anyone help me out?
for rom0:
Code: Select all
python esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 -b 921600 -p /dev/ttyUSB0 dump_mem 0x40000000 0x000C2000 rom.bin
this rom.bin is giving me a "File 'rom.bin' is truncated or corrupt." inside qemu.
Thanks to zygron_ from irc#esp32 http://download.unfiltered.net/rom0.bin
for rom1(Done):
Code: Select all
python esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 -b 921600 -p /dev/ttyUSB0 dump_mem 0x3FF90000 0x00010000 rom1.bin
I was able to boot the esp32 bootloader altough it didnt come very far
Code: Select all
D (1) esp_image: reading image header @ 0x1000
E (1) esp_image: image at 0x1000 has invalid magic byte
E (1) boot: failed to load bootloader header!
user code done