Skip to contentSkip to conversation

Xubuntu and Xenomai on the Lite5200 (IceCube)...

DISCUSSION David Jander 4 participants 6 messages Oct 30, 2006 – Oct 31, 2006

lore
Share & tools
lore
#0 lore raw

Hi all,

I got the task to help make Linux run on the IceCube, with support for MSCAN, FEC and USB. After a rather exciting jurney I managed to get kernel 2.6.18 working with bestcomm DMA and FEC support backported from DENX's git 2.6.19-rcsomething, and Xenomai installed upon that.
Btw, before Wolfgang Denk starts complaining why I didn't use his 2.4 kernel, it's because I wasn't smart enough to get USB working. If it does work, please tell me how, I just get errors when plugging in a USB device "kernel:
usb.c: USB device not accepting new address=2 (error=-110)".
This seems to work fine in 2.6, though.
It was not easy, so I wrote everything down (I hope I didn't forget anything important):

http://yopesblog.blogspot.com/2006/10/how-to-run-ubuntu-and-xenomai-on.html

If anyone wants to tell me what I did wrong (probably a lot), please tell me. I am posting this to the list hoping someone else will benefit from it. I certainly would have.

Greetings,

Signature · 1 line
David Jander
#1 lore raw

Hello, David,

We have had the same problem,

after enabling pci in the kernelconfig,
usb is working.

best regards

Achim

Quoted 30 lines

-----Ursprungliche Nachricht-----
Von: [email protected] [mailto:[email protected]]Im Auftrag von David Jander
Gesendet: Montag, 30. Oktober 2006 12:10
An: linuxppc-embedded list
Betreff: Xubuntu and Xenomai on the Lite5200 (IceCube)...

Hi all,

I got the task to help make Linux run on the IceCube, with support for MSCAN,
FEC and USB. After a rather exciting jurney I managed to get kernel 2.6.18
working with bestcomm DMA and FEC support backported from DENX's git 2.6.19-rcsomething, and Xenomai installed upon that.
Btw, before Wolfgang Denk starts complaining why I didn't use his 2.4 kernel,
it's because I wasn't smart enough to get USB working. If it does work,
please tell me how, I just get errors when plugging in a USB device "kernel:
usb.c: USB device not accepting new address=2 (error=-110)". This seems to work fine in 2.6, though.
It was not easy, so I wrote everything down (I hope I didn't forget anything
important):

Quoted 1 line

http://yopesblog.blogspot.com/2006/10/how-to-run-ubuntu-and-xe

nomai-on.html

If anyone wants to tell me what I did wrong (probably a lot), please tell me.
I am posting this to the list hoping someone else will benefit from it. I certainly would have.

Greetings,

--
David Jander
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#2 lore raw
Quoted 6 lines · Achim Machura

Hello, David,

We have had the same problem,

after enabling pci in the kernelconfig,
usb is working.

Duh. And how is one supposed to know that?
Thanks for the tip ;-)

Greetings,

Signature · 1 line
David Jander
#4 lore raw
In reply to David Jander
Quoted 15 lines · David Jander

Hi all,

I got the task to help make Linux run on the IceCube, with support for MSCAN, FEC and USB. After a rather exciting jurney I managed to get kernel 2.6.18 working with bestcomm DMA and FEC support backported from DENX's git 2.6.19-rcsomething, and Xenomai installed upon that.
Btw, before Wolfgang Denk starts complaining why I didn't use his 2.4 kernel, it's because I wasn't smart enough to get USB working. If it does work, please tell me how, I just get errors when plugging in a USB device "kernel:
usb.c: USB device not accepting new address=2 (error=-110)".
This seems to work fine in 2.6, though.
It was not easy, so I wrote everything down (I hope I didn't forget anything important):

Quoted 1 line

http://yopesblog.blogspot.com/2006/10/how-to-run-ubuntu-and-xenomai-on.html

Congratulations, that's good work! Especially the bit about documenting what you did! I've been meaning to play w/ xenomai for a while now.

Care to help with the port to arch/powerpc now? :P

g.

Signature · 4 lines
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
#3 lore raw
In reply to David Jander
Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 3 lines

after enabling pci in the kernelconfig,
usb is working.

Duh. And how is one supposed to know that?

You aren't. I consider this a bug, too. Actually, this is supposed to be fixed in the current tree.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
"The greatest warriors are the ones who fight for peace."
- Holly Near
#5 lore raw
In reply to Grant Likely
Quoted 5 lines · Grant Likely

[...]

Quoted 1 line

Congratulations, that's good work! Especially the bit about documenting what you did! I've been meaning to play w/ xenomai for a while now.

Thanks. I hope this makes searching-time shorter for you.
I wish I could remember more details about what I exactly changed to make the kernel compile after backporting bestcomm and FEC... I vaguely remember adding "#include <platform_device.h>" to at least two files...

Quoted 1 line

Care to help with the port to arch/powerpc now? :P

I would really like to, but I have very limited time to dedicate to such things. If I get the chance to do something about it, I'll do it, I promise. The time will come when I'll have to port our own board-support stuff to arch/powerpc... so...

Greetings,

Signature · 1 line
David Jander