fdcavalcanti commented on issue #17828: URL: https://github.com/apache/nuttx/issues/17828#issuecomment-3744476520
@maxikrie issue seems related to SMP. Something is different and causing it to get stuck. For a quick fix with a small performance hit: disable `CONFIG_SMP`. Can you try it? Here are my results with SMP disabled: ``` nsh> mcuboot_agent http://192.168.0.125:8000/nuttx.bin MCUboot Update Agent example Downloading from http://192.168.0.125:8000/nuttx.bin Firmware Update size: 1048576 bytes Received: 512 of 1048576 bytes [0%] Received: 1024 of 1048576 bytes [0%] ... Received: 1048302 of 1048576 bytes [99%] Received: 1048576 of 1048576 bytes [100%] Application Image successfully downloaded! Requested update for next boot. Restarting... �ets Jul 29 2019 12:21:46 ... [esp32] [INF] *** Booting MCUboot build v2.2.0-118-gaa4fa2b6 *** [esp32] [INF] [boot] chip revision: v3.0 [esp32] [INF] [boot.esp32] SPI Speed : 40MHz [esp32] [INF] [boot.esp32] SPI Mode : DIO [esp32] [INF] [boot.esp32] SPI Flash Size : 4MB [esp32] [INF] [boot] Enabling RNG early entropy source... [esp32] [INF] Primary image: magic=good, swap_type=0x1, copy_done=0x3, image_ok=0x1 [esp32] [INF] Scratch: magic=bad, swap_type=0x2, copy_done=0x2, image_ok=0x2 [esp32] [INF] Boot source: primary slot [esp32] [INF] Image index: 0, Swap type: test [esp32] [INF] Starting swap using scratch algorithm. [esp32] [INF] Disabling RNG early entropy source... [esp32] [INF] br_image_off = 0x20000 [esp32] [INF] ih_hdr_size = 0x20 [esp32] [INF] Loading image 0 - slot 0 from flash, area id: 1 [esp32] [INF] DRAM segment: start=0x37ca0, size=0x41cc, vaddr=0x3ffc1050 [esp32] [INF] IRAM segment: start=0x20080, size=0x17c20, vaddr=0x40080000 [esp32] [INF] start=0x40084f90 IROM segment aligned lma 0x00060000 vma 0x400d0000 len 0x07b5d0 (505296) DROM segment aligned lma 0x00040000 vma 0x3f410000 len 0x018adc (101084) ... NuttShell (NSH) NuttX-12.12.0 This is MCUBoot Update Agent 2 nsh> ``` I'll be looking into changes that could have affected and with some luck we will have a quick hotfix for a `12.12.1` and master. -- 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]
