Re: GSoC Final Report on mnemofs

2024-10-03 Thread Alan C. Assis
AFAIK the AI bot is used only to help identify things that are missing in the PR, so it avoids asking users again and again to fill the Summary, etc. BTW, I don't think simple things like that need Apache or PMC approval. It is an open-source project after all and contributions are welcome! But

Re: GSoC Final Report on mnemofs

2024-10-03 Thread Sebastien Lorquet
Hi, I am now the owner of 4 Micron NAND chips and I am at the disposal of NuttX developers who want to test code to drive and use them. Tomek: It doesnt change a damn thing. If LLM are used to make up for contributor laziness that's even worse. You'll get unreliable slop when the proper thi

Re: GSoC Final Report on mnemofs

2024-10-01 Thread Sebastien Lorquet
Hello, The following NAND flash chips have been ordered today: MT29F2G01ABAGDWB-IT:G MT29F1G01ABAFDWB-IT:F MT29F4G01ABAFDWB-IT:F I have selected these references because, they are bg and potentially useful, and the 2Gbit chip seems to have a different memory layout. I will not be able t

Re: GSoC Final Report on mnemofs

2024-10-01 Thread Tomek CEDRO
On Tue, Oct 1, 2024 at 10:28 AM Sebastien Lorquet wrote: > (..) > I will not be able to write new code. Specifically if it's now AI reviewed. Sebastien the code is not reviewed by the AI it only provides initial feedback on the PR and commit descriptions something we are constantly repeating and

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

Re: GSoC Final Report on mnemofs

2024-09-12 Thread Tomek CEDRO
On Thu, Sep 12, 2024 at 5:49 PM Saurav Pal wrote: > Hi all, > Here's my final report > on mnemofs, a NAND flash file system for NuttX, on which I worked during my > tenure as a GSoC 2024 Contributor for ASF. I would be grateful for any > suggestio

Re: GSoC Final Report on mnemofs

2024-09-12 Thread Alan C. Assis
Hi Saurav, Congratulations for your great work! Everyone, please take a look at Saurav report and if you can: run the mnemofs SIM NAND example. Now we need to test it in a real device (we don't have any NAND driver yet), maybe we can start using MnemoFS with SPI NOR Flash. Any help is appreciat