Re: GSoC Final Report on mnemofs

2024-09-13 Thread Sebastien Lorquet
Hello, Thank you for the additional information, of course I understand the gsoc had to be completed in a limited time, and the current code is a prototype. I think it will be cool if we manage to make it production quality for all users of the nuttx codebase. I will probably send my farne

Re: GSoC Final Report on mnemofs

2024-09-13 Thread Saurav Pal
Hi all, Thank you for the feedback and support. Sebastien: Thanks for the valuable points you have mentioned. Out of them, there are some points that have been considered while designing this, and there are some that can be used to improve it. Theoretically, power loss should not be a problem. H

Re: GSoC Final Report on mnemofs

2024-09-13 Thread Sebastien Lorquet
Hi, Yes before we claim having a power cut resilient FS , it has to be tested on real hardware. It will also be the occasion to actually fire-proof littlefs, because I have no idea if that was ever done before. We suggested the idea in a littlefs github issue but it got nowhere IIRC. Sebas

Re: GSoC Final Report on mnemofs

2024-09-13 Thread Sebastien Lorquet
Hi, No idea, Tomek! flash works by storing charge (electrons) in a floating gate, like you fill a bottle with water. Empty (erased) bottle means one and above a certain level it becomes zero. Problem is, the bottle material has a temperature coefficient so it becomes larger when hot. My fe

Re: GSoC Final Report on mnemofs

2024-09-13 Thread Alan C. Assis
Hi Tomek, I think it is possible to modify the NAND Simulator to help testing partial writes and induced errors. But I agree with Sebastien that it is better to test in real hardware. Since the MnemoFS already works in the simulator we can get the initial version working in any flash, even SPI N

Re: GSoC Final Report on mnemofs

2024-09-13 Thread Alan C. Assis
Hi Sebastien, Thank you for your helpful considerations. As I explained before he used the SIM NAND Simulator that he created and integrated on NuttX. Also as I explained in my previous email, we need help to test in real hardware. Since you have previous experience with NAND Flash, maybe you c

Re: GSoC Final Report on mnemofs

2024-09-13 Thread Sebastien Lorquet
Hello This is quite a complete report with a lot of details, this shows that you have put some large amount of mental energy in this project, so congratulations and thank you. What I'm about to write is not a critic but a complement that may interest you. Since I've worked with critical