[ANNOUNCE] Apache NuttX 12.7.0 released

2024-10-29 Thread Alin Jerpelea
The Apache NuttX project team is proud to announce that Apache NuttX 12.7.0 has been released. The release artifacts and Release Notes can be found at: https://nuttx.apache.org/download/ https://nuttx.apache.org/releases/12.7.0/ Thanks, Alin Jerpelea on behalf of Apache NuttX PPMC

Re: Re: Power safe file systems for NuttX

2024-10-29 Thread Xiang Xiao
On Wed, Oct 30, 2024 at 11:33 AM Matteo Golin wrote: > Hi Alan, > > This makes sense, but I guess the SD card must be formatted in advance for > the "parse_block_partition" to detect and register the partitions as > "/dev/mmcsd0p0" and "/dev/mmcsd0p1"? In my use case I was hoping to have > this w

Re: Power safe file systems for NuttX

2024-10-29 Thread Gregory Nutt
Samsung did add journaling support to SmartFs in their fork of NuttX:  https://github.com/Samsung/TizenRT/tree/master/os  . The Samsung fork is Apache 2.0 Porting that journaling support might be one lower effort way to improve power safety with SmartFS (which already supports wear leveling an

Re: Re: Power safe file systems for NuttX

2024-10-29 Thread Matteo Golin
Hi Alan, This makes sense, but I guess the SD card must be formatted in advance for the "parse_block_partition" to detect and register the partitions as "/dev/mmcsd0p0" and "/dev/mmcsd0p1"? In my use case I was hoping to have this work on a blank SD card. I was hoping to format a completely unfor

[RESULT] [VOTE] Release Apache NuttX 12.7.0 [RC1]

2024-10-29 Thread Alin Jerpelea
Hi all, The vote to release Apache NuttX 12.7.0-RC1 is now closed. Thanks to those that took the time to review and vote. The release has passed with 4 +1 (binding) votes, 1 +1 (Non binding vote) and no 0 or -1 votes. Binding: +1 Lup Yuen Lee +1 Roberto Bucher +1 Tomek CEDRO +1 Alin Jerpelea No

Sv: [VOTE] Apache NuttX 12.7.0 RC1 release

2024-10-29 Thread alin.jerpe...@sony.com
I will close the vote with my +1 tested on spresense Från: Alan C. Assis Skickat: den 28 oktober 2024 16:27 Till: dev@nuttx.apache.org Ämne: Re: [VOTE] Apache NuttX 12.7.0 RC1 release This is the correct link: https: //urldefense. com/v3/__https: //acassis.  wor

Re: FAT FS on mtd partition of NOR flash

2024-10-29 Thread Tomek CEDRO
That depends on what partition schema do you use. If MBR then first 512 bytes are the partition table and the boot code (like on PC), there is a limit of 4 partitions (that on PC was solved by makind "extended partition" and then first 512 bytes of that partition enabled another partitions). GPT fo

Re: Re: Power safe file systems for NuttX

2024-10-29 Thread Alan C. Assis
Hi Matteo, If the /dev/mmc0pX were created you can format it from the NSH> command line. BR, Alan On Tue, Oct 29, 2024 at 6:17 PM Matteo Golin wrote: > While we try to get that working, this would require that the SD card be > formatted in advance, right? I would imagine we could possibly pre

Re: Re: Power safe file systems for NuttX

2024-10-29 Thread Matteo Golin
While we try to get that working, this would require that the SD card be formatted in advance, right? I would imagine we could possibly pre-format two FAT partitions, load both partitions and then re-format one of them to be littlefs (since littlefs formatting from a host computer is non-trivial as

FAT FS on mtd partition of NOR flash

2024-10-29 Thread Tim Hardisty
Whilst FAT on a NOR flash may generally be seen a not such a great idea...please ignore that and confirm if... ...I am right in deducing that I can't simply make a FAT file system on (say) the third mtd partition (with 512 byte sector emulation) (partitions 0, 1 and 2 are "raw" data) since FAT

Re: [Article] Your very own Build Farm for NuttX

2024-10-29 Thread Alan C. Assis
Alin, maybe we need to add READONLY in the ldscript: https://stackoverflow.com/questions/73429929/gnu-linker-elf-has-a-load-segment-with-rwx-permissions-embedded-arm-project BR, Alan On Mon, Oct 28, 2024 at 5:42 AM Alin Jerpelea wrote: > Hi all, > > is anyone aware of this warning ? > riscv-n

Re: [Article] Your very own Build Farm for NuttX

2024-10-29 Thread Nathan Hartman
On Mon, Oct 28, 2024 at 4:42 AM Alin Jerpelea wrote: > Hi all, > > is anyone aware of this warning ? > riscv-none-elf-ld: warning: /nuttx/nuttx has a LOAD segment with RWX > permissions > > Best regards > Alin That looks like it should be added as a bug in the issue tracker. Cheers, Nathan

Re: What is the right way to add PM to esp32c6

2024-10-29 Thread Felipe Moura Oliveira
Hello Tiago. Please look de draft here: https://github.com/apache/nuttx/pull/14548 This branch will refer to the updated 3rd-party in my repo. You only need to enable PM in menuconfig and it will be enough to see changes. Em ter., 29 de out. de 2024 às 13:10, Tiago Medicci Serrano < tiago.medi.

Re: What is the right way to add PM to esp32c6

2024-10-29 Thread Tiago Medicci Serrano
Hi Felipe, Can you share your PR as a draft on GH to make it easier to check the files (and the build process)? Em ter., 29 de out. de 2024 às 12:41, Felipe Moura Oliveira < moura@gmail.com> escreveu: > Hello Tiago, > > I "finished" the port, but after it my esp32c6 dev kit is resetting. May

Re: What is the right way to add PM to esp32c6

2024-10-29 Thread Felipe Moura Oliveira
Hello Tiago, I "finished" the port, but after it my esp32c6 dev kit is resetting. Maybe the issue is related my changes in boards/risc-v/esp32c6/common/scripts/esp32c6_sections.ld. Can you give some tips about how to go ahead? Below you can see nuttx report: Build:Sep 19 2022 rst:0x7 (TG0_WDT_HPS

Re: What is the right way to add PM to esp32c6

2024-10-29 Thread Felipe Moura Oliveira
Hello everyone, I was able to solve linker issues, editing the linker by myself. I need to finish more than one build issue before testing it, so I will see if I made the right changes in linker. Em seg., 28 de out. de 2024 às 16:01, Felipe Moura Oliveira < moura@gmail.com> escreveu: > *Hell