This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[OMAP-L138] NAND "persistent" Write problem

Other Parts Discussed in Thread: OMAP-L138

Hi everyone,

 

Here's my problem in a short description:

     I can mount a NAND flash with yaffs2 : mount -t yaffs2 /dev/mtdblock7 /mnt/nand

     I can then write something in /mnt/nand without any problem.

     If I umount /mnt/nand and then remount it, theres is nothing in my folder /mnt/nand, everything is gone.

     -> So im not able to get a persistent write on a NAND flash. This NAND flash will be used only to store some large data(movies, manual in pdf, etc...)

 

Now here's my setup:

     Im using an OMAP-L138 EVM. It has a SOM with a OMAP-L138, a baseboard with some peripheral and a UI board with a NAND and a NOR flash.

     Right now Im booting from my NOR flash, but I can also boot from NFS with the same result.

     I did a flash_eraseall on /dev/mtdblock7 before mounting. I did had some error(bad block) at first but after a couple of mount, umount, erase, it seems there gone.

 

Has anyone had any trouble writing persistent data in a NAND flash?

 

Thanks and best regards,

Jerome Baron