Hi All,
I have ported the yaffs2 file system to Threadx OS. The nand flash used is of size 256 mb.
I am able to mount, create the files, directories, file read, write,dump etc and unmount it.
After unmount, again able to mount it and it restores from checkpoint succesfully.In the second time if i try to create the files of size greater than the block size (i.e) exceeding the current block and moving to next block(seems
like checkpointed block).In that case it is skipping the checkpointed block and continue its writing in the next block with messages in the console
"Block was not erased, yaffs write require 2 attempts" and file created in flash.and after that unmount is done at last...
Third time,during mounting, some error messages are seen in the console and entire file system gets corrupted.
Checkpoint block count wrong dev 1 count 0
Erased block count wrong dev 975 count 976
Freechunks verification failure 63823 63887 -64
yaffs: restored from checkpoint
Freechunks verification failure 63823 63887 -64
Could anyone please help me out in solving this issue. Any suggestions are welcome.
Thanks,
Dhivya
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------