Re: Help needed with MTD on AT91SAM9263-EK please.

michael
2008-05-23T06:49:06Z

Hi
James wrote:
> Hi Richard,
>
> On Fri, 2008-05-23 at 08:26 +0200, Richard Genoud wrote:
>
>> I didn't have those kind of problems with the sam9263-ek
>> have you tried to erase the device, mount it with jffs2 or yaffs2,
>> write a file, unmount, mount and read back the file ?
>>
>
> Yup. I have used the examples from linux4sam.org, which use a jffs2
> file system.
>
> The NAND flash was erased and root jffs2 image written using the SAM-BA
> utility, then boot the kernel to use this as its rootfs. It mounts ok
> to begin with, then I get heaps of jffs2 warnings and finally a kernel
> bug, I think at fs/jffs2/file.c:251 (I don't have the system here at
> home.)
>
>
How do you create the jffs2 image. Which parameters use with the
mtd-utils?
Did you try to start from a ramdisk, erase all, and mount it?

I'm using an at91san9260 board without any problems.

Regards Michael