> ioctl(MEMUNLOCK) on /dev/mtdX character device. > > If this is the silly chip that automatically locks every time > you power cycle it, then perhaps we ought to be unlocking the > whole thing when we detect it. It is. I have a patch in my tree that unlocks the flash in my mapping driver (sa1100), but perhaps it ought to be generalized a bit. -ch