Re: let's discuss about the file system and nand flash driver

2020-03-12 Thread Gregory Nutt
2.FTL for FAT ? It’s very nice to use FAT and FTL. I know FAT has a index table to mapping logical and physical area. But there is one problem Where should I put it ? If you put it in Nand Then this area may ware out, if you put in ram then when should it be synced to Nand and how often is s

Re: let's discuss about the file system and nand flash driver

2020-03-10 Thread Schock, Johannes - NIVUS GmbH
Just for reference another nand FTL, I found it some time ago, but never tried it: https://github.com/dlbeer/dhara Johannes

Re: let's discuss about the file system and nand flash driver

2020-03-10 Thread Xiang Xiao
On Tue, Mar 10, 2020 at 11:48 PM wangxinyu...@163.com wrote: > > hello > > I want to discuss about the nand flash and filesystem support. I turned into > nuttx because > I have a linux background and RTOS like freertos is most likely a bare OS > kernel ,porting > exist things is annoying such a

Re: let's discuss about the file system and nand flash driver

2020-03-10 Thread Adam Feuer
Hi, NetBSD has a NAND flash file system (similar to JFFS2) that is BSD Licensed: https://en.wikipedia.org/wiki/CHFS https://wiki.netbsd.org/tutorials/using_the_nand_emulator_and_chfs/ NetBSD CHFS source code on GitHub

Re: let's discuss about the file system and nand flash driver

2020-03-10 Thread Gregory Nutt
b. Should I put the raw_nand method drivers/mtd/ or the board specific folder?I think I should put in the mtd folder for micron specific That depends on if the code is modular and reusable by other architectures or it depends on the unique properties of the board. The better design would be to