Skip to contentSkip to conversation

Xenomai-3.0.1 with raspberry pi

Xenomai mosta 4 participants 5 messages Mar 13, 2016 – Mar 28, 2016

lore
Share & tools
lore

mosta

author
#0 lore raw

Hallo everyone,

I try to compile the current stable release of xenomai for the raspberry pi2. I found a linuxcnc installation guide for xenomai 2.6.1
(http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RaspbianXenomaiBuild) and I compiled on image with it, so I use it as a template to compile xenomai-3.0.1 and the problem I found is that there are pre- and post patches for the raspberry pi and I can't find any for xenomai-3.0.1 are they not needed or do I have to create them myself?

tips and hints for moving forward are welcome.

greetings mosta

#1 lore raw

Hi Mosta,

I have written a quick guide to get Xenomai 3.0 on the Raspberry Pi 2 working at https://www.raspberrypi.org/forums/viewtopic.php?p=926466#p926466
.

It relies on a post patch written by a member of the mailing list a few month ago.

I however find the system to be very unstable so I would love to hear some feedback from you, especially if your system freezes or not.

Hope this helps.

Regards,

Nicolas

2016-03-14 0:16 GMT+01:00 mosta <[email protected]>:

Quoted 19 lines

Hallo everyone,

I try to compile the current stable release of xenomai for the raspberry pi2. I found a linuxcnc installation guide for xenomai 2.6.1
(http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RaspbianXenomaiBuild) and I compiled on image with it, so I use it as a template to compile xenomai-3.0.1 and the problem I found is that there are pre- and post patches for the raspberry pi and I can't find any for xenomai-3.0.1 are they not needed or do I have to create them myself?

tips and hints for moving forward are welcome.

greetings mosta

_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

#2 lore raw
Quoted 39 lines · Nicolas SCHURANDO

Hi Mosta,

I have written a quick guide to get Xenomai 3.0 on the Raspberry Pi 2 working at https://www.raspberrypi.org/forums/viewtopic.php?p=926466#p926466
.

It relies on a post patch written by a member of the mailing list a few month ago.

I however find the system to be very unstable so I would love to hear some feedback from you, especially if your system freezes or not.

Hope this helps.

Regards,

Nicolas

2016-03-14 0:16 GMT+01:00 mosta <[email protected]>:

Quoted 10 lines

Hallo everyone,

I try to compile the current stable release of xenomai for the raspberry pi2. I found a linuxcnc installation guide for xenomai 2.6.1
(http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RaspbianXenomaiBuild) and I compiled on image with it, so I use it as a template to compile xenomai-3.0.1 and the problem I found is that there are pre- and post patches for the raspberry pi and I can't find any for xenomai-3.0.1 are they not needed or do I have to create them myself?

Quoted 9 lines

tips and hints for moving forward are welcome.

greetings mosta

_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

Quoted 5 lines

_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

Thanks Nicolas for taking the time to write the guide.
I have not looked at the problem but there is port to the 4.1 kernel from Philippe Gerum here:
http://git.xenomai.org/ipipe.git/log/?h=vendors/raspberry/ipipe-4.1
It is likely more up to date than mine.

Regards,
-Mathieu

#3 lore raw

Thanks Mathieu for the reminder. I had bookmarked Philippe's new year message introducing the specific vendor branch, but in the interval I somehow forgot it existed.

I was able to produce a working Xenomai 3.0 image for the Raspberry Pi 1 using the bcmrpi_defconfig as a base. It seems stable so far.

However, when using bcm2709_defconfig, the generated kernel won't boot on a Raspberry Pi 2, leaving me with the initial rainbow screen.

Philippe, have you had any feedback from people testing on the Raspberry Pi 2 yet ?

Regards,

Nicolas

2016-03-15 4:58 GMT+01:00 Mathieu Rondonneau <[email protected]

Quoted 59 lines

:

Quoted 4 lines · Nicolas SCHURANDO

Hi Mosta,

I have written a quick guide to get Xenomai 3.0 on the Raspberry Pi 2 working at

https://www.raspberrypi.org/forums/viewtopic.php?p=926466#p926466

Quoted 6 lines

.

It relies on a post patch written by a member of the mailing list a few month ago.

I however find the system to be very unstable so I would love to hear

some

Quoted 29 lines

feedback from you, especially if your system freezes or not.

Hope this helps.

Regards,

Nicolas

2016-03-14 0:16 GMT+01:00 mosta <[email protected]>:

Quoted 10 lines

Hallo everyone,

I try to compile the current stable release of xenomai for the raspberry pi2. I found a linuxcnc installation guide for xenomai 2.6.1
(http://wiki.linuxcnc.org/cgi-bin/wiki.pl?RaspbianXenomaiBuild) and I compiled on image with it, so I use it as a template to compile xenomai-3.0.1 and the problem I found is that there are pre- and post patches for the raspberry pi and I can't find any for xenomai-3.0.1 are they not needed or do I have to create them myself?

Quoted 9 lines

tips and hints for moving forward are welcome.

greetings mosta

_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

Quoted 5 lines

_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

Thanks Nicolas for taking the time to write the guide.
I have not looked at the problem but there is port to the 4.1 kernel from Philippe Gerum here:
http://git.xenomai.org/ipipe.git/log/?h=vendors/raspberry/ipipe-4.1
It is likely more up to date than mine.

Regards,
-Mathieu

#4 lore raw
Quoted 4 lines · Nicolas SCHURANDO

Thanks Mathieu for the reminder. I had bookmarked Philippe's new year message introducing the specific vendor branch, but in the interval I somehow forgot it existed.

Quoted 9 lines

I was able to produce a working Xenomai 3.0 image for the Raspberry Pi 1 using the bcmrpi_defconfig as a base. It seems stable so far.

However, when using bcm2709_defconfig, the generated kernel won't boot on a Raspberry Pi 2, leaving me with the initial rainbow screen.

Philippe, have you had any feedback from people testing on the Raspberry Pi 2 yet ?

Sorry, this message was buried in a bottomless log. I received no feedback regarding this specific target. The original work was aimed at porting to the RPI Zero, which is the only target I have tested so far. Other changes are untested by-products of that work, which should be considered as a template for porting to other RPI SBCs based on the bcm270x families.

Signature · 1 line
Philippe.