Ouss4 commented on pull request #5407:
URL: https://github.com/apache/incubator-nuttx/pull/5407#issuecomment-1029484959
@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.
I just tried with both `eps32-devkitc:nsh` and `esp32-devkitc:smp`. Both
work fine.
```
~/esp/qemu/build/qemu-system-xtensa -nographic \
-machine esp32 -smp 2\
-drive file=nuttx.merged.bin,if=mtd,format=raw
==29439==WARNING: ASan is ignoring requested __asan_handle_no_return: stack
type: default top: 0x70000c171000; bottom 0x00011200a000; size: 0x6ffefa167000
(123140908150784)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
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:6924
ho 0 tail 12 room 4
load:0x40078000,len:14308
load:0x40080400,len:3716
entry 0x40080680
I (1219) boot: ESP-IDF v4.3.1-29-ge493a4c30e 2nd stage bootloader
I (1237) boot: compile time 09:35:57
I (1259) boot: chip revision: 0
I (1283) boot.esp32: SPI Speed : 40MHz
I (1288) boot.esp32: SPI Mode : DIO
I (1290) boot.esp32: SPI Flash Size : 2MB
I (1328) boot: Enabling RNG early entropy source...
I (1371) boot: Partition Table:
I (1373) boot: ## Label Usage Type ST Offset Length
I (1378) boot: 0 factory factory app 00 00 00010000 00100000
I (1408) boot: End of partition table
I (1434) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=086a4h (
34468) map
I (1706) esp_image: segment 1: paddr=000186cc vaddr=3ffb3ce0 size=000f0h (
240) load
I (1758) esp_image: segment 2: paddr=000187c4 vaddr=40080000 size=01c58h (
7256) load
I (1858) esp_image: segment 3: paddr=0001a424 vaddr=00000000 size=05bf4h (
23540)
I (2045) esp_image: segment 4: paddr=00020020 vaddr=400d0020 size=16dach (
93612) map
I (2734) boot: Loaded app from partition at offset 0x10000
I (2740) boot: Disabling RNG early entropy source...
NuttShell (NSH) NuttX-10.2.0
nsh> ps
PID GROUP CPU PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK
USED FILLED COMMAND
0 0 0 0 FIFO Kthread N-- Assigned 00000000 003040
001088 35.7% CPU0 IDLE
1 1 1 0 FIFO Kthread N-- Running 00000000 003040
000032 1.0% CPU1 IDLE
2 2 0 100 RR Task --- Running 00000000 002000
001840 92.0%! nsh_main
nsh>
```
--
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]