public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Graham Keeling <graham@equiinet.com>
To: linux-mtd@lists.infradead.org
Subject: MTD newbie trying to use AM29F016B
Date: Thu, 2 Sep 2004 16:57:47 +0100	[thread overview]
Message-ID: <20040902155747.GA9201@invader.dev.equiinet.com> (raw)

Hello,
I am trying to get access (using Linux) to two AM29F016B flash chips on a
machine that I have inherited.
I haven't been able to find an introduction to MTD on the internet.
What I've been trying (using 2.4.22 kernel) is this:
Set the following kernel options...

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=m
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=3
CONFIG_MTD_PARTITIONS=m
# CONFIG_MTD_CONCAT is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_CHAR is not set
CONFIG_MTD_BLOCK=m
# 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=m
CONFIG_MTD_JEDECPROBE=m
CONFIG_MTD_GEN_PROBE=m
# CONFIG_MTD_CFI_ADV_OPTIONS is not set
# CONFIG_MTD_CFI_INTELEXT is not set
CONFIG_MTD_CFI_AMDSTD=m
# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_RAM=m
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
CONFIG_MTD_OBSOLETE_CHIPS=y
CONFIG_MTD_AMDSTD=m
# CONFIG_MTD_SHARP is not set
CONFIG_MTD_JEDEC=m


I then end up with these modules:

mtdcore
mtdblock
mtdpart

amd_flash
cfi_cmdset_0002
cfi_probe
chipreg
gen_probe
jedec
jedec_probe
map_ram

When I use modprobe to install these modules, they give no errors and lsmod
shows that they are installed. No warnings or anything else appear in any
log. I don't know whether I am installing them in the wrong order or
something.

/proc/mtd contains:
dev:    size   erasesize  name

If things were working correctly, I think that there should be more stuff in
/proc/mtd.
AM29F016 is listed in jedec_probe.c, which seems similar enough to
AM29F016B.

I don't know where to go from here. Any help at all would be appreciated!
Thanks,
Graham.

             reply	other threads:[~2004-09-02 15:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02 15:57 Graham Keeling [this message]
2004-09-03  1:39 ` MTD newbie trying to use AM29F016B William J Beksi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040902155747.GA9201@invader.dev.equiinet.com \
    --to=graham@equiinet.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox