Intel Strataflash

Stephane List stephane.list at lilotux.net
Wed Jan 29 11:14:57 EST 2003


Hi,

I'm using a 2.4.17 linux kernel for an embedded product.
On my card I've got 4 Intel Strataflash 16 bits / 16 Mbytes.

Flash 1 : 
-Chip Select : 0
-Data Bus connected on D0-D15 of my CPU

Flash 2 :
-Chip Select : 0
-Data Bus connected on D16-D31 of my CPU

Flash 3 and 4, same thing with Chip Select 1.


When I load the module I've got the following message :
"genprobe_new_chip called with unsupported buswidth 2"

Could you tell me if my .config is OK ?
Thanks

PS : I couldn't compile my kernel with the CVS code...

My .config has the following options :
#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=m
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=m
CONFIG_MTD_CFI_ADV_OPTIONS=y
CONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
CONFIG_MTD_CFI_GEOMETRY=y
# CONFIG_MTD_CFI_B1 is not set
# CONFIG_MTD_CFI_B2 is not set

#Because the data bus of the CPU is 4 bytes
CONFIG_MTD_CFI_B4=y

# CONFIG_MTD_CFI_B8 is not set
# CONFIG_MTD_CFI_I1 is not set

#Because There are 2 flashs connected on the same Data bus.
CONFIG_MTD_CFI_I2=y

# CONFIG_MTD_CFI_I4 is not set

#Because it's an Intel Strataflash
CONFIG_MTD_CFI_INTELEXT=m

# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_RAM is not set
CONFIG_MTD_ROM=m
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_OBSOLETE_CHIPS is not set
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_JEDEC is not set

#
# Mapping drivers for chip access
#
CONFIG_MTD_PHYSMAP=m
CONFIG_MTD_PHYSMAP_START=10000000
CONFIG_MTD_PHYSMAP_LEN=1FFFFFF

#Because my flash chip data bus is 2 bytes width
CONFIG_MTD_PHYSMAP_BUSWIDTH=2

# CONFIG_MTD_CSTM_MIPS_IXX is not set
# CONFIG_MTD_PB1000 is not set
# CONFIG_MTD_PB1500 is not set
# CONFIG_MTD_OCELOT is not set
# CONFIG_MTD_PCI is not set


-- 
Stephane List
http://slist.lilotux.net




More information about the linux-mtd mailing list