Lock utility in MTD util directory.
Hi,
how can i use the lock utiliry in the MTD/util directory.
Has any one had success in using it. Can i use the unlock utility to reverse back to the configuration.
thanks and regards
ashok
begin:vcard
n:.m.padmanabhan;ashok
tel;work:5281461/5281229 ext 3096
x-mozilla-html:FALSE
org:sasken communication technologies ltd;internt access solutions version:2.1
email;internet:[email protected]
title:software engineer
adr;quoted-printable:;;3008,12 th B cross,=0D=0Aindranagar ;banglore;;;india
x-mozilla-cpt:;0
fn:ashok .m.padmanabhan
end:vcard
Quoted 1 line · Ashok M Padmanaban
how can i use the lock utiliry in the MTD/util directory.
I have to run the unlock command manually before mounting jffs2. Something like "unlock /dev/mtd0". Kernel needs to have the MTD character device configured and the corresponding chip driver needs to have lock/unlock functions implemented. Whether sectors are locked after power on depends on the chip. The reverse works also: "lock /dev/mtd0 0 -1" would lock all sectors.
Regards,
Jarkko Lavinen