linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 8260, FCC and local bus
@ 2000-06-27 14:36 Matt Gessner
  2000-06-27 20:01 ` Matt Gessner
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Gessner @ 2000-06-27 14:36 UTC (permalink / raw)
  To: linuxppc-embedded


Hello list,

Has anyone done anything with mapping local bus memory
so that it can be used for FCC BD's and buffers?

I **thought** I had it right, but my driver eventually
causes the machine to hang (EST SBC8260).

I had ioremap'd it, and put va's and pa's where each belonged
(va's for the kernel's tracking stuff and pa's for the CPM stuff).

Alas, to no avail.

Has anyone had any success with this, and if so, would you be
willing to share?

TIA,

--
Matt Gessner, mattg@aiinet.com--NOSPAM
Senior Software Engineer, R&D
Applied Innovation, Inc.
614-798-2000

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

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

* Re: 8260, FCC and local bus
  2000-06-27 14:36 8260, FCC and local bus Matt Gessner
@ 2000-06-27 20:01 ` Matt Gessner
  2000-06-27 23:19   ` Dan Malek
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Gessner @ 2000-06-27 20:01 UTC (permalink / raw)
  To: linuxppc-embedded


Matt Gessner wrote:
>
> Hello list,
>
> Has anyone done anything with mapping local bus memory
> so that it can be used for FCC BD's and buffers?
>
> I **thought** I had it right, but my driver eventually
> causes the machine to hang (EST SBC8260).
>
> I had ioremap'd it, and put va's and pa's where each belonged
> (va's for the kernel's tracking stuff and pa's for the CPM stuff).
>
> Alas, to no avail.
>
> Has anyone had any success with this, and if so, would you be
> willing to share?
>
> TIA,
>
> --
> Matt Gessner, mattg@aiinet.com--NOSPAM
> Senior Software Engineer, R&D
> Applied Innovation, Inc.
> 614-798-2000
>

Sigh.

Check RSTATE and TSTATE (for FCRx) .

Thanks anyway.
--
Matt Gessner, mattg@aiinet.com--NOSPAM
Senior Software Engineer, R&D
Applied Innovation, Inc.
614-798-2000

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

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

* Re: 8260, FCC and local bus
  2000-06-27 20:01 ` Matt Gessner
@ 2000-06-27 23:19   ` Dan Malek
  0 siblings, 0 replies; 5+ messages in thread
From: Dan Malek @ 2000-06-27 23:19 UTC (permalink / raw)
  To: Matt Gessner; +Cc: linuxppc-embedded


Matt Gessner wrote:

> I had ioremap'd it, and put va's and pa's where each belonged
> (va's for the kernel's tracking stuff and pa's for the CPM stuff).


The va/pa macros are not going to work on Local memory addresses.
You have to explicitly compute these addresses.

I have a board with some local memory.  I'll test it.



	-- Dan

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

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

* 8260 FCC and local bus
@ 2002-09-24 15:48 Sylvain Latulippe
  2002-09-24 16:25 ` Allen Curtis
  0 siblings, 1 reply; 5+ messages in thread
From: Sylvain Latulippe @ 2002-09-24 15:48 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hi all,

I have found some information in the mailing list regarding usage of local
bus ram for FCC BD's and buffers.  However I haven't found any conclusion if
it's working.

Has anyone done it successfully?
What kind of support does linux provide regarding local bus ram? (Ram
drive,...)

Thanks,

====================================================================
Sylvain Latulippe, Technical Leader/Low Level Software Designer
Mediatrix Telecom Inc.		Tel: (819) 829-8749 x257
4229 Garlock Street		Fax: (819) 829-5100
Sherbrooke (Quebec)		Web: http://www.mediatrix.com
Canada J1L 2C8			Email: mailto:slatulippe@mediatrix.com
====================================================================


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

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

* RE: 8260 FCC and local bus
  2002-09-24 15:48 8260 " Sylvain Latulippe
@ 2002-09-24 16:25 ` Allen Curtis
  0 siblings, 0 replies; 5+ messages in thread
From: Allen Curtis @ 2002-09-24 16:25 UTC (permalink / raw)
  To: Sylvain Latulippe, linuxppc-embedded


> I have found some information in the mailing list regarding usage of local
> bus ram for FCC BD's and buffers.  However I haven't found any
> conclusion if
> it's working.

Yes, you can use local RAM for the BD's and buffers. There is a penalty
because you need to move the buffers between local and 60X RAM. I have found
information on the list indicating that you can use IDMA for this purpose.
(search with the keyword "profiling" in embedded)

> Has anyone done it successfully?
> What kind of support does linux provide regarding local bus ram? (Ram
> drive,...)

No real support for local RAM per say. You need to treat it as any other
memory mapped device. Therefore you need to change all _va()/_pa() calls to
ioremap() and iopa().

Note: If you are using rev-A 8260 processors, this helps a lot.


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

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

end of thread, other threads:[~2002-09-24 16:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-27 14:36 8260, FCC and local bus Matt Gessner
2000-06-27 20:01 ` Matt Gessner
2000-06-27 23:19   ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2002-09-24 15:48 8260 " Sylvain Latulippe
2002-09-24 16:25 ` Allen Curtis

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).