Skip to contentSkip to conversation

Intel Extended Command set in 8x mode

DISCUSSION David Vrabel 3 participants 4 messages Jul 21, 2000 – Jul 25, 2000 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

I have a board with an Intel StrataFlash 28F640 on it. Having written a map driver the CFI probe code detects the chip. However it appears that the Intel Extended Command Set code is only for chips in 16x mode not 8x mode which this chip is in. Is this the case? If so how can I get it to work? Do I need to write a whole new thing like cfi_cmdset_0001.c for 8x mode?

Also, JFFS won't compile. I'm using kernel 2.2.16 and the put-module-symbol patch has been applied and I'm building it outside the kernel tree.

David Vrabel

To unsubscribe, send "unsubscribe mtd" to [email protected]

#1 lore raw
Quoted 8 lines · David Vrabel

Hi,

I have a board with an Intel StrataFlash 28F640 on it. Having written a map driver the CFI probe code detects the chip. However it appears that the Intel Extended Command Set code is only for chips in 16x mode not 8x mode which this chip is in. Is this the case? If so how can I get it to work? Do I need to write a whole new thing like cfi_cmdset_0001.c for 8x mode?

You need to provide the 2_by_8 versions of the access functions. It doesn't really need to be a separate file.

Quoted 3 lines

Also, JFFS won't compile. I'm using kernel 2.2.16 and the put-module-symbol patch has been applied and I'm building it outside the kernel tree.

-ENOTENOUGHINFO

--
dwmw2

To unsubscribe, send "unsubscribe mtd" to [email protected]

#2 lore raw
Quoted 10 lines · David Woodhouse
Quoted 7 lines · David Vrabel

I have a board with an Intel StrataFlash 28F640 on it. Having written a map driver the CFI probe code detects the chip. However it appears that the Intel Extended Command Set code is only for chips in 16x mode not 8x mode which this chip is in. Is this the case? If so how can I get it to work? Do I need to write a whole new thing like cfi_cmdset_0001.c for 8x mode?

Quoted 2 lines

You need to provide the 2_by_8 versions of the access functions. It doesn't really need to be a separate file.

2_by_8? What is the first number supposed to mean?

David Vrabel

To unsubscribe, send "unsubscribe mtd" to [email protected]

#3 lore raw
Quoted 1 line · [email protected] said:

2_by_8? What is the first number supposed to mean?

The number of chips which are interleaved together. The second number is obviously the width of each chip. Hopefully, the two multiplied together match the bus_width parameter of the 'map'.

--
dwmw2

To unsubscribe, send "unsubscribe mtd" to [email protected]