public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: hamishl@dplanet.ch
Cc: brendan.simon@bigpond.com, "mtd" <linux-mtd@lists.infradead.org>
Subject: Re: mtd: looking for serial flash storage
Date: Tue, 09 Oct 2001 07:42:47 +0100	[thread overview]
Message-ID: <29826.1002609767@redhat.com> (raw)
In-Reply-To: <NEBBJKADBKFNCJOMHOAKAEFBCNAA.hamishl@dplanet.ch>

hamishl@dplanet.ch said:
> You need 13 address lines for a DoC (A0..A12). 

That's only for backwards-compatibility with the DiskOnChip1000 sockets.

You should be able to omit half of them - just make sure you have A11 and
A12 connected, and also the bottom six lines. 

Take a look at the addresses in include/linux/mtd/doc2000.h and observe 
that we never address the chip such that (addr & 0x7c0). So you can just 
tie those address lines (A6-A10) low from the DiskOnChip. Connect your 
CPU's A6 and A7 to the DiskOnChip's A11 and A12, and make your ReadDOC_ and 
WriteDOC_ macros use (adr & 0x3f | ((adr |0x1800)>>4) as the offset they 
use.

If you want to boot from it, then use a DiskOnChip Millennium where you can 
change its firmware to deal with this setup, and wire as many of the extra 
address lines as you can so you can use as much of the IPL SRAM as possible. 
If you're only missing one address line, you should be able to see the 
whole of the IPL SRAM without problems too - wire up A0-A9 normally, and 
A10,A11 to the DiskOnChip's A11,12. 


--
dwmw2

  reply	other threads:[~2001-10-09  6:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-03  3:29 mtd: looking for serial flash storage Brendan J Simon
2001-10-08  9:38 ` David Woodhouse
2001-10-09  6:02   ` Hamish Guthrie (Mail Lists)
2001-10-09  6:42     ` David Woodhouse [this message]
2001-10-09  7:00       ` Brendan J Simon
2001-10-09  7:14         ` David Woodhouse

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=29826.1002609767@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=brendan.simon@bigpond.com \
    --cc=hamishl@dplanet.ch \
    --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