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

James
2008-05-23T07:02:35Z

Hi Michael,

On Fri, 2008-05-23 at 08:48 +0200, michael wrote:
> How do you create the jffs2 image. Which parameters use with the
> mtd-utils?

I was using the one supplied from
ftp://www.linux4sam.org/pub/oe/deploy/glibc/images/at91sam9263ek/Angstrom-x11-image-demo-glibc.rootfs.jffs2

I built the Angstrom minimal system and tried the resulting jffs2 file
system from that too. Same problem.

I did try mkfs.jffs2 on the root file system produced in the Angstrom
minimal system build, but the result was the same. I don't recall the
precise command line args I used now.

> Did you try to start from a ramdisk, erase all, and mount it?

At the moment I've got a USB stick as root, with an ext3 fs on it, and
noatime/nodiratime options. At one stage I did erase the whole thing
and mount -tjffs2 /dev/mtdblock0 /mnt, writing and reading files died
there soon too.

> I'm using an at91san9260 board without any problems.

What kernel, patches and tool chain are you using?

Regards,
James.