-1

FPU Test in ostest app fails on ESP32 and ESP32-S3. We need to include
fixes from the following PRs:
https://github.com/apache/incubator-nuttx/pull/6917
https://github.com/apache/incubator-nuttx/pull/6924

Furthermore, it would be nice to include these other fixes to ESP32-S2 and
ESP32-S3 chips:
https://github.com/apache/incubator-nuttx/pull/6916
https://github.com/apache/incubator-nuttx/pull/6937
https://github.com/apache/incubator-nuttx/pull/6990


On Thu, Sep 8, 2022 at 11:47 AM Alan Carvalho de Assis <acas...@gmail.com>
wrote:

> +1
>
> Please find below important information for analysis/comparison:
>
> ESP32-DEVKITC:
> ==============
>
> Compiler info
> -------------
>
> $ 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/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
>
> --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-patch3'
> --disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections
> --disable-libgomp --disable-libmudflap --disable-libmpx
> --disable-libssp --disable-libquadmath --disable-libquadmath-support
> --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-patch3)
>
>
> Configure
> ---------
>
> $ ./tools/configure.sh esp32-devkitc:nsh
>
> Compile/Flash
> -------------
>
> $ make flash -j ESPTOOL_PORT=/dev/ttyUSB0
>
>
> ELF Size
> --------
>
> $ xtensa-esp32-elf-size nuttx
>    text    data     bss     dec     hex filename
>   73927     236    4696   78859   1340b nuttx
>
>
> NSH Free
> --------
>
> nsh> free
>                    total       used       free    largest  nused  nfree
>         Umem:     327648       5824     321824     190160     31      3
>
>
>
> ESP32C3-DEVKIT:
> ==============
>
> Compiler info
> -------------
>
> $ 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)
>
>
> Configure
> ---------
>
> $ ./tools/configure.sh esp32c3-devkit:nsh
>
>
> Compile/Flash
> -------------
>
> $ make flash -j ESPTOOL_PORT=/dev/ttyUSB0
>
>
> ELF Size
> --------
>
> $ riscv64-unknown-elf-size nuttx
>    text    data     bss     dec     hex filename
>   85286     180  142272  227738   3799a nuttx
>
>
> NSH Free
> --------
>
> nsh> free
>                    total       used       free    largest  nused  nfree
>         Umem:     377488       5792     371696     371696     30      1
>
>
>
> STM32F4Discovery:
> =================
>
> Compiler info
> -------------
>
> $ arm-none-eabi-gcc -v
> Using built-in specs.
> COLLECT_GCC=arm-none-eabi-gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/9.2.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-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:9-2019-q4-0ubuntu1
> --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 CFLAGS='-g -O2
>
> -fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
> -fstack-protector-strong' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
> CXXFLAGS='-g -O2
>
> -fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
> -fstack-protector-strong' FCFLAGS='-g -O2
>
> -fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
> -fstack-protector-strong' FFLAGS='-g -O2
>
> -fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
> -fstack-protector-strong' GCJFLAGS='-g -O2
>
> -fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
> -fstack-protector-strong' LDFLAGS='-Wl,-Bsymbolic-functions
> -Wl,-z,relro' OBJCFLAGS='-g -O2
>
> -fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
> -fstack-protector-strong' OBJCXXFLAGS='-g -O2
>
> -fdebug-prefix-map=/build/gcc-arm-none-eabi-Gl9kT9/gcc-arm-none-eabi-9-2019-q4=.
> -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
> Thread model: single
> gcc version 9.2.1 20191025 (release) [ARM/arm-9-branch revision
> 277599] (15:9-2019-q4-0ubuntu1)
>
>
> Configure
> ---------
>
> $ ./tools/configure.sh stm32f4discovery:nsh
>
> Compile
> -------
>
> $ make -j
>
>
> ELF Size
> --------
>
> $ arm-none-eabi-size nuttx
>    text    data     bss     dec     hex filename
>   70928     136    1436   72500   11b34 nuttx
>
>
> Flash
> -----
>
> $ sudo openocd -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c
> init -c "reset halt" -c "flash write_image erase nuttx.bin 0x08000000"
>
>
> NSH Free
> --------
>
> nsh> free
>                    total       used       free    largest  nused  nfree
>         Umem:     193648       5808     187840     126992     30      3
>
>
>
> BR,
>
> Alan
>
> On 9/6/22, Alin Jerpelea <jerpe...@gmail.com> wrote:
> > Hello all,
> > Apache NuttX (Incubating) 11.0.0 RC1 has been staged under [1] and it's
> > time to vote on accepting it for release. If approved we will seek
> > final release approval from the IPMC. 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 [P]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-11.0.0-RC1
> >   Hash for the release incubating-nuttx tag:
> > 6feb2a1f4196e361b7aa8e209534a158cd14c833
> >   Hash for the release incubating-nuttx-apps tag:
> > 8b43f9f9ca30f44c1cccae9a9078d5d45b776d35
> >
> > [1] https://dist.apache.org/repos/dist/dev/incubator/nuttx/11.0.0-RC1/
> > [2]
> >
> https://raw.githubusercontent.com/apache/incubator-nuttx/nuttx-11.0.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
> >
>


-- 
Gustavo Henrique Nihei

Reply via email to