It is strange, the rPI Pico usbnsh used to work fine. I suggest comparing it with some old version, using the old PICO SDK (ie 1.0.0).
It is an issue when you depend on some external SDK source code, since both projects evolve separately, this instability will happen sooner or later. In this sense a native NuttX port is more stable. BR, Alan On Thu, Apr 2, 2026 at 10:02 AM Matteo Golin <[email protected]> wrote: > The usbnsh instability on the Picos has an open issue right now I believe. > Myself and a few others have experienced it, but there's not fix as of > right now. I believe raiden had mentioned some limitations with the USB > interface timings on a device as constrained as the Pico. > > On Thu, Apr 2, 2026, 4:17 AM Alin Jerpelea <[email protected]> wrote: > > > I am closing the release with my +1 > > Tested on Sony Spresense board > > > > Best regards > > Alin > > > > > > On Thu, Apr 2, 2026 at 6:17 AM Tomek CEDRO <[email protected]> wrote: > > > > > Hello world :-) > > > > > > +1 here :-) Big Thank You to All Contributors!! :-) > > > > > > Build host FreeBSD 14.4-RELEASE-p1 AMD64. > > > > > > Tested targets: > > > > > > 1. ESP32 [1]. > > > 2. ESP32C3 [2]. > > > 3. ESP32C6 [3]. > > > 4. ESP32S3 [4]. > > > 5. rPI-4B [5]. > > > 6. SAMv71 [6]. > > > 7. SPRESENSE [7]. > > > 8. STM32F411 [8]. > > > 9. STM32F412 [9]. > > > 10. STM32F769 [10]. > > > 11. STM32L432 [11]. > > > 12. rPI-Pico [12] <- usbnsh unstable!! > > > 13. rPI-Pico-2 [13] <- usbnsh unstable!! > > > > > > NOTE: I did notice unstable usbnsh connection on rPI-Pico(-2), but I > > > saw that before too so it does not seem release specific and probably > > > needs a fix from an interested party, please verify :-) > > > > > > Logs package attached and available online at: > > > > > > [1] > > > > > > https://gist.github.com/cederom/d6997d7b90d63a4b49ded420b0f40aac#file-nuttx-12-13-0-rc0-1775088074-esp32-log > > > [2] https://gist.github.com/cederom/394eac1459e740604cad816edfb1ecf3 > > > [3] https://gist.github.com/cederom/e3b95da67b0026b287f3398601f5a55b > > > [4] https://gist.github.com/cederom/3e9d1bceb24cccdff4882d93ecb363b6 > > > [5] https://gist.github.com/cederom/0e41ba43a85338ceaab81885b01c4376 > > > [6] https://gist.github.com/cederom/b9ed66f3563ce3de284d626334bcae5e > > > [7] https://gist.github.com/cederom/cf7d75d64f4d069379b4dd0c3f5162b0 > > > [8] https://gist.github.com/cederom/ecc58e64540a61f5ee565eb967a7a6af > > > [9] https://gist.github.com/cederom/6b870a86f51ac4cc3131f264b6fc9b11 > > > [10] https://gist.github.com/cederom/ae328cefbc47d35234a03bd1f2da12e6 > > > [11] https://gist.github.com/cederom/253ec3e7b2eab9e5eedb5f5d3552041a > > > [12] https://gist.github.com/cederom/9ba74b3c6b3eeabe9c6060c668571cc3 > > > [13] https://gist.github.com/cederom/c58d806606dabe9efac0717ccf9abb2c > > > > > > Thank you!! :-) > > > Tomek > > > > > > > > > ### ESP32 ### > > > > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : ESP32 > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=xtensa-esp32-elf- > > > LOGFILE : log/nuttx-12.13.0-RC0-1775088074-ESP32.log > > > TIMESTAMP : 1775088074 > > > > > > + xtensa-esp32-elf-gcc --version > > > xtensa-esp-elf-gcc (crosstool-NG esp-14.2.0_20251107) 14.2.0 > > > > > > ===> > > > ===> ESP32: esp32-devkitc:ostest > > > ===> > > > > > > + /usr/bin/time -h gmake clean distclean -j24 > CROSSDEV=xtensa-esp32-elf- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > ROM: 185646 B 4194272 B 4.43% > > > iram0_0_seg: 30104 B 168 KB 17.50% > > > irom0_0_seg: 109928 B 3342304 B 3.29% > > > dram0_0_seg: 14584 B 180736 B 8.07% > > > drom0_0_seg: 42086 B 4194272 B 1.00% > > > rtc_iram_seg: 0 B 8 KB 0.00% > > > rtc_slow_seg: 0 B 4 KB 0.00% > > > rtc_reserved_seg: 24 B 24 B 100.00% > > > extmem_seg: 0 B 4 MB 0.00% > > > CP: nuttx.hex > > > MKIMAGE: ESP32 binary > > > esptool.py -c esp32 elf2image --ram-only-header -fs 4MB -fm dio -ff > > > "40m" -o nuttx.bin nuttx > > > esptool.py v4.10.0 > > > Creating esp32 image... > > > Image has only RAM segments visible. ROM segments are hidden and > > > SHA256 digest is not appended. > > > Merged 1 ELF section > > > Successfully created esp32 image. > > > Generated: nuttx.bin > > > 2m49,57s real 1m1,52s user 29,75s sys > > > > > > + /usr/bin/time -h gmake flash -j24 CROSSDEV=xtensa-esp32-elf- > > > .. > > > 14,73s real 1,54s user 1,56s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 02:07:16 xtensa esp32-devkitc > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cp expr mount kill uname > > > [ cmp false mv pkill umount > > > ? dirname fdinfo pidof sleep unset > > > alias df free printf usleep uptime > > > unalias dmesg help ps source watch > > > basename echo hexdump pwd test xd > > > break env ls rm time wait > > > cat exec mkdir rmdir true > > > cd exit mkrd set truncate > > > > > > Builtin Apps: > > > dd nsh ostest sh > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree > > name > > > 318372 6796 311576 7184 181480 26 3 > > Umem > > > nsh> [Kostest > > > .. > > > Final memory usage: > > > VARIABLE BEFORE AFTER > > > ======== ======== ======== > > > arena 4dba4 4dba4 > > > ordblks 3 7 > > > mxordblk 2c4e8 2c4e8 > > > uordblks 4694 4724 > > > fordblks 49510 49480 > > > user_main: Exiting > > > ostest_main: Exiting with status 0 > > > nsh> [K > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree name > > > 318372 6908 311464 45824 181480 28 4 Umem > > > > > > ===> > > > ===> ESP32: esp32-devkitc:coremark > > > ===> > > > > > > .. > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > 2K performance run parameters for coremark. > > > CoreMark Size : 666 > > > Total ticks : 2218 > > > Total time (secs): 22.180000 > > > Iterations/Sec : 991.884581 > > > Iterations : 22000 > > > Compiler version : GCC14.2.0 > > > Compiler flags : -O3 -fno-strict-aliasing -fomit-frame-pointer > > > -ffunction-sections -fdata-sections > > > Parallel PThreads : 2 > > > Memory location : HEAP > > > seedcrc : 0xe9f5 > > > [0]crclist : 0xe714 > > > [1]crclist : 0xe714 > > > [0]crcmatrix : 0x1fd7 > > > [1]crcmatrix : 0x1fd7 > > > [0]crcstate : 0x8e3a > > > [1]crcstate : 0x8e3a > > > [0]crcfinal : 0x33ff > > > [1]crcfinal : 0x33ff > > > Correct operation validated. See README.md for run and reporting rules. > > > CoreMark 1.0 : 991.884581 / GCC14.2.0 -O3 -fno-strict-aliasing > > > -fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP / > > > 2:PThreads > > > > > > > > > ### ESP32C3 ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : ESP32C3 > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=riscv32-esp-elf- > > > LOGFILE : log/nuttx-12.13.0-RC0-1775091113-ESP32C3.log > > > TIMESTAMP : 1775091113 > > > > > > + riscv32-esp-elf-gcc --version > > > riscv32-esp-elf-gcc (crosstool-NG esp-2021r2-patch5) 8.4.0 > > > > > > ===> > > > ===> ESP32C3: esp32c3-devkit:ostest > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B -S esp32c3-devkit:ostest > > > .. > > > 1,83s real 0,95s user 1,02s sys > > > > > > + /usr/bin/time -h gmake -j24 CROSSDEV=riscv32-esp-elf- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > ROM: 241504 B 4 MB 5.76% > > > iram0_0_seg: 27408 B 321296 B 8.53% > > > irom0_0_seg: 126564 B 4 MB 3.02% > > > dram0_0_seg: 38864 B 321296 B 12.10% > > > drom0_0_seg: 175968 B 4 MB 4.20% > > > rtc_iram_seg: 16 B 8168 B 0.20% > > > rtc_reserved_seg: 24 B 24 B 100.00% > > > CP: nuttx.hex > > > MKIMAGE: NuttX binary > > > esptool.py -c esp32c3 elf2image --ram-only-header -fs 4MB -fm dio -ff > > > "80m" -o nuttx.bin nuttx > > > esptool.py v4.10.0 > > > Creating esp32c3 image... > > > Image has only RAM segments visible. ROM segments are hidden and > > > SHA256 digest is not appended. > > > Merged 2 ELF sections > > > Successfully created esp32c3 image. > > > Generated: nuttx.bin > > > 6,06s real 30,42s user 27,38s sys > > > > > > + /usr/bin/time -h gmake flash -j24 CROSSDEV=riscv32-esp-elf- > > > .. > > > 15,31s real 1,40s user 1,74s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 02:52:08 risc-v esp32c3-devkit > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cp expr mount set truncate > > > [ cmp false mv kill uname > > > ? dirname fdinfo pidof pkill umount > > > alias df free printf sleep unset > > > unalias dmesg help ps usleep uptime > > > basename echo hexdump pwd source watch > > > break env ls reboot test xd > > > cat exec mkdir rm time wait > > > cd exit mkrd rmdir true > > > > > > Builtin Apps: > > > dd dumpstack nsh ostest sh > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree name > > > 348304 5776 342528 6144 342528 23 1 Umem > > > nsh> [Kostest > > > .. > > > Final memory usage: > > > VARIABLE BEFORE AFTER > > > ======== ======== ======== > > > arena 55090 55090 > > > ordblks 1 5 > > > mxordblk 50e18 4c4c0 > > > uordblks 4278 4310 > > > fordblks 50e18 50d80 > > > user_main: Exiting > > > ostest_main: Exiting with status 0 > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree name > > > 348304 5888 342416 44704 322824 25 3 Umem > > > > > > > > > ### ESP32C6 ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : ESP32C6 > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=riscv32-esp-elf- > > > LOGFILE : log/nuttx-12.13.0-RC0-1775091631-ESP32C6.log > > > TIMESTAMP : 1775091631 > > > > > > + riscv32-esp-elf-gcc --version > > > riscv32-esp-elf-gcc (crosstool-NG esp-2021r2-patch5) 8.4.0 > > > > > > ===> > > > ===> ESP32C6: esp32c6-devkitc:ostest > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B -S esp32c6-devkitc:ostest > > > .. > > > 2,03s real 1,16s user 1,01s sys > > > > > > + /usr/bin/time -h gmake -j24 CROSSDEV=riscv32-esp-elf- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > ROM: 307576 B 16 MB 1.83% > > > iram0_0_seg: 33712 B 452112 B 7.46% > > > irom_seg: 131960 B 16 MB 0.79% > > > dram0_0_seg: 46720 B 452112 B 10.33% > > > drom_seg: 242040 B 16 MB 1.44% > > > lp_ram_seg: 16 B 16360 B 0.10% > > > lp_reserved_seg: 24 B 24 B 100.00% > > > CP: nuttx.hex > > > MKIMAGE: NuttX binary > > > esptool.py -c esp32c6 elf2image --ram-only-header -fs 4MB -fm dio -ff > > > "80m" -o nuttx.bin nuttx > > > esptool.py v4.10.0 > > > Creating esp32c6 image... > > > Image has only RAM segments visible. ROM segments are hidden and > > > SHA256 digest is not appended. > > > Successfully created esp32c6 image. > > > Generated: nuttx.bin > > > 6,14s real 31,19s user 31,23s sys > > > > > > + /usr/bin/time -h gmake flash -j24 CROSSDEV=riscv32-esp-elf- > > > .. > > > 15,50s real 1,42s user 1,78s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > nsh> [K > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 03:00:43 risc-v esp32c6-devkitc > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cp expr mount set truncate > > > [ cmp false mv kill uname > > > ? dirname fdinfo pidof pkill umount > > > alias df free printf sleep unset > > > unalias dmesg help ps usleep uptime > > > basename echo hexdump pwd source watch > > > break env ls reboot test xd > > > cat exec mkdir rm time wait > > > cd exit mkrd rmdir true > > > > > > Builtin Apps: > > > dd dumpstack nsh ostest sh > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree name > > > 472800 5776 467024 6144 467024 23 1 Umem > > > nsh> [Kostest > > > .. > > > Final memory usage: > > > VARIABLE BEFORE AFTER > > > ======== ======== ======== > > > arena 736e0 736e0 > > > ordblks 1 5 > > > mxordblk 6f468 6ab10 > > > uordblks 4278 4310 > > > fordblks 6f468 6f3d0 > > > user_main: Exiting > > > ostest_main: Exiting with status 0 > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree name > > > 472800 5888 466912 44704 447320 25 3 Umem > > > > > > ===> > > > ===> ESP32C6: esp32c6-devkitc:coremark > > > ===> > > > > > > .. > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > 2K performance run parameters for coremark. > > > CoreMark Size : 666 > > > Total ticks : 1367 > > > Total time (secs): 13.670000 > > > Iterations/Sec : 438.917337 > > > Iterations : 6000 > > > Compiler version : GCC8.4.0 > > > Compiler flags : -O3 -fno-strict-aliasing -fomit-frame-pointer > > > -ffunction-sections -fdata-sections -nostdlib > > > Memory location : HEAP > > > seedcrc : 0xe9f5 > > > [0]crclist : 0xe714 > > > [0]crcmatrix : 0x1fd7 > > > [0]crcstate : 0x8e3a > > > [0]crcfinal : 0xa14c > > > Correct operation validated. See README.md for run and reporting rules. > > > CoreMark 1.0 : 438.917337 / GCC8.4.0 -O3 -fno-strict-aliasing > > > -fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib / > > > HEAP > > > > > > > > > ### ESP32S3 ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : ESP32S3-DEVKIT > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=xtensa-esp32s3-elf- > > > LOGFILE : log/nuttx-12.13.0-RC0-1775092222-ESP32S3-DEVKIT.log > > > TIMESTAMP : 1775092222 > > > > > > + xtensa-esp32s3-elf-gcc --version > > > xtensa-esp-elf-gcc (crosstool-NG esp-14.2.0_20251107) 14.2.0 > > > > > > ===> > > > ===> ESP32S3-DEVKIT: esp32s3-devkit:ostest > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B -S esp32s3-devkit:ostest > > > .. > > > 1,85s real 0,85s user 1,16s sys > > > > > > + /usr/bin/time -h gmake -j24 CROSSDEV=xtensa-esp32s3-elf- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > ROM: 237582 B 4194272 B 5.66% > > > iram0_0_seg: 36608 B 304 KB 11.76% > > > irom0_0_seg: 186464 B 4194272 B 4.45% > > > dram0_0_seg: 38100 B 288 KB 12.92% > > > drom0_0_seg: 303086 B 4194272 B 7.23% > > > rtc_iram_seg: 0 B 8168 B 0.00% > > > rtc_data_seg: 0 B 8168 B 0.00% > > > rtc_reserved_seg: 24 B 24 B 100.00% > > > rtc_slow_seg: 32 B 8 KB 0.39% > > > CP: nuttx.hex > > > MKIMAGE: ESP32-S3 binary > > > esptool.py -c esp32s3 elf2image --ram-only-header -fs 4MB -fm dio -ff > > > "40m" -o nuttx.bin nuttx > > > esptool.py v4.10.0 > > > Creating esp32s3 image... > > > Image has only RAM segments visible. ROM segments are hidden and > > > SHA256 digest is not appended. > > > Merged 1 ELF section > > > Successfully created esp32s3 image. > > > Generated: nuttx.bin > > > 6,83s real 40,27s user 29,82s sys > > > > > > + /usr/bin/time -h gmake flash -j24 CROSSDEV=xtensa-esp32s3-elf- > > > .. > > > 14,79s real 1,55s user 1,58s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 03:10:34 xtensa esp32s3-devkit > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cp expr mount kill uname > > > [ cmp false mv pkill umount > > > ? dirname fdinfo pidof sleep unset > > > alias df free printf usleep uptime > > > unalias dmesg help ps source watch > > > basename echo hexdump pwd test xd > > > break env ls rm time wait > > > cat exec mkdir rmdir true > > > cd exit mkrd set truncate > > > > > > Builtin Apps: > > > dd nsh ostest sh > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree > > name > > > 383320 6744 376576 7112 376576 22 1 > > Umem > > > nsh> [Kostest > > > .. > > > Final memory usage: > > > VARIABLE BEFORE AFTER > > > ======== ======== ======== > > > arena 5d958 5d958 > > > ordblks 1 5 > > > mxordblk 592f8 549a0 > > > uordblks 4660 46f8 > > > fordblks 592f8 59260 > > > user_main: Exiting > > > ostest_main: Exiting with status 0 > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree name > > > 383320 6856 376464 45752 356840 24 3 Umem > > > > > > > > > ===> > > > ===> ESP32S3-DEVKIT: esp32s3-devkit:coremark > > > ===> > > > > > > .. > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > 2K performance run parameters for coremark. > > > CoreMark Size : 666 > > > Total ticks : 2311 > > > Total time (secs): 23.110000 > > > Iterations/Sec : 951.968845 > > > Iterations : 22000 > > > Compiler version : GCC14.2.0 > > > Compiler flags : -O3 -fno-strict-aliasing -fomit-frame-pointer > > > -ffunction-sections -fdata-sections -fno-strength-reduce > > > Parallel PThreads : 2 > > > Memory location : HEAP > > > seedcrc : 0xe9f5 > > > [0]crclist : 0xe714 > > > [1]crclist : 0xe714 > > > [0]crcmatrix : 0x1fd7 > > > [1]crcmatrix : 0x1fd7 > > > [0]crcstate : 0x8e3a > > > [1]crcstate : 0x8e3a > > > [0]crcfinal : 0x33ff > > > [1]crcfinal : 0x33ff > > > Correct operation validated. See README.md for run and reporting rules. > > > CoreMark 1.0 : 951.968845 / GCC14.2.0 -O3 -fno-strict-aliasing > > > -fomit-frame-pointer -ffunction-sections -fdata-sections > > > -fno-strength-reduce / HEAP / 2:PThreads > > > > > > > > > ### rPI-4B ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : rPI-4B > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=aarch64-none-elf- > > > LOGFILE : log/nuttx-12.13.0-RC0-1775092738-rPI-4B.log > > > TIMESTAMP : 1775092738 > > > > > > ==> COMPILER: > > > aarch64-none-elf-gcc (gcc) 14.2.1 20241119 > > > > > > ===> > > > ===> rPI-4B: raspberrypi-4b:nsh > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B raspberrypi-4b:nsh > > > .. > > > 2,06s real 1,14s user 1,06s sys > > > > > > + /usr/bin/time -h gmake -j8 -j24 CROSSDEV=aarch64-none-elf- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > CP: nuttx.hex > > > CP: nuttx.bin > > > Generating config.txt > > > 5,74s real 40,82s user 15,56s sys > > > > > > + cp -v nuttx.bin rpi4b-nuttx/ > > > nuttx.bin -> rpi4b-nuttx/nuttx.bin > > > + rpiboot -v -m 1000 -d rpi4b-nuttx > > > RPIBOOT: build-date 2025/11/10 pkg-version local fe4a6288 > > > > > > Please fit the EMMC_DISABLE / nRPIBOOT jumper before connecting the > > > power and USB cables to the target device. > > > If the device fails to connect then please see > > > https://rpltd.co/rpiboot for debugging tips. > > > > > > Boot directory 'rpi4b-nuttx' > > > Loading: rpi4b-nuttx/bootcode4.bin > > > Waiting for BCM2835/6/7/2711/2712... > > > > > > Device located successfully > > > Loading: rpi4b-nuttx/bootcode4.bin > > > Initialised device correctly > > > Found serial number 4 > > > last_serial -1 serial 4 > > > Second stage boot server > > > Received message GetFileSize: config.txt > > > Loading: rpi4b-nuttx/config.txt > > > File size = 47 bytes > > > Received message ReadFile: config.txt > > > File read: config.txt > > > libusb_bulk_transfer sent 47 bytes; returned 0 > > > Received message GetFileSize: pieeprom.sig > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file pieeprom.sig > > > Received message GetFileSize: recover4.elf > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file recover4.elf > > > Received message GetFileSize: recovery.elf > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file recovery.elf > > > Received message GetFileSize: start4.elf > > > Loading: rpi4b-nuttx/start4.elf > > > File size = 2303232 bytes > > > Received message ReadFile: start4.elf > > > File read: start4.elf > > > libusb_bulk_transfer sent 2303232 bytes; returned 0 > > > Received message GetFileSize: fixup4.dat > > > Loading: rpi4b-nuttx/fixup4.dat > > > File size = 5498 bytes > > > Received message ReadFile: fixup4.dat > > > File read: fixup4.dat > > > libusb_bulk_transfer sent 5498 bytes; returned 0 > > > Second stage boot server done > > > + sleep 3 > > > + rpiboot -v -m 1000 -d rpi4b-nuttx > > > RPIBOOT: build-date 2025/11/10 pkg-version local fe4a6288 > > > > > > Please fit the EMMC_DISABLE / nRPIBOOT jumper before connecting the > > > power and USB cables to the target device. > > > If the device fails to connect then please see > > > https://rpltd.co/rpiboot for debugging tips. > > > > > > Boot directory 'rpi4b-nuttx' > > > Loading: rpi4b-nuttx/bootcode4.bin > > > Waiting for BCM2835/6/7/2711/2712... > > > > > > Device located successfully > > > Loading embedded: bootcode.bin > > > Initialised device correctly > > > Found serial number 1 > > > last_serial -1 serial 1 > > > Second stage boot server > > > Received message GetFileSize: recovery.elf > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file recovery.elf > > > Received message GetFileSize: config.txt > > > Loading: rpi4b-nuttx/config.txt > > > File size = 47 bytes > > > Received message ReadFile: config.txt > > > File read: config.txt > > > libusb_bulk_transfer sent 47 bytes; returned 0 > > > Received message GetFileSize: dt-blob.bin > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file dt-blob.bin > > > Received message GetFileSize: recovery.elf > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file recovery.elf > > > Received message GetFileSize: config.txt > > > Loading: rpi4b-nuttx/config.txt > > > File size = 47 bytes > > > Received message ReadFile: config.txt > > > File read: config.txt > > > libusb_bulk_transfer sent 47 bytes; returned 0 > > > Received message GetFileSize: bootcfg.txt > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file bootcfg.txt > > > Received message GetFileSize: nuttx.bin > > > Loading: rpi4b-nuttx/nuttx.bin > > > File size = 335872 bytes > > > Received message GetFileSize: bcm2711-rpi-4-b.dtb > > > Loading: rpi4b-nuttx/bcm2711-rpi-4-b.dtb > > > File size = 56249 bytes > > > Received message ReadFile: bcm2711-rpi-4-b.dtb > > > File read: bcm2711-rpi-4-b.dtb > > > libusb_bulk_transfer sent 56249 bytes; returned 0 > > > Received message GetFileSize: overlays/overlay_map.dtb > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file overlays/overlay_map.dtb > > > Received message GetFileSize: config.txt > > > Loading: rpi4b-nuttx/config.txt > > > File size = 47 bytes > > > Received message ReadFile: config.txt > > > File read: config.txt > > > libusb_bulk_transfer sent 47 bytes; returned 0 > > > Received message GetFileSize: cmdline.txt > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file cmdline.txt > > > Received message GetFileSize: armstub8-gic.bin > > > libusb_bulk_transfer sent 0 bytes; returned 0 > > > Cannot open file armstub8-gic.bin > > > Received message GetFileSize: nuttx.bin > > > Loading: rpi4b-nuttx/nuttx.bin > > > File size = 335872 bytes > > > Received message ReadFile: nuttx.bin > > > File read: nuttx.bin > > > libusb_bulk_transfer sent 335872 bytes; returned 0 > > > Received message Done: nuttx.bin > > > CMD exit > > > Second stage boot server done > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 03:19:21 arm64 raspberrypi-4b > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cp expr mount kill uname > > > [ cmp false mv pkill umount > > > ? dirname fdinfo pidof sleep unset > > > alias df free printf usleep uptime > > > unalias dmesg help ps source watch > > > basename echo hexdump pwd test xd > > > break env ls rm time wait > > > cat exec mkdir rmdir true > > > cd exit mkrd set truncate > > > > > > Builtin Apps: > > > dd getprime hello nsh ostest sh > > > nsh> [Kos [K [Kgetprime > > > Set thread priority to 10 > > > Set thread policy to SCHED_RR > > > Start thread #0 > > > thread #0 started, looking for primes < 10000, doing 10 run(s) > > > thread #0 finished, found 1230 primes, last one was 9973 > > > Done > > > getprime took 136 msec > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree name > > > 18446744073637388288 2176818446744073637366520 > > > 3971218446744073637366520 23 1 Umem > > > nsh> [Kostest > > > .. > > > Final memory usage: > > > VARIABLE BEFORE AFTER > > > ======== ======== ======== > > > arena fbb2e000 fbb2e000 > > > ordblks 2 7 > > > mxordblk fbb24238 fbb21f00 > > > uordblks 9d98 9ef0 > > > fordblks fbb24268 fbb24110 > > > user_main: Exiting > > > ostest_main: Exiting with status 0 > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree name > > > 18446744073637388288 2194418446744073637366344 > > > 10988818446744073637339192 25 3 Umem > > > > > > NOTES / TODO: > > > * image size not reported after build. > > > * invalid ram reporting for 8GB variant. > > > > > > > > > ### SAMv71 ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : SAMv71-XULT > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=arm-none-eabi- > > > LOGFILE : log/nuttx-12.13.0-RC0-1775093484-SAMv71-XULT.log > > > TIMESTAMP : 1775093484 > > > > > > ==> COMPILER: > > > arm-none-eabi-gcc (gcc) 14.2.1 20241119 > > > > > > ===> > > > ===> SAMv71-XULT: samv71-xult:nsh > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B samv71-xult:nsh > > > .. > > > 1,93s real 1,02s user 1,07s sys > > > > > > + /usr/bin/time -h gmake -j8 -j24 CROSSDEV=arm-none-eabi- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > flash: 129292 B 2 MB 6.17% > > > sram: 10584 B 384 KB 2.69% > > > CP: nuttx.bin > > > 5,35s real 36,27s user 15,13s sys > > > > > > + /usr/bin/time -h openocd -f interface/cmsis-dap.cfg -c 'transport > > > select swd' -c 'set CHIPNAME atsamv71q21' -f target/atsamv.cfg -c > > > 'reset_config srst_only' -c init -c targets -c 'reset halt' -c > > > 'program nuttx.bin 0x400000' -c 'reset halt' -c 'atsamv gpnvm set 1' > > > -c 'reset run' -c shutdown > > > Open On-Chip Debugger 0.12.0 > > > Licensed under GNU GPL v2 > > > For bug reports, read > > > http://openocd.org/doc/doxygen/bugs.html > > > swd > > > atsamv71q21 > > > Info : flash bank command > > > srst_only separate srst_gates_jtag srst_open_drain > connect_deassert_srst > > > > > > Info : CMSIS-DAP: SWD supported > > > Info : CMSIS-DAP: FW Version = 03.25.01B6 > > > Info : CMSIS-DAP: Serial# = ATML2407121800000086 > > > Info : CMSIS-DAP: Interface Initialised (SWD) > > > Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1 > > > Info : CMSIS-DAP: Interface ready > > > Info : clock speed 1800 kHz > > > Info : SWD DPIDR 0x0bd11477 > > > Info : [atsamv71q21.cpu] Cortex-M7 r1p1 processor detected > > > Info : [atsamv71q21.cpu] target has 8 breakpoints, 4 watchpoints > > > Info : starting gdb server for atsamv71q21.cpu on 3333 > > > Info : Listening on port 3333 for gdb connections > > > Error: [atsamv71q21.cpu] clearing lockup after double fault > > > Polling target atsamv71q21.cpu failed, trying to reexamine > > > Info : [atsamv71q21.cpu] Cortex-M7 r1p1 processor detected > > > Info : [atsamv71q21.cpu] target has 8 breakpoints, 4 watchpoints > > > TargetName Type Endian TapName State > > > -- ------------------ ---------- ------ ------------------ ------------ > > > 0* atsamv71q21.cpu cortex_m little atsamv71q21.cpu halted > > > > > > [atsamv71q21.cpu] halted due to debug-request, current mode: Thread > > > xPSR: 0x01000000 pc: 0x0040097e msp: 0x20402d58 > > > [atsamv71q21.cpu] halted due to debug-request, current mode: Thread > > > xPSR: 0x01000000 pc: 0x0040097e msp: 0x20402d58 > > > ** Programming Started ** > > > Info : device id = 0xa1220e01 > > > Info : erasing lock regions 0-7... > > > Info : erasing lock region 0 > > > Info : erasing lock region 1 > > > Info : erasing lock region 2 > > > Info : erasing lock region 3 > > > Info : erasing lock region 4 > > > Info : erasing lock region 5 > > > Info : erasing lock region 6 > > > Info : erasing lock region 7 > > > ** Programming Finished ** > > > [atsamv71q21.cpu] halted due to debug-request, current mode: Thread > > > xPSR: 0x01000000 pc: 0x0040097e msp: 0x20402d58 > > > shutdown command invoked > > > 6,20s real 0,03s user 0,08s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > nsh> [Kuname a [K-a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 03:31:37 arm samv71-xult > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cp expr mkrd set truncate > > > [ cmp false mount kill uname > > > ? dirname fdinfo mv pkill umount > > > alias df free pidof sleep unset > > > unalias dmesg help printf usleep uptime > > > basename echo hexdump ps source watch > > > break env ls pwd test xd > > > cat exec mkdir rm time wait > > > cd exit mkfatfs rmdir true > > > > > > Builtin Apps: > > > dd i2c nsh ramtest sh > > > nsh> [Kfree > > > total used free maxused maxfree nused nfree name > > > 381608 8200 373408 8568 373408 27 1 Umem > > > > > > NOTES: > > > * Sometimes flashing fails at debug proble hang level, need to retry > > > and then works fine. > > > > > > > > > ### SPRESENSE ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : SPRESENSE > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=arm-none-eabi- > > > LOGFILE : log/nuttx-12.13.0-RC0-1775093913-SPRESENSE.log > > > TIMESTAMP : 1775093913 > > > > > > + arm-none-eabi-gcc --version > > > arm-none-eabi-gcc (gcc) 14.2.1 20241119 > > > > > > ===> > > > ===> SPRESENSE: spresense:nsh > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B spresense:nsh > > > .. > > > 2,03s real 1,11s user 1,06s sys > > > > > > + /usr/bin/time -h gmake -j24 CROSSDEV=arm-none-eabi- > > > .. > > > > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > ram: 112836 B 1536 KB 7.17% > > > gnssram: 0 B 640 KB 0.00% > > > Generating: nuttx.spk > > > tools/cxd56/mkspk -c2 nuttx nuttx nuttx.spk; > > > File nuttx.spk is successfully created. > > > Done. > > > 5,81s real 37,32s user 15,91s sys > > > > > > + /usr/bin/time -h ./tools/flash_writer.py -s -a -c /dev/cuaU0 -b > > > 115200 nuttx.spk > > > /tmp/nuttx/nuttx.git/./tools/flash_writer.py:27: DeprecationWarning: > > > 'telnetlib' is deprecated and slated for removal in Python 3.13 > > > import telnetlib > > > /bin/sh: ./reset_board.sh: not found > > > Please press RESET button on target board > > > >>> Install files ... > > > install -b 115200 > > > Install nuttx.spk > > > |0%-----------------------------50%------------------------------100%| > > > ###################################################################### > > > > > > 112960 bytes loaded. > > > Package validation is OK. > > > Saving package to "nuttx" > > > updater# >>> Save Configuration to FlashROM ... > > > set bootable M0P > > > M0P is not valid bootable. config not changed. > > > updater# sync > > > updater# Restarting the board ... > > > reboot > > > 17,74s real 0,07s user 0,00s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > cxd56_farapiinitialize: Mismatched version: loader(20591) != > Self(20596) > > > cxd56_farapiinitialize: Please update loader and gnssfw firmwares!! > > > > > > NuttShell (NSH) NuttX-12.13.0 > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 03:38:45 arm spresense > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cp exit mkrd set truncate > > > [ cmp expr mount kill uname > > > ? dirname false mv pkill umount > > > alias date fdinfo pidof sleep unset > > > unalias df free printf usleep uptime > > > basename dmesg help ps source watch > > > break echo hexdump pwd test xd > > > cat env ls rm time wait > > > cd exec mkdir rmdir true > > > > > > Builtin Apps: > > > dd nsh sh > > > > > > NOTES: > > > * Add free to nsh. > > > * Add ostest and coremark configurations. > > > > > > > > > > > > ### STM32F411 ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : STM32F411RE-NUCLEO-F411RE > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=arm-none-eabi- > > > LOGFILE : > log/nuttx-12.13.0-RC0-1775096913-STM32F411RE-NUCLEO-F411RE.log > > > TIMESTAMP : 1775096913 > > > > > > ==> COMPILER: > > > arm-none-eabi-gcc (gcc) 14.2.1 20241119 > > > > > > ===> > > > ===> STM32F411RE-NUCLEO-F411RE: nucleo-f411re:nsh > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B nucleo-f411re:nsh > > > .. > > > 2,10s real 1,05s user 1,19s sys > > > > > > + /usr/bin/time -h gmake -j24 CROSSDEV=arm-none-eabi- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > flash: 70076 B 512 KB 13.37% > > > sram: 7668 B 128 KB 5.85% > > > CP: nuttx.hex > > > CP: nuttx.bin > > > 5,22s real 32,04s user 13,86s sys > > > > > > + /usr/bin/time -h openocd -f interface/stlink.cfg -f > > > target/stm32f4x.cfg -c 'program nuttx.bin 0x08000000; reset run; exit' > > > Open On-Chip Debugger 0.12.0 > > > .. > > > 5,79s real 0,01s user 0,04s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 04:28:46 arm nucleo-f411re > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cd expr mv usleep unset > > > [ cp false printf source uptime > > > ? cmp help pwd test watch > > > alias dirname hexdump rm time xd > > > unalias dmesg ls rmdir true > > > basename echo mkdir set truncate > > > break exec mkrd kill uname > > > cat exit mount sleep umount > > > > > > Builtin Apps: > > > dd nsh sh > > > > > > NOTES: > > > * Add free to nsh. > > > * Add ostest and coremark configurations. > > > > > > > > > > > > ### STM32F412 ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : STM32F412ZG-NUCLEO-F412ZG > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=arm-none-eabi- > > > LOGFILE : > log/nuttx-12.13.0-RC0-1775098713-STM32F412ZG-NUCLEO-F412ZG.log > > > TIMESTAMP : 1775098713 > > > > > > ==> COMPILER: > > > arm-none-eabi-gcc (gcc) 14.2.1 20241119 > > > > > > ===> > > > ===> STM32F412ZG-NUCLEO-F412ZG: nucleo-f412zg:nsh > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B nucleo-f412zg:nsh > > > .. > > > 1,97s real 0,97s user 1,18s sys > > > > > > + /usr/bin/time -h gmake -j24 CROSSDEV=arm-none-eabi- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > flash: 71624 B 1 MB 6.83% > > > sram: 8020 B 256 KB 3.06% > > > CP: nuttx.hex > > > CP: nuttx.bin > > > 4,78s real 31,76s user 13,65s sys > > > > > > + /usr/bin/time -h openocd -f interface/stlink.cfg -f > > > target/stm32f4x.cfg -c 'program nuttx.bin 0x08000000; reset run; exit' > > > Open On-Chip Debugger 0.12.0 > > > .. > > > 3,47s real 0,00s user 0,05s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > ~ > > > [EOT] > > > > > > NOTES: > > > * Only tested build and flash. > > > * We need to reroute uart pins to have console over st-link. > > > * Add free to nsh. > > > * Add ostest and coremark configurations. > > > > > > > > > > > > ### STM32F769 ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : STM32F769I-DISCO > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=arm-none-eabi- > > > LOGFILE : log/nuttx-12.13.0-RC0-1775099072-STM32F769I-DISCO.log > > > TIMESTAMP : 1775099072 > > > > > > ==> COMPILER: > > > arm-none-eabi-gcc (gcc) 14.2.1 20241119 > > > > > > ===> > > > ===> STM32F769I-DISCO: stm32f769i-disco:nsh > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B stm32f769i-disco:nsh > > > .. > > > 2,16s real 1,16s user 1,19s sys > > > > > > + /usr/bin/time -h gmake -j8 -j24 CROSSDEV=arm-none-eabi- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > itcm: 0 B 2 MB 0.00% > > > flash: 71640 B 2 MB 3.42% > > > dtcm: 0 B 128 KB 0.00% > > > sram1: 5980 B 368 KB 1.59% > > > sram2: 0 B 16 KB 0.00% > > > CP: nuttx.hex > > > CP: nuttx.bin > > > 5,45s real 32,62s user 15,68s sys > > > > > > + /usr/bin/time -h openocd -f interface/stlink.cfg -f > > > target/stm32f7x.cfg -c 'program nuttx.bin 0x08000000; reset run; exit' > > > Open On-Chip Debugger 0.12.0 > > > .. > > > 1,97s real 0,03s user 0,00s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 05:04:42 arm stm32f769i-disco > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cd expr mv usleep unset > > > [ cp false printf source uptime > > > ? cmp help pwd test watch > > > alias dirname hexdump rm time xd > > > unalias dmesg ls rmdir true > > > basename echo mkdir set truncate > > > break exec mkrd kill uname > > > cat exit mount sleep umount > > > > > > Builtin Apps: > > > dd nsh sh > > > > > > NOTES: > > > * Add free to nsh. > > > * Add ostest and coremark configurations. > > > > > > > > > ### STM32L432 ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : STM32L432KC-NUCLEO-L432KC > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=arm-none-eabi- > > > LOGFILE : > log/nuttx-12.13.0-RC0-1775099438-STM32L432KC-NUCLEO-L432KC.log > > > TIMESTAMP : 1775099438 > > > > > > + arm-none-eabi-gcc --version > > > arm-none-eabi-gcc (gcc) 14.2.1 20241119 > > > > > > ===> > > > ===> STM32L432KC-NUCLEO-L432KC: nucleo-l432kc:nsh > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B nucleo-l432kc:nsh > > > .. > > > 1,94s real 1,07s user 1,03s sys > > > > > > + /usr/bin/time -h gmake -j24 CROSSDEV=arm-none-eabi- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > flash: 225912 B 256 KB 86.18% > > > sram: 9604 B 64 KB 14.65% > > > CP: nuttx.hex > > > CP: nuttx.bin > > > 4,88s real 28,12s user 14,93s sys > > > > > > + /usr/bin/time -h openocd -f interface/stlink.cfg -f > > > target/stm32l4x.cfg -c 'program nuttx.bin 0x08000000; reset run; exit' > > > Open On-Chip Debugger 0.12.0 > > > .. > > > 5,41s real 0,01s user 0,09s sys > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 05:10:50 arm nucleo-l432kc > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > . cd exit mount sleep umount > > > [ cp expr mv usleep unset > > > ? cmp false printf source uptime > > > alias dirname help pwd test watch > > > unalias date hexdump rm time xd > > > basename dmesg ls rmdir true > > > break echo mkdir set truncate > > > cat exec mkrd kill uname > > > > > > Builtin Apps: > > > alarm dd nsh ostest rand sh > > > nsh> [Kfree > > > nsh: free: command not found > > > nsh> [Kostest > > > .. > > > Final memory usage: > > > VARIABLE BEFORE AFTER > > > ======== ======== ======== > > > arena d678 d678 > > > ordblks 2 6 > > > mxordblk 7480 7480 > > > uordblks 42c8 4358 > > > fordblks 93b0 9320 > > > user_main: Exiting > > > ostest_main: Exiting with status 0 > > > stdio_test: Standard I/O Check: fprintf to stderr > > > > > > NOTES: > > > * Add free to nsh. > > > * Add coremark configuration. > > > > > > > > > ### rPI-Pico ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : RP2040-RASPBERRYPI-PICO > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=arm-none-eabi- > > > LOGFILE : log/nuttx-12.13.0-RC0-1775101840-RP2040-RASPBERRYPI-PICO.log > > > TIMESTAMP : 1775101840 > > > > > > ==> COMPILER: > > > arm-none-eabi-gcc (gcc) 14.2.1 20241119 > > > > > > ===> > > > ===> RP2040-RASPBERRYPI-PICO: raspberrypi-pico:usbnsh > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B raspberrypi-pico:usbnsh > > > .. > > > 2,23s real 1,07s user 1,35s sys > > > > > > + /usr/bin/time -h gmake -j24 CROSSDEV=arm-none-eabi- > > > .. > > > LD: nuttx > > > Memory region Used Size Region Size %age Used > > > flash: 160 KB 2 MB 7.81% > > > sram: 8844 B 264 KB 3.27% > > > Generating: nuttx.uf2 > > > Done. > > > 5,50s real 33,73s user 16,24s sys > > > > > > ==> SWITCH BOOTSEL ON RPI-PICO THEN PRESS RETURN. > > > > > > + picotool load nuttx.uf2 > > > Loading into Flash: [==============================] 100% > > > + picotool reboot > > > The device was rebooted into application mode. > > > + sleep 5 > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > > > > > > > > > > NuttShell (NSH) NuttX-12.13.0 > > > h> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 05:50:57 arm raspberrypi-pinsh> [K > > > nsh> [K? > > > help usage: help [-v] [<cmd>] > > > > > > true > > > [ cmp expr mount set truncate > > > ? dirname false mv kill uname > > > alias date fdinfo pidof pkill umount > > > unalias df free printf sleep unset > > > basename dmesg help ps usleep uptime > > > break echo hexdump pwd source watch > > > cat env ls reboot test xd > > > cd exec mkdir rm time wait > > > > > > Builtin Apps: > > > dd getprime hello nsh ostest sh > > > nsh> [Kgetprime > > > Set thread priority to 10 > > > Set thread policy to SCHED_RR > > > Start thread #0 > > > thread #0 started, looking for primes < 10000, doing 10 run(s) > > > thread #0 finished, found 1230 primes, last one was 9973 > > > Done > > > getprime took 12800 msec > > > nsh> [Kostest > > > .. > > > End of test memory usage: > > > VARIABLE BEFORE AFTER > > > ======= > > > arena 3f970 3f970 > > > ordblks 1 1 > > > mxordblk 3a9b8 3a9b8 > > > uordblks 4fb8 4fb8 > > > fordblks 3a9b8 3a9b8 > > > > > > ser_main: getopt() test > > > getopt(): Simple test <--- OUTPUT HANGS HERE !! > > > ~ > > > [EOT] > > > > > > WARNING: > > > * Unstable usb console!! Hangs randomly on multiple test retries in > > > different places! > > > > > > NOTES: > > > * usbnsh end of line seems clobbered. > > > * manual BOOTSEL interaction is required to flash. > > > > > > > > > ### rPI-Pico-2 ### > > > > > > NX BRANCH : nuttx-12.13.0-RC0 > > > NX RTOS LOC : /tmp/nuttx/nuttx.git > > > NX APPS LOC : /tmp/nuttx/nuttx-apps.git > > > TARGET : RP23XX-RASPBERRYPI-PICO-2 > > > BUILD HOST : FreeBSD hexagon 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 > > > GENERIC amd64 > > > MFLAGS : -j24 CROSSDEV=arm-none-eabi- > > > LOGFILE : > log/nuttx-12.13.0-RC0-1775102875-RP23XX-RASPBERRYPI-PICO-2.log > > > TIMESTAMP : 1775102875 > > > > > > ==> COMPILER: > > > arm-none-eabi-gcc (gcc) 14.2.1 20241119 > > > > > > ===> > > > ===> RP23XX-RASPBERRYPI-PICO-2: raspberrypi-pico-2:usbnsh > > > ===> > > > > > > + /usr/bin/time -h ./tools/configure.sh -B raspberrypi-pico-2:usbnsh > > > .. > > > 2,27s real 1,15s user 1,28s sys > > > > > > + /usr/bin/time -h gmake -j24 CROSSDEV=arm-none-eabi- > > > .. > > > 5,86s real 37,49s user 17,30s sys > > > > > > ==> SWITCH BOOTSEL ON RPI-PICO THEN PRESS RETURN. > > > > > > + picotool load nuttx.uf2 > > > Family ID 'rp2350-arm-s' can be downloaded in absolute space: > > > 00000000->02000000 > > > Loading into Flash: [==============================] 100% > > > > > > + picotool reboot > > > The device was rebooted into application mode. > > > + sleep 2 > > > > > > + cu -l /dev/cuaU0 -s 115200 > > > Connected > > > > > > > > > > > > > > > NuttShell (NSH) NuttX-12.13.0 > > > nsh> [Kuname -a > > > NuttX 12.13.0 b9b5d9afbf Apr 2 2026 06:08:07 arm raspberrypi-pico-2 > > > nsh> [Kgetprime > > > Set thread priority to 10 > > > Set thread policy to SCHED_RR > > > Start thread #0 > > > thread #0 started, looking for primes < 10000, doing 10 run(s) > > > thread #0 finished, found 1230 primes, last one was 9973 > > > Done > > > getprime took 2380 msec > > > nsh> [Kfree > > > total used free maxused maxfree nused > [K > > > nsh> ostest > > > .. > > > End of test memory usage: > > > FTER > > > ======== ======== ======== > > > arena 7e570 7e570 > > > ordblks 2 2 > > > 8 > > > ks 4f58 4f58 > > > fordblks 79618 79618 > > > > > > user_main: timed mutex test > > > mutex_test: Initializing mutex > > > mutex_test: Starting thread > > > pthread: Started <-- CONSOLE HANGS HERE > > > ~ > > > [EOT] > > > > > > WARNING: > > > * Unstable usb console!! Hangs randomly on multiple test retries in > > > different places! > > > > > > NOTES: > > > * usbnsh end of line seems clobbered. > > > * manual BOOTSEL interaction is required to flash. > > > > > > -- > > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > > > > On Mon, Mar 30, 2026 at 6:04 AM Alin Jerpelea <[email protected]> > > wrote: > > > > > > > > Hello all, > > > > Apache NuttX 12.13.0 RC0 has been staged under [1] and it's > > > > time to vote on accepting it for release. Voting will be open for > 72hr. > > > > > > > > A minimum of 3 binding +1 votes and more binding +1 than binding -1 > are > > > > required to pass. > > > > > > > > The Apache requirements for approving a release can be found here [3] > > > > "Before voting +1 PMC members are required to download the signed > > > > source code package, compile it as provided, and test the resulting > > > > executable on their own platform, along with also verifying that the > > > > package meets the requirements of the ASF policy on releases." > > > > > > > > A document to walk through some of this process has been published on > > > > our project wiki and can be found here [4]. > > > > > > > > [ ] +1 accept (indicate what you validated - e.g. performed the > non-RM > > > > items in [4]) > > > > [ ] -1 reject (explanation required) > > > > > > > > Thank you all, > > > > Alin Jerpelea > > > > > > > > SCM Information: > > > > Release tag: nuttx-12.13.0-RC0 > > > > Hash for the release nuttx tag: > > > b9b5d9afbf5a88f3c52830d4ce88ae038be0fd35 > > > > Hash for the release nuttx-apps tag: > > > e4b84b29d47b98a666df524d6f2d38904c972de5 > > > > > > > > [1] https://dist.apache.org/repos/dist/dev/nuttx/12.13.0-RC0/ > > > > [2] > > > > > > https://raw.githubusercontent.com/apache/nuttx/nuttx-12.13.0-RC0/ReleaseNotes > > > > [3] https://www.apache.org/dev/release.html#approving-a-release > > > > [4] > > > > > > https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release > > > > > >
