public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: "張佑任(You-Jen Chang)" <changyj@uat.com.tw>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Does DiskonChip work on IDT RC32334 CPU(MIPS)?
Date: Mon, 22 Oct 2001 12:06:51 +0100	[thread overview]
Message-ID: <6153.1003748811@redhat.com> (raw)
In-Reply-To: <005d01c15ae9$099dc960$0205a8c0@uat.com.tw>

changyj@uat.com.tw said:
>  My embedded linux system is MIPS(IDT RC32334 RISC CPU). The BIOS can
> detect DiskOnChip at 0xB2000000 address.

> How do I setup the physical address of DiskOnChip for  Memory
> Technology Device Subsystem in Linux ?  Is the address same as
> 0xB2000000?

It works on the Momenco Ocelot MIPS board - all the endianness funnies have 
been worked out. Check that 0xb2000000 is a _physical_ address, not a 
virtual address - it looks suspicious for a MIPS system, where normally 
only addresses under 0x20000000 are easily accessible. 

Also check how the DiskOnChip is wired up - whether its registers are 1 
byte, 2 bytes or 4 bytes apart as the CPU sees them. Look at the various 
forms of the ReadDOC_() and WriteDOC_() macros in include/linux/mtd/doc2000.h
and pick the correct one (or experiment).

Make sure the bus controller is set up properly for the wiring of the 
DiskOnChip too - for the Ocelot, we had to do that ourself, because the 
boot loader didn't (see the last two lines of momenco_ocelot_setup() in 
arch/mips/gt64120/momenco_ocelot/setup.c) 


--
dwmw2

      reply	other threads:[~2001-10-22 10:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-22 11:02 Does DiskonChip work on IDT RC32334 CPU(MIPS)? 張佑任(You-Jen Chang)
2001-10-22 11:06 ` David Woodhouse [this message]

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=6153.1003748811@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=changyj@uat.com.tw \
    --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