tmedicci commented on PR #11563:
URL: https://github.com/apache/nuttx/pull/11563#issuecomment-1903876637

   > @tmedicci
   > 
   > Also, `esp32-devkitc:elf` does not work with 
qemu-esp-develop-8.1.3-20231206.
   > 
   > ```
   > 
/home/ishikawa/opensource/QEMU/qemu-esp-develop-8.1.3-20231206/build/qemu-system-xtensa
 -nographic -M esp32 -smp 2 -drive 
file=./nuttx/nuttx.merged.bin,if=mtd,format=raw
   > ==1776403==WARNING: ASan doesn't fully support makecontext/swapcontext 
functions and may produce false positives in some cases!
   > Adding SPI flash device
   > ets Jul 29 2019 12:21:46
   > 
   > rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
   > configsip: 0, SPIWP:0xee
   > clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
   > mode:DIO, clock div:2
   > load:0x3fff0030,len:6952
   > load:0x40078000,len:15488
   > load:0x40080400,len:4
   > ho 8 tail 4 room 4
   > load:0x40080404,len:3752
   > entry 0x40080648
   > I (1048) boot: ESP-IDF v5.1-dev-3972-g1559b6309f 2nd stage bootloader
   > I (1059) boot: compile time Mar 15 2023 12:14:05
   > I (1118) boot: chip revision: v0.0
   > I (1141) boot.esp32: SPI Speed      : 40MHz
   > I (1143) boot.esp32: SPI Mode       : DIO
   > I (1144) boot.esp32: SPI Flash Size : 4MB
   > I (1183) boot: Enabling RNG early entropy source...
   > I (1243) boot: Partition Table:
   > I (1244) boot: ## Label            Usage          Type ST Offset   Length
   > I (1246) boot:  0 factory          factory app      00 00 00010000 00100000
   > I (1263) boot: End of partition table
   > I (1283) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=29890h 
(170128) map
   > I (1548) esp_image: segment 1: paddr=000398b8 vaddr=3ffb15f0 size=00278h ( 
  632) load
   > I (1590) esp_image: segment 2: paddr=00039b38 vaddr=40080000 size=025a0h ( 
 9632) load
   > I (1652) esp_image: segment 3: paddr=0003c0e0 vaddr=00000000 size=03f38h ( 
16184)
   > I (1713) esp_image: segment 4: paddr=00040020 vaddr=400d0020 size=26b1ch 
(158492) map
   > I (1964) boot: Loaded app from partition at offset 0x10000
   > I (1966) boot: Disabling RNG early entropy source...
   > ERROR: NuttX supports ESP32 chip revision >= v3.0 (chip revision is v0.0)
   > xtensa_user_panic: User Exception: EXCCAUSE=001c task:
   > xtensa_user_panic: User Exception: EXCCAUSE=001c task:
   > ```
   
   Are you using Espressif's port of QEMU?
   
   It is possible to set virtual refuses to make it behave as a chip revision > 
3.0: 
https://github.com/espressif/esp-toolchain-docs/blob/main/qemu/esp32/README.md#emulating-esp32-eco3


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to