Hi,
I started using YAFFS on an embedded device about 2 weeks ago. It has
gone smoothly except for a few small problems. Can anyone provide
advice on some issues I've had?
I've got the YAFFS driver working on our kernel (PPC linux 2.4.21-pre2).
I've mounted a YAFFS partition, used the utilities to format the
partition, copied a root filesystem to the partition and booted the root
filesystem from that partition.
I've also tried the mkyaffsimage utility but have not had any success
using that yet. I think that I might have endian problems (use x86
mkyaffsimage to build the filesystem). The device itself is big endian
(PPC 405EP embedded processor). Has anyone had the YAFFS code working
on a big endian platform?
At this point I'm trying to write code in the bootloader to flash a
YAFFS filesystem to a NAND partition. I've looked at the image produced
by mkyaffsimage. It appears to be of the following format:
+-----------------+
+ +
+ 512 bytes +
+ IN band +
+ +
+-----------------+
+ 16 bytes OOB +
+-----------------+
I haven't found any documentation on what is needed to integrate the
YAFFS support (just flashing the filesystem), into the bootloader.
Using an image created by mkyaffsimage can I do the following: Can I
write the pages/blocks out of order? Is there any modifications
required to the OOB or will a straight copy of the pages/blocks and OOB
into the NAND flash work?
Regards,
Chris Sperandeo
---------------------------------------------------------------------------------------
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.