linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* IDE on MPC821
@ 2000-05-08  4:10 Jerry Nguyen
  2000-05-08  7:40 ` Geir Frode Raanes
  2000-05-08 12:31 ` Steve Rossi
  0 siblings, 2 replies; 4+ messages in thread
From: Jerry Nguyen @ 2000-05-08  4:10 UTC (permalink / raw)
  To: linuxppc-embedded


Hi

Sorry for the off-topic posting but I am stuck to this
mail list. I am doing my thesis for my Master
degree,which I want to build a IDE controller to work
with MPC821. Can anyone tell me how difficult it is?
or give advice where can I find related material, any
example would be great. sorry for my humble english.

Thanks in advance
Jerry


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IDE on MPC821
  2000-05-08  4:10 IDE on MPC821 Jerry Nguyen
@ 2000-05-08  7:40 ` Geir Frode Raanes
  2000-05-08 12:31 ` Steve Rossi
  1 sibling, 0 replies; 4+ messages in thread
From: Geir Frode Raanes @ 2000-05-08  7:40 UTC (permalink / raw)
  To: Jerry Nguyen; +Cc: linuxppc-embedded


On Sun, 7 May 2000, Jerry Nguyen wrote:

>
> Hi
>
> Sorry for the off-topic posting but I am stuck to this
> mail list. I am doing my thesis for my Master
> degree,which I want to build a IDE controller to work
> with MPC821. Can anyone tell me how difficult it is?
> or give advice where can I find related material, any
> example would be great. sorry for my humble english.

Since I have already embarrased myself over this subject
on this list before, I can just as well continue to do so.

On the hardware side this is not hard to do at all.
What you need to do is synthetisise a ISA bus out of
the MPC821 local bus. The IDE bus is just a buffered
version of the ISA bus. The disk itself appares in
its simplest form as just three IO registers. The
IDE controller is therefore nothing but buffers
and two address decoders.

Both the ISA and MPC8xx bus are asynchronous, but
where the ISA bus [aka. 80C286 local bus] is default run
and 16 bit little endian, the MPC8xx bus is default
wait 32 bit big endian _and_ bit reversed [meaning
D31 is LSB, as is A31.] Plus, the MPC8xx bus is a
tiny twiddle bit faster than the ISA bus, both in
fewer clock cycles per bus cycle and in pure
clock frequency. Also, the MPC8xx bus prefers,
though does not have to, bust data in four times
32 bit blocks. Plus, the MPC8xx does not support
IO space directly, only memory space.

An ATA66 interface OTOH can be more challenging.
Mostly because it is hacked together on top of a
shaky foundation. But not undoeable. But then we
face the IDMA problems. But these can be overcome
by performance scaling and FIFO buffering.

But if harddrive performance actually matters,
then place a SCSI bridge on PCI. I am only in
favor of Keep It Simple Stupid to the point
where make-do solutions start compromise
the stability and architecture of the
larger system at hand.

But I probabely have to do this interface myself.
You may mail me privately and we can come to some
arrangement.


--
  ******************************************************
  Never ever underestimate the power of human stupidity.
  -Robert Anson Heinlein

		GeirFRS@invalid.and.so.forth
  ******************************************************


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IDE on MPC821
  2000-05-08  4:10 IDE on MPC821 Jerry Nguyen
  2000-05-08  7:40 ` Geir Frode Raanes
@ 2000-05-08 12:31 ` Steve Rossi
  2000-05-08 14:44   ` Dan Malek
  1 sibling, 1 reply; 4+ messages in thread
From: Steve Rossi @ 2000-05-08 12:31 UTC (permalink / raw)
  To: Jerry Nguyen; +Cc: linuxppc-embedded


Its rather trivial to put an ide device - i.e. a harddisk -
directly on the external bus of the MPC8xx - with maybe
some buffering and address decode to select between
IDE's two chip selects - or if you can afford it, just use
two of the 8xx's chip selects.

Steve

Jerry Nguyen wrote:

> Hi
>
> Sorry for the off-topic posting but I am stuck to this
> mail list. I am doing my thesis for my Master
> degree,which I want to build a IDE controller to work
> with MPC821. Can anyone tell me how difficult it is?
> or give advice where can I find related material, any
> example would be great. sorry for my humble english.
>
> Thanks in advance
> Jerry
>

--
-------------------------------------------------------
Steven K. Rossi                     srossi@ccrl.mot.com
Staff Engineer
Multimedia Communications Research Laboratory
Motorola Labs
-------------------------------------------------------


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IDE on MPC821
  2000-05-08 12:31 ` Steve Rossi
@ 2000-05-08 14:44   ` Dan Malek
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Malek @ 2000-05-08 14:44 UTC (permalink / raw)
  To: Steve Rossi; +Cc: Jerry Nguyen, linuxppc-embedded


Steve Rossi wrote:
>
> Its rather trivial to put an ide device - i.e. a harddisk -
> directly on the external bus of the MPC8xx -


....just put it on the PCMCIA bus...


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-05-08 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-08  4:10 IDE on MPC821 Jerry Nguyen
2000-05-08  7:40 ` Geir Frode Raanes
2000-05-08 12:31 ` Steve Rossi
2000-05-08 14:44   ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).