Skip to contentSkip to conversation

Which 2.6 kernel for MPC5200

DISCUSSION Babarovic Ivica 6 participants 12 messages Sep 10, 2007 – Sep 13, 2007

lore
Share & tools
lore
#0 lore raw

Hi!

What kernel should I get/pull for MPC5200 clone board.
I've been away from coding on mpc5200 for quite some time now. I've read some archives from ML.
Git repo on Sylvain Munauts url:
http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx.gitpage
isn't working. Nothing on http://*git*.secretlab.ca/cgi-bin/*gitweb*.cgi
<http://git.secretlab.ca/cgi-bin/gitweb.cgi> to.

I've pulled the sources from kernel.org git server. git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
linux-2.6-mpc52xx

How recent are these sources?

Regards,
I.

#1 lore raw
Quoted 10 lines · Babarovic Ivica

Hi!

What kernel should I get/pull for MPC5200 clone board.
I've been away from coding on mpc5200 for quite some time now. I've read some archives from ML.
Git repo on Sylvain Munauts url:
http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx.gitpage
isn't working. Nothing on http://*git*.secretlab.ca/cgi-bin/*gitweb*.cgi
<http://git.secretlab.ca/cgi-bin/gitweb.cgi> to.

Quoted 4 lines

I've pulled the sources from kernel.org git server. git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
linux-2.6-mpc52xx

My 52xx git tree became way out of date, so I dropped it from the server. Best bet is to use mainline which gives your everything except the drivers that use the bestcomm DMA engine (like Ethernet).

Then you need to apply the bestcomm patches. You can get them here:

http://www.246tnt.com/mpc52xx/dev_full/

Have fun,
g.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
#2 lore raw
Quoted 16 lines · Grant Likely
Quoted 10 lines · Babarovic Ivica

Hi!

What kernel should I get/pull for MPC5200 clone board.
I've been away from coding on mpc5200 for quite some time now. I've read some archives from ML.
Git repo on Sylvain Munauts url:
http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx.gitpage
isn't working. Nothing on http://*git*.secretlab.ca/cgi-bin/*gitweb*.cgi
<http://git.secretlab.ca/cgi-bin/gitweb.cgi> to.

Quoted 4 lines

I've pulled the sources from kernel.org git server. git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
linux-2.6-mpc52xx

Quoted 7 lines

My 52xx git tree became way out of date, so I dropped it from the server. Best bet is to use mainline which gives your everything except the drivers that use the bestcomm DMA engine (like Ethernet).

Then you need to apply the bestcomm patches. You can get them here:

http://www.246tnt.com/mpc52xx/dev_full/

I just finished rebasing the Efika version of those patches to current mainline.

I'm working on merging support for my Phytec pcm030 into them. After I get stable the plan is to switch over to Domon's new FEC driver.

Quoted 14 lines

Have fun,
g.

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Signature · 2 lines
Jon Smirl
[email protected]
#3 lore raw

Jon,

Quoted 7 lines · Jon Smirl
Quoted 3 lines

Then you need to apply the bestcomm patches. You can get them here:

http://www.246tnt.com/mpc52xx/dev_full/

I just finished rebasing the Efika version of those patches to current mainline.

I'm working on merging support for my Phytec pcm030 into them.

We have the OSELAS.BSP patch stack for the PCM030 working ontop of Linus' git. It still uses an older version of the Bestcom patches, so if you do some work in that area, please keep me informed about your progress.

Robert

Signature · 2 lines
Pengutronix - Linux Solutions for Science and Industry
Entwicklungszentrum Nord     http://www.pengutronix.de
#4 lore raw
Quoted 4 lines · Robert Schwebel

We have the OSELAS.BSP patch stack for the PCM030 working ontop of Linus' git. It still uses an older version of the Bestcom patches, so if you do some work in that area, please keep me informed about your progress.

What is the best way to proceed? I need to be on current git since we are integrating a wireless driver that is tracking current git and the mac80211 work.

I have Phytec (pcm030) and Efika hardware but I don't have a 5200lite. Our prototype hardware uses the pcm030 module on a custom baseboard.

The best thing for me would be to get a FEC driver merged. That is the largest piece of code that is floating around. Getting that merged would give me a stable base to build future patches on.

I'd also like to get support for the pcm030 (minus real-time) merged. That isn't a lot of code once FEC is in the kernel.

Domen has posted this driver "[RFC PATCH v0.1] net driver: mpc52xx fec". I can work on breaking that up, but I don't have a 5200lite so I will have to port to pcm030. I don't want to start on this if someone else is already doing it.

Signature · 2 lines
Jon Smirl
[email protected]
#5 lore raw
Quoted 17 lines · Jon Smirl
Quoted 4 lines · Robert Schwebel

We have the OSELAS.BSP patch stack for the PCM030 working ontop of Linus' git. It still uses an older version of the Bestcom patches, so if you do some work in that area, please keep me informed about your progress.

What is the best way to proceed? I need to be on current git since we are integrating a wireless driver that is tracking current git and the mac80211 work.

I have Phytec (pcm030) and Efika hardware but I don't have a 5200lite. Our prototype hardware uses the pcm030 module on a custom baseboard.

The best thing for me would be to get a FEC driver merged. That is the largest piece of code that is floating around. Getting that merged would give me a stable base to build future patches on.

Quoted 7 lines

I'd also like to get support for the pcm030 (minus real-time) merged. That isn't a lot of code once FEC is in the kernel.

Domen has posted this driver "[RFC PATCH v0.1] net driver: mpc52xx fec". I can work on breaking that up, but I don't have a 5200lite so I will have to port to pcm030. I don't want to start on this if someone else is already doing it.

Sylvain's bestcomm patches need be cleaned up and resubmitted before the next merge window opens. AFAIK, the code is pretty much ready, and all the comments have been addressed. All that is required is the final push to tidy the patchset and post to the list one more time. Sylvain said that he was going to get this done last weekend, but I haven't heard back from him yet.

Sylvain, if you need help, please let me know. I'll happily take on the last bit of tidy work if that's what is needed to be finished before the merge window. (And it needs to be ready *before*, not during if I'm judging the prevailing winds correctly).

Cheers,
g.

Quoted 5 lines

--
Jon Smirl
[email protected]

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
#6 lore raw
Quoted 33 lines · Grant Likely
Quoted 17 lines · Jon Smirl
Quoted 4 lines · Robert Schwebel

We have the OSELAS.BSP patch stack for the PCM030 working ontop of Linus' git. It still uses an older version of the Bestcom patches, so if you do some work in that area, please keep me informed about your progress.

What is the best way to proceed? I need to be on current git since we are integrating a wireless driver that is tracking current git and the mac80211 work.

I have Phytec (pcm030) and Efika hardware but I don't have a 5200lite. Our prototype hardware uses the pcm030 module on a custom baseboard.

The best thing for me would be to get a FEC driver merged. That is the largest piece of code that is floating around. Getting that merged would give me a stable base to build future patches on.

Quoted 7 lines

I'd also like to get support for the pcm030 (minus real-time) merged. That isn't a lot of code once FEC is in the kernel.

Domen has posted this driver "[RFC PATCH v0.1] net driver: mpc52xx fec". I can work on breaking that up, but I don't have a 5200lite so I will have to port to pcm030. I don't want to start on this if someone else is already doing it.

Sylvain's bestcomm patches need be cleaned up and resubmitted before the next merge window opens. AFAIK, the code is pretty much ready, and all the comments have been addressed. All that is required is the final push to tidy the patchset and post to the list one more time. Sylvain said that he was going to get this done last weekend, but I haven't heard back from him yet.

Quoted 4 lines

Sylvain, if you need help, please let me know. I'll happily take on the last bit of tidy work if that's what is needed to be finished before the merge window. (And it needs to be ready *before*, not during if I'm judging the prevailing winds correctly).

Is a version of this patch set that has been rebased to current git available? If I have a starting point I can begin working on the pcm030 support. pcm030 already works, it is just out of tree.

Quoted 16 lines

Cheers,
g.

Quoted 5 lines

--
Jon Smirl
[email protected]

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195

Signature · 2 lines
Jon Smirl
[email protected]
#7 lore raw
Quoted 34 lines · Jon Smirl
Quoted 33 lines · Grant Likely
Quoted 17 lines · Jon Smirl
Quoted 4 lines · Robert Schwebel

We have the OSELAS.BSP patch stack for the PCM030 working ontop of Linus' git. It still uses an older version of the Bestcom patches, so if you do some work in that area, please keep me informed about your progress.

What is the best way to proceed? I need to be on current git since we are integrating a wireless driver that is tracking current git and the mac80211 work.

I have Phytec (pcm030) and Efika hardware but I don't have a 5200lite. Our prototype hardware uses the pcm030 module on a custom baseboard.

The best thing for me would be to get a FEC driver merged. That is the largest piece of code that is floating around. Getting that merged would give me a stable base to build future patches on.

Quoted 7 lines

I'd also like to get support for the pcm030 (minus real-time) merged. That isn't a lot of code once FEC is in the kernel.

Domen has posted this driver "[RFC PATCH v0.1] net driver: mpc52xx fec". I can work on breaking that up, but I don't have a 5200lite so I will have to port to pcm030. I don't want to start on this if someone else is already doing it.

Sylvain's bestcomm patches need be cleaned up and resubmitted before the next merge window opens. AFAIK, the code is pretty much ready, and all the comments have been addressed. All that is required is the final push to tidy the patchset and post to the list one more time. Sylvain said that he was going to get this done last weekend, but I haven't heard back from him yet.

Quoted 8 lines
Quoted 4 lines

Sylvain, if you need help, please let me know. I'll happily take on the last bit of tidy work if that's what is needed to be finished before the merge window. (And it needs to be ready *before*, not during if I'm judging the prevailing winds correctly).

Is a version of this patch set that has been rebased to current git available? If I have a starting point I can begin working on the pcm030 support. pcm030 already works, it is just out of tree.

I've got it it my tree. I'll try to push it out today.

Cheers,
g.

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
#8 lore raw
In reply to Jon Smirl
Quoted 34 lines · Jon Smirl
Quoted 33 lines · Grant Likely
Quoted 17 lines · Jon Smirl
Quoted 4 lines · Robert Schwebel

We have the OSELAS.BSP patch stack for the PCM030 working ontop of Linus' git. It still uses an older version of the Bestcom patches, so if you do some work in that area, please keep me informed about your progress.

What is the best way to proceed? I need to be on current git since we are integrating a wireless driver that is tracking current git and the mac80211 work.

I have Phytec (pcm030) and Efika hardware but I don't have a 5200lite. Our prototype hardware uses the pcm030 module on a custom baseboard.

The best thing for me would be to get a FEC driver merged. That is the largest piece of code that is floating around. Getting that merged would give me a stable base to build future patches on.

Quoted 7 lines

I'd also like to get support for the pcm030 (minus real-time) merged. That isn't a lot of code once FEC is in the kernel.

Domen has posted this driver "[RFC PATCH v0.1] net driver: mpc52xx fec". I can work on breaking that up, but I don't have a 5200lite so I will have to port to pcm030. I don't want to start on this if someone else is already doing it.

Sylvain's bestcomm patches need be cleaned up and resubmitted before the next merge window opens. AFAIK, the code is pretty much ready, and all the comments have been addressed. All that is required is the final push to tidy the patchset and post to the list one more time. Sylvain said that he was going to get this done last weekend, but I haven't heard back from him yet.

Quoted 8 lines
Quoted 4 lines

Sylvain, if you need help, please let me know. I'll happily take on the last bit of tidy work if that's what is needed to be finished before the merge window. (And it needs to be ready *before*, not during if I'm judging the prevailing winds correctly).

Is a version of this patch set that has been rebased to current git available? If I have a starting point I can begin working on the pcm030 support. pcm030 already works, it is just out of tree.

I think these patches are "latest":
http://www.246tnt.com/mpc52xx/dev_full/
Applying them to -git should not be a problem, I don't remember anything tricky, but if you have problems, I can send you patches agains mainline.

BTW. I posted FEC patch v2, which will hopefully be merged.

Domen

Quoted 23 lines
Quoted 18 lines

Cheers,
g.

Quoted 5 lines

--
Jon Smirl
[email protected]

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195

Signature · 2 lines
Jon Smirl
[email protected]
#9 lore raw
Quoted 44 lines · Domen Puncer
Quoted 34 lines · Jon Smirl
Quoted 33 lines · Grant Likely
Quoted 17 lines · Jon Smirl
Quoted 4 lines · Robert Schwebel

We have the OSELAS.BSP patch stack for the PCM030 working ontop of Linus' git. It still uses an older version of the Bestcom patches, so if you do some work in that area, please keep me informed about your progress.

What is the best way to proceed? I need to be on current git since we are integrating a wireless driver that is tracking current git and the mac80211 work.

I have Phytec (pcm030) and Efika hardware but I don't have a 5200lite. Our prototype hardware uses the pcm030 module on a custom baseboard.

The best thing for me would be to get a FEC driver merged. That is the largest piece of code that is floating around. Getting that merged would give me a stable base to build future patches on.

Quoted 7 lines

I'd also like to get support for the pcm030 (minus real-time) merged. That isn't a lot of code once FEC is in the kernel.

Domen has posted this driver "[RFC PATCH v0.1] net driver: mpc52xx fec". I can work on breaking that up, but I don't have a 5200lite so I will have to port to pcm030. I don't want to start on this if someone else is already doing it.

Sylvain's bestcomm patches need be cleaned up and resubmitted before the next merge window opens. AFAIK, the code is pretty much ready, and all the comments have been addressed. All that is required is the final push to tidy the patchset and post to the list one more time. Sylvain said that he was going to get this done last weekend, but I haven't heard back from him yet.

Quoted 8 lines
Quoted 4 lines

Sylvain, if you need help, please let me know. I'll happily take on the last bit of tidy work if that's what is needed to be finished before the merge window. (And it needs to be ready *before*, not during if I'm judging the prevailing winds correctly).

Is a version of this patch set that has been rebased to current git available? If I have a starting point I can begin working on the pcm030 support. pcm030 already works, it is just out of tree.

Quoted 6 lines

I think these patches are "latest":
http://www.246tnt.com/mpc52xx/dev_full/
Applying them to -git should not be a problem, I don't remember anything tricky, but if you have problems, I can send you patches agains mainline.

BTW. I posted FEC patch v2, which will hopefully be merged.

I just booted your code successfully on current Linus git with a Phytec pcm030.

There is a timeout issue that is probably related to the specific Ethernet PHY chip used on the pcm030. I'm looking into it now.

[    1.313708] net eth0: attached phy 0 to driver Generic PHY
[    2.320013] Sending DHCP requests ...... timed out!
[   81.968863] IP-Config: Retrying forever (NFS root)...
[   82.477527] net eth0: attached phy 0 to driver Generic PHY
[   83.487809] Sending DHCP requests .<6>PHY: f0003000:00 - Link is Up
- 100/Full
[   86.323795] ., OK
[   88.579802] IP-Config: Got DHCP answer from 192.168.1.200, my
address is 192.168.1.5
[   88.587923] IP-Config: Complete:
Quoted 28 lines

Domen

Quoted 23 lines
Quoted 12 lines

Cheers,
g.

Quoted 5 lines

--
Jon Smirl
[email protected]

Quoted 6 lines

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195

--
Jon Smirl
[email protected]

Signature · 2 lines
Jon Smirl
[email protected]
#10 lore raw
In reply to Grant Likely
Quoted 26 lines · Grant Likely
Quoted 17 lines · Jon Smirl
Quoted 4 lines · Robert Schwebel

We have the OSELAS.BSP patch stack for the PCM030 working ontop of Linus' git. It still uses an older version of the Bestcom patches, so if you do some work in that area, please keep me informed about your progress.

What is the best way to proceed? I need to be on current git since we are integrating a wireless driver that is tracking current git and the mac80211 work.

I have Phytec (pcm030) and Efika hardware but I don't have a 5200lite. Our prototype hardware uses the pcm030 module on a custom baseboard.

The best thing for me would be to get a FEC driver merged. That is the largest piece of code that is floating around. Getting that merged would give me a stable base to build future patches on.

Quoted 7 lines

I'd also like to get support for the pcm030 (minus real-time) merged. That isn't a lot of code once FEC is in the kernel.

Domen has posted this driver "[RFC PATCH v0.1] net driver: mpc52xx fec". I can work on breaking that up, but I don't have a 5200lite so I will have to port to pcm030. I don't want to start on this if someone else is already doing it.

Quoted 6 lines

Sylvain's bestcomm patches need be cleaned up and resubmitted before the next merge window opens. AFAIK, the code is pretty much ready, and all the comments have been addressed. All that is required is the final push to tidy the patchset and post to the list one more time. Sylvain said that he was going to get this done last weekend, but I haven't heard back from him yet.

I just noticed mail from Paul Mackerras
"Patches added to powerpc.git for-2.6.24 branch"

The MPC5200 ones aren't in the list.

Quoted 20 lines

Sylvain, if you need help, please let me know. I'll happily take on the last bit of tidy work if that's what is needed to be finished before the merge window. (And it needs to be ready *before*, not during if I'm judging the prevailing winds correctly).

Cheers,
g.

Quoted 5 lines

--
Jon Smirl
[email protected]

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195

Signature · 2 lines
Jon Smirl
[email protected]
#11 lore raw
In reply to Babarovic Ivica
Quoted 8 lines · In message <[email protected]> you wrote:

What kernel should I get/pull for MPC5200 clone board.
I've been away from coding on mpc5200 for quite some time now. I've read some archives from ML.
Git repo on Sylvain Munauts url:
http://gitbits.246tNt.com/gitbits/linux-2.6-mpc52xx.gitpage
isn't working. Nothing on http://*git*.secretlab.ca/cgi-bin/*gitweb*.cgi
<http://git.secretlab.ca/cgi-bin/gitweb.cgi> to.

We have working support for the MPC5200 (based on Sylvain's and Grant's) code in our linux-2.6-denx repository, at least for the lite5200b and TQM5200 boards; I recommend to stick with commit ID 85ab69c5 = tag DENX-2007-08-30-1748 at the moment, as the 2.6.23-rc5 coe is not completely tested yet. [Well, actually *all* this is work in progress...]

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
There are always alternatives.
	-- Spock, "The Galileo Seven", stardate 2822.3