Opening flash device for update - support for SPI device

MikeW mw_phil at yahoo.co.uk
Wed May 16 09:52:47 EDT 2007


MikeW <mw_phil <at> yahoo.co.uk> writes:

> 
> A utility program cannot open a /dev/mtd  in mode O_RDWR - permission denied
> (/dev permission bits are OK)
> 
> Presumably this is because the device is locked.
> 
> OK, there is a MEMUNLOCK ioctl - hopefully this can be called
> on a device that is only opened in O_RDONLY mode ?!
> 
> Regards,
> MikeW

Having checked MEMINFO flags=0x04, type=0x0E, I now realise that this device
(ST M25P32) may not be well-supported by MTD, and does not appear to be
writeable using our current MTD driver.

Regards,
MikeW





More information about the linux-mtd mailing list