[RESULTS] Apache NuttX 12.5.1 RC0 release

2024-04-14 Thread Alin Jerpelea
Hi all,

The vote to release Apache NuttX 12.5.1-rc0 is now closed.
Thanks to those that took the time to review and vote.

The release has passed with 5 +1 (binding) 1 +1 (non binding) votes and no
0 or -1 votes.

Binding:
+1 Roberto Bucher
+1 Lup Yuen Lee
+1 Tiago Medicci Serrano
+1 Tomek CEDRO
+1 Alin Jerpelea

Non binding
+1 Tim Hardisty


Vote thread
https://lists.apache.org/thread/yxy89l8xlnj2wl20y97lf89o9wb8pzj4



Re: [VOTE] Apache NuttX 12.5.1 RC0 release

2024-04-14 Thread Alin Jerpelea
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  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 user39,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] []
>
> .   cp  exitmkdir   rmdir   umount
> [   cmp exprmkrdset unset
> ?   dirname false   mount   sleep   uptime
> alias   dd  fdinfo  mv  source  usleep
> unalias df  freepidof   testxd
> basenamedmesg   helpprintf  time
> break   echohexdump ps  true
> cat env killpwd truncate
> cd  execls  rm  uname
>
> Builtin Apps:
> nshsh
> 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 user39,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.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   : 0

Re: Install NuttX on Rockchip RK3568

2024-04-14 Thread Alan C. Assis
Hi Артём,

I think I missed this email, apologies for that!

I just found it today because I searched on the Internet for RK3568 and
NuttX!

Do you by chance think about the idea of running NuttX on Boyhom M17?

Best Regards,

Alan

On Wed, Mar 6, 2024 at 2:13 AM Артём Денушев 
wrote:

>
> Hello, we have a goal to put Nuts on a board with Rockchip RK3568 on
> board. Can you please tell me how to download to the Nuttx board. No good
> and detailed guides were found on the Internet. Is it also possible to
> download Nuttx via USB? Because this type of download is missing in make
> menuconfig.
>
> --
> Артём Детушев
> Отправлено из Почты  Mail.ru


Re: Problem with mmcsd

2024-04-14 Thread Alan C. Assis
Hi Ahmad,

Did you add support for your custom board correctly? This that come to my
mind:

1) Did you have configured and enabled the right source clock?
2) Did you have configured the right pins at
boards/arm/stm32f7/yourboard/include/board.h ?
3) Did you create a similar file like
boards/arm/stm32f7/nucleo-144/src/stm32_sdio.c to detect and initialize
your card?
or boards/arm/stm32h7/linum-stm32h753bi/src/stm32_sdmmc.c (although it is
STM32H7, it is very similar).
4) Did you enable all necessary configs to your board? It is similar what
we have to STM32H7 board:
boards/arm/stm32h7/linum-stm32h753bi/configs/sdcard/defconfig

Best regards,

Alan

On Sun, Apr 14, 2024 at 11:13 AM Ahmad Noori  wrote:

> Hi
>
> I have a custom board with stm32h743vit6
> I port nuttx to this board and i am using it.
> I have problem with mmcsd sdio and i cant mount sd card. I get error 19
> when mount sd card.
>
> I test my hardware with stm32cubeide and its ok.
>
> Please help me to solve this problem.
> Thank you
>


Re: Problem with mmcsd

2024-04-14 Thread Gregory Nutt

On 4/14/2024 7:02 AM, Ahmad Noori wrote:

Hi

I have a custom board with stm32h743vit6
I port nuttx to this board and i am using it.
I have problem with mmcsd sdio and i cant mount sd card. I get error 19
when mount sd card.

I test my hardware with stm32cubeide and its ok.

Please help me to solve this problem.
Thank you


In errno.h:

    92 #define ENODEV  19
    93 #define ENODEV_STR  "No such device"

The logic in drivers/mmcsd/mmcds_sdio.c reports ENODEV when there is no 
card detected in the slot (and possibly other reasons). First step is to 
find out which condition generates the ENODEV.




Problem with mmcsd

2024-04-14 Thread Ahmad Noori
Hi

I have a custom board with stm32h743vit6
I port nuttx to this board and i am using it.
I have problem with mmcsd sdio and i cant mount sd card. I get error 19
when mount sd card.

I test my hardware with stm32cubeide and its ok.

Please help me to solve this problem.
Thank you