Opening flash device for update - locking
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
Re: Opening flash device for update - support for SPI device
Quoted 11 lines · MikeW <mw_phil <at> yahoo.co.uk> writes:
A utility program cannot open a
/dev/mtdin modeO_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_RDONLYmode ?!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