utilities for mtd
Hi,
I am using a the mtd code from the 2.4.20 kernel. how/where do I get the corresponding utilities such as flash_erase, flash_lock etc... I grabbed a random version of them somewhere and it didn't seem to work.. for one the flash_erase program calls an ioctl "MEMGETREGIONCOUNT" and my kernel returned:
in appropriate ioctl for this device....
any help is appreciated.
thanks
C Michael Sundius
Solico Group LLC
232 Nevada St
San Francisco, CA 94110
[email protected]
(415)608-0121
Hi,
I think you must have tried flash_erase on a block device (/dec/mtdblock0) but flash_erase will work only for Char Device. So you can create a char MTD device by giving below commands.
mknod /dev/mtd0 c 90 0
Now try the flash_erase command, it should work.
Regds
Niraj
Quoted 26 lines · C. Michael Sundius
Hi,
I am using a the mtd code from the 2.4.20 kernel. how/where do I get the corresponding utilities
such asflash_erase,flash_locketc... I grabbed a random version of them somewhere and it
didn't seem to work.. for one theflash_eraseprogram calls an ioctl "MEMGETREGIONCOUNT"
and my kernel returned:
in appropriate ioctl for this device....any help is appreciated.
thanks
C Michael Sundius
Solico Group LLC
232 Nevada St
San Francisco, CA 94110
[email protected]
(415)608-0121______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/