Thank you Nathan, Maybe we should create some script to automatically generate this log release report and save it in some place, like a attachment log in the release page.
I'm happy to see renewed interested in a small NuttX footprint to use as bootloader. I think it is possible to get a minimal version running on CH32V003 (16KB Flash and 2KB RAM), but it couldn't be so useful because apps will not have enough RAM stack to use. BR, Alan On 7/16/23, Nathan Hartman <hartman.nat...@gmail.com> wrote: > Hi all, > > Pleased to submit my vote: > > Summary: > +1 to release (binding) > > Per Alan's request for size information [1]: > > * NuttX-12.2.1-RC0, b-g474e-dpow1:nsh configuration: > > $ arm-none-eabi-size nuttx > text data bss dec hex filename > 109963 820 2908 113691 1bc1b nuttx > > This config has grown somewhat since NuttX-11.0.0-RC0, same config: > > $ arm-none-eabi-size nuttx > text data bss dec hex filename > 107623 672 2012 110307 1aee3 nuttx > > Text is increased by 2340. Data increases slightly by 148, bss > increases by 896. > > Also built the b-g474e-dpow1:ostest configuration: > > Compared to b-g474e-dpow1:nsh, it adds the following configs: > > +CONFIG_BUILTIN=y > +CONFIG_NSH_BUILTIN_APPS=y > +CONFIG_TESTING_OSTEST=y > > During the NuttX-11.x.x release cycle, ostest was failing when built > with priority inheritance, so currently the following configs are not > present; eventually I intend to re-test with these and possibly open a > PR to enable them: > > -CONFIG_PRIORITY_INHERITANCE=y > -CONFIG_PTHREAD_MUTEX_DEFAULT_PRIO_INHERIT=y > > Here is the size information for that build: > > * NuttX-12.2.1-RC0, b-g474e-dpow1:ostest configuration: > > $ arm-none-eabi-size nuttx > text data bss dec hex filename > 184991 852 5272 191115 2ea8b nuttx > > Development system: Debian "Bullseye" 5.10.179-1 x86_64 GNU/Linux > > Verified: > * Signatures > * SHA-512 sums > * LICENSE, NOTICE, and README.md present in both tarballs > * Build, FLASH program, and boot b-g474e-dpow1:nsh to the NSH prompt > successfully. > * Build, FLASH, boot b-g474e-dpow1:ostest and ran 'ostest' > successfully. > > Dependencies: > * GCC as installed via 'sudo apt install gcc-arm-none-eabi': > arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) > [gcc-8-branch revision 273027] > * kconfig-conf as installed via 'sudo apt install kconfig-frontends': > kconfig-frontends/oldstable,now 4.11.0.1+dfsg-5 amd64 [installed] > > Other dependencies from Debian packages: > * binutils-dev 2.35.2 > * bison 3.7.5 > * flex 2.6.4 > * gperf 3.1 > * libelf-dev 0.183-1.1 > * libgmp-dev 2:6.2.1+dfsg-1+deb11u1 > * libisl-dev 0.23-1 > * libmpc-dev 1.2.0-1 > * libmpfr-dev 4.1.0-3 > * libncurses5-dev 6.2+20201114-2+deb11u1 > * libusb-1.0-0-dev 2:1.0.24-3 > * libusb-dev 2:0.1.12-32 > * openocd 0.11.0~rc2-1 > * texinfo 6.7.0.dfsg.2-6 > > A very big **THANK YOU** to our RM and to everyone in the Apache NuttX > community for making this release (candidate) possible! > > References: > > [1] Alan Carvalho de Assis's message to the dev@nuttx.a.o thread "Re: > [VOTE] Apache NuttX 10.0.0 (incubating) RC0 release" on 26 Nov 2020, > archived: > https://lists.apache.org/thread/nxvwxol948psr2z7fc6cwtdv9ofoz9yj > > Cheers, > Nathan > > On Fri, Jul 14, 2023 at 6:39 PM Tomek CEDRO <to...@cedro.info> wrote: >> >> On Mon, Jul 10, 2023 at 4:47 PM Alin Jerpelea wrote: >> > Apache NuttX 12.2.1 RC0 has been staged under [1] and it's time to vote >> > on >> > accepting it for release. Voting will be open for 72hr. >> > (..) >> > [1] https://dist.apache.org/repos/dist/dev/nuttx/12.2.1-RC0/ >> >> +1 :-) >> >> BUILD HOST: >> FreeBSD octagon 13.2-RELEASE-p1 FreeBSD 13.2-RELEASE-p1 GENERIC amd64 >> >> TARGETS: >> 1. ESP32. >> 2. ESP32-C3. >> 2. ESP32-S2. >> 3. ESP32-S3. >> >> === ESP32 === >> >> % /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:coremark >> 2,94s real 1,51s user 1,47s sys >> >> % /usr/bin/time -h gmake -j8 V=1 >> 16,69s real 52,18s user 32,14s sys >> >> % /usr/bin/time -h gmake flash >> 9,70s real 1,69s user 1,01s sys >> >> % cu -l /dev/cuaU0 -s 115200 >> 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:0x3fff0030,len:7076 >> load:0x40078000,len:15660 >> load:0x40080400,len:4 >> load:0x40080404,len:3756 >> entry 0x40080640 >> I (29) boot: ESP-IDF v5.2-dev-544-g54576b7528 2nd stage bootloader >> I (29) boot: compile time May 16 2023 16:18:19 >> I (30) boot: Multicore bootloader >> I (35) boot: chip revision: v1.0 >> I (38) boot.esp32: SPI Speed : 40MHz >> I (43) boot.esp32: SPI Mode : DIO >> I (47) boot.esp32: SPI Flash Size : 4MB >> I (52) boot: Enabling RNG early entropy source... >> I (57) boot: Partition Table: >> I (61) boot: ## Label Usage Type ST Offset Length >> I (68) boot: 0 factory factory app 00 00 00010000 00100000 >> I (76) boot: End of partition table >> I (80) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=014b4h >> ( 5300) map >> I (90) esp_image: segment 1: paddr=000114dc vaddr=3ffb25b0 size=001b0h >> ( 432) load >> I (97) esp_image: segment 2: paddr=00011694 vaddr=40080000 size=020d4h >> ( 8404) load >> I (109) esp_image: segment 3: paddr=00013770 vaddr=00000000 size=0c8a8h ( >> 51368) >> I (132) esp_image: segment 4: paddr=00020020 vaddr=400d0020 >> size=0de98h ( 56984) map >> I (154) boot: Loaded app from partition at offset 0x10000 >> I (154) boot: Disabling RNG early entropy source... >> Running CoreMark... >> 2K performance run parameters for coremark. >> CoreMark Size : 666 >> Total ticks : 12180 >> Total time (secs): 12.180000 >> Iterations/Sec : 985.221675 >> Iterations : 12000 >> Compiler version : GCC8.4.0 >> Compiler flags : -O3 -fno-strict-aliasing -fomit-frame-pointer >> -ffunction-sections -fdata-sections >> Parallel PThreads : 2 >> Memory location : Stack >> seedcrc : 0xe9f5 >> [0]crclist : 0xe714 >> [1]crclist : 0xe714 >> [0]crcmatrix : 0x1fd7 >> [1]crcmatrix : 0x1fd7 >> [0]crcstate : 0x8e3a >> [1]crcstate : 0x8e3a >> [0]crcfinal : 0xa14c >> [1]crcfinal : 0xa14c >> Correct operation validated. See README.md for run and reporting rules. >> CoreMark 1.0 : 985.221675 / GCC8.4.0 -O3 -fno-strict-aliasing >> -fomit-frame-pointer -ffunction-sections -fdata-sections / Stack / >> 2:PThreads >> >> % gmake clean distclean >> >> % /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:nsh >> 2,89s real 1,48s user 1,45s sys >> >> % /usr/bin/time -h gmake -j8 V=1 >> 15,77s real 49,96s user 32,54s sys >> >> % /usr/bin/time -h gmake flash >> 11,53s real 2,04s user 1,48s sys >> >> % cu -l /dev/cuaU0 -s 115200 >> 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:0x3fff0030,len:7076 >> load:0x40078000,len:15660 >> load:0x40080400,len:4 >> load:0x40080404,len:3756 >> entry 0x40080640 >> I (29) boot: ESP-IDF v5.2-dev-544-g54576b7528 2nd stage bootloader >> I (29) boot: compile time May 16 2023 16:18:19 >> I (30) boot: Multicore bootloader >> I (34) boot: chip revision: v1.0 >> I (38) boot.esp32: SPI Speed : 40MHz >> I (43) boot.esp32: SPI Mode : DIO >> I (47) boot.esp32: SPI Flash Size : 4MB >> I (52) boot: Enabling RNG early entropy source... >> I (57) boot: Partition Table: >> I (61) boot: ## Label Usage Type ST Offset Length >> I (68) boot: 0 factory factory app 00 00 00010000 00100000 >> I (76) boot: End of partition table >> I (80) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=02684h >> ( 9860) map >> I (92) esp_image: segment 1: paddr=000126ac vaddr=3ffb14a0 size=001a4h >> ( 420) load >> I (97) esp_image: segment 2: paddr=00012858 vaddr=40080000 size=0175ch >> ( 5980) load >> I (108) esp_image: segment 3: paddr=00013fbc vaddr=00000000 size=0c05ch ( >> 49244) >> I (131) esp_image: segment 4: paddr=00020020 vaddr=400d0020 >> size=10d40h ( 68928) map >> I (157) boot: Loaded app from partition at offset 0x10000 >> I (157) boot: Disabling RNG early entropy source... >> >> NuttShell (NSH) NuttX-12.2.1 >> nsh> uname -a >> NuttX 12.2.1 148c631a2d Jul 14 2023 23:26:25 xtensa esp32-devkitc >> nsh> ls /dev >> /dev: >> console >> null >> ttyS0 >> >> % xtensa-esp32-elf-gcc -v >> Using built-in specs. >> COLLECT_GCC=xtensa-esp32-elf-gcc >> COLLECT_LTO_WRAPPER=/usr/home/cederom/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/lto-wrapper >> Target: xtensa-esp32-elf >> Configured with: >> /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/configure >> --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu >> --target=xtensa-esp32-elf >> --prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf >> --exec_prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf >> --with-local-prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf/xtensa-esp32-elf >> --with-headers=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf/xtensa-esp32-elf/include >> --with-newlib --enable-threads=no --disable-shared >> --with-pkgversion='crosstool-NG esp-2021r2-patch5' >> --disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections >> --disable-libgomp --disable-libmudflap --disable-libmpx >> --disable-libssp --disable-libquadmath --disable-libquadmath-support >> --disable-libstdcxx-verbose >> --with-gmp=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools >> --with-mpfr=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools >> --with-mpc=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools >> --with-isl=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools >> --enable-lto --enable-target-optspace --without-long-double-128 >> --disable-nls --enable-multiarch --enable-languages=c,c++ >> --disable-libstdcxx-verbose --enable-threads=posix >> --enable-gcov-custom-rtio --enable-libstdcxx-time=yes >> Thread model: posix >> gcc version 8.4.0 (crosstool-NG esp-2021r2-patch5) >> >> >> >> >> === ESP32-C3 === >> >> % /usr/bin/time -h ./tools/configure.sh -B esp32c3-devkit:coremark >> 2,91s real 1,42s user 1,53s sys >> >> % /usr/bin/time -h gmake -j8 V=1 CROSSDEV=riscv32-esp-elf- >> 15,55s real 47,95s user 30,82s sys >> >> % /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf- >> 9,37s real 1,47s user 1,06s sys >> >> % cu -l /dev/cuaU0 -s 115200 >> ESP-ROM:esp32c3-api1-20210207 >> Build:Feb 7 2021 >> rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT) >> SPIWP:0xee >> mode:DIO, clock div:1 >> load:0x3fcd6100,len:0x121c >> load:0x403ce000,len:0x744 >> load:0x403d0000,len:0x26c4 >> entry 0x403ce000 >> Running CoreMark... >> 2K performance run parameters for coremark. >> CoreMark Size : 666 >> Total ticks : 14710 >> Total time (secs): 14.710000 >> Iterations/Sec : 407.885792 >> Iterations : 6000 >> Compiler version : GCC8.4.0 >> Compiler flags : -O3 -fno-strict-aliasing -fomit-frame-pointer >> -ffunction-sections -fdata-sections >> Memory location : Stack >> 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 : 407.885792 / GCC8.4.0 -O3 -fno-strict-aliasing >> -fomit-frame-pointer -ffunction-sections -fdata-sections / Stack >> >> % gmake clean distclean CROSSDEV=riscv32-esp-elf- >> >> % /usr/bin/time -h ./tools/configure.sh -B esp32c3-devkit:nsh >> 2,92s real 1,52s user 1,44s sys >> >> % /usr/bin/time -h gmake -j8 V=1 CROSSDEV=riscv32-esp-elf- >> 15,65s real 51,82s user 32,54s sys >> >> % /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf- >> 12,77s real 2,09s user 1,50s sys >> >> % cu -l /dev/cuaU0 -s 115200 >> ESP-ROM:esp32c3-api1-20210207 >> Build:Feb 7 2021 >> rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT) >> SPIWP:0xee >> mode:DIO, clock div:1 >> load:0x3fcd6100,len:0x121c >> load:0x403ce000,len:0x744 >> load:0x403d0000,len:0x26c4 >> entry 0x403ce000 >> >> NuttShell (NSH) NuttX-12.2.1 >> nsh> uname -a >> NuttX 12.2.1 148c631a2d Jul 14 2023 23:55:05 risc-v esp32c3-devkit >> nsh> ls /dev >> /dev: >> console >> null >> ttyS0 >> zero >> >> % riscv32-esp-elf-gcc -v >> Using built-in specs. >> COLLECT_GCC=riscv32-esp-elf-gcc >> COLLECT_LTO_WRAPPER=/usr/home/cederom/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin/../libexec/gcc/riscv32-esp-elf/8.4.0/lto-wrapper >> Target: riscv32-esp-elf >> Configured with: >> /builds/idf/crosstool-NG/.build/riscv32-esp-elf/src/gcc/configure >> --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu >> --target=riscv32-esp-elf >> --prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf >> --exec_prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf >> --with-local-prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf >> --with-headers=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf/include >> --with-newlib --enable-threads=no --disable-shared --with-arch=rv32gc >> --with-abi=ilp32 --with-pkgversion='crosstool-NG esp-2021r2-patch5' >> --disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections >> --disable-libgomp --disable-libmudflap --disable-libmpx >> --disable-libssp --disable-libquadmath --disable-libquadmath-support >> --disable-libstdcxx-verbose >> --with-gmp=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools >> --with-mpfr=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools >> --with-mpc=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools >> --with-isl=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools >> --enable-lto --enable-target-optspace --without-long-double-128 >> --disable-nls --enable-multiarch --enable-languages=c,c++ >> --disable-libstdcxx-verbose --enable-threads=posix >> --enable-gcov-custom-rtio --enable-libstdcxx-time=yes >> Thread model: posix >> gcc version 8.4.0 (crosstool-NG esp-2021r2-patch5) >> >> >> >> >> === ESP32-S2 === >> >> % /usr/bin/time -h ./tools/configure.sh -B esp32s2-saola-1:coremark >> 2,92s real 1,43s user 1,53s sys >> >> Update config with: >> CONFIG_ESP32S2_UART0_TXPIN=2 >> CONFIG_ESP32S2_UART0_RXPIN=3 >> >> % /usr/bin/time -h gmake -j8 V=1 CROSSDEV=xtensa-esp32s2-elf- >> 16,09s real 49,37s user 31,51s sys >> >> % /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf- >> 4,64s real 1,68s user 0,99s sys >> >> % cu -l /dev/cuaU0 -s 115200 >> Running CoreMark... >> 2K performance run parameters for coremark. >> CoreMark Size : 666 >> Total ticks : 12820 >> Total time (secs): 12.820000 >> Iterations/Sec : 468.018721 >> Iterations : 6000 >> Compiler version : GCC8.4.0 >> Compiler flags : -O3 -fno-strict-aliasing -fomit-frame-pointer >> -ffunction-sections -fdata-sections >> Memory location : Stack >> 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 : 468.018721 / GCC8.4.0 -O3 -fno-strict-aliasing >> -fomit-frame-pointer -ffunction-sections -fdata-sections / Stack >> >> %/usr/bin/time -h gmake clean distclean CROSSDEV=xtensa-esp32s2-elf- >> 7,31s real 3,50s user 3,91s sys >> >> % /usr/bin/time -h ./tools/configure.sh -B esp32s2-saola-1:nsh >> 2,91s real 1,38s user 1,58s sys >> >> Update config with: >> CONFIG_ESP32S2_UART0_TXPIN=2 >> CONFIG_ESP32S2_UART0_RXPIN=3 >> >> % /usr/bin/time -h gmake -j8 V=1 CROSSDEV=xtensa-esp32s2-elf- >> 15,41s real 49,39s user 31,84s sys >> >> % /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf- >> 5,96s real 2,14s user 1,36s sys >> >> % cu -l /dev/cuaU0 -s 115200 >> NuttShell (NSH) NuttX-12.2.1 >> nsh> uname -a >> NuttX 12.2.1 148c631a2d Jul 15 2023 00:25:22 xtensa esp32s2-saola-1 >> nsh> ls /dev >> /dev: >> console >> null >> ttyS0 >> >> >> >> >> === ESP32-S3 === >> >> My new purchases ESP32-S3-Pico and ESP32-S3-DEV-KIT-N8R8 are not >> recognised by FreeBSD. Maybe CH334F (USB-TO-UART) is not yet supported >> and kernel support needs to be added to FreeBSD. Too early to test. >> Out of scope :-) >> >> >> Best regards :-) >> Tomek >> >> -- >> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info >