cfi 0001

Josh Boyer jwboyer at gmail.com
Tue Mar 21 08:01:11 EST 2006


On 3/21/06, Tomas <Tomas2003 at home.se> wrote:
> Hi,
>
> There are 2 things that I didn't expect:
>
> First that the flash allways seems to be in non-readable
> state after a write. It will not change state until a read
> is performed. This might be by design for performance?
> The cfi-driver uses the buffered write and then
> returns. Next time the cfi-driver is called it checks
> if the operation done before was completed
> and issue the current task?

This has been like that forever.  We added the hack David described
earlier to force the chip back into read array mode after a write or
erase.  But it's not 100% safe.

> The second thing is that it whole flash is put
> into a non-readable state in a write operation.
> I have partition the flash in several partition
> by using physmap. I don't know how the cfi flash
> works but shoudn't it be possible to work on sector basis?

No, it's not.  That isn't how NOR flash works.  And partitions created
with physmap are purely a software mechanism.

josh




More information about the linux-mtd mailing list