Andrew Armstrong ha scritto:

Just a quick one, has anyone had any trouble issuing the ftl_format
command on the EVM to format the flash as described in spraaa0.pdf?

I am following the guide but have not managed to get the EVM booting
from NAND yet, is there some trick to this?

Have you managed to solve this? I have problems with ftl_format too. I've 
successfully copied the bootloader, I'm loading it from NAND and then boot 
successfully through TFTP/NTP. The kernel supports NAND (as described in 
spraaa0); I've also applied the patch to see three partitions on NAND:

[EMAIL PROTECTED]:~# ls /dev/mtd*
crw-rw----  1 root root 90, 0 Jan  1  2004 /dev/mtd0
crw-rw----  1 root root 90, 1 Jan  1  2004 /dev/mtd0ro
crw-rw----  1 root root 90, 2 Jan  1  2004 /dev/mtd1
crw-rw----  1 root root 90, 3 Jan  1  2004 /dev/mtd1ro
crw-rw----  1 root root 90, 4 Jan  1  2004 /dev/mtd2
crw-rw----  1 root root 90, 5 Jan  1  2004 /dev/mtd2ro
brw-rw----  1 root disk 31, 0 Jan  1  2004 /dev/mtdblock0
brw-rw----  1 root disk 31, 1 Jan  1  2004 /dev/mtdblock1
brw-rw----  1 root disk 31, 2 Jan  1  2004 /dev/mtdblock2

But when I try to format any of these three partitions, I get an error:

[EMAIL PROTECTED]:~# ftl_format /dev/mtd1
Partition size = 4 mb, erase unit size = 16 kb, 1 transfer units
Reserved 5%, formatted size = 3846656 bytes
Erasing all blocks...

block erase failed: Input/output error
format failed.



What am I missing?

Cheers, Lorenzo
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to