Skip to contentSkip to conversation

Patch for flash unlock

DISCUSSION Soma sundaram Veerappan 1 participant 1 message Aug 10, 2005 1 message not in the archive Memory technology devices (MTD)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Quoted 3 lines

If your flash is CFI compliant, the code is already in place. Depends on
the kind of flash that you are speaking of.

I am using Intel Strata Flash.

I have attached the mail response from another
mailing list for the Flash Erase problem.

Quoted 13 lines
Quoted 1 line

Erase at 0x00240000 failed immediately: -EROFS. Is

the

Quoted 1 line

sector locked?

You're probably using a flash chip that powers up with all blocks
locked, such as Intel K/L/P StrataFlash. What to do about these has
been discussed periodically on linux-mtd with no real conclusion. I'd
suggest booting from a cramfs partition (this is a good idea for other
reasons, avoiding jffs2 write/erase/gc activity from

Quoted 8 lines

interfering with
access to executables) and have startup scripts do a flash_unlock
/dev/mtd<x> prior to mounting your jffs2 partition. There are also
various patches that unlock all blocks at flash chip probe time, etc.
that can be searched on that list.

I tried mtd utility flash_unlock,but it didn't help.got error "Could not get MTD device info from /dev/mtd1".
But i could see the entry in /proc/mtd.

Regards,
Soma sundaram.V

____________________________________________________
Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to http://in.promos.yahoo.com/rakhi/index.html