linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC5200/Lite5200 and ethernet
@ 2005-06-15 22:41 Esben Nielsen
  2005-06-16 13:43 ` Andrey Volkov
  0 siblings, 1 reply; 11+ messages in thread
From: Esben Nielsen @ 2005-06-15 22:41 UTC (permalink / raw)
  To: linuxppc-embedded

How do I turn on the in chip FEC ethernet controller in MPC5200 in the
stock 2.6.12-rc6 kernel? Do I need an extra patch?

Esben

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-15 22:41 MPC5200/Lite5200 and ethernet Esben Nielsen
@ 2005-06-16 13:43 ` Andrey Volkov
  2005-06-16 15:24   ` Esben Nielsen
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey Volkov @ 2005-06-16 13:43 UTC (permalink / raw)
  To: Esben Nielsen; +Cc: linuxppc-embedded

Hi Esben

Esben Nielsen wrote:
> How do I turn on the in chip FEC ethernet controller in MPC5200 in the
> stock 2.6.12-rc6 kernel? Do I need an extra patch?
> 
take patch here:
http://ozlabs.org/pipermail/linuxppc-embedded/2005-April/017591.html

But, since bestcomm still not converted to platform_bus/ppc_sys model,
it will not be included in vanilla 2.6.12 kernel.

-- 
Regards
Andrey Volkov

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-16 13:43 ` Andrey Volkov
@ 2005-06-16 15:24   ` Esben Nielsen
  2005-06-16 16:00     ` Andrey Volkov
  0 siblings, 1 reply; 11+ messages in thread
From: Esben Nielsen @ 2005-06-16 15:24 UTC (permalink / raw)
  To: Andrey Volkov; +Cc: linuxppc-embedded

On Thu, 16 Jun 2005, Andrey Volkov wrote:

> Hi Esben
> 
> Esben Nielsen wrote:
> > How do I turn on the in chip FEC ethernet controller in MPC5200 in the
> > stock 2.6.12-rc6 kernel? Do I need an extra patch?
> > 
> take patch here:
> http://ozlabs.org/pipermail/linuxppc-embedded/2005-April/017591.html
> 
> But, since bestcomm still not converted to platform_bus/ppc_sys model,
> it will not be included in vanilla 2.6.12 kernel.
> 

I managed to get something out of the bitkeeper tree referred to from
http://www.246tnt.com/mpc52xx/
It seems to be based on 2.6.10-rc2 right now - good enough for now.

Is that really the latest version now?
What happens when bitkeeper is gone (very soon now, right?)

To whom do I submit patches?

Esben

> -- 
> Regards
> Andrey Volkov
> 

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-16 15:24   ` Esben Nielsen
@ 2005-06-16 16:00     ` Andrey Volkov
  2005-06-16 17:35       ` Grant Likely
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey Volkov @ 2005-06-16 16:00 UTC (permalink / raw)
  To: Esben Nielsen; +Cc: Sylvain Munaut, linuxppc-embedded



Esben Nielsen wrote:
> On Thu, 16 Jun 2005, Andrey Volkov wrote:
> 
> 
>>Hi Esben
>>
>>Esben Nielsen wrote:
>>
>>>How do I turn on the in chip FEC ethernet controller in MPC5200 in the
>>>stock 2.6.12-rc6 kernel? Do I need an extra patch?
>>>
>>
>>take patch here:
>>http://ozlabs.org/pipermail/linuxppc-embedded/2005-April/017591.html
>>
>>But, since bestcomm still not converted to platform_bus/ppc_sys model,
>>it will not be included in vanilla 2.6.12 kernel.
>>
> 
> I managed to get something out of the bitkeeper tree referred to from
> http://www.246tnt.com/mpc52xx/
> It seems to be based on 2.6.10-rc2 right now - good enough for now.
> 
> Is that really the latest version now?
AFAIK almost all patches from http://www.246tnt.com/mpc52xx/ now in
vanilla kernel. Except, bestcomm, certainly :(.

> What happens when bitkeeper is gone (very soon now, right?)
> 
> To whom do I submit patches?
Quotation from linux/MAINTAINERS :) :

LINUX FOR POWERPC EMBEDDED MPC52XX
P:	Sylvain Munaut
M:	tnt@246tNt.com
W:	http://www.246tNt.com/mpc52xx/
W:	http://www.penguinppc.org/
L:	linuxppc-dev@ozlabs.org
L:	linuxppc-embedded@ozlabs.org
S:	Maintained

> 
> Esben
> 

-- 
Regards
Andrey Volkov

P.S. Sylvain, what did you planned do with bk/git problem?

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-16 16:00     ` Andrey Volkov
@ 2005-06-16 17:35       ` Grant Likely
  2005-06-16 18:55         ` Andrey Volkov
  0 siblings, 1 reply; 11+ messages in thread
From: Grant Likely @ 2005-06-16 17:35 UTC (permalink / raw)
  To: avolkov; +Cc: linuxppc-embedded

On 6/16/05, Andrey Volkov <avolkov@varma-el.com> wrote:
> AFAIK almost all patches from http://www.246tnt.com/mpc52xx/ now in
> vanilla kernel. Except, bestcomm, certainly :(.
FEC is missing too.

Is anybody even working on bestcomm at the moment?

Cheers,
g.

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-16 17:35       ` Grant Likely
@ 2005-06-16 18:55         ` Andrey Volkov
  2005-06-17  3:37           ` Dale Farnsworth
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey Volkov @ 2005-06-16 18:55 UTC (permalink / raw)
  To: Grant Likely; +Cc: linuxppc-embedded



Grant Likely wrote:
> On 6/16/05, Andrey Volkov <avolkov@varma-el.com> wrote:
> 
>>AFAIK almost all patches from http://www.246tnt.com/mpc52xx/ now in
>>vanilla kernel. Except, bestcomm, certainly :(.
> 
> FEC is missing too.
> 
> Is anybody even working on bestcomm at the moment?
It may be Dale Farnsworth or smb. quietly in Freescale.

> 
> Cheers,
> g.
> 

-- 
Regards
Andrey Volkov

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-16 18:55         ` Andrey Volkov
@ 2005-06-17  3:37           ` Dale Farnsworth
  2005-06-17 10:28             ` Andrey Volkov
  0 siblings, 1 reply; 11+ messages in thread
From: Dale Farnsworth @ 2005-06-17  3:37 UTC (permalink / raw)
  To: Andrey Volkov; +Cc: linuxppc-embedded

On Thu, Jun 16, 2005 at 10:55:15PM +0400, Andrey Volkov wrote:
> Grant Likely wrote:
> > On 6/16/05, Andrey Volkov <avolkov@varma-el.com> wrote:
> > 
> >>AFAIK almost all patches from http://www.246tnt.com/mpc52xx/ now in
> >>vanilla kernel. Except, bestcomm, certainly :(.
> > 
> > FEC is missing too.
> > 
> > Is anybody even working on bestcomm at the moment?
> It may be Dale Farnsworth or smb. quietly in Freescale.

I sent patches to Sylvain in August 2004 with 5200 FEC support,
including my rewrite of the bestcomm FEC code.  I've bugged him
about it a few times, and I don't know why he hasn't made it available.
I haven't done much with the 5200 since then.  I'm traveling now and
have some other pressing issues, but I'll try to post what
I have in the next couple of weeks.

-Dale

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-17  3:37           ` Dale Farnsworth
@ 2005-06-17 10:28             ` Andrey Volkov
  2005-06-17 14:00               ` Dale Farnsworth
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey Volkov @ 2005-06-17 10:28 UTC (permalink / raw)
  To: Dale Farnsworth; +Cc: linuxppc-embedded



Dale Farnsworth wrote:
> On Thu, Jun 16, 2005 at 10:55:15PM +0400, Andrey Volkov wrote:
> 
>>Grant Likely wrote:
>>
>>>On 6/16/05, Andrey Volkov <avolkov@varma-el.com> wrote:
>>>
>>>
>>>>AFAIK almost all patches from http://www.246tnt.com/mpc52xx/ now in
>>>>vanilla kernel. Except, bestcomm, certainly :(.
>>>
>>>FEC is missing too.
>>>
>>>Is anybody even working on bestcomm at the moment?
>>
>>It may be Dale Farnsworth or smb. quietly in Freescale.
> 
> 
> I sent patches to Sylvain in August 2004 with 5200 FEC support,
> including my rewrite of the bestcomm FEC code.  I've bugged him
> about it a few times, and I don't know why he hasn't made it available.
> I haven't done much with the 5200 since then.  I'm traveling now and
> have some other pressing issues, but I'll try to post what
> I have in the next couple of weeks.
> 
> -Dale

Dale, don't worry, Sylvain public your patches in himself src tree
(http://www.246tnt.com/mpc52xx/) at August/September,2004.
But, after that, OCP infra was dropped in kernel, and, hence, this
driver was not sent to Andrew Morton (Bestcomm stuff, until now, OCP
depended). And no one find time to convert Bestcomm to platform bus
model :(.

I planned start this job at July/August, so if someone wish to do it NOW
(June) - welcome.

-- 
Regards
Andrey Volkov

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-17 10:28             ` Andrey Volkov
@ 2005-06-17 14:00               ` Dale Farnsworth
  2005-06-18 22:15                 ` Sylvain Munaut
  0 siblings, 1 reply; 11+ messages in thread
From: Dale Farnsworth @ 2005-06-17 14:00 UTC (permalink / raw)
  To: Andrey Volkov; +Cc: linuxppc-embedded

On Fri, Jun 17, 2005 at 02:28:23PM +0400, Andrey Volkov wrote:
> > I sent patches to Sylvain in August 2004 with 5200 FEC support,
> > including my rewrite of the bestcomm FEC code.  I've bugged him
> > about it a few times, and I don't know why he hasn't made it available.
> > I haven't done much with the 5200 since then.  I'm traveling now and
> > have some other pressing issues, but I'll try to post what
> > I have in the next couple of weeks.
> > 
> > -Dale
> 
> Dale, don't worry, Sylvain public your patches in himself src tree
> (http://www.246tnt.com/mpc52xx/) at August/September,2004.
> But, after that, OCP infra was dropped in kernel, and, hence, this
> driver was not sent to Andrew Morton (Bestcomm stuff, until now, OCP
> depended). And no one find time to convert Bestcomm to platform bus
> model :(.
> 
> I planned start this job at July/August, so if someone wish to do it NOW
> (June) - welcome.

Thank you Andrey, and my apologies to Sylvain.  I didn't realize that
they were available.  I'll take a look at converting to the platform bus
model, but it will be at least a week before I start.

-Dale

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-17 14:00               ` Dale Farnsworth
@ 2005-06-18 22:15                 ` Sylvain Munaut
  2005-06-19  0:40                   ` Grant Likely
  0 siblings, 1 reply; 11+ messages in thread
From: Sylvain Munaut @ 2005-06-18 22:15 UTC (permalink / raw)
  To: Dale Farnsworth; +Cc: linuxppc-embedded

Hi everyone

Following the obvious demand for it :

rsync://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx.git
http://gitbits.246tNt.com/gitweb.cgi?p=linux-2.6-mpc52xx.git;a=summary

Hopefully the server is setup correctly ...
It's not _heavily_ tested but it seems to works fine in the few test I made.

What in there :
 - I2C patches that are already sent upstream but not yet in Linus tree
 - Change of the mpc52xx uart device name and device ids to a range in
   the low density serial port major. Also it's now named ttyPSC? so
   you need to update you kernel command line (else you won't see any
   console). Note that the ids and names choosed are NOT YET OFFICIAL,
   I just included it in this release because some people were seeing
   conflict with the other ids. So the name and ids may change ...
 - Some other patches that will soon be sent upstream, just waiting
   for you to test see if it has any negative impact.
 - FEC and BestComm rewrite from Dale, with some improvement. For eg,
   the FEC task now handle misaligment so the manual alignment code
   has been removed, ...


Why is not bestcomm upstream already :
 There are a lot of minor stuff I don't like currently about it. The
most big part are : it mixes phys and virt address without any care, and
the fec driver needs improvement for the phy handling and for the dma
activity handling. I started working on some of this issues but I got
reassigned to more pressing matters ... The result was never published
because for now the only thing it does well is break everything ;)
 If someone wish to clean all that before I come to it, he's welcome
to contact me for info/ideas I had while working on it.


What is gonna be added "soon" :
 I'd say PIO IDE. But several people sent me a different version, so
I'll look into them and test them but probably not before next week.



Sylvain

PS: Does any one knows how to change the commit text in git/cg when
committed ? I realized I put "ppc:" at someplaces and "ppc32:" at others
and it's not coherent ...

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

* Re: MPC5200/Lite5200 and ethernet
  2005-06-18 22:15                 ` Sylvain Munaut
@ 2005-06-19  0:40                   ` Grant Likely
  0 siblings, 0 replies; 11+ messages in thread
From: Grant Likely @ 2005-06-19  0:40 UTC (permalink / raw)
  To: Sylvain Munaut; +Cc: linuxppc-embedded

On 6/18/05, Sylvain Munaut <tnt@246tnt.com> wrote:
> Hi everyone
>=20
> Following the obvious demand for it :
>=20
> rsync://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx.git
> http://gitbits.246tNt.com/gitweb.cgi?p=3Dlinux-2.6-mpc52xx.git;a=3Dsummar=
y

And there was much rejoicing...  (hooraaaay)

Thanks Sylvain, I'll give it a try on Monday.

g.

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

end of thread, other threads:[~2005-06-19  0:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-15 22:41 MPC5200/Lite5200 and ethernet Esben Nielsen
2005-06-16 13:43 ` Andrey Volkov
2005-06-16 15:24   ` Esben Nielsen
2005-06-16 16:00     ` Andrey Volkov
2005-06-16 17:35       ` Grant Likely
2005-06-16 18:55         ` Andrey Volkov
2005-06-17  3:37           ` Dale Farnsworth
2005-06-17 10:28             ` Andrey Volkov
2005-06-17 14:00               ` Dale Farnsworth
2005-06-18 22:15                 ` Sylvain Munaut
2005-06-19  0:40                   ` Grant Likely

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