Unale to get MTD device info

Rahanesh rahanesh at tataelxsi.co.in
Mon Aug 24 01:23:06 EDT 2009


Hi all,

I have four mtdblocks in my flash .
mtdblock0 -> Primary bootloader
mtdblock1 -> uboot
mtdblock2 -> JFFS
mtdbloack3-> config

During Linux booting , it mounts mtdblock2 to a temp folder which can be 
seen as a part of ramdisk(root file system of linux)

Now from Linux i need to flash a new jffs image to mtdblock2 itself.

With the support from this mailing list i have copied mtd-utilities 
package into Linux. Now i have flash_eraseall and flash_cp commands.

But when i run flash_eraseall  i gett the following error


flash_eraseall: /dev/mtdblock1: *unable to get MTD device info

*Please help on this!!!!!!!

Thanks
Rahanesh






More information about the linux-mtd mailing list