[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] CFI Flash on 8bit bus?



Hi everyone,

I have been struggling with flash for the last few days, and I'm at my wit's
end.

I have configured mtd to use Intel flash and to use 8bit bus width.

During boot I get the following message:

[snip]
physmap flash device: 1000000 at 24000000
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x20000,blocks=128
Using buffer write method
physmap: no partition info available, registering whole flash at once [snip]

That tells me that it did detect the chip, as its block size is
0x20000(128KB) and it has 128 blocks for a total of 16MB.

But when I try and format(or dd) it I get the following:

[snip]
# ftl_format /dev/mtd0
Partition size = 16 mb, erase unit size = 128 kb, 1 transfer units Reserved
5%, formatted size = 15631872 bytes Erasing all blocks...
Chip reports improper command sequence: status 0x7000000000

block erase failed: Input/output error
format failed.
[snip]

The only thing that I can think of is that mtd is accessing it as something
other than 8 bit mode thus sending erroneous blank commands during the erase
command sequence. And why is 0x7000000000 a 40 bit number?

Thanx,
Errol


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/