|
Hi,
Has anyone successfully used JFFS2 on an 8-bits NANd Flash (2Gbits) from ST Micro on AT91SAM9261 ?
I have used U-boot to erase and write JFFS2 filesystem into the NAND flash and everything appears fine (verify with nand dump to screen).
However, when the Linux kernel starts (when assigned to use the NAND for root filesystem), I see a errors such as "Magic bitmask 0x1985 missing ....".
With that, I use a portion of my NOR flash (where U-boot and kernel is stored) for a minimal filesystem and start the kernel.
After starting, I use nanddump function (mtd utilities) to dump the contents of NAND to flash. To my surprise, I noted that the first 3 bytes of data were "0x85 0x85 0x19" instead of "0x85 0x19" (which I saw in U-boot).
Does anyone has any advise on the possible causes of the problem, or anyone can advise what can I check or modify in the code.
Appreciate any help given.
I am using Kernal 2.6.23.
Thanks in advance.
|