All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephane List <stephane.list@lilotux.net>
To: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Bus error when erasing Intel Strataflash
Date: Tue, 4 Feb 2003 15:13:14 +0100	[thread overview]
Message-ID: <20030204141314.GA32071@lilotux.net> (raw)

Hi,

When I want to erase my Intel Strataflash, I've got "BUS ERROR" on my
CPU. I use the command :

#erase /dev/mtd6 0 128
 
It erases the first sector but then it crashes.

This is an attempt to read at the physical address instead of the
ioremapped address !
The error is somewhere in physmap_read32, and the calling function is
"do_erase_oneblock" of the file drivers/mtd/chips/cfi_cmdset_0001.c

The 2 places where the software reads the flash are when it wants to
read the status, everything looks good in the code...

Any idea ?

Stéphane
-- 
Stephane List
http://slist.lilotux.net

                 reply	other threads:[~2003-02-04 14:13 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=20030204141314.GA32071@lilotux.net \
    --to=stephane.list@lilotux.net \
    --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.