Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Xiang Xiao
On Wed, Oct 30, 2024 at 2:00 AM Tim Hardisty wrote: > 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

Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Nathan Hartman
On Thu, Oct 31, 2024 at 2:51 PM Alan C. Assis wrote: > Hi Tim, > > It would be nice if you can write down the steps you took, if you have a > blog to document it. Or put it directly in NuttX's Documentation. It will be helpful for others! Maybe a document about "How To Use File Systems" with

Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Tim Hardisty
But it’s not really a guide on a specific topic (such as creating a custom board). It’s a collection of things that achieve a specific set of functionalities for a unique purpose, from which others might get inspiration or clues to help them? > On 31 Oct 2024, at 20:25, Alan C. Assis wrote: >

Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Alan C. Assis
You can put it here: https://nuttx.apache.org/docs/latest/guides/index.html On Thu, Oct 31, 2024 at 4:57 PM Tim Hardisty wrote: > Is there a documentation section that might be good for mini case-studies? > I can imagine this being a place for a “mini-blog” that are happy to share > but don’t h

Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Tim Hardisty
Is there a documentation section that might be good for mini case-studies? I can imagine this being a place for a “mini-blog” that are happy to share but don’t have our own blog? Perhaps 100’s of personal blogs is not a good place for information: it should be in one place I think?) > On 31 Oct

Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Alan C. Assis
Hi Nathan, True! And using Flash + Partitions + different FS + MCUBoot + USB MSC is something that could help other people to implement their solution. BR, Alan On Thu, Oct 31, 2024 at 4:36 PM Nathan Hartman wrote: > On Thu, Oct 31, 2024 at 2:51 PM Alan C. Assis wrote: > > > Hi Tim, > > > >

Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Tim Hardisty
Totally happy to add to documentation and/or guides. Once I have what I’m doing working I can post here again with a summary of what I did - and why - and seek suggestions on what would be a guide and what would be better in documentation. It also looks like the s512_initialize function is depre

Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Tim Hardisty
Alan - the reasoning was explained earlier in this conversation, but I will summarize once I have it 100% working with multiple partitions, USBMSD, MCUboot etc. As an aside I will take a look at other QSPI drivers as they may have the same problem as I found with the write status flag (not surp

Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Alan C. Assis
Hi Tim, It would be nice if you can write down the steps you took, if you have a blog to document it. Why do you need a partition with LittleFS and another with FAT with USB Mass Storage? Do you want to copy the file from computer to board to firmware update or just to copy logs and other files

Re: NuttX Dashboard for Build Farm

2024-10-31 Thread Tomek CEDRO
CONGRATULATIONS LUP AND BIG THANK YOU FOR SAVING OUR CI!!! :-) We have nuttx.org and nuttx.com domains (owned by Greg) that I control so we can create a nice subdomain and add the link on our official website. Domains redirect to nuttx.apache.org but we can create a dedicated services subdomains a

Re: FAT FS on mtd partition of NOR flash

2024-10-31 Thread Tim Hardisty
I have got this working - the only problem I had was a bug in the QSPI NOR flash driver (GigaDevice GD55 series) I am writing in parallel to allow for what I want. I missed something in the datasheet whereby if you send >256 bytes in a single write sequence, it will overwrite the first 256 byt