[Yaffs] [Yaffs-archive] Alignement problem in yaffs_ObjectHeader on 68k platform

Daniel Haensse Daniel Haensse <haensse@swissembedded.com>
Fri, 20 Feb 2004 20:37:23 +0100


Hi list

we had the problem to mount the yaffs on an embedded system, it did get stuck 
on mount. After changing kernel debug level, we haven been able to see the 
following message:

yaffs_ObjectHeader should be 512 but is 510

yaffs_CheckStructures failed

after adding a short dummy at the end of yaffs_ObjectHeader in yaffs_guts.h

we can format a NAND flash and mount the chip.

Do you have any hint to solve this with a compiler option? We are using 
m68-elf-gcc for a 68vz328.

regards

Dani

---------------------------------------------------------------------------------------
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.