sector locks handling for J3 flashes?

alfred hitch alfred.hitch at gmail.com
Fri Jan 13 02:40:47 EST 2006


Hi Peter,

I have been trying to find the patch you have mentioned for whole day in vain.
Could you please point me to the correct path ?

I shall have to do back porting for it to 2.4. Will share the results
back to community if anyone is interested.

Regards,
Alfred

On 1/11/06, Peter Wippich <pewi at gw-instruments.de> wrote:
>
> Hi Alfred,
>
> the original MTD driver unlocks all flash sector during initialization.
> However, this is a lenghty operation. Took about 2..3 seconds, depending
> on flash size. Uli Luckas has supplied a patch which does "lazy"
> unlocking. Each time a write / erase operation fails it unlocks the sector
> and retries the operation. But this is only available for the latest 2.6
> kernel. You may have a look there and / or check Russel's patch history
> for the ARM linux kernel.
>
> Ciao,
>
> Peter
>
>
>
> On Wed, 11 Jan 2006, alfred hitch wrote:
>
> > Hi,
> >
> > I am trying to understand how it works for flash'es which have
> > Hardware flash protection.
> > Bootloader say locks say 1 partition, then linux kernel / MTD while coming up
> > reads / probes flash (sector by sector) for locked sectors ?
> > If yes, and it maintain this in an internal software structure. Using
> > it when writes to partitions is done ?
> >
> > I hope linux kernel arm-linux2.4.25-x (snapgear 3.1) has support for
> > ixdp425 and Intel J3 Strata flash for automatic detection and working
> > with locked flashes ?
> >
> > Any one already tried this ?
> >
> > Regards,
> > Alfred
> >
> > ______________________________________________________
> > Linux MTD discussion mailing list
> > http://lists.infradead.org/mailman/listinfo/linux-mtd/
> >
>
> |       Peter Wippich                   Voice: +49 30 46776411          |
> |       G&W Instruments GmbH            fax:   +49 30 46776419          |
> |       Gustav-Meyer-Allee 25, Geb. 12  Email: pewi at gw-instruments.de   |
> |       D-13355 Berlin  / Germany                                       |
>
>
>




More information about the linux-mtd mailing list