Re: [VOTE] Apache NuttX 12.3.0 RC1 release

2023-10-24 Thread Alan C. Assis
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
   textdata bss dec hex filename
  86252 4245288   91964   1673c nuttx

nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 24 2023 09:20:22 xtensa esp32-devkitc
nsh> free
   total   used   freelargest  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
   textdata bss dec hex filename
  78616 4727772   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   freelargest  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:
/scra

Re: [VOTE] Apache NuttX 12.3.0 RC1 release

2023-10-23 Thread Xiang Xiao
+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 "
imported
gpg: key 2B8C7F0EAB22000E: public key "Abdelatif Guettouche (CODE SIGNING
KEY) " imported
gpg: key 4137A71698C5E4DB: public key "Alin Jerpelea "
imported
gpg: key 9E711BAD3264C061: public key "Alin Jerpelea "
imported
gpg: key A57CE1279F1E7328: public key "Alin Jerpelea (CODE SIGNING KEY) <
jerpe...@apache.org>" imported
gpg: key 6E72660F995FBC42: public key "Brennan Ashton <
bash...@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 " [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 " [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 0x63123000; size:
0x1cefbcba (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  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

2023-10-22 Thread Alin Jerpelea
+1 from me

Tested on Spresense

Best regards
Alin

On Thu, Oct 19, 2023 at 6:25 PM Tomek CEDRO  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.18
> 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 0x1 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 0x0001 to 0x00031fff...
> Compressed 136080 bytes to 62605...
> Wrote 136080 bytes (62605 compressed) at 0x0001 in 5.7 seconds
> (ef

Re: [VOTE] Apache NuttX 12.3.0 RC1 release

2023-10-19 Thread Tomek CEDRO
+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.18
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 0x1 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 0x0001 to 0x00031fff...
Compressed 136080 bytes to 62605...
Wrote 136080 bytes (62605 compressed) at 0x0001 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

RE: [VOTE] Apache NuttX 12.3.0 RC1 release

2023-10-18 Thread alin.jerpe...@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 
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   databssdechex 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   freelargest  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

   

Re: [VOTE] Apache NuttX 12.3.0 RC1 release

2023-10-18 Thread Lee, Lup Yuen
+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   databssdechex 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   freelargest  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   databssdechex filename
 168996641  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   freelargest  nused  nfree
Kmem:2065400  1460020508002049440 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  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 

[VOTE] Apache NuttX 12.3.0 RC1 release

2023-10-18 Thread Alin Jerpelea
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