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

Alessandro Rubini
2008-05-23T07:03:51Z

> The NAND flash was erased and root jffs2 image written using the SAM-BA
> utility

This is likely the source of problems. The crc layout used by sam-ba
may well be different from what mtd uses.

I had tons of problems with the 9260 when programming the nand flash
from sam-ba, and I only programmed u-boot (writing all the rest from
u-boot or linux). I never had problem with 9263-ek, as long as I
didn't write linux stuff from sam-ba.

So you should only write the boot code with sam-ba, and write your
kernel and filesystem from either u-boot or linux. You'll probably
want to erase and re-program the boot loader from itself, to get rid
of remaining wrong sam-ba bits.

hope this helps
/alessandro