All of lore.kernel.org
 help / color / mirror / Atom feed
From: vijoy@nortelnetworks.com (Vijoy Pandey)
To: linux-mtd@lists.infradead.org
Subject: AMD 29LV640D
Date: Fri, 28 Feb 2003 12:56:11 -0800	[thread overview]
Message-ID: <3E5FCCEB.19ACA1EE@nortelnetworks.com> (raw)

Folks,

Has anyone used the mtd device with the AMD
LV640D chips? They are 64Mbit (4Mx16) chips
and are CFI-compatible.

I have a layout where 4 of these chips have
been arranged over a bus width of 64bits.

I have tried the following..

MTD RAM/ROM Config section:
16bit-buswidth
4 chip interleaving

MAP section:
Buswidth in octets = 2 (Tried 8, but got "unsupported")


Using the above, all the modules (physmap
cfi_probe map_rom chipreg gen_probe cfi_cmdset_0002 
mtdchar mtdcore, in reverse order) get inserted,
but I get a complaint of:
CFI: Found no Physically mapped flash device at location zero
Can't locate module jedec_probe

So, on a whim, I inserted the following in reverse
order - physmap jedec_probe cfi_probe map_rom chipreg 
gen_probe cfi_cmdset_0002 mtdchar mtdcore.

Again, everything gets inserted fine, but
I get "CFI: Found no Physically mapped flash device at 
location zero", and "JEDEC: Found no Physically mapped 
flash device at location zero".

*BUT*, now I am able to read from /dev/mtd0 anywhere
in the flash address space. While trying to write, I
get a "dd: cannot open /dev/mtd0: permission denied",
even though I am root, and the permissions are fine.

Any ideas as to what might be going on?

Thanks a bunch,
-vijoy

                 reply	other threads:[~2003-02-28 20:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3E5FCCEB.19ACA1EE@nortelnetworks.com \
    --to=vijoy@nortelnetworks.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.