Skip to contentSkip to conversation

Need stable 2.6 kernel for TQM823L

DISCUSSION Thomas Maenner 4 participants 8 messages Jul 2, 2008 – Jul 22, 2008

lore
Share & tools
lore
#0 lore raw

Hi Guys,

I have used the 2.4 kernel successfully on the TQM823L and 855s, and wanted to try out a 2.6 version. So I downloaded the latest from Wolfgang @ git.denx.de but I'm getting all sorts of compile errors....

Before I continue to dive in, I wanted to ask the group some questions:
- Is 2.6 ported to the TQM8xx modules?
- If so, is it stable?
- If so, where can I download the sources?

Thanks much
Tom

Signature · 4 lines
Linux hackers are funny people: They count the time in patchlevels
--
Thomas Maenner
E-Mail: mailto:[email protected]
#1 lore raw
Quoted 8 lines · Thomas Maenner

Hi Guys,

I have used the 2.4 kernel successfully on the TQM823L and 855s, and wanted to try out a 2.6 version. So I downloaded the latest from Wolfgang @ git.denx.de but I'm getting all sorts of compile errors....

Before I continue to dive in, I wanted to ask the group some questions:
- Is 2.6 ported to the TQM8xx modules?

$ ls arch/powerpc/boot/dts/tqm*
arch/powerpc/boot/dts/tqm5200.dts  arch/powerpc/boot/dts/tqm8555.dts
arch/powerpc/boot/dts/tqm8540.dts  arch/powerpc/boot/dts/tqm8560.dts
arch/powerpc/boot/dts/tqm8541.dts

Unfortunately, it doesn't look like any of the tqm8xx boards have been added to the device tree directory, so the answer is probably, 'no'.

Quoted 1 line

- If so, is it stable?

I believe 8xx support is stable in arch/powerpc, but you'll need to write a device tree file for the board. Look for a similar board in arch/powerpc/boot/dts/ to use as a starting point.

You'll probably also need to add a platform file to arch/powerpc/platforms/8xx that matches against your new device tree file.

g.

#2 lore raw

Thanks much Grant,

Quoted 7 lines · On Wednesday 02 July 2008 22:58:19 Grant Likely wrote:
Quoted 6 lines · Thomas Maenner

Hi Guys,

I have used the 2.4 kernel successfully on the TQM823L and 855s, and wanted to try out a 2.6 version. So I downloaded the latest from Wolfgang @ git.denx.de but I'm getting all sorts of compile errors....

Quoted 8 lines
Quoted 2 lines

Before I continue to dive in, I wanted to ask the group some questions:
- Is 2.6 ported to the TQM8xx modules?

$ ls arch/powerpc/boot/dts/tqm*
arch/powerpc/boot/dts/tqm5200.dts  arch/powerpc/boot/dts/tqm8555.dts
arch/powerpc/boot/dts/tqm8540.dts  arch/powerpc/boot/dts/tqm8560.dts
arch/powerpc/boot/dts/tqm8541.dts

however, I found config files in the ppc tree:
ls arch/ppc/configs/TQM8*
arch/ppc/configs/TQM823L_defconfig
arch/ppc/configs/TQM850L_defconfig
arch/ppc/configs/TQM8260_defconfig
arch/ppc/configs/TQM860L_defconfig

Is this stuff still working?
Do I still need to create a device tree?

Thanks again

Tom

Quoted 13 lines

Unfortunately, it doesn't look like any of the tqm8xx boards have been added to the device tree directory, so the answer is probably, 'no'.

Quoted 1 line

- If so, is it stable?

I believe 8xx support is stable in arch/powerpc, but you'll need to write a device tree file for the board. Look for a similar board in arch/powerpc/boot/dts/ to use as a starting point.

You'll probably also need to add a platform file to arch/powerpc/platforms/8xx that matches against your new device tree file.

g.

Signature · 4 lines
Linux hackers are funny people: They count the time in patchlevels
--
Thomas Maenner
E-Mail: mailto:[email protected]
#3 lore raw
Quoted 12 lines · Thomas Maenner
Quoted 5 lines
$ ls arch/powerpc/boot/dts/tqm*
arch/powerpc/boot/dts/tqm5200.dts  arch/powerpc/boot/dts/tqm8555.dts
arch/powerpc/boot/dts/tqm8540.dts  arch/powerpc/boot/dts/tqm8560.dts
arch/powerpc/boot/dts/tqm8541.dts

however, I found config files in the ppc tree:
ls arch/ppc/configs/TQM8*
arch/ppc/configs/TQM823L_defconfig
arch/ppc/configs/TQM850L_defconfig
arch/ppc/configs/TQM8260_defconfig
arch/ppc/configs/TQM860L_defconfig

Quoted 2 lines

Is this stuff still working?
Do I still need to create a device tree?

arch/ppc is depreciated and will disappear in 2.6.27. I don't know if anyone is actively keeping 8xx support working in arch/ppc so you may experience significant breakage.

g.

#4 lore raw
Quoted 13 lines · On Thursday 03 July 2008 12:04:40 Grant Likely wrote:
Quoted 12 lines · Thomas Maenner
Quoted 4 lines
$ ls arch/powerpc/boot/dts/tqm*
arch/powerpc/boot/dts/tqm5200.dts  arch/powerpc/boot/dts/tqm8555.dts
arch/powerpc/boot/dts/tqm8540.dts  arch/powerpc/boot/dts/tqm8560.dts
arch/powerpc/boot/dts/tqm8541.dts

however, I found config files in the ppc tree:
ls arch/ppc/configs/TQM8*
arch/ppc/configs/TQM823L_defconfig
arch/ppc/configs/TQM850L_defconfig
arch/ppc/configs/TQM8260_defconfig
arch/ppc/configs/TQM860L_defconfig

Quoted 8 lines
Quoted 2 lines

Is this stuff still working?
Do I still need to create a device tree?

arch/ppc is depreciated and will disappear in 2.6.27. I don't know if anyone is actively keeping 8xx support working in arch/ppc so you may experience significant breakage.

g.

Not exactly what I was hoping to hear...

What are the reasons to not port these TQs to 2.6? Lack of resources? Not enough interest?

Thanks again
Tom

Signature · 4 lines
Linux hackers are funny people: They count the time in patchlevels
--
Thomas Maenner
E-Mail: mailto:[email protected]
#5 lore raw

Hi Tom,

Quoted 10 lines · Thomas Maenner
Quoted 5 lines

arch/ppc is depreciated and will disappear in 2.6.27. I don't know if anyone is actively keeping 8xx support working in arch/ppc so you may experience significant breakage.

g.

Not exactly what I was hoping to hear...

What are the reasons to not port these TQs to 2.6? Lack of resources? Not enough interest?

We (DENX) have been maintaining those TQM8xx boards (U-Boot & Linux). But till now nobody asked us to port these over to arch/powerpc. You may understand that we won't do this "just for fun". If you are interested in an arch/powerpc port for these boards, we could do this of course. Please contact me off list if you are interested in such a project.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================

#6 lore raw
In reply to Thomas Maenner

Hi Tom,

Quoted 4 lines

Not exactly what I was hoping to hear...

What are the reasons to not port these TQs to 2.6? Lack of resources? Not enough interest?

It's probably not enough interest.

However, the port should be fairly easy. Some time ago, I posted a port for the Dbox2 hardware, which is also based on the MPC823 CPU. You can use this as a starting point just by ripping off the DBox2 specific parts (you'd have to convert the device tree to v1 though):

http://patchwork.ozlabs.org/linuxppc/patch?person=1023&id=15875

Thanks,
Jochen

#7 lore raw

Thanks guys for the info and pointers.
(Sorry for the late reply - Was on vacation)

Signature · 4 lines
Linux hackers are funny people: They count the time in patchlevels
--
Thomas Maenner
E-Mail: mailto:[email protected]