Closing the vote with my +1 tested on Spresense compiler arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.10) 10.3.1 20210824 (release)
Best regards Alin On Thu, Apr 11, 2024 at 2:28 AM Tomek CEDRO <to...@cedro.info> wrote: > On Tue, Apr 9, 2024 at 9:41 AM Alin Jerpelea wrote: > > > > Hello all, > > Apache NuttX 12.5.1 RC0 has been staged under [1] and it's > > time to vote on accepting it for release. Voting will be open for 72hr. > > +1 here :-) > > Thank you folks! :-) > > Tomek > > > === BUILD HOST === > > % uname -a > FreeBSD octagon 13.2-RELEASE-p11 FreeBSD 13.2-RELEASE-p11 GENERIC amd64 > > % lscpu > Architecture: amd64 > Byte Order: Little Endian > Total CPU(s): 8 > Thread(s) per core: 1 > Core(s) per socket: 8 > Socket(s): 1 > Vendor: AuthenticAMD > CPU family: 21 > Model: 2 > Model name: AMD FX(tm)-8320 Eight-Core Processor > Stepping: 0 > L1d cache: 16K > L1i cache: 64K > L2 cache: 2048K > L3 cache: 8M > Flags: fpu vme de pse tsc msr pae mce cx8 apic sep > mtrr pge mca cmov pat pse36 cflsh mmx fxsr sse sse2 htt sse3 pclmulqdq > monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave osxsave avx f16c > syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm lahf_lm cmp_legacy svm > extapic cr8_legacy lzcnt sse4a misalignsse 3dnowprefetch osvw ibs xop > skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb > > === TARGETS === > 1. ESP32. > 2. ESP32-C3. > 3. ESP32-S2. > > > === ESP32 === > > % xtensa-esp32-elf-cc --version > xtensa-esp32-elf-cc (crosstool-NG esp-2021r2-patch5) 8.4.0 > Copyright (C) 2018 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. > > % gmake clean distclean > > % /usr/bin/time -h ./tools/configure.sh -a ../nuttx-apps.git -B > esp32-devkitc:nsh > 7,04s real 1,81s user 2,43s sys > > % /usr/bin/time -h gmake -j8 > 21,63s real 1m2,32s user 39,64s sys > > % /usr/bin/time -h gmake flash > 14,10s real 2,64s user 3,27s 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.5.1 > nsh> uname -a > NuttX 12.5.1 9e8753d625 Apr 11 2024 00:37:28 xtensa esp32-devkitc > nsh> help > help usage: help [-v] [<cmd>] > > . cp exit mkdir rmdir umount > [ cmp expr mkrd set unset > ? dirname false mount sleep uptime > alias dd fdinfo mv source usleep > unalias df free pidof test xd > basename dmesg help printf time > break echo hexdump ps true > cat env kill pwd truncate > cd exec ls rm uname > > Builtin Apps: > nsh sh > nsh> echo hello world > hello world > nsh> uptime > 00:00:19 up 0:00, load average: 0.00, 0.00, 0.00 > nsh> env > PWD=/ > nsh> ls > /: > dev/ > proc/ > > > % /usr/bin/time -h gmake clean distclean > 13,03s real 5,28s user 8,47s sys > > % /usr/bin/time -h ./tools/configure.sh -a ../nuttx-apps.git -B > esp32-devkitc:coremark > 3,98s real 1,74s user 2,54s sys > > % /usr/bin/time -h gmake -j8 > 21,23s real 1m2,89s user 39,04s sys > > % /usr/bin/time -h gmake flash > 12,75s real 2,36s user 2,73s sys > > % cu -l /dev/cuaU0 -s 115200 > Connected > ets 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 > > > % /usr/bin/time -h gmake clean distclean > 12,86s real 5,12s user 8,43s sys > > % /usr/bin/time -h ./tools/configure.sh -a ../nuttx-apps.git -B > esp32-devkitc:ostest > 3,92s real 1,72s user 2,49s sys > > % /usr/bin/time -h gmake -j8 > 21,86s real 1m4,34s user 41,98s sys > > % /usr/bin/time -h gmake flash > 16,99s real 2,93s user 3,32s 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.5.1 > nsh> ostest > (...) > user_main: Exiting > ostest_main: Exiting with status 0 > > % /usr/bin/time -h gmake clean distclean > 13,69s real 5,41s user 9,03s sys > > > > === 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 ./tools/configure.sh -a ../nuttx-apps.git -B > esp32c3-devkit:nsh > 4,02s real 1,84s user 2,49s sys > > % /usr/bin/time -h gmake -j8 CROSSDEV=riscv32-esp-elf- > 35,15s real 1m11,97s user 58,56s sys > > % /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf- > 23,43s real 6,92s user 12,17s 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=039bch > ( 14780) map > I (88) esp_image: segment 1: paddr=000139e4 vaddr=3fc83200 size=0020ch > ( 524) load > I (94) esp_image: segment 2: paddr=00013bf8 vaddr=40380000 size=0197ch > ( 6524) load > I (103) esp_image: segment 3: paddr=0001557c vaddr=00000000 size=0ab7ch ( > 43900) > I (117) esp_image: segment 4: paddr=00020100 vaddr=42000100 > size=15a90h ( 88720) map > I (133) boot: Loaded app from partition at offset 0x10000 > I (133) boot: Disabling RNG early entropy source... > > NuttShell (NSH) NuttX-12.5.1 > nsh> uname -a > NuttX 12.5.1 9e8753d625 Apr 11 2024 01:34:33 risc-v esp32c3-devkit > nsh> help > help usage: help [-v] [<cmd>] > > . cp exit mkdir rmdir umount > [ cmp expr mkrd set unset > ? dirname false mount sleep uptime > alias dd fdinfo mv source usleep > unalias df free pidof test xd > basename dmesg help printf time > break echo hexdump ps true > cat env kill pwd truncate > cd exec ls rm uname > > Builtin Apps: > dumpstack nsh sh > nsh> echo hello world > hello world > nsh> ps > PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK > STACK COMMAND > 0 0 0 FIFO Kthread - Ready > 0000000000000000 002032 Idle_Task > 1 1 100 RR Task - Running > 0000000000000000 002000 nsh_main > nsh> ls > /: > dev/ > proc/ > nsh> pwd > / > nsh> env > PWD=/ > > > % /usr/bin/time -h gmake clean distclean CROSSDEV=riscv32-esp-elf- > 35,28s real 14,72s user 29,89s sys > > % /usr/bin/time -h ./tools/configure.sh -a ../nuttx-apps.git -B > esp32c3-devkit:coremark > 4,08s real 1,75s user 2,63s sys > > % /usr/bin/time -h gmake -j8 CROSSDEV=riscv32-esp-elf- > 33,92s real 1m4,31s user 56,90s sys > > % /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf- > 20,32s real 5,76s user 12,19s 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=00bc0h > ( 3008) map > I (86) esp_image: segment 1: paddr=00010be8 vaddr=3fc83b60 size=00168h > ( 360) load > I (94) esp_image: segment 2: paddr=00010d58 vaddr=40380000 size=01ed8h > ( 7896) load > I (104) esp_image: segment 3: paddr=00012c38 vaddr=00000000 size=0d4c0h ( > 54464) > I (119) esp_image: segment 4: paddr=00020100 vaddr=42000100 > size=0d540h ( 54592) 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 : 1472 > Total time (secs): 14.720000 > Iterations/Sec : 407.608696 > 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.608696 / 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- > 33,13s real 13,35s user 29,04s sys > > > % /usr/bin/time -h ./tools/configure.sh -a ../nuttx-apps.git -B > esp32c3-devkit:ostest > 4,04s real 1,96s user 2,39s sys > > % /usr/bin/time -h gmake -j8 CROSSDEV=riscv32-esp-elf- > 34,85s real 1m7,38s user 59,55s sys > > % /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf- > 25,83s real 6,68s user 12,32s 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=0a668h > ( 42600) map > I (92) esp_image: segment 1: paddr=0001a690 vaddr=3fc83780 size=00248h > ( 584) load > I (94) esp_image: segment 2: paddr=0001a8e0 vaddr=40380000 size=01894h > ( 6292) load > I (103) esp_image: segment 3: paddr=0001c17c vaddr=00000000 size=03f7ch ( > 16252) > I (113) esp_image: segment 4: paddr=00020100 vaddr=42000100 > size=1b4f4h (111860) map > I (136) boot: Loaded app from partition at offset 0x10000 > I (137) boot: Disabling RNG early entropy source... > > NuttShell (NSH) NuttX-12.5.1 > nsh> uname -a > NuttX 12.5.1 9e8753d625 Apr 11 2024 01:42:49 risc-v esp32c3-devkit > nsh> help > help usage: help [-v] [<cmd>] > > . cp exit mkdir rmdir umount > [ cmp expr mkrd set unset > ? dirname false mount sleep uptime > alias dd fdinfo mv source usleep > unalias df free pidof test xd > basename dmesg help printf time > break echo hexdump ps true > cat env kill pwd truncate > cd exec ls rm uname > > Builtin Apps: > nsh ostest sh > nsh> ostest > (...) > user_main: Exiting > ostest_main: Exiting with status 0 > > % /usr/bin/time -h gmake clean distclean CROSSDEV=riscv32-esp-elf- > 34,21s real 14,02s user 29,65s 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) > > Using updated .config: > 207 # CONFIG_ESP32S2_UART0_RS485 is not set > 208 CONFIG_ESP32S2_UART0_TXPIN=2 > 209 CONFIG_ESP32S2_UART0_RXPIN=3 > > % /usr/bin/time -h ./tools/configure.sh -a ../nuttx-apps.git -B > esp32s2-saola-1:coremark > 4,08s real 1,85s user 2,50s sys > > % /usr/bin/time -h gmake -j8 CROSSDEV=xtensa-esp32s2-elf- > Create version.h > Cloning Espressif HAL for 3rd Party Platforms > LN: platform/board to > > /zraid/data/cederom/work/CeDeROM/lab/embedded/nuttx/nuttx-apps.git/platform/dummy > Downloading: https://github.com/eembc/coremark/archive/main.zip > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- > 0 > 100 475k 100 475k 0 0 536k 0 --:--:-- --:--:-- --:--:-- > 1352k > Unpacking: main.zip -> coremark > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |--- coremark/posix/core_portme.c > |+++ coremark/posix/core_portme.c > -------------------------- > Patching file coremark/posix/core_portme.c using Plan A... > Hunk #1 succeeded at 208. > done > Register: coremark > Espressif HAL for 3rd Party Platforms: > 22804823777dbbb7f43925b7729b3a32331aa7cd > CPP: > /XXX/nuttx/nuttx.git/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32s2/ld/esp32s2.rom.spiflash.ld-> > > /XXX/nuttx.git/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32s2/ld/esp32s2.rom.spiflash.ld.tmpLD: > 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) > 32,65s real 1m17,34s user 52,09s sys > > % /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf > 6,83s real 2,21s user 3,09s sys > > % cu -l /dev/cuaU0 -s 115200 > Connected > Running CoreMark... > 2K performance run parameters for coremark. > CoreMark Size : 666 > Total ticks : 1276 > Total time (secs): 12.760000 > Iterations/Sec : 470.219436 > 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 : 470.219436 / 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- > 13,55s real 5,19s user 9,10s sys > > % /usr/bin/time -h ./tools/configure.sh -a ../nuttx-apps.git -B > esp32s2-saola-1:ostest > 4,12s real 1,69s user 2,72s sys > > % /usr/bin/time -h gmake -j8 CROSSDEV=xtensa-esp32s2-elf- > 36,92s real 1m21,11s user 56,87s sys > > % /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf- > 8,28s real 3,10s user 3,38s sys > > > % cu -l /dev/cuaU0 -s 115200 > Connected > > NuttShell (NSH) NuttX-12.5.1 > nsh> uname -a > NuttX 12.5.1 9e8753d625 Apr 11 2024 02:12:31 xtensa esp32s2-saola-1 > nsh> help > help usage: help [-v] [<cmd>] > > . cp exit mkdir rmdir umount > [ cmp expr mkrd set unset > ? dirname false mount sleep uptime > alias dd fdinfo mv source usleep > unalias df free pidof test xd > basename dmesg help printf time > break echo hexdump ps true > cat env kill pwd truncate > cd exec ls rm uname > > Builtin Apps: > nsh ostest sh > nsh> echo hello world > hello world > nsh> env > PWD=/ > nsh> ls > /: > dev/ > proc/ > nsh> ostest > (...) > user_main: Exiting > ostest_main: Exiting with status 0 > > % /usr/bin/time -h gmake clean distclean CROSSDEV=xtensa-esp32s2-elf- > 13,69s real 5,58s user 8,86s sys > > === SIM === > > Sim build fails that may need some investigation or my local setup > problem.. > > % /usr/bin/time -h ./tools/configure.sh -a ../nuttx-apps.git -B sim:nsh > > % gmake -j8 > Create version.h > LD: nuttx > ld: error: -Ttext-segment is not supported. Use --image-base if you > intend to set the base address > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > gmake[1]: *** [Makefile:377: nuttx] Error 1 > gmake: *** [tools/Unix.mk:546: nuttx] Error 2 > octagon% gmake clean > octagon% > octagon% gmake -j8 > sim/posix/sim_hostfs.c:81:12: warning: implicit declaration of > function 'S_TYPEISSEM' is invalid in C99 > [-Wimplicit-function-declaration] > else if (S_TYPEISSEM(hostbuf)) > ^ > sim/posix/sim_hostfs.c:85:12: warning: implicit declaration of > function 'S_TYPEISMQ' is invalid in C99 > [-Wimplicit-function-declaration] > else if (S_TYPEISMQ(hostbuf)) > ^ > sim/posix/sim_hostfs.c:89:12: warning: implicit declaration of > function 'S_TYPEISSHM' is invalid in C99 > [-Wimplicit-function-declaration] > else if (S_TYPEISSHM(hostbuf)) > ^ > CPP: etc/init.d/rcS-> etctmp/etc/init.d/rcS 3 warnings generated. > LD: nuttx > ld: error: -Ttext-segment is not supported. Use --image-base if you > intend to set the base address > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > gmake[1]: *** [Makefile:377: nuttx] Error 1 > gmake: *** [tools/Unix.mk:546: nuttx] Error 2 > > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info >