linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC5200 kernel with IDE *and* FEC?
@ 2005-03-08 17:34 Stephen Warren
  2005-03-08 18:10 ` Dale Farnsworth
  2005-03-08 20:03 ` Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: Stephen Warren @ 2005-03-08 17:34 UTC (permalink / raw)
  To: linuxppc-embedded

I looked at the 2.6.11 kernel.org kernel, and it has MPC5200 IDE
support, but apparently no FEC driver support.

Sylvain's kernel has FEC, but no IDE support.

I don't suppose anyone had any patches hidden away to add one of the
missing pieces to either of these kernels?

By the way, to the people who mentioned using Debian and Gentoo on the
MPC5200, are there any web-sites that have info on how to do this
(toolchain and/or distro)? I haven't managed to find anything remotely
detailed on cross-building either of these distros. But I'll probably
just do it from scratch now I have NPTL-aware toolchain:-)

--=20
Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO
swarren@nvidia.com        http://www.nvidia.com/
swarren@wwwdotorg.org     http://www.wwwdotorg.org/pgp.html

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

* Re: MPC5200 kernel with IDE *and* FEC?
  2005-03-08 17:34 Stephen Warren
@ 2005-03-08 18:10 ` Dale Farnsworth
  2005-03-08 20:03 ` Wolfgang Denk
  1 sibling, 0 replies; 8+ messages in thread
From: Dale Farnsworth @ 2005-03-08 18:10 UTC (permalink / raw)
  To: Stephen Warren, linuxppc-embedded

On Tue, Mar 08, 2005 at 05:34:20PM +0000, Stephen Warren wrote:
> I looked at the 2.6.11 kernel.org kernel, and it has MPC5200 IDE
> support, but apparently no FEC driver support.

Are you sure it has MPC5200 IDE support?  I have yet to see reliable
5200 IDE support and haven't seen a 5200 IDE driver for 2.6 at all.

I did the FEC driver in Sylvain's tree.  He has promised to push
it to kernel.org RSN.

-Dale Farnsworth

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

* RE: MPC5200 kernel with IDE *and* FEC?
@ 2005-03-08 19:09 Stephen Warren
  2005-03-08 20:00 ` Wolfgang Denk
  2005-03-09  8:02 ` Sylvain Munaut
  0 siblings, 2 replies; 8+ messages in thread
From: Stephen Warren @ 2005-03-08 19:09 UTC (permalink / raw)
  To: Dale Farnsworth, linuxppc-embedded

From: Dale Farnsworth [mailto:dale@farnsworth.org]=20
> On Tue, Mar 08, 2005 at 05:34:20PM +0000, Stephen Warren wrote:
> > I looked at the 2.6.11 kernel.org kernel, and it has MPC5200 IDE
> > support, but apparently no FEC driver support.
>=20
> Are you sure it has MPC5200 IDE support?  I have yet to see reliable
> 5200 IDE support and haven't seen a 5200 IDE driver for 2.6 at all.

Not sure, no. Looking at "xconfig", I don't see an option for it. A
colleague said it did.

We've used IDE (for a DVD-ROM) using the Denx kernel. This didn't have
DMA suppport, but Freescale gave us a derivate kernel that it, which
seemed to work well. They said they were going to push this up through
Denx into the main kernel. Didn't they bother to do this?

> I did the FEC driver in Sylvain's tree.  He has promised to push
> it to kernel.org RSN.

That'd be great.

--=20
Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO
swarren@nvidia.com        http://www.nvidia.com/
swarren@wwwdotorg.org     http://www.wwwdotorg.org/pgp.html

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

* Re: MPC5200 kernel with IDE *and* FEC?
  2005-03-08 19:09 MPC5200 kernel with IDE *and* FEC? Stephen Warren
@ 2005-03-08 20:00 ` Wolfgang Denk
  2005-03-09  8:02 ` Sylvain Munaut
  1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2005-03-08 20:00 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linuxppc-embedded

In message <DBFABB80F7FD3143A911F9E6CFD477B0056A92CC@hqemmail02.nvidia.com> you wrote:
>
> We've used IDE (for a DVD-ROM) using the Denx kernel. This didn't have
> DMA suppport, but Freescale gave us a derivate kernel that it, which

The kernel on our CVS server does support DMA - at least to the lavel
that is available with the current IDE driver and microcode.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
On a clear disk you can seek forever.

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

* Re: MPC5200 kernel with IDE *and* FEC?
  2005-03-08 17:34 Stephen Warren
  2005-03-08 18:10 ` Dale Farnsworth
@ 2005-03-08 20:03 ` Wolfgang Denk
  1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2005-03-08 20:03 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linuxppc-embedded

In message <DBFABB80F7FD3143A911F9E6CFD477B0056A92B5@hqemmail02.nvidia.com> you wrote:
> 
> By the way, to the people who mentioned using Debian and Gentoo on the
> MPC5200, are there any web-sites that have info on how to do this
> (toolchain and/or distro)? I haven't managed to find anything remotely
> detailed on cross-building either of these distros. But I'll probably
> just do it from scratch now I have NPTL-aware toolchain:-)

You don't have to cross-build anything; you can just use the existing
ISO images for installation. For Debian Woody you can find a detailed
description   (thanks   to    bernhard    Kuhn    for    this!)    at
http://www.denx.de/twiki/bin/view/DULG/DebianOnPowerpcInstallationHowto

In the meantime we swithched to using Ubuntu Linux on the  5200,  but
here  installation  is  a  bit  more  complicated as you will have to
twiddle with  the  installation  ramdisk  image,  and  later  perform
certain  steps  manually. It's probably easier to copy the filesystem
from a "real" PowerPC system ;-)

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
If I can have honesty, it's easier to overlook mistakes.
	-- Kirk, "Space Seed", stardate 3141.9

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

* RE: MPC5200 kernel with IDE *and* FEC?
@ 2005-03-08 20:16 Stephen Warren
  2005-03-08 21:27 ` Wolfgang Denk
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Warren @ 2005-03-08 20:16 UTC (permalink / raw)
  To: wd; +Cc: linuxppc-embedded

From: wd@denx.de [mailto:wd@denx.de]=20
> In message
<DBFABB80F7FD3143A911F9E6CFD477B0056A92B5@hqemmail02.nvidia.com> you
wrote:
> >=20
> > By the way, to the people who mentioned using Debian and Gentoo on
the
> > MPC5200, are there any web-sites that have info on how to do this
> > (toolchain and/or distro)? I haven't managed to find anything
remotely
> > detailed on cross-building either of these distros. But I'll
probably
> > just do it from scratch now I have NPTL-aware toolchain:-)
>=20
> You don't have to cross-build anything; you can just use the existing
> ISO images for installation. For Debian Woody you can find a detailed
> description   (thanks   to    bernhard    Kuhn    for    this!)    at
>
http://www.denx.de/twiki/bin/view/DULG/DebianOnPowerpcInstallationHowto=20

That could save a lot of time, but is this kernel 2.4-based? The docs
there imply that (buildling a kernel natively section references paths
with 2_4 in them).

We already have a 2.4-based MontaVista, but we're trying to get a 2.6
kernel up and running with NPTL to compare the pthreads performance
differences...

Thanks for the pointer though.

--=20
Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO
swarren@nvidia.com        http://www.nvidia.com/
swarren@wwwdotorg.org     http://www.wwwdotorg.org/pgp.html

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

* Re: MPC5200 kernel with IDE *and* FEC?
  2005-03-08 20:16 Stephen Warren
@ 2005-03-08 21:27 ` Wolfgang Denk
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2005-03-08 21:27 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linuxppc-embedded

In message <DBFABB80F7FD3143A911F9E6CFD477B0056A92E3@hqemmail02.nvidia.com> you wrote:
>
> http://www.denx.de/twiki/bin/view/DULG/DebianOnPowerpcInstallationHowto 
> 
> That could save a lot of time, but is this kernel 2.4-based? The docs
> there imply that (buildling a kernel natively section references paths
> with 2_4 in them).

Yes, it is.

> We already have a 2.4-based MontaVista, but we're trying to get a 2.6
> kernel up and running with NPTL to compare the pthreads performance
> differences...

You can probably use  the  2.4  kernel  for  installation  (or  -  as
mentioned  before  -  just use another PPC box and transfewr the disk
drive).

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
When properly administered, vacations do not  diminish  productivity:
for every week you're away and get nothing done, there's another when
your boss is away and you get twice as much done.  -- Daniel B. Luten

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

* Re: MPC5200 kernel with IDE *and* FEC?
  2005-03-08 19:09 MPC5200 kernel with IDE *and* FEC? Stephen Warren
  2005-03-08 20:00 ` Wolfgang Denk
@ 2005-03-09  8:02 ` Sylvain Munaut
  1 sibling, 0 replies; 8+ messages in thread
From: Sylvain Munaut @ 2005-03-09  8:02 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linuxppc-embedded

Stephen Warren wrote:

>From: Dale Farnsworth [mailto:dale@farnsworth.org] 
>  
>
>>On Tue, Mar 08, 2005 at 05:34:20PM +0000, Stephen Warren wrote:
>>    
>>
>>>I looked at the 2.6.11 kernel.org kernel, and it has MPC5200 IDE
>>>support, but apparently no FEC driver support.
>>>      
>>>
>>Are you sure it has MPC5200 IDE support?  I have yet to see reliable
>>5200 IDE support and haven't seen a 5200 IDE driver for 2.6 at all.
>>    
>>
>
>Not sure, no. Looking at "xconfig", I don't see an option for it. A
>colleague said it did.
>  
>
No it doesn't. Or it's very well hidden ;)
But If you do write it, patches are welcomed.

>We've used IDE (for a DVD-ROM) using the Denx kernel. This didn't have
>DMA suppport, but Freescale gave us a derivate kernel that it, which
>seemed to work well. They said they were going to push this up through
>Denx into the main kernel. Didn't they bother to do this?
>  
>
I guess they mean push it to Denx kernel which IS the main 2.4 kernel 
for MPC5200.
No new platform support will be accepted for 2.4 now. And freescale probably
won't write driver for the tree I maintain since I'm not using the 
official BestComm API.


    Sylvain

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

end of thread, other threads:[~2005-03-09  8:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-08 19:09 MPC5200 kernel with IDE *and* FEC? Stephen Warren
2005-03-08 20:00 ` Wolfgang Denk
2005-03-09  8:02 ` Sylvain Munaut
  -- strict thread matches above, loose matches on Subject: below --
2005-03-08 20:16 Stephen Warren
2005-03-08 21:27 ` Wolfgang Denk
2005-03-08 17:34 Stephen Warren
2005-03-08 18:10 ` Dale Farnsworth
2005-03-08 20:03 ` Wolfgang Denk

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