linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC860 Embedded Planet IDMA Support
@ 2000-02-24  0:22 Greg Johnson
  2000-02-24  2:40 ` Dan Malek
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Johnson @ 2000-02-24  0:22 UTC (permalink / raw)
  To: linuxppc-embedded


Hello Linux PPC Peoples,

Kernel 2.2.13 that we are using on the MPC860 does not have support
for IDMA which we need. Before I go ahead and code in support for IDMA,
does anyone out there in Linux/PPC land know of any patch that might
provide this support?

Regards

Greg

--
+----------------------------------------------------+
| Do you want to know more?                          |
|               --== Greg Johnson ==--               |
| HW/SW Engineer      gjohnson@research.canon.com.au |
| Canon   Information  Systems   Research  Australia |
| 1 Thomas Holt Dr, North Ryde, NSW, 2113, Australia |
| "I FLEXed my BISON and it went YACC!" - me.        |
+----------------------------------------------------+

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

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

* Re: MPC860 Embedded Planet IDMA Support
  2000-02-24  0:22 MPC860 Embedded Planet IDMA Support Greg Johnson
@ 2000-02-24  2:40 ` Dan Malek
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 2000-02-24  2:40 UTC (permalink / raw)
  To: Greg Johnson; +Cc: linuxppc-embedded


Greg Johnson wrote:


> Kernel 2.2.13 that we are using on the MPC860 does not have support
> for IDMA which we need.

I haven't and don't know of anyone that has.  Providing the
software is the easy part, just use existing CPM DPRAM allocation
functions for the BDs and either overload or create new BD
structures in commproc.h.

The harder part is the hardware interface.  The /DREQx and /RTSx
multiplex on the same pin, which prohibits cool protocols like
Ethernet on the SCC ports when using IDMA.

The IDMA isn't terribly efficient, so it either runs in "background"
mode or at a high priority.  If you are using the CPM for other
tasks, the IDMA may not move much data for you in background
mode, or will starve other communication tasks when run at
a higher priority.  Make sure you calculate CPM loading and
everything fits.

In the complete system architecture, it is more efficient to
program the UPM to control the device and use burst mode programmed
I/O cycles from the PPC core.  The IDMA cycles are long, even
with devices that can respond quickly, and you tie up the
System bus, U bus, internal RISC bus, effectively eliminating
any overlapped processing by any functional unit within the part.
At least with programmed I/O, the CPM can still do its
communication thing.

Also, since no one uses IDMA (there may be a lesson here :-) the
CPM microcode patches remap parameter spaces into the IDMA
locations.  Sometimes this is selectable, and you may have to
chase down places where this is done and customize to suit
your application.

It may work for you.  Just make sure you consider all of the
alternatives.


	-- Dan

P.S.  Have you signed up with Embedded Planet and received their
expansion guidelines?  Lots of technical tidbits there that can
make your life more enjoyable.

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

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

end of thread, other threads:[~2000-02-24  2:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-24  0:22 MPC860 Embedded Planet IDMA Support Greg Johnson
2000-02-24  2:40 ` 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).