public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Need help understanding cfi_probe and cfi_cmdset_0002
@ 2001-11-06  0:37 jglennon
  2001-11-06  7:27 ` David Woodhouse
  0 siblings, 1 reply; 18+ messages in thread
From: jglennon @ 2001-11-06  0:37 UTC (permalink / raw)
  To: linux-mtd

I find that qry_present is failing on MVME5100

target board:   Motorola MVME5100, CPU=MPC750
                FLASH = 4x AMD29D323D, is CFI.

kernel:  2.4.2 (Hard Hat Linux 2.0)
MTD:     CVS download of about Tuesday (10/30/01)

I do not see how to "make it" do cfi_cmdset_0002 (amdstd CFI) stuff.
It goes through gen_probe, and since it didn't correctly put chips into CFI
query mode, the qry_present fails.


It appears like the command to enter CFI Query mode not working; subsequent
cfi_reads return "normal" flash data, I think.  So qry_present returns 1.

I say it looks like normal FLASH contents because I see the stuff cfi_read
returns when I use PPC_BUG6> m 0xF4000000 and scroll on down to ...80 which
is 0x10 * osf.

I am likely missing something basic.  Like incorrect xconfig settings!
Help appreciated!

Enclosed is .config.
Thank you!

Joe Glennon
GET Engineering
San Diego CA
---------------------
.config:
(deleted down to MTD stuff...)
#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=3
# CONFIG_MTD_PARTITIONS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
# CONFIG_MTD_BLOCK is not set
# CONFIG_MTD_BLOCK_RO is not set
# CONFIG_FTL is not set
# CONFIG_NFTL is not set

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=y
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=y
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
CONFIG_MTD_CFI_B4=y
# CONFIG_MTD_CFI_I1 is not set
# CONFIG_MTD_CFI_I2 is not set
CONFIG_MTD_CFI_I4=y
# CONFIG_MTD_CFI_INTELEXT is not set
CONFIG_MTD_CFI_AMDSTD=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_OBSOLETE_CHIPS is not set

#
# Mapping drivers for chip access
#
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_START=0xF4000000
CONFIG_MTD_PHYSMAP_LEN=0x1000000
CONFIG_MTD_PHYSMAP_BUSWIDTH=4
# CONFIG_MTD_TQM8XXL is not set
# CONFIG_MTD_RPXLITE is not set
# CONFIG_MTD_CFI_FLAGADM is not set
# CONFIG_MTD_PCI is not set

 --(No self-contained configured...)
 --(No DOC configured...)

# CONFIG_MTD_NAND is not set
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y

(deletions)


#
# File systems
#
# CONFIG_JFFS_FS is not set
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=3
# CONFIG_CRAMFS is not set
# CONFIG_RAMFS is not set
CONFIG_ISO9660_FS=y
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y



______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2001-11-13 13:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-06  0:37 Need help understanding cfi_probe and cfi_cmdset_0002 jglennon
2001-11-06  7:27 ` David Woodhouse
2001-11-06 11:40   ` mkfs.jffs2 propsal and a question about burst reads Joakim Tjernlund
2001-11-06 12:13     ` Jörn Engel
2001-11-06 13:06       ` Michael Rothwell
2001-11-06 14:07         ` Jörn Engel
2001-11-07  4:07           ` Bjorn Wesen
2001-11-07 12:37             ` Jörn Engel
2001-11-08  2:12               ` journaling Bjorn Wesen
2001-11-08 13:06                 ` journaling Jörn Engel
2001-11-13 16:12                   ` journaling Bjorn Wesen
2001-11-06 13:22       ` mkfs.jffs2 propsal and a question about burst reads David Woodhouse
2001-11-06 13:20     ` David Woodhouse
2001-11-06 13:45       ` Joakim Tjernlund
2001-11-06 14:03     ` Johan Adolfsson
2001-11-06 14:21       ` Jörn Engel
2001-11-06 14:31         ` Johan Adolfsson
2001-11-06 14:38           ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox