-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Arch: xtensaIssues related to the Xtensa architectureIssues related to the Xtensa architectureArea: ApplicationsIssues related to ApplicationsIssues related to ApplicationsOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working
Description
Description / Steps to reproduce the issue
Following the description, the update process starts but randomly hangs after a few percent of downloading. I confirmed that everything works as expected for nuttx-12.4.0, but not for the latest version nuttx-12.12.0.
rst:0x1 (POWERON_RESET),boot:0x13 (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:0x3fff7c98,len:6980
load:0x40078000,len:13428
load:0x40090000,len:8712
entry 0x4007b41c
[esp32] [INF] *** Booting MCUboot build v2.2.0-118-gaa4fa2b6 ***
[esp32] [INF] [boot] chip revision: v3.1
[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=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[esp32] [INF] Boot source: primary slot
[esp32] [INF] Image index: 0, Swap type: none
[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=0x384fc, size=0x3434, vaddr=0x3ffc22a0
[esp32] [INF] IRAM segment: start=0x20080, size=0x1847c, vaddr=0x40080000
[esp32] [INF] start=0x40085288
IROM segment aligned lma 0x00060000 vma 0x400d0000 len 0x079cb8 (498872)
DROM segment aligned lma 0x00040000 vma 0x3f410000 len 0x013628 (79400)
telnetd [8:100]
NuttShell (NSH) NuttX-12.12.0
This is MCUBoot Update Agent image
nsh>
nsh> mcuboot_agent http://192.168.1.102:8000/nuttx.bin
MCUboot Update Agent example
Downloading from http://192.168.1.102:8000/nuttx.bin
Firmware Update size: 1048576 bytes
Received: 512 of 1048576 bytes [0%]
Received: 1024 of 1048576 bytes [0%]
Received: 1536 of 1048576 bytes [0%]
Received: 2048 of 1048576 bytes [0%]
Received: 2560 of 1048576 bytes [0%]
Received: 3072 of 1048576 bytes [0%]
Received: 3584 of 1048576 bytes [0%]
Received: 4096 of 1048576 bytes [0%]
Received: 4608 of 1048576 bytes [0%]
Received: 5120 of 1048576 bytes [0%]
Received: 5632 of 1048576 bytes [0%]
Received: 6144 of 1048576 bytes [0%]
Received: 6656 of 1048576 bytes [0%]
Received: 7168 of 1048576 bytes [0%]
Received: 7680 of 1048576 bytes [0%]
Received: 8192 of 1048576 bytes [0%]
Received: 8704 of 1048576 bytes [0%]
Received: 9216 of 1048576 bytes [0%]
Received: 9728 of 1048576 bytes [0%]
Received: 10240 of 1048576 bytes [0%]
Received: 10752 of 1048576 bytes [1%]
Received: 11264 of 1048576 bytes [1%]
Received: 11776 of 1048576 bytes [1%]
Received: 12288 of 1048576 bytes [1%]
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Debian12
NuttX Version
12.12.0
Issue Architecture
[Arch: xtensa]
Issue Area
[Area: Applications]
Host information
esptool v4.10.0
Verification
- I have verified before submitting the report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Arch: xtensaIssues related to the Xtensa architectureIssues related to the Xtensa architectureArea: ApplicationsIssues related to ApplicationsIssues related to ApplicationsOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working