MTD problem

NGB ngbmoreau at yahoo.com.au
Wed May 5 03:23:52 EDT 2004


Hi 

I'm trying to get MTD to find the flash chip (28F128J3) on a EP9301 dev board.
so I can access the redboot partitions.

Redboot says:

RAM: 0x00000000-0x02000000, 0x00041c88-0x01fdd000 available
FLASH: 0x60000000 - 0x61000000, 128 blocks of 0x00020000 bytes each.

So I configured the kernel (2.4.21-rmk1-cirrus-1-2-1) like this:

CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_CONCAT=y
CONFIG_MTD_REDBOOT_PARTS=y
CONFIG_MTD_CMDLINE_PARTS=y
# CONFIG_MTD_AFS_PARTS is not set
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=y
CONFIG_MTD_JEDECPROBE=y
CONFIG_MTD_GEN_PROBE=y
# CONFIG_MTD_CFI_ADV_OPTIONS is not set
CONFIG_MTD_CFI_INTELEXT=y
CONFIG_MTD_CFI_AMDSTD=y
# CONFIG_MTD_CFI_STAA is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
CONFIG_MTD_OBSOLETE_CHIPS=y
CONFIG_MTD_AMDSTD=y
# CONFIG_MTD_SHARP is not set
CONFIG_MTD_JEDEC=y

#
# Mapping drivers for chip access
#
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_START=60000000
CONFIG_MTD_PHYSMAP_LEN=1000000
CONFIG_MTD_PHYSMAP_BUSWIDTH=2

But MTD still can't find the chips

physmap flash device: 1000000 at 60000000
CFI: Found no Physically mapped flash device at location zero

Any ideas ?

Thanks

Nic



-------------------------------------------------




More information about the linux-mtd mailing list