public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Kenneth Johansson <kenneth.johansson@inn.ericsson.se>
To: "Eric W. Biederman" <ebiederman@lnxi.com>
Cc: David Woodhouse <dwmw2@infradead.org>, linux-mtd@lists.infradead.org
Subject: Re: Q: Probing for devices > buswidth???
Date: Tue, 09 Oct 2001 15:19:08 +0200	[thread overview]
Message-ID: <3BC2F94C.A641360C@inn.ericsson.se> (raw)
In-Reply-To: m3wv25gvdq.fsf@DLT.linuxnetworx.com

"Eric W. Biederman" wrote:
> 
> David Woodhouse <dwmw2@infradead.org> writes:
> 
> > ebiederman@lnxi.com said:
> > > Trying to understand some anomolous results I discovered that
> > > gen_probe_newchip is looking for: 16 bit devices on an 8 bit bus. byte
> > > interleaved 16 bit devices on a 16 bit bus. And some really bizare
> > > things for a 32 bit bus.
> >
> > > Is there any good reason for doing it that way?
> >
> > What it's probing for is a 16-bit device in 8-bit mode. This is _different_
> > to an 8-bit device :)
> 
> Just so I understand.  There are chips with a 16-bit interface that
> you can put in a crippled mode such that they pretend use only an 8
> bit bus.  But the id logic is the same as when the are on a 16-bit
> bus?

Yes. I have a pcmcia linear flash device that is using Intel strataflash
28F640xxx. The chips is 16 bit but used as 8bit. To make things interesting
they also interleave the chip so odd bytes goes to one chip and even to the
other.

This makes the effective block size 256KB and with JFFS2 I need 5 blocks free
minimum so I wast 1.2 MB regardless of total flash bank size :( 


I get this rather confusing message from the probe.
Physically mapped flash: Found 2 x16 devices at 0x0 in 16-bit mode


What I have is: 2x16 bit chips on a 16 bit bus in 8 bit mode and interleaved.


-- 
Kenneth Johansson	
Ericsson Business Innovation AB   Tel: +46 8 404 71 83
Viderögatan 3                     Fax: +46 8 404 72 72
164 80 Stockholm                  kenneth.johansson@inn.ericsson.se

  parent reply	other threads:[~2001-10-09 13:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-09  5:23 Q: Probing for devices > buswidth??? Eric W. Biederman
2001-10-09  6:45 ` David Woodhouse
2001-10-09  6:50   ` Eric W. Biederman
2001-10-09  6:53     ` David Woodhouse
2001-10-09  7:04       ` Eric W. Biederman
2001-10-09 13:19     ` Kenneth Johansson [this message]
2001-10-09 13:22       ` David Woodhouse
2001-10-09 13:56         ` Kenneth Johansson

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=3BC2F94C.A641360C@inn.ericsson.se \
    --to=kenneth.johansson@inn.ericsson.se \
    --cc=dwmw2@infradead.org \
    --cc=ebiederman@lnxi.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