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

2020-03-12 Thread wxy
Hi Greg I totally agree with you. I'll save the hints here and see what I can do. At 2020-03-12 21:05:41, "Gregory Nutt" wrote: > >> 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 Whe

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:Re: let's discuss about the file system and nand flash driver

2020-03-12 Thread wxy
Hi Thanks Greg and other developers in this community, lots of valuable information to me I'd like to have some more detail explanation and my thought to share with you.Correct me if I'm wrong. 1.Why I didn’t choose smartfs or littlefs for nand? I find these filesystems are all designed or

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

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

2020-03-10 Thread wangxinyu...@163.com
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 as filesystem and POSIX interface etc. Some introduction of my situation