[Yaffs-archive] Pecularities in directory after remount

Christian Gan cgan@iders.ca
Tue, 20 Aug 2002 16:47:21 -0500


Hey all,

I'm new to the list so don't mind me if I'm just repeating something that's
been said already but... here goes:

Equipment:

Custom ARM720 core SBC running Linux (2.4.6), MTD is upgraded to newest
version.
Toshiba 16MB NAND flash w/ HW ECC (through custom FPGA design).

Question 1:

I managed to get the MTD and yaffs working after tweaking both to match our
interface to the NAND (via the FPGA).

Here's the breakdown:
1.  Copy a file onto the yaffs directory.
2.  Delete it.
3.  Copy another file into the directory with the same name.
4.  Reboot and remount the yaffs directory.

What I sometimes find now is that the file is there but the size is 0.
Anyone else see this?

Question 2:

I also find that when I keep copying files into the directory until it is
full, the last copy will be stuck in an infinite loop.

Thanks,

Christian Gan


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.