You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Alin Jerpelea <je...@gmail.com> on 2023/10/18 07:18:15 UTC
[VOTE] Apache NuttX 12.3.0 RC1 release
Hello all,
Apache NuttX 12.3.0 RC1 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.3.0-RC1
Hash for the release nuttx tag: 8fdb56b5f2124de351a48125a252ba4264665e3d
Hash for the release nuttx-apps tag: 2d6d199c492196c4680ae7f5b97bb6e2a7b38649
[1] https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/
[2] https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes
[3] https://www.apache.org/dev/release.html#approving-a-release
[4] https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release
Re: [VOTE] Apache NuttX 12.3.0 RC1 release
Posted by Alin Jerpelea <je...@gmail.com>.
+1 from me
Tested on Spresense
Best regards
Alin
On Thu, Oct 19, 2023 at 6:25 PM Tomek CEDRO <to...@cedro.info> wrote:
> +1 :-)
>
> BUILD HOST:
> FreeBSD octagon 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64 .
>
>
> TARGETS:
> 1. ESP32.
> 2. ESP32-C3.
> 3. ESP32-S2.
> 4. ESP32-S3.
>
>
> === ESP32 ===
>
> % 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)
>
> % /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
> esp32-devkitc:coremark
> 2,88s real 1,49s user 1,61s sys
>
> % /usr/bin/time -h gmake -j8
> 14,84s real 56,33s user 32,84s sys
>
> % /usr/bin/time -h gmake flash
> 9,98s real 1,49s user 0,97s sys
>
> % cu -l /dev/cuaU0 -s 115200
> can't open log file /var/log/aculog.
> Connected
> ts Jul 29 2019 12:21:46
>
> 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:4540
> ho 0 tail 12 room 4
> load:0x40078000,len:12344
> ho 0 tail 12 room 4
> load:0x40080400,len:4124
> entry 0x40080680
> Running CoreMark...
> 2K performance run parameters for coremark.
> CoreMark Size : 666
> Total ticks : 1218
> 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 : HEAP
> 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 / HEAP /
> 2:PThreads
> ~
> [EOT]
>
>
> % /usr/bin/time -h gmake clean distclean
> 6,92s real 3,12s user 4,08s sys
>
> % /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
> esp32-devkitc:nsh
> 2,88s real 1,51s user 1,59s sys
>
> % /usr/bin/time -h gmake -j8
> 15,25s real 54,93s user 34,13s sys
>
> % /usr/bin/time -h gmake flash
> LD: nuttx
> CP: nuttx.hex
> MKIMAGE: ESP32 binary
> esptool.py -c esp32 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
> esptool.py v4.5
> Creating esp32 image...
> Merged 1 ELF section
> Successfully created esp32 image.
> Generated: nuttx.bin (ESP32 compatible)
> esptool.py -c esp32 -p /dev/cuaU0 -b 115200 write_flash -fs detect
> -fm dio -ff 40m 0x10000 nuttx.bin
> esptool.py v4.5
> Serial port /dev/cuaU0
> Connecting.........
> Chip is ESP32-D0WD-V3 (revision v3.0)
> Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse,
> Coding Scheme None
> Crystal is 40MHz
> MAC: 8c:4b:14:81:0b:ec
> Uploading stub...
> Running stub...
> Stub running...
> Configuring flash size...
> Auto-detected Flash size: 4MB
> Flash will be erased from 0x00010000 to 0x00031fff...
> Compressed 136080 bytes to 62605...
> Wrote 136080 bytes (62605 compressed) at 0x00010000 in 5.7 seconds
> (effective 191.4 kbit/s)...
> Hash of data verified.
>
> Leaving...
> Hard resetting via RTS pin...
> 11,09s real 1,82s user 1,24s sys
>
> % cu -l /dev/cuaU0 -s 115200
> Connected
> 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:4540
> ho 0 tail 12 room 4
> load:0x40078000,len:12344
> ho 0 tail 12 room 4
> load:0x40080400,len:4124
> entry 0x40080680
>
> NuttShell (NSH) NuttX-12.3.0
> nsh> uname -a
> NuttX 12.3.0 8fdb56b5f2 Oct 19 2023 17:12:37 xtensa esp32-devkitc
>
>
> === ESP32-C3 ===
>
> % 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)
>
> % /usr/bin/time -h gmake clean distclean
> 7,12s real 3,21s user 4,20s sys
>
> % /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
> esp32c3-devkit:coremark
> 2,89s real 1,47s user 1,61s sys
>
> % /usr/bin/time -h gmake -j8 CROSSDEV=riscv32-esp-elf-
> 13,72s real 52,37s user 32,84s sys
>
> % /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf-
> ESPTOOL_BINDIR=../esp-bootloaders
> /usr/local/bin/bash: line 1: riscv64-unknown-elf-gcc: command not found
> expr: syntax error
> LD: nuttx
> CP: nuttx.hex
> MKIMAGE: ESP32-C3 binary
> esptool.py -c esp32c3 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
> esptool.py v4.5
> Creating esp32c3 image...
> Merged 1 ELF section
> Successfully created esp32c3 image.
> Generated: nuttx.bin (ESP32-C3 compatible)
> esptool.py -c esp32c3 -p /dev/cuaU0 -b 115200 write_flash -fs 4MB
> -fm dio -ff 40m 0x0 ../esp-bootloaders/bootloader-esp32c3.bin 0x8000
> ../esp-bootloaders/partition-table-esp32c3.bin 0x10000 nuttx.bin
> esptool.py v4.5
> Serial port /dev/cuaU0
> Connecting.........
> Chip is ESP32-C3 (revision v0.3)
> Features: WiFi, BLE
> Crystal is 40MHz
> MAC: 7c:df:a1:b1:58:00
> Uploading stub...
> Running stub...
> Stub running...
> Configuring flash size...
> Flash will be erased from 0x00000000 to 0x00004fff...
> Flash will be erased from 0x00008000 to 0x00008fff...
> Flash will be erased from 0x00010000 to 0x0002dfff...
> Warning: Image file at 0x0 is protected with a hash checksum, so not
> changing the flash frequency setting. Use the --flash_frequency=keep
> option instead of --flash_frequency=40m in order to remove this
> warning, or use the --dont-append-digest option for the elf2image
> command in order to generate an image file without a hash checksum
> Compressed 20208 bytes to 12395...
> Wrote 20208 bytes (12395 compressed) at 0x00000000 in 1.4 seconds
> (effective 114.3 kbit/s)...
> Hash of data verified.
> Compressed 3072 bytes to 69...
> Wrote 3072 bytes (69 compressed) at 0x00008000 in 0.1 seconds
> (effective 399.0 kbit/s)...
> Hash of data verified.
> Compressed 122176 bytes to 45414...
> Wrote 122176 bytes (45414 compressed) at 0x00010000 in 4.3 seconds
> (effective 226.8 kbit/s)...
> Hash of data verified.
>
> Leaving...
> Hard resetting via RTS pin...
> 10,81s real 1,65s user 1,24s sys
>
> % cu -l /dev/cuaU0 -s 115200
> Connected
> 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:0x3fcd5820,len:0x16c0
> load:0x403cc710,len:0x87c
> load:0x403ce710,len:0x2f54
> entry 0x403cc710
> I (30) boot: ESP-IDF v5.1-dev-3972-g1559b6309f 2nd stage bootloader
> I (30) boot: compile time Mar 15 2023 12:14:06
> I (31) boot: chip revision: v0.3
> I (35) boot.esp32c3: SPI Speed : 80MHz
> I (40) boot.esp32c3: SPI Mode : DIO
> I (44) boot.esp32c3: SPI Flash Size : 4MB
> I (49) boot: Enabling RNG early entropy source...
> I (54) boot: Partition Table:
> I (58) boot: ## Label Usage Type ST Offset Length
> I (65) boot: 0 factory factory app 00 00 00010000 00100000
> I (73) boot: End of partition table
> I (77) esp_image: segment 0: paddr=00010020 vaddr=3c010020 size=00ba4h
> ( 2980) map
> I (86) esp_image: segment 1: paddr=00010bcc vaddr=3fc837e0 size=00168h
> ( 360) load
> I (94) esp_image: segment 2: paddr=00010d3c vaddr=40380000 size=01ea8h
> ( 7848) load
> I (104) esp_image: segment 3: paddr=00012bec vaddr=00000000 size=0d50ch (
> 54540)
> I (119) esp_image: segment 4: paddr=00020100 vaddr=42000100
> size=0dc1ch ( 56348) map
> I (128) boot: Loaded app from partition at offset 0x10000
> I (128) boot: Disabling RNG early entropy source...
> Running CoreMark...
> 2K performance run parameters for coremark.
> CoreMark Size : 666
> Total ticks : 1471
> 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 : 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 : 407.885792 / GCC8.4.0 -O3 -fno-strict-aliasing
> -fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP
>
>
> % /usr/bin/time -h gmake clean distclean CROSSDEV=riscv32-esp-elf-
> 8,58s real 4,22s user 5,91s sys
>
> % /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
> esp32c3-devkit:nsh
> 2,75s real 1,35s user 1,61s sys
>
> % /usr/bin/time -h gmake -j8 CROSSDEV=riscv32-esp-elf-
> 11,03s real 43,08s user 22,86s sys
>
> % /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf-
> ESPTOOL_BINDIR=../esp-bootloaders
> /usr/local/bin/bash: line 1: riscv64-unknown-elf-gcc: command not found
> expr: syntax error
> LD: nuttx
> CP: nuttx.hex
> MKIMAGE: ESP32-C3 binary
> esptool.py -c esp32c3 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
> esptool.py v4.5
> Creating esp32c3 image...
> Merged 1 ELF section
> Successfully created esp32c3 image.
> Generated: nuttx.bin (ESP32-C3 compatible)
> esptool.py -c esp32c3 -p /dev/cuaU0 -b 115200 write_flash -fs 4MB
> -fm dio -ff 40m 0x0 ../esp-bootloaders/bootloader-esp32c3.bin 0x8000
> ../esp-bootloaders/partition-table-esp32c3.bin 0x10000 nuttx.bin
> esptool.py v4.5
> Serial port /dev/cuaU0
> Connecting.........
> Chip is ESP32-C3 (revision v0.3)
> Features: WiFi, BLE
> Crystal is 40MHz
> MAC: 7c:df:a1:b1:58:00
> Uploading stub...
> Running stub...
> Stub running...
> Configuring flash size...
> Flash will be erased from 0x00000000 to 0x00004fff...
> Flash will be erased from 0x00008000 to 0x00008fff...
> Flash will be erased from 0x00010000 to 0x00035fff...
> Warning: Image file at 0x0 is protected with a hash checksum, so not
> changing the flash frequency setting. Use the --flash_frequency=keep
> option instead of --flash_frequency=40m in order to remove this
> warning, or use the --dont-append-digest option for the elf2image
> command in order to generate an image file without a hash checksum
> Compressed 20208 bytes to 12395...
> Wrote 20208 bytes (12395 compressed) at 0x00000000 in 1.4 seconds
> (effective 114.4 kbit/s)...
> Hash of data verified.
> Compressed 3072 bytes to 69...
> Wrote 3072 bytes (69 compressed) at 0x00008000 in 0.1 seconds
> (effective 403.1 kbit/s)...
> Hash of data verified.
> Compressed 154768 bytes to 68347...
> Wrote 154768 bytes (68347 compressed) at 0x00010000 in 6.2 seconds
> (effective 198.6 kbit/s)...
> Hash of data verified.
>
> Leaving...
> Hard resetting via RTS pin...
> 13,90s real 1,97s user 1,81s sys
>
> % cu -l /dev/cuaU0 -s 115200
> Connected
> 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:0x3fcd5820,len:0x16c0
> load:0x403cc710,len:0x87c
> load:0x403ce710,len:0x2f54
> entry 0x403cc710
> I (30) boot: ESP-IDF v5.1-dev-3972-g1559b6309f 2nd stage bootloader
> I (30) boot: compile time Mar 15 2023 12:14:06
> I (31) boot: chip revision: v0.3
> I (35) boot.esp32c3: SPI Speed : 80MHz
> I (40) boot.esp32c3: SPI Mode : DIO
> I (44) boot.esp32c3: SPI Flash Size : 4MB
> I (49) boot: Enabling RNG early entropy source...
> I (54) boot: Partition Table:
> I (58) boot: ## Label Usage Type ST Offset Length
> I (65) boot: 0 factory factory app 00 00 00010000 00100000
> I (73) boot: End of partition table
> I (77) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0384ch
> ( 14412) map
> I (88) esp_image: segment 1: paddr=00013874 vaddr=3fc82ef0 size=001f4h
> ( 500) load
> I (94) esp_image: segment 2: paddr=00013a70 vaddr=40380000 size=01994h
> ( 6548) load
> I (103) esp_image: segment 3: paddr=0001540c vaddr=00000000 size=0acech (
> 44268)
> I (117) esp_image: segment 4: paddr=00020100 vaddr=42000100
> size=15b64h ( 88932) map
> I (133) boot: Loaded app from partition at offset 0x10000
> I (133) boot: Disabling RNG early entropy source...
>
> NuttShell (NSH) NuttX-12.3.0
> nsh> uname -a
> NuttX 12.3.0 8fdb56b5f2 Oct 19 2023 17:51:59 risc-v esp32c3-devkit
>
>
> % /usr/bin/time -h gmake clean distclean CROSSDEV=riscv32-esp-elf-
> 9,01s real 4,59s user 6,05s sys
>
>
>
> === ESP32-S2 ===
>
> % xtensa-esp32s2-elf-gcc -v
> Using built-in specs.
> COLLECT_GCC=xtensa-esp32s2-elf-gcc
>
> COLLECT_LTO_WRAPPER=/usr/home/cederom/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s2-elf/bin/../libexec/gcc/xtensa-esp32s2-elf/8.4.0/lto-wrapper
> Target: xtensa-esp32s2-elf
> Configured with:
> /builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/src/gcc/configure
> --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
> --target=xtensa-esp32s2-elf
> --prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf
> --exec_prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf
>
> --with-local-prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-elf
>
> --with-headers=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-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-esp32s2-elf/buildtools
> --with-mpfr=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
> --with-mpc=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
> --with-isl=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-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)
>
> % /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
> esp32s2-saola-1:coremark
> 2,89s real 1,57s user 1,51s sys
>
> Update .config with + use external UART dognle:
> CONFIG_ESP32S2_UART0_TXPIN=2
> CONFIG_ESP32S2_UART0_RXPIN=3
>
> % /usr/bin/time -h gmake -j8 CROSSDEV=xtensa-esp32s2-elf-
> 15,76s real 54,52s user 34,26s sys
>
> % /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf-
> ESPTOOL_BINDIR=../esp-bootloaders
> LD: nuttx
> CP: nuttx.hex
> MKIMAGE: ESP32-S2 binary
> esptool.py -c esp32s2 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
> esptool.py v4.5
> Creating esp32s2 image...
> Merged 1 ELF section
> Successfully created esp32s2 image.
> Generated: nuttx.bin (ESP32-S2 compatible)
> esptool.py -c esp32s2 -p /dev/cuaU0 -b 115200 write_flash -fs detect
> -fm dio -ff 40m 0x1000 ../esp-bootloaders/bootloader-esp32s2.bin
> 0x8000 ../esp-bootloaders/partition-table-esp32s2.bin 0x10000
> nuttx.bin
> esptool.py v4.5
> Serial port /dev/cuaU0
> Connecting....
> Chip is ESP32-S2FNR2 (revision v0.0)
> Features: WiFi, Embedded Flash 4MB, Embedded PSRAM 2MB, ADC and
> temperature sensor calibration in BLK2 of efuse V1
> Crystal is 40MHz
> MAC: 84:f7:03:f5:00:d0
> Uploading stub...
> Running stub...
> Stub running...
> Configuring flash size...
> Auto-detected Flash size: 4MB
> Flash will be erased from 0x00001000 to 0x00006fff...
> Flash will be erased from 0x00008000 to 0x00008fff...
> Flash will be erased from 0x00010000 to 0x0002bfff...
> Warning: Image file at 0x1000 is protected with a hash checksum, so
> not changing the flash frequency setting. Use the
> --flash_frequency=keep option instead of --flash_frequency=40m in
> order to remove this warning, or use the --dont-append-digest option
> for the elf2image command in order to generate an image file without a
> hash checksum
> Compressed 21344 bytes to 13551...
> Wrote 21344 bytes (13551 compressed) at 0x00001000 in 0.3 seconds
> (effective 625.5 kbit/s)...
> Hash of data verified.
> Compressed 3072 bytes to 69...
> Wrote 3072 bytes (69 compressed) at 0x00008000 in 0.0 seconds
> (effective 605.1 kbit/s)...
> Hash of data verified.
> Compressed 114640 bytes to 40035...
> Wrote 114640 bytes (40035 compressed) at 0x00010000 in 1.1 seconds
> (effective 869.5 kbit/s)...
> Hash of data verified.
>
> Leaving...
> WARNING: ESP32-S2FNR2 (revision v0.0) chip was placed into download
> mode using GPIO0.
> esptool.py can not exit the download mode over USB. To run the app,
> reset the chip manually.
> To suppress this note, set --after option to 'no_reset'.
> gmake: *** [tools/Unix.mk:577: flash] Error 1
> 4,57s real 1,41s user 1,08s sys
>
> % cu -l /dev/cuaU0 -s 115200
> Connected
> Running CoreMark...
> 2K performance run parameters for coremark.
> CoreMark Size : 666
> Total ticks : 1287
> Total time (secs): 12.870000
> Iterations/Sec : 466.200466
> Iterations : 6000
> Compiler version : GCC8.4.0
> Compiler flags : -O3 -fno-strict-aliasing -fomit-frame-pointer
> -ffunction-sections -fdata-sections
> 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 : 466.200466 / GCC8.4.0 -O3 -fno-strict-aliasing
> -fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP
>
>
> % /usr/bin/time -h gmake clean distclean CROSSDEV=xtensa-esp32s2-elf-
> 7,03s real 3,18s user 4,13s sys
>
>
> % /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
> esp32s2-saola-1:nsh
> 2,91s real 1,50s user 1,62s sys
>
> Update .config with + use external UART dognle:
> CONFIG_ESP32S2_UART0_TXPIN=2
> CONFIG_ESP32S2_UART0_RXPIN=3
>
> % /usr/bin/time -h gmake -j8 CROSSDEV=xtensa-esp32s2-elf-
> 15,64s real 54,58s user 36,41s sys
>
> % /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf-
> ESPTOOL_BINDIR=../esp-bootloaders
> 5,38s real 1,83s user 1,26s sys
>
> % cu -l /dev/cuaU0 -s 115200
> Connected
>
> NuttShell (NSH) NuttX-12.3.0
> nsh> uname -a
> NuttX 12.3.0 8fdb56b5f2 Oct 19 2023 18:19:17 xtensa esp32s2-saola-1
>
> % /usr/bin/time -h gmake clean distclean CROSSDEV=xtensa-esp32s2-elf-
> 7,24s real 3,46s user 4,08s sys
>
>
> === ESP32-S3 ===
>
> Device not recignized by FreeBSD USB stack. Out of scope :-)
>
>
> Besr regards :-)
> Tomek
>
>
> On Wed, Oct 18, 2023 at 9:18 AM Alin Jerpelea <je...@gmail.com> wrote:
> >
> > Hello all,
> > Apache NuttX 12.3.0 RC1 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.3.0-RC1
> > Hash for the release nuttx tag:
> 8fdb56b5f2124de351a48125a252ba4264665e3d
> > Hash for the release nuttx-apps tag:
> 2d6d199c492196c4680ae7f5b97bb6e2a7b38649
> >
> > [1] https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/
> > [2]
> https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes
> > [3] https://www.apache.org/dev/release.html#approving-a-release
> > [4]
> https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release
>
>
>
> --
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
>
Re: [VOTE] Apache NuttX 12.3.0 RC1 release
Posted by Tomek CEDRO <to...@cedro.info>.
+1 :-)
BUILD HOST:
FreeBSD octagon 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64 .
TARGETS:
1. ESP32.
2. ESP32-C3.
3. ESP32-S2.
4. ESP32-S3.
=== ESP32 ===
% 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)
% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32-devkitc:coremark
2,88s real 1,49s user 1,61s sys
% /usr/bin/time -h gmake -j8
14,84s real 56,33s user 32,84s sys
% /usr/bin/time -h gmake flash
9,98s real 1,49s user 0,97s sys
% cu -l /dev/cuaU0 -s 115200
can't open log file /var/log/aculog.
Connected
ts Jul 29 2019 12:21:46
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:4540
ho 0 tail 12 room 4
load:0x40078000,len:12344
ho 0 tail 12 room 4
load:0x40080400,len:4124
entry 0x40080680
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 1218
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 : HEAP
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 / HEAP /
2:PThreads
~
[EOT]
% /usr/bin/time -h gmake clean distclean
6,92s real 3,12s user 4,08s sys
% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32-devkitc:nsh
2,88s real 1,51s user 1,59s sys
% /usr/bin/time -h gmake -j8
15,25s real 54,93s user 34,13s sys
% /usr/bin/time -h gmake flash
LD: nuttx
CP: nuttx.hex
MKIMAGE: ESP32 binary
esptool.py -c esp32 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
esptool.py v4.5
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated: nuttx.bin (ESP32 compatible)
esptool.py -c esp32 -p /dev/cuaU0 -b 115200 write_flash -fs detect
-fm dio -ff 40m 0x10000 nuttx.bin
esptool.py v4.5
Serial port /dev/cuaU0
Connecting.........
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse,
Coding Scheme None
Crystal is 40MHz
MAC: 8c:4b:14:81:0b:ec
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00010000 to 0x00031fff...
Compressed 136080 bytes to 62605...
Wrote 136080 bytes (62605 compressed) at 0x00010000 in 5.7 seconds
(effective 191.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
11,09s real 1,82s user 1,24s sys
% cu -l /dev/cuaU0 -s 115200
Connected
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:4540
ho 0 tail 12 room 4
load:0x40078000,len:12344
ho 0 tail 12 room 4
load:0x40080400,len:4124
entry 0x40080680
NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 19 2023 17:12:37 xtensa esp32-devkitc
=== ESP32-C3 ===
% 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)
% /usr/bin/time -h gmake clean distclean
7,12s real 3,21s user 4,20s sys
% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32c3-devkit:coremark
2,89s real 1,47s user 1,61s sys
% /usr/bin/time -h gmake -j8 CROSSDEV=riscv32-esp-elf-
13,72s real 52,37s user 32,84s sys
% /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf-
ESPTOOL_BINDIR=../esp-bootloaders
/usr/local/bin/bash: line 1: riscv64-unknown-elf-gcc: command not found
expr: syntax error
LD: nuttx
CP: nuttx.hex
MKIMAGE: ESP32-C3 binary
esptool.py -c esp32c3 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
esptool.py v4.5
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
Generated: nuttx.bin (ESP32-C3 compatible)
esptool.py -c esp32c3 -p /dev/cuaU0 -b 115200 write_flash -fs 4MB
-fm dio -ff 40m 0x0 ../esp-bootloaders/bootloader-esp32c3.bin 0x8000
../esp-bootloaders/partition-table-esp32c3.bin 0x10000 nuttx.bin
esptool.py v4.5
Serial port /dev/cuaU0
Connecting.........
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:b1:58:00
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x0002dfff...
Warning: Image file at 0x0 is protected with a hash checksum, so not
changing the flash frequency setting. Use the --flash_frequency=keep
option instead of --flash_frequency=40m in order to remove this
warning, or use the --dont-append-digest option for the elf2image
command in order to generate an image file without a hash checksum
Compressed 20208 bytes to 12395...
Wrote 20208 bytes (12395 compressed) at 0x00000000 in 1.4 seconds
(effective 114.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 69...
Wrote 3072 bytes (69 compressed) at 0x00008000 in 0.1 seconds
(effective 399.0 kbit/s)...
Hash of data verified.
Compressed 122176 bytes to 45414...
Wrote 122176 bytes (45414 compressed) at 0x00010000 in 4.3 seconds
(effective 226.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
10,81s real 1,65s user 1,24s sys
% cu -l /dev/cuaU0 -s 115200
Connected
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:0x3fcd5820,len:0x16c0
load:0x403cc710,len:0x87c
load:0x403ce710,len:0x2f54
entry 0x403cc710
I (30) boot: ESP-IDF v5.1-dev-3972-g1559b6309f 2nd stage bootloader
I (30) boot: compile time Mar 15 2023 12:14:06
I (31) boot: chip revision: v0.3
I (35) boot.esp32c3: SPI Speed : 80MHz
I (40) boot.esp32c3: SPI Mode : DIO
I (44) boot.esp32c3: SPI Flash Size : 4MB
I (49) boot: Enabling RNG early entropy source...
I (54) boot: Partition Table:
I (58) boot: ## Label Usage Type ST Offset Length
I (65) boot: 0 factory factory app 00 00 00010000 00100000
I (73) boot: End of partition table
I (77) esp_image: segment 0: paddr=00010020 vaddr=3c010020 size=00ba4h
( 2980) map
I (86) esp_image: segment 1: paddr=00010bcc vaddr=3fc837e0 size=00168h
( 360) load
I (94) esp_image: segment 2: paddr=00010d3c vaddr=40380000 size=01ea8h
( 7848) load
I (104) esp_image: segment 3: paddr=00012bec vaddr=00000000 size=0d50ch ( 54540)
I (119) esp_image: segment 4: paddr=00020100 vaddr=42000100
size=0dc1ch ( 56348) map
I (128) boot: Loaded app from partition at offset 0x10000
I (128) boot: Disabling RNG early entropy source...
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 1471
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 : 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 : 407.885792 / GCC8.4.0 -O3 -fno-strict-aliasing
-fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP
% /usr/bin/time -h gmake clean distclean CROSSDEV=riscv32-esp-elf-
8,58s real 4,22s user 5,91s sys
% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32c3-devkit:nsh
2,75s real 1,35s user 1,61s sys
% /usr/bin/time -h gmake -j8 CROSSDEV=riscv32-esp-elf-
11,03s real 43,08s user 22,86s sys
% /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf-
ESPTOOL_BINDIR=../esp-bootloaders
/usr/local/bin/bash: line 1: riscv64-unknown-elf-gcc: command not found
expr: syntax error
LD: nuttx
CP: nuttx.hex
MKIMAGE: ESP32-C3 binary
esptool.py -c esp32c3 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
esptool.py v4.5
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
Generated: nuttx.bin (ESP32-C3 compatible)
esptool.py -c esp32c3 -p /dev/cuaU0 -b 115200 write_flash -fs 4MB
-fm dio -ff 40m 0x0 ../esp-bootloaders/bootloader-esp32c3.bin 0x8000
../esp-bootloaders/partition-table-esp32c3.bin 0x10000 nuttx.bin
esptool.py v4.5
Serial port /dev/cuaU0
Connecting.........
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:b1:58:00
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00035fff...
Warning: Image file at 0x0 is protected with a hash checksum, so not
changing the flash frequency setting. Use the --flash_frequency=keep
option instead of --flash_frequency=40m in order to remove this
warning, or use the --dont-append-digest option for the elf2image
command in order to generate an image file without a hash checksum
Compressed 20208 bytes to 12395...
Wrote 20208 bytes (12395 compressed) at 0x00000000 in 1.4 seconds
(effective 114.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 69...
Wrote 3072 bytes (69 compressed) at 0x00008000 in 0.1 seconds
(effective 403.1 kbit/s)...
Hash of data verified.
Compressed 154768 bytes to 68347...
Wrote 154768 bytes (68347 compressed) at 0x00010000 in 6.2 seconds
(effective 198.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
13,90s real 1,97s user 1,81s sys
% cu -l /dev/cuaU0 -s 115200
Connected
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:0x3fcd5820,len:0x16c0
load:0x403cc710,len:0x87c
load:0x403ce710,len:0x2f54
entry 0x403cc710
I (30) boot: ESP-IDF v5.1-dev-3972-g1559b6309f 2nd stage bootloader
I (30) boot: compile time Mar 15 2023 12:14:06
I (31) boot: chip revision: v0.3
I (35) boot.esp32c3: SPI Speed : 80MHz
I (40) boot.esp32c3: SPI Mode : DIO
I (44) boot.esp32c3: SPI Flash Size : 4MB
I (49) boot: Enabling RNG early entropy source...
I (54) boot: Partition Table:
I (58) boot: ## Label Usage Type ST Offset Length
I (65) boot: 0 factory factory app 00 00 00010000 00100000
I (73) boot: End of partition table
I (77) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0384ch
( 14412) map
I (88) esp_image: segment 1: paddr=00013874 vaddr=3fc82ef0 size=001f4h
( 500) load
I (94) esp_image: segment 2: paddr=00013a70 vaddr=40380000 size=01994h
( 6548) load
I (103) esp_image: segment 3: paddr=0001540c vaddr=00000000 size=0acech ( 44268)
I (117) esp_image: segment 4: paddr=00020100 vaddr=42000100
size=15b64h ( 88932) map
I (133) boot: Loaded app from partition at offset 0x10000
I (133) boot: Disabling RNG early entropy source...
NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 19 2023 17:51:59 risc-v esp32c3-devkit
% /usr/bin/time -h gmake clean distclean CROSSDEV=riscv32-esp-elf-
9,01s real 4,59s user 6,05s sys
=== ESP32-S2 ===
% xtensa-esp32s2-elf-gcc -v
Using built-in specs.
COLLECT_GCC=xtensa-esp32s2-elf-gcc
COLLECT_LTO_WRAPPER=/usr/home/cederom/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s2-elf/bin/../libexec/gcc/xtensa-esp32s2-elf/8.4.0/lto-wrapper
Target: xtensa-esp32s2-elf
Configured with:
/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/src/gcc/configure
--build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
--target=xtensa-esp32s2-elf
--prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf
--exec_prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf
--with-local-prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-elf
--with-headers=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-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-esp32s2-elf/buildtools
--with-mpfr=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
--with-mpc=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
--with-isl=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-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)
% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32s2-saola-1:coremark
2,89s real 1,57s user 1,51s sys
Update .config with + use external UART dognle:
CONFIG_ESP32S2_UART0_TXPIN=2
CONFIG_ESP32S2_UART0_RXPIN=3
% /usr/bin/time -h gmake -j8 CROSSDEV=xtensa-esp32s2-elf-
15,76s real 54,52s user 34,26s sys
% /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf-
ESPTOOL_BINDIR=../esp-bootloaders
LD: nuttx
CP: nuttx.hex
MKIMAGE: ESP32-S2 binary
esptool.py -c esp32s2 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
esptool.py v4.5
Creating esp32s2 image...
Merged 1 ELF section
Successfully created esp32s2 image.
Generated: nuttx.bin (ESP32-S2 compatible)
esptool.py -c esp32s2 -p /dev/cuaU0 -b 115200 write_flash -fs detect
-fm dio -ff 40m 0x1000 ../esp-bootloaders/bootloader-esp32s2.bin
0x8000 ../esp-bootloaders/partition-table-esp32s2.bin 0x10000
nuttx.bin
esptool.py v4.5
Serial port /dev/cuaU0
Connecting....
Chip is ESP32-S2FNR2 (revision v0.0)
Features: WiFi, Embedded Flash 4MB, Embedded PSRAM 2MB, ADC and
temperature sensor calibration in BLK2 of efuse V1
Crystal is 40MHz
MAC: 84:f7:03:f5:00:d0
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00001000 to 0x00006fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x0002bfff...
Warning: Image file at 0x1000 is protected with a hash checksum, so
not changing the flash frequency setting. Use the
--flash_frequency=keep option instead of --flash_frequency=40m in
order to remove this warning, or use the --dont-append-digest option
for the elf2image command in order to generate an image file without a
hash checksum
Compressed 21344 bytes to 13551...
Wrote 21344 bytes (13551 compressed) at 0x00001000 in 0.3 seconds
(effective 625.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 69...
Wrote 3072 bytes (69 compressed) at 0x00008000 in 0.0 seconds
(effective 605.1 kbit/s)...
Hash of data verified.
Compressed 114640 bytes to 40035...
Wrote 114640 bytes (40035 compressed) at 0x00010000 in 1.1 seconds
(effective 869.5 kbit/s)...
Hash of data verified.
Leaving...
WARNING: ESP32-S2FNR2 (revision v0.0) chip was placed into download
mode using GPIO0.
esptool.py can not exit the download mode over USB. To run the app,
reset the chip manually.
To suppress this note, set --after option to 'no_reset'.
gmake: *** [tools/Unix.mk:577: flash] Error 1
4,57s real 1,41s user 1,08s sys
% cu -l /dev/cuaU0 -s 115200
Connected
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 1287
Total time (secs): 12.870000
Iterations/Sec : 466.200466
Iterations : 6000
Compiler version : GCC8.4.0
Compiler flags : -O3 -fno-strict-aliasing -fomit-frame-pointer
-ffunction-sections -fdata-sections
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 : 466.200466 / GCC8.4.0 -O3 -fno-strict-aliasing
-fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP
% /usr/bin/time -h gmake clean distclean CROSSDEV=xtensa-esp32s2-elf-
7,03s real 3,18s user 4,13s sys
% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32s2-saola-1:nsh
2,91s real 1,50s user 1,62s sys
Update .config with + use external UART dognle:
CONFIG_ESP32S2_UART0_TXPIN=2
CONFIG_ESP32S2_UART0_RXPIN=3
% /usr/bin/time -h gmake -j8 CROSSDEV=xtensa-esp32s2-elf-
15,64s real 54,58s user 36,41s sys
% /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf-
ESPTOOL_BINDIR=../esp-bootloaders
5,38s real 1,83s user 1,26s sys
% cu -l /dev/cuaU0 -s 115200
Connected
NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 19 2023 18:19:17 xtensa esp32s2-saola-1
% /usr/bin/time -h gmake clean distclean CROSSDEV=xtensa-esp32s2-elf-
7,24s real 3,46s user 4,08s sys
=== ESP32-S3 ===
Device not recignized by FreeBSD USB stack. Out of scope :-)
Besr regards :-)
Tomek
On Wed, Oct 18, 2023 at 9:18 AM Alin Jerpelea <je...@gmail.com> wrote:
>
> Hello all,
> Apache NuttX 12.3.0 RC1 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.3.0-RC1
> Hash for the release nuttx tag: 8fdb56b5f2124de351a48125a252ba4264665e3d
> Hash for the release nuttx-apps tag: 2d6d199c492196c4680ae7f5b97bb6e2a7b38649
>
> [1] https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/
> [2] https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes
> [3] https://www.apache.org/dev/release.html#approving-a-release
> [4] https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
RE: [VOTE] Apache NuttX 12.3.0 RC1 release
Posted by "Alin.Jerpelea@sony.com" <Al...@sony.com>.
Thanks Lup!
I missed this patch MAC patch
If it is not critical we can continue with the RC1 vote
Best regards
Alin
From: Lee, Lup Yuen <lu...@appkaki.com>
Sent: den 18 oktober 2023 10:30
To: dev@nuttx.apache.org
Subject: Re: [VOTE] Apache NuttX 12.3.0 RC1 release
+1 for PinePhone and Star64 Minor Issue: Building PinePhone on macOS shows the message "sed: illegal option -- r" and still builds OK. The patch has been merged, we can add this to the next release: https: //urldefense. com/v3/__https: //github. com/apache/nuttx/pull/10881__;!!JmoZiZGBv3RvKRSx!-vpt3SGmTcDKPjtok3pSFMzn7CrmoEY3juo1UPERlUK8to9iu4QMiZ1IGFB9q-sdHUKjqsxrhxTqdmM$
ZjQcmQRYFpfptBannerStart
Caution : This email originated from outside of Sony.
Do not click links or open any attachments unless you recognize the sender and know the content is safe. Please report phishing if unsure.
ZjQcmQRYFpfptBannerEnd
+1 for PinePhone and Star64
Minor Issue: Building PinePhone on macOS shows the message "sed: illegal
option -- r" and still builds OK. The patch has been merged, we can add
this to the next release: https://github.com/apache/nuttx/pull/10881<https://github.com/apache/nuttx/pull/10881>
===== PinePhone Compiler
+ aarch64-none-elf-gcc -v
Using built-in specs.
COLLECT_GCC=aarch64-none-elf-gcc
COLLECT_LTO_WRAPPER=/Applications/ArmGNUToolchain/11.3.rel1/aarch64-none-elf/bin/../libexec/gcc/aarch64-none-elf/11.3.1/lto-wrapper
Target: aarch64-none-elf
Configured with:
/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/src/gcc/configure
--target=aarch64-none-elf
--prefix=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/install
--with-gmp=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/host-tools
--with-mpfr=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/host-tools
--with-mpc=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/host-tools
--with-isl=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/host-tools
--disable-shared --disable-nls --disable-threads --disable-tls
--enable-checking=release --enable-languages=c,c++,fortran --with-newlib
--with-gnu-as --with-gnu-ld
--with-sysroot=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/install/aarch64-none-elf
--with-pkgversion='Arm GNU Toolchain 11.3.Rel1' --with-bugurl=
https://bugs.linaro.org/<https://bugs.linaro.org/>
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)
===== PinePhone Configuration
+ ./tools/configure.sh pinephone:nsh
===== PinePhone Size
+ aarch64-none-elf-size nuttx
text data bss dec hex filename
223903 12913 41612 278428 43f9c nuttx
===== PinePhone NSH Info and Free
NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 18 2023 16:04:29 arm64 pinephone
nsh> free
total used free largest nused nfree
Umem: 133406712 551512 132855200 132855104 58 2
===== Star64 Compiler
+ riscv64-unknown-elf-gcc -v
Using built-in specs.
COLLECT_GCC=riscv64-unknown-elf-gcc
COLLECT_LTO_WRAPPER=/Users/Luppy/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-apple-darwin/bin/../libexec/gcc/riscv64-unknown-elf/10.2.0/lto-wrapper
Target: riscv64-unknown-elf
Configured with:
/scratch/jenkins/workspace/tpp-freedom-tools/tpp01--build-binary-packages--parameterized/obj/x86_64-apple-darwin/build/riscv64-unknown-elf-gcc/riscv-gcc/configure
--target=riscv64-unknown-elf
--prefix=/scratch/jenkins/workspace/tpp-freedom-tools/tpp01--build-binary-packages--parameterized/obj/x86_64-apple-darwin/install/riscv64-unknown-elf-gcc-10.2.0-2020.12.8-x86_64-apple-darwin
--with-pkgversion='SiFive GCC-Metal 10.2.0-2020.12.8' --with-bugurl=
https://github.com/sifive/freedom-tools/issues<https://github.com/sifive/freedom-tools/issues> --disable-shared
--disable-threads --enable-languages=c,c++ --enable-tls --with-newlib
--with-sysroot=/scratch/jenkins/workspace/tpp-freedom-tools/tpp01--build-binary-packages--parameterized/obj/x86_64-apple-darwin/install/riscv64-unknown-elf-gcc-10.2.0-2020.12.8-x86_64-apple-darwin/riscv64-unknown-elf
--with-native-system-header-dir=/include --disable-libmudflap
--disable-libssp --disable-libquadmath --disable-libgomp --disable-nls
--disable-tm-clone-registry --src=../riscv-gcc --with-system-zlib
--enable-checking=yes --enable-multilib --with-abi=lp64d
--with-arch=rv64imafdc CFLAGS=-O2 CXXFLAGS=-O2 'CFLAGS_FOR_TARGET=-Os
-mcmodel=medany' 'CXXFLAGS_FOR_TARGET=-Os -mcmodel=medany'
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (SiFive GCC-Metal 10.2.0-2020.12.8)
===== Star64 Configuration
+ ./tools/configure.sh star64:nsh
===== Star64 Size
+ riscv64-unknown-elf-size nuttx
text data bss dec hex filename
168996 641 23984 193621 2f455 nuttx
===== Star64 NSH Info and Free
NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 18 2023 16:09:46 risc-v star64
nsh> free
total used free largest nused nfree
Kmem: 2065400 14600 2050800 2049440 50 3
Page: 20971520 643072 20328448 20328448
PinePhone Script:
https://gist.github.com/lupyuen/cdd99bf29ac039b1d8ba185beb4aba00<https://gist.github.com/lupyuen/cdd99bf29ac039b1d8ba185beb4aba00>
PinePhone Log:
https://gist.github.com/lupyuen/34078e968667c9daff76843d0ef2745c<https://gist.github.com/lupyuen/34078e968667c9daff76843d0ef2745c>
Star64 Script:
https://gist.github.com/lupyuen/6003914adc6473922712acb7fa9cad17<https://gist.github.com/lupyuen/6003914adc6473922712acb7fa9cad17>
Star64 Log: https://gist.github.com/lupyuen/9c7f6e332045323134d2f34a586fea5d<https://gist.github.com/lupyuen/9c7f6e332045323134d2f34a586fea5d>
Lup
On Wed, Oct 18, 2023 at 3:18 PM Alin Jerpelea <je...@gmail.com>> wrote:
> Hello all,
> Apache NuttX 12.3.0 RC1 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.3.0-RC1
> Hash for the release nuttx tag: 8fdb56b5f2124de351a48125a252ba4264665e3d
> Hash for the release nuttx-apps tag:
> 2d6d199c492196c4680ae7f5b97bb6e2a7b38649
>
> [1] https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/<https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/>
> [2]
> https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes<https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes>
> [3] https://www.apache.org/dev/release.html#approving-a-release<https://www.apache.org/dev/release.html#approving-a-release>
> [4]
> https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release<https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release>
>
Re: [VOTE] Apache NuttX 12.3.0 RC1 release
Posted by "Lee, Lup Yuen" <lu...@appkaki.com>.
+1 for PinePhone and Star64
Minor Issue: Building PinePhone on macOS shows the message "sed: illegal
option -- r" and still builds OK. The patch has been merged, we can add
this to the next release: https://github.com/apache/nuttx/pull/10881
===== PinePhone Compiler
+ aarch64-none-elf-gcc -v
Using built-in specs.
COLLECT_GCC=aarch64-none-elf-gcc
COLLECT_LTO_WRAPPER=/Applications/ArmGNUToolchain/11.3.rel1/aarch64-none-elf/bin/../libexec/gcc/aarch64-none-elf/11.3.1/lto-wrapper
Target: aarch64-none-elf
Configured with:
/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/src/gcc/configure
--target=aarch64-none-elf
--prefix=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/install
--with-gmp=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/host-tools
--with-mpfr=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/host-tools
--with-mpc=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/host-tools
--with-isl=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/host-tools
--disable-shared --disable-nls --disable-threads --disable-tls
--enable-checking=release --enable-languages=c,c++,fortran --with-newlib
--with-gnu-as --with-gnu-ld
--with-sysroot=/Volumes/data/jenkins/workspace/GNU-toolchain/arm-11/build-aarch64-none-elf/install/aarch64-none-elf
--with-pkgversion='Arm GNU Toolchain 11.3.Rel1' --with-bugurl=
https://bugs.linaro.org/
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)
===== PinePhone Configuration
+ ./tools/configure.sh pinephone:nsh
===== PinePhone Size
+ aarch64-none-elf-size nuttx
text data bss dec hex filename
223903 12913 41612 278428 43f9c nuttx
===== PinePhone NSH Info and Free
NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 18 2023 16:04:29 arm64 pinephone
nsh> free
total used free largest nused nfree
Umem: 133406712 551512 132855200 132855104 58 2
===== Star64 Compiler
+ riscv64-unknown-elf-gcc -v
Using built-in specs.
COLLECT_GCC=riscv64-unknown-elf-gcc
COLLECT_LTO_WRAPPER=/Users/Luppy/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-apple-darwin/bin/../libexec/gcc/riscv64-unknown-elf/10.2.0/lto-wrapper
Target: riscv64-unknown-elf
Configured with:
/scratch/jenkins/workspace/tpp-freedom-tools/tpp01--build-binary-packages--parameterized/obj/x86_64-apple-darwin/build/riscv64-unknown-elf-gcc/riscv-gcc/configure
--target=riscv64-unknown-elf
--prefix=/scratch/jenkins/workspace/tpp-freedom-tools/tpp01--build-binary-packages--parameterized/obj/x86_64-apple-darwin/install/riscv64-unknown-elf-gcc-10.2.0-2020.12.8-x86_64-apple-darwin
--with-pkgversion='SiFive GCC-Metal 10.2.0-2020.12.8' --with-bugurl=
https://github.com/sifive/freedom-tools/issues --disable-shared
--disable-threads --enable-languages=c,c++ --enable-tls --with-newlib
--with-sysroot=/scratch/jenkins/workspace/tpp-freedom-tools/tpp01--build-binary-packages--parameterized/obj/x86_64-apple-darwin/install/riscv64-unknown-elf-gcc-10.2.0-2020.12.8-x86_64-apple-darwin/riscv64-unknown-elf
--with-native-system-header-dir=/include --disable-libmudflap
--disable-libssp --disable-libquadmath --disable-libgomp --disable-nls
--disable-tm-clone-registry --src=../riscv-gcc --with-system-zlib
--enable-checking=yes --enable-multilib --with-abi=lp64d
--with-arch=rv64imafdc CFLAGS=-O2 CXXFLAGS=-O2 'CFLAGS_FOR_TARGET=-Os
-mcmodel=medany' 'CXXFLAGS_FOR_TARGET=-Os -mcmodel=medany'
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (SiFive GCC-Metal 10.2.0-2020.12.8)
===== Star64 Configuration
+ ./tools/configure.sh star64:nsh
===== Star64 Size
+ riscv64-unknown-elf-size nuttx
text data bss dec hex filename
168996 641 23984 193621 2f455 nuttx
===== Star64 NSH Info and Free
NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 18 2023 16:09:46 risc-v star64
nsh> free
total used free largest nused nfree
Kmem: 2065400 14600 2050800 2049440 50 3
Page: 20971520 643072 20328448 20328448
PinePhone Script:
https://gist.github.com/lupyuen/cdd99bf29ac039b1d8ba185beb4aba00
PinePhone Log:
https://gist.github.com/lupyuen/34078e968667c9daff76843d0ef2745c
Star64 Script:
https://gist.github.com/lupyuen/6003914adc6473922712acb7fa9cad17
Star64 Log: https://gist.github.com/lupyuen/9c7f6e332045323134d2f34a586fea5d
Lup
On Wed, Oct 18, 2023 at 3:18 PM Alin Jerpelea <je...@gmail.com> wrote:
> Hello all,
> Apache NuttX 12.3.0 RC1 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.3.0-RC1
> Hash for the release nuttx tag: 8fdb56b5f2124de351a48125a252ba4264665e3d
> Hash for the release nuttx-apps tag:
> 2d6d199c492196c4680ae7f5b97bb6e2a7b38649
>
> [1] https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/
> [2]
> https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes
> [3] https://www.apache.org/dev/release.html#approving-a-release
> [4]
> https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release
>
Re: [VOTE] Apache NuttX 12.3.0 RC1 release
Posted by Xiang Xiao <xi...@gmail.com>.
+1 for sim:
./tools/checkrelease.sh --release 12.3.0-RC1
Downloading release files from
https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/
gpg: directory '/tmp/nuttx-checkrelease/.gnupg' created
gpg: keybox '/tmp/nuttx-checkrelease/.gnupg/pubring.kbx' created
gpg: /tmp/nuttx-checkrelease/.gnupg/trustdb.gpg: trustdb created
gpg: key E1B6E30DB05D6280: public key "Brennan Ashton <bt...@apache.org>"
imported
gpg: key 2B8C7F0EAB22000E: public key "Abdelatif Guettouche (CODE SIGNING
KEY) <ag...@apache.org>" imported
gpg: key 4137A71698C5E4DB: public key "Alin Jerpelea <je...@apache.org>"
imported
gpg: key 9E711BAD3264C061: public key "Alin Jerpelea <al...@sony.com>"
imported
gpg: key A57CE1279F1E7328: public key "Alin Jerpelea (CODE SIGNING KEY) <
jerpelea@apache.org>" imported
gpg: key 6E72660F995FBC42: public key "Brennan Ashton <
bashton@brennanashton.com>" imported
gpg: Total number processed: 6
gpg: imported: 6
OK: https://dist.apache.org/repos/dist/dev/nuttx/KEYS is imported.
Checking apache-nuttx-12.3.0.tar.gz sha512...
OK: apache-nuttx-12.3.0.tar.gz sha512 hash matches.
Checking apache-nuttx-12.3.0.tar.gz GPG signature:
gpg: Signature made Wed Oct 18 15:14:21 2023 CST
gpg: using RSA key 9208D2E4B800D66F749AD4E94137A71698C5E4DB
gpg: Good signature from "Alin Jerpelea <je...@apache.org>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the
owner.
Primary key fingerprint: 9208 D2E4 B800 D66F 749A D4E9 4137 A716 98C5 E4DB
OK: apache-nuttx-12.3.0.tar.gz gpg signature matches.
Checking apache-nuttx-12.3.0.tar.gz for required files:
OK: all required files exist in nuttx.
Checking apache-nuttx-apps-12.3.0.tar.gz sha512...
OK: apache-nuttx-apps-12.3.0.tar.gz sha512 hash matches.
Checking apache-nuttx-apps-12.3.0.tar.gz GPG signature:
gpg: Signature made Wed Oct 18 15:14:22 2023 CST
gpg: using RSA key 9208D2E4B800D66F749AD4E94137A71698C5E4DB
gpg: Good signature from "Alin Jerpelea <je...@apache.org>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the
owner.
Primary key fingerprint: 9208 D2E4 B800 D66F 749A D4E9 4137 A716 98C5 E4DB
OK: apache-nuttx-apps-12.3.0.tar.gz gpg signature matches.
Checking apache-nuttx-apps-12.3.0.tar.gz for required files:
OK: all required files exist in apps.
Trying to build nuttx sim:asan...
OK: we were able to build sim:asan.
Trying to run nuttx sim:asan...
==6439==WARNING: ASan is ignoring requested __asan_handle_no_return: stack
type: default top: 0x7fffbcbc3000; bottom 0x631000023000; size:
0x1cefbcba0000 (31815989067776)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
OK: ostest with ASAN pass.
Thanks
Xiang
On Wed, Oct 18, 2023 at 3:20 PM Alin Jerpelea <je...@gmail.com> wrote:
> Hello all,
> Apache NuttX 12.3.0 RC1 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.3.0-RC1
> Hash for the release nuttx tag: 8fdb56b5f2124de351a48125a252ba4264665e3d
> Hash for the release nuttx-apps tag:
> 2d6d199c492196c4680ae7f5b97bb6e2a7b38649
>
> [1] https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/
> [2]
> https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes
> [3] https://www.apache.org/dev/release.html#approving-a-release
> [4]
> https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release
>
Re: [VOTE] Apache NuttX 12.3.0 RC1 release
Posted by "Alan C. Assis" <ac...@gmail.com>.
Sorry, I missed the vote window, please find below the results (NuttX
still increasing size in a predictable way)
ESP32-DEVKITC
=============
$ xtensa-esp32-elf-gcc -v
Using built-in specs.
COLLECT_GCC=xtensa-esp32-elf-gcc
COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/xtensa-esp32-elf/12.2.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-12.2.0_20230208'
--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
Supported LTO compression algorithms: zlib
gcc version 12.2.0 (crosstool-NG esp-12.2.0_20230208)
$ ls -l nuttx.bin
-rw-rw-r-- 1 alan alan 136016 out 24 09:03 nuttx.bin
$ xtensa-esp32-elf-size nuttx
text data bss dec hex filename
86252 424 5288 91964 1673c nuttx
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 24 2023 09:20:22 xtensa esp32-devkitc
nsh> free
total used free largest nused nfree
Umem: 327240 7784 319456 188048 39 3
nsh>
Note: Increased of ~2% in relation to version 12.2.1
-----------------------------------------------------------------------------------------------------------------------------
ESP32-S2:
$ xtensa-esp32s2-elf-gcc -v
Using built-in specs.
COLLECT_GCC=xtensa-esp32s2-elf-gcc
COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/xtensa-esp32s2-elf/12.2.0/lto-wrapper
Target: xtensa-esp32s2-elf
Configured with:
/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/src/gcc/configure
--build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
--target=xtensa-esp32s2-elf
--prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf
--exec_prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf
--with-local-prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-elf
--with-headers=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-elf/include
--with-newlib --enable-threads=no --disable-shared
--with-pkgversion='crosstool-NG esp-12.2.0_20230208'
--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-esp32s2-elf/buildtools
--with-mpfr=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
--with-mpc=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
--with-isl=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-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
Supported LTO compression algorithms: zlib
gcc version 12.2.0 (crosstool-NG esp-12.2.0_20230208)
$ ./tools/configure.sh esp32s2-saola-1:nsh
$ ls -l nuttx.bin
-rw-rw-r-- 1 alan alan 133296 out 24 09:08 nuttx.bin
$ xtensa-esp32s2-elf-size nuttx
text data bss dec hex filename
78616 472 7772 86860 1534c nuttx
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 24 2023 09:26:38 xtensa esp32s2-saola-1
nsh> free
total used free largest nused nfree
Umem: 309700 7732 301968 301968 35 1
nsh>
Note: Reduced 8% in relation from version 12.2.1
(needs more investigation, maybe some function were disabled)
-----------------------------------------------------------------------------------------------------------------------------
ESP32-C3:
$ riscv64-unknown-elf-gcc -v
Using built-in specs.
COLLECT_GCC=riscv64-unknown-elf-gcc
COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/riscv64-unknown-elf/10.2.0/lto-wrapper
Target: riscv64-unknown-elf
Configured with:
/scratch/jenkins/workspace/tpp-freedom-tools/tpp03--build-binary-packages--parameterized/obj/x86_64-linux-ubuntu14/build/riscv64-unknown-elf-gcc/riscv-gcc/configure
--target=riscv64-unknown-elf --host=x86_64-linux-gnu
--prefix=/scratch/jenkins/workspace/tpp-freedom-tools/tpp03--build-binary-packages--parameterized/obj/x86_64-linux-ubuntu14/install/riscv64-unknown-elf-gcc-10.2.0-2020.12.8-x86_64-linux-ubuntu14
--with-pkgversion='SiFive GCC-Metal 10.2.0-2020.12.8'
--with-bugurl=https://github.com/sifive/freedom-tools/issues
--disable-shared --disable-threads --enable-languages=c,c++
--enable-tls --with-newlib
--with-sysroot=/scratch/jenkins/workspace/tpp-freedom-tools/tpp03--build-binary-packages--parameterized/obj/x86_64-linux-ubuntu14/install/riscv64-unknown-elf-gcc-10.2.0-2020.12.8-x86_64-linux-ubuntu14/riscv64-unknown-elf
--with-native-system-header-dir=/include --disable-libmudflap
--disable-libssp --disable-libquadmath --disable-libgomp --disable-nls
--disable-tm-clone-registry --src=../riscv-gcc --with-system-zlib
--enable-checking=yes --enable-multilib --with-abi=lp64d
--with-arch=rv64imafdc CFLAGS=-O2 CXXFLAGS=-O2 'CFLAGS_FOR_TARGET=-Os
-mcmodel=medany' 'CXXFLAGS_FOR_TARGET=-Os -mcmodel=medany'
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (SiFive GCC-Metal 10.2.0-2020.12.8)
$ ls -l nuttx.bin
-rw-rw-r-- 1 alan alan 154832 out 24 09:15 nuttx.bin
$ riscv64-unknown-elf-size nuttx
text data bss dec hex filename
109928 364 142866 253158 3dce6 nuttx
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 24 2023 09:28:03 risc-v esp32c3-devkit
nsh> free
total used free largest nused nfree
Umem: 377052 7724 369328 369328 36 1
nsh>
Note: NuttX increased ~3% in relation to previous version 12.2.1
STM32F4DISCOVERY
================
$ arm-none-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/10.3.1/lto-wrapper
Target: arm-none-eabi
Configured with: ../configure --build=x86_64-linux-gnu --prefix=/usr
--includedir='/usr/lib/include' --mandir='/usr/lib/share/man'
--infodir='/usr/lib/share/info' --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir='/usr/lib/lib/x86_64-linux-gnu'
--libexecdir='/usr/lib/lib/x86_64-linux-gnu' --disable-maintainer-mode
--disable-dependency-tracking --mandir=/usr/share/man
--enable-languages=c,c++,lto --enable-multilib --disable-decimal-float
--disable-libffi --disable-libgomp --disable-libmudflap
--disable-libquadmath --disable-libssp --disable-libstdcxx-pch
--disable-nls --disable-shared --disable-threads --enable-tls
--build=x86_64-linux-gnu --target=arm-none-eabi --with-system-zlib
--with-gnu-as --with-gnu-ld --with-pkgversion=15:10.3-2021.07-4
--without-included-gettext --prefix=/usr/lib
--infodir=/usr/share/doc/gcc-arm-none-eabi/info
--htmldir=/usr/share/doc/gcc-arm-none-eabi/html
--pdfdir=/usr/share/doc/gcc-arm-none-eabi/pdf --bindir=/usr/bin
--libexecdir=/usr/lib --libdir=/usr/lib --disable-libstdc++-v3
--host=x86_64-linux-gnu --with-headers=no --without-newlib
--with-multilib-list=rmprofile,aprofile CFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong'
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' CXXFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong'
DFLAGS=-frelease FCFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong' FFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong' GCJFLAGS='-g
-O2 -ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-fstack-protector-strong' LDFLAGS='-Wl,-Bsymbolic-functions -flto=auto
-Wl,-z,relro' OBJCFLAGS='-g -O2
-ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong' OBJCXXFLAGS='-g
-O2 -ffile-prefix-map=/build/gcc-arm-none-eabi-hYfgK4/gcc-arm-none-eabi-10.3-2021.07=.
-flto=auto -ffat-lto-objects -fstack-protector-strong'
INHIBIT_LIBC_CFLAGS=-DUSE_TM_CLONE_REGISTRY=0
AR_FOR_TARGET=arm-none-eabi-ar AS_FOR_TARGET=arm-none-eabi-as
LD_FOR_TARGET=arm-none-eabi-ld NM_FOR_TARGET=arm-none-eabi-nm
OBJDUMP_FOR_TARGET=arm-none-eabi-objdump
RANLIB_FOR_TARGET=arm-none-eabi-ranlib
READELF_FOR_TARGET=arm-none-eabi-readelf
STRIP_FOR_TARGET=arm-none-eabi-strip SED=/bin/sed SHELL=/bin/sh
BASH=/bin/bash CONFIG_SHELL=/bin/bash
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 10.3.1 20210621 (release) (15:10.3-2021.07-4)
$ ./tools/configure.sh stm32f4discovery:nsh
$ ls -l nuttx.bin
-rwxrwxr-x 1 alan alan 74448 out 24 08:43 nuttx.bin
$ arm-none-eabi-size nuttx
text data bss dec hex filename
74128 320 1864 76312 12a18 nuttx
Note: Release 12.3.0 increased more than 4% size in relation to version 12.2.1
BR,
Alan
On 10/18/23, Alin Jerpelea <je...@gmail.com> wrote:
> Hello all,
> Apache NuttX 12.3.0 RC1 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.3.0-RC1
> Hash for the release nuttx tag: 8fdb56b5f2124de351a48125a252ba4264665e3d
> Hash for the release nuttx-apps tag:
> 2d6d199c492196c4680ae7f5b97bb6e2a7b38649
>
> [1] https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/
> [2]
> https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes
> [3] https://www.apache.org/dev/release.html#approving-a-release
> [4]
> https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release
>