On Tue, Dec 31, 2024 at 6:30 AM Alin Jerpelea <jerpe...@gmail.com> wrote:
> Hello all,
> Apache NuttX 12.8.0 RC0 has been staged under [1] and it's
> time to vote on accepting it for release. Voting will be open for 72hr.

+1 from me, big thank you for all of the contributors! :-)

Sorry for the delay, got some cold and went offline for a while. Build
times here will be a bit slower as this is new low power machine meant
for continuous work (in progress). There are two 16 ports USB 3.0
hubs. Initial setup verification. Most of the boards should have
default configuration switched to console over onboard debug probe
otherwise amount of USB ports is doubled :-)



=== BUILD HOST ===

% uname -a
FreeBSD drunx 14.2-RELEASE FreeBSD 14.2-RELEASE
releng/14.2-n269506-c8918d6c7412 GENERIC amd64


=== TARGETS ===

1. STM32L432.
2. ESP32.
3. ESP32C3.


=== STM32L432 ===

+ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Arm Embedded Toolchain ) 10.3.1 20210824 (release)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ /usr/bin/time -h ./tools/configure.sh -B nucleo-l432kc:nsh
        3.55s real              1.64s user              2.22s sys

+ /usr/bin/time -h gmake -j8 -j8 CROSSDEV=arm-none-eabi-
        59.09s real             3m3.21s user            36.20s sys

+ /usr/bin/time -h openocd -f interface/stlink.cfg -f
target/stm32l4x.cfg -c 'program nuttx.bin 0x08000000; reset run; exit'
        5.17s real              0.04s user              0.16s sys

+ cu -l /dev/cuaU0 -s 115200
Connected
nsh> uname -a
NuttX 12.8.0 3bf704ad13 Jan  5 2025 21:10:28 arm nucleo-l432kc
nsh> ?
help usage:  help [-v] [<cmd>]

    .           cd          exec        mkdir       set         umount
    [           cp          exit        mkrd        sleep       unset
    ?           cmp         expr        mount       source      uptime
    alias       dirname     false       mv          test        usleep
    unalias     date        help        printf      time        watch
    basename    dd          hexdump     pwd         true        xd
    break       dmesg       kill        rm          truncate
    cat         echo        ls          rmdir       uname

Builtin Apps:
    alarm     nsh       ostest    rand      sh

nsh> ostest
stdio_test: write fd=1
stdio_test: Standard I/O Check: printf
stdio_test: write fd=2
ostest_main: putenv(Variable1=BadValue3)
ostest_main: setenv(Variable1, GoodValue1, TRUE)
ostest_main: setenv(Variable2, BadValue1, FALSE)
ostest_main: setenv(Variable2, GoodValue2, TRUE)
ostest_main: setenv(Variable3, GoodValue3, FALSE)
ostest_main: setenv(Variable3, BadValue2, FALSE)
show_variable: Variable=Variable1 has value=GoodValue1
show_variable: Variable=Variable2 has value=GoodValue2
show_variable: Variable=Variable3 has value=GoodValue3
ostest_main: Started user_main at PID=3
(...)
Final memory usage:
VARIABLE  BEFORE   AFTER
======== ======== ========
arena        d620     d620
ordblks         2        5
mxordblk     7430     5428
uordblks     43c0     6b48
fordblks     9260     6ad8
user_main: Exiting
ostest_main: Exiting with status 0
stdio_test: Standard I/O Check: fprintf to stderr

+ gmake menuconfig -> enable CoreMark.

+ /usr/bin/time -h gmake -j8 -j8 CROSSDEV=arm-none-eabi-
        59.91s real             3m4.34s user            36.00s sys

+ /usr/bin/time -h openocd -f interface/stlink.cfg -f
target/stm32l4x.cfg -c 'program nuttx.bin 0x08000000; reset run; exit'
        5.50s real              0.11s user              0.31s sys

+ cu -l /dev/cuaU0 -s 115200
can't open log file /var/log/aculog.
Connected

NuttShell (NSH) NuttX-12.8.0
nsh> coremark
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 1198
Total time (secs): 11.980000
Iterations/Sec   : 50.083472
Iterations       : 600
Compiler version : GCC10.3.1 20210824 (release)
Compiler flags   : -fomit-frame-pointer -fno-common -Wall -Wshadow
-Wundef -ffunction-sections -fdata-sections -g
Memory location  : HEAP
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0xbd59
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 50.083472 / GCC10.3.1 20210824 (release)
-fomit-frame-pointer -fno-common -Wall -Wshadow -Wundef
-ffunction-sections -fdata-sections -g / HEAP


=== ESP32 ===

+ xtensa-esp32-elf-gcc --version
xtensa-esp-elf-gcc (crosstool-NG esp-14.2.0_20241119) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

===>
===> ESP32: esp32-devkitc:nsh
===>

+ /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:nsh
        4.34s real              1.99s user              2.76s sys

+ /usr/bin/time -h gmake -j4 CROSSDEV=xtensa-esp32-elf-
        49.37s real             1m43.79s user           50.18s sys

+ /usr/bin/time -h gmake flash -j4 CROSSDEV=xtensa-esp32-elf-
        9.91s real              3.25s user              3.13s sys

+ cu -l /dev/cuaU0 -s 115200
Connected
nsh> uname -a
NuttX 12.8.0 3bf704ad13 Jan  6 2025 02:56:11 xtensa esp32-devkitc
nsh> ?
help usage:  help [-v] [<cmd>]

    .           cp          exit        ls          rm          uname
    [           cmp         expr        mkdir       rmdir       umount
    ?           dirname     false       mkrd        set         unset
    alias       dd          fdinfo      mount       sleep       uptime
    unalias     df          free        mv          source      usleep
    basename    dmesg       help        pidof       test        watch
    break       echo        hexdump     printf      time        xd
    cat         env         kill        ps          true        wait
    cd          exec        pkill       pwd         truncate

Builtin Apps:
    nsh    sh

===>
===> ESP32: esp32-devkitc:ostest
===>

+ /usr/bin/time -h gmake clean distclean -j4 CROSSDEV=xtensa-esp32-elf-
        7.64s real              5.54s user              8.76s sys
+ /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:ostest
        3.90s real              1.73s user              2.51s sys

+ /usr/bin/time -h gmake -j4 CROSSDEV=xtensa-esp32-elf-
        53.36s real             1m51.29s user           55.65s sys

+ /usr/bin/time -h gmake flash -j4 CROSSDEV=xtensa-esp32-elf-
        10.57s real             3.35s user              3.41s sys
+ cu -l /dev/cuaU0 -s 115200
Connected
nsh> uname -a
NuttX 12.8.0 3bf704ad13 Jan  6 2025 02:59:47 xtensa esp32-devkitc
nsh> ostest
stdio_test: write fd=1
stdio_test: Standard I/O Check: printf
stdio_test: write fd=2
stdio_test: Standard I/O Check: fprintf to stderr
ostest_main: putenv(Variable1=BadValue3)
ostest_main: setenv(Variable1, GoodValue1, TRUE)
ostest_main: setenv(Variable2, BadValue1, FALSE)
ostest_main: setenv(Variable2, GoodValue2, TRUE)
ostest_main: setenv(Variable3, GoodValue3, FALSE)
ostest_main: setenv(Variable3, BadValue2, FALSE)
show_variable: Variable=Variable1 has value=GoodValue1
show_variable: Variable=Variable2 has value=GoodValue2
show_variable: Variable=Variable3 has value=GoodValue3
ostest_main: Started user_main at PID=3
(...)
Final memory usage:
VARIABLE  BEFORE   AFTER
======== ======== ========
arena       4e494    4e494
ordblks         2        6
mxordblk    2cde8    2cde8
uordblks     477c     57dc
fordblks    49d18    48cb8
user_main: Exiting
ostest_main: Exiting with status 0

===>
===> ESP32: esp32-devkitc:coremark
===>

+ /usr/bin/time -h gmake clean distclean -j4 CROSSDEV=xtensa-esp32-elf-
        7.84s real              5.80s user              9.22s sys

+ /usr/bin/time -h ./tools/configure.sh -B esp32-devkitc:coremark
        3.91s real              1.85s user              2.41s sys

+ /usr/bin/time -h gmake -j4 CROSSDEV=xtensa-esp32-elf-
        53.12s real             1m51.59s user           54.24s sys

+ /usr/bin/time -h gmake flash -j4 CROSSDEV=xtensa-esp32-elf-
        8.74s real              2.80s user              2.75s sys

+ cu -l /dev/cuaU0 -s 115200
Connected
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 2215
Total time (secs): 22.150000
Iterations/Sec   : 993.227991
Iterations       : 22000
Compiler version : GCC14.2.0
Compiler flags   : -O3 -fno-strict-aliasing -fomit-frame-pointer
-ffunction-sections -fdata-sections
Parallel PThreads : 2
Memory location  : HEAP
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[1]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[1]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[1]crcstate      : 0x8e3a
[0]crcfinal      : 0x33ff
[1]crcfinal      : 0x33ff
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 993.227991 / GCC14.2.0 -O3 -fno-strict-aliasing
-fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP /
2:PThreads

+ /usr/bin/time -h gmake clean distclean -j4 CROSSDEV=xtensa-esp32-elf-
        7.60s real              5.65s user              8.43s sys


=== ESP32C3 ===

+ riscv32-esp-elf-gcc --version
riscv32-esp-elf-gcc (crosstool-NG esp-14.2.0_20241119) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


===>
===> ESP32C3: esp32c3-devkit:nsh
===>

+ /usr/bin/time -h ./tools/configure.sh -B esp32c3-devkit:nsh
        4.08s real              2.03s user              2.43s sys

+ /usr/bin/time -h gmake -j8 -j4 CROSSDEV=riscv32-esp-elf-
        42.60s real             1m45.49s user           46.72s sys

+ /usr/bin/time -h gmake flash -j4 CROSSDEV=riscv32-esp-elf-
        10.04s real             3.24s user              3.51s sys

+ cu -l /dev/cuaU0 -s 115200
Connected
nsh> uname -a
NuttX 12.8.0 3bf704ad13 Jan  6 2025 03:06:54 risc-v esp32c3-devkit
nsh> ?
help usage:  help [-v] [<cmd>]

    .           cp          exit        ls          rm          uname
    [           cmp         expr        mkdir       rmdir       umount
    ?           dirname     false       mkrd        set         unset
    alias       dd          fdinfo      mount       sleep       uptime
    unalias     df          free        mv          source      usleep
    basename    dmesg       help        pidof       test        watch
    break       echo        hexdump     printf      time        xd
    cat         env         kill        ps          true        wait
    cd          exec        pkill       pwd         truncate

Builtin Apps:
    dumpstack    nsh          sh
nsh> free
      total       used       free    maxused    maxfree  nused  nfree name
     373344       5728     367616       6088     367616     19      1 Umem

===>
===> ESP32C3: esp32c3-devkit:ostest
===>

+ /usr/bin/time -h gmake clean distclean -j4 CROSSDEV=riscv32-esp-elf-
        8.26s real              6.26s user              10.05s sys

+ /usr/bin/time -h ./tools/configure.sh -B esp32c3-devkit:ostest
        3.92s real              1.80s user              2.47s sys

+ /usr/bin/time -h gmake -j8 -j4 CROSSDEV=riscv32-esp-elf-
        42.33s real             1m42.25s user           49.37s sys

+ /usr/bin/time -h gmake flash -j4 CROSSDEV=riscv32-esp-elf-
        10.59s real             3.08s user              3.50s sys

+ cu -l /dev/cuaU0 -s 115200
Connected

nsh> uname -a
NuttX 12.8.0 3bf704ad13 Jan  6 2025 03:08:54 risc-v esp32c3-devkit

nsh> ?
help usage:  help [-v] [<cmd>]

    .           cp          exit        ls          rm          uname
    [           cmp         expr        mkdir       rmdir       umount
    ?           dirname     false       mkrd        set         unset
    alias       dd          fdinfo      mount       sleep       uptime
    unalias     df          free        mv          source      usleep
    basename    dmesg       help        pidof       test        watch
    break       echo        hexdump     printf      time        xd
    cat         env         kill        ps          true        wait
    cd          exec        pkill       pwd         truncate

Builtin Apps:
    nsh       ostest    sh

nsh> free
      total       used       free    maxused    maxfree  nused  nfree name
     371840       5728     366112       6088     366112     19      1 Umem

nsh> ostest
stdio_test: write fd=1
stdio_test: Standard I/O Check: printf
stdio_test: write fd=2
stdio_test: Standard I/O Check: fprintf to stderr
ostest_main: putenv(Variable1=BadValue3)
ostest_main: setenv(Variable1, GoodValue1, TRUE)
ostest_main: setenv(Variable2, BadValue1, FALSE)
ostest_main: setenv(Variable2, GoodValue2, TRUE)
ostest_main: setenv(Variable3, GoodValue3, FALSE)
ostest_main: setenv(Variable3, BadValue2, FALSE)
show_variable: Variable=Variable1 has value=GoodValue1
show_variable: Variable=Variable2 has value=GoodValue2
show_variable: Variable=Variable3 has value=GoodValue3
ostest_main: Started user_main at PID=3
(...)
Final memory usage:
VARIABLE  BEFORE   AFTER
======== ======== ========
arena       5ac80    5ac80
ordblks         1        4
mxordblk    56970    52020
uordblks     4310     6a90
fordblks    56970    541f0
user_main: Exiting
ostest_main: Exiting with status 0

nsh> free
      total       used       free    maxused    maxfree  nused  nfree name
     371840       5824     366016      45112     346208     21      3 Umem

===>
===> ESP32C3: esp32c3-devkit:coremark
===>

+ /usr/bin/time -h gmake clean distclean -j4 CROSSDEV=riscv32-esp-elf-
        8.48s real              6.45s user              10.06s sys

+ /usr/bin/time -h ./tools/configure.sh -B esp32c3-devkit:coremark
        3.88s real              1.99s user              2.24s sys

+ /usr/bin/time -h gmake -j8 -j4 CROSSDEV=riscv32-esp-elf-
        41.13s real             1m40.84s user           45.21s sys

+ /usr/bin/time -h gmake flash -j4 CROSSDEV=riscv32-esp-elf-
        8.86s real              2.72s user              3.02s sys

+ cu -l /dev/cuaU0 -s 115200
Connected
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 1488
Total time (secs): 14.880000
Iterations/Sec   : 403.225806
Iterations       : 6000
Compiler version : GCC14.2.0
Compiler flags   : -O3 -fno-strict-aliasing -fomit-frame-pointer
-ffunction-sections -fdata-sections -nostdlib
Memory location  : HEAP
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0xa14c
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 403.225806 / GCC14.2.0 -O3 -fno-strict-aliasing
-fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib /
HEAP

+ /usr/bin/time -h gmake clean distclean -j4 CROSSDEV=riscv32-esp-elf-
        8.06s real              6.06s user              9.55s sys

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to