-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, November 06, 2006 8:18 PM
To: [email protected]
Subject: Using the MTD utilities
Hi all,
I am trying to change the NOR flash contents from the target Linux environment using the utilities : flash_erase , flashcp, flash_lock, ftl_format etc that are provided in the hard disk…
My kernel properly recognizes the NOR flash and makes all the necessary partitions. I can write jffs2 images to flash using uboot and mount them successfully to Linux kernel. The problem is that when I am trying to use the MTD utilities in Linux (in order to write a new image to flash) I get errors like:
./flash_erase /dev/mtd4
MTD Erase failure: Input/output error./ftl_format /dev/mtd8
block erase failed: Input/output error./ftl_check /dev/mtd8
Memory region info:
Region size = 5 mb Erase block size = 64 kb
No valid erase unit headers!
Has anyone ever managed to use these utilities? Any idea of what is going wrong?
Any help will be appreciated.
Thanks,
Kostas
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
