Xenomai on Beaglebone
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines
Hi Stephan,
I saw that you got Xenomai running on the Beaglebone from the thread here: http://www.xenomai.org/pipermail/xenomai/2012-July/000476.html
Quoted 9 lines
I was wondering if you would be willing to share the source code for this. I am interested in getting Xenomai working on the Beaglebone but I have no previous experience with Xenomai. I would greatly appreciate it if you would be willing to share your source code.
Thanks!
Adam Roper
I can provide a combined patchfile against the vanilla 3.2.21 kernel that includes both the AM335x support as provided by Koen Kois git repository and the xenomai/adeos patch. That patch file is 9.1 MB. Do you have an FTP server where I can upload it to?
- Stephan
Quoted 18 lines · Stephan Kappertz
Quoted 18 lines
Hi Stephan,
I saw that you got Xenomai running on the Beaglebone from the thread here:
http://www.xenomai.org/pipermail/xenomai/2012-July/000476.htmlI was wondering if you would be willing to share the source code for this. I am interested in getting Xenomai working on the Beaglebone but I have no previous experience with Xenomai. I would greatly appreciate it if you would be willing to share your source code.
Thanks!
Quoted 8 lines
Quoted 3 lines
Adam Roper
I can provide a combined patchfile against the vanilla 3.2.21 kernel that includes both the AM335x support as provided by Koen Kois git repository and the xenomai/adeos patch. That patch file is 9.1 MB. Do you have an FTP server where I can upload it to?
We could distribute this work with Xenomai sources, if you were willing to provide it in a more manageable way, such as a pre-patch to apply to the Koen Kois git repository before the I-pipe patch, then a post-patch. Like we do for imx5x/imx6q.
Regards.
Signature · 1 line
Gilles.
A message that is not in the archive (sent off-list or not yet received): CAMpYrwA+-Rhr=MvA2sLXFgHp0o7fseukeaoFDhO6Xej-VUjF_A@mail.gmail.com
Dear all,
Quoted 4 lines
Quoted 4 lines
I am interested in getting Xenomai working on the Beaglebone but I have no previous experience with Xenomai. I would greatly appreciate it if you would be willing to share your source code.
I would be very interested in it too as I am in the exactly same case here. I am also new to xenomai and I would want to test it in a beaglebone.
Quoted 2 lines · Gilles Chanteperdrix
We could distribute this work with Xenomai sources,
That would be awesome.
Quoted 2 lines · Stephan Kappertz
I can provide a combined patchfile against the vanilla 3.2.21 kernel
That would be great too.
Quoted 4 lines · Stephan Kappertz
that includes both the AM335x support as provided by Koen Kois git On 07/12/2012 09:54 PM, Stephan Kappertz wrote:
I am using the slightly patched kernel from linux-omap
In the meanwhile, could you tell us what seems to be the best kernel tree to get xenomai working in the beaglebone? I can't find the git repo you talk about.
Thanks,
Gdalbeniz
PS. Apologies if the email is sent twice.
Quoted 24 lines
Dear all,
Quoted 4 lines
Quoted 4 lines
I am interested in getting Xenomai working on the Beaglebone but I have no previous experience with Xenomai. I would greatly appreciate it if you would be willing to share your source code.
I would be very interested in it too as I am in the exactly same case here. I am also new to xenomai and I would want to test it in a beaglebone.
Quoted 2 lines · Gilles Chanteperdrix
We could distribute this work with Xenomai sources,
That would be awesome.
Quoted 2 lines · Stephan Kappertz
I can provide a combined patchfile against the vanilla 3.2.21 kernel
That would be great too.
Quoted 4 lines · Stephan Kappertz
that includes both the AM335x support as provided by Koen Kois git On 07/12/2012 09:54 PM, Stephan Kappertz wrote:
I am using the slightly patched kernel from linux-omap
Quoted 5 lines
In the meanwhile, could you tell us what seems to be the best kernel tree to get xenomai working in the beaglebone? I can't find the git repo you talk about.
Thanks,
Gdalbeniz
The problem with an post patch is that it needs to be updated for every updated ipipe patch…
What I could do now is creating a post-patch to the the kernel after applying the original ipipe-core-3.2.21-arm.patch to the vanilla kernel. I did not update to ipipe-core-3.2.21-arm-1.patch though. Gilles, do you have an incremental patch available that I can apply after the original patch? Making that patch apply correctly would possibly be less effort than starting with the full patch again.
- Stephan
Quoted 30 lines · Stephan Kappertz
Quoted 30 lines
Dear all,
Quoted 4 lines
Quoted 4 lines
I am interested in getting Xenomai working on the Beaglebone but I have no previous experience with Xenomai. I would greatly appreciate it if you would be willing to share your source code.
I would be very interested in it too as I am in the exactly same case here. I am also new to xenomai and I would want to test it in a beaglebone.
Quoted 2 lines
On 13 September 2012 15:44, Gilles Chanteperdrix wrote: We could distribute this work with Xenomai sources,
That would be awesome.
Quoted 2 lines
On 09/13/2012 03:31 PM, Stephan Kappertz wrote: I can provide a combined patchfile against the vanilla 3.2.21 kernel
That would be great too.
Quoted 4 lines
On 09/13/2012 03:31 PM, Stephan Kappertz wrote: that includes both the AM335x support as provided by Koen Kois git On 07/12/2012 09:54 PM, Stephan Kappertz wrote: I am using the slightly patched kernel from linux-omap
In the meanwhile, could you tell us what seems to be the best kernel tree to get xenomai working in the beaglebone? I can't find the git repo you talk about.
Quoted 6 lines
Quoted 3 lines
Thanks,
Gdalbeniz
The problem with an post patch is that it needs to be updated for every updated ipipe patch…
The point is that most of the time, you do not need to update it. If you integrate the I-pipe patch in your patch, then it is sure, you need to re-release the patch after every release of the I-pipe patch.
Quoted 7 lines
What I could do now is creating a post-patch to the the kernel after applying the original ipipe-core-3.2.21-arm.patch to the vanilla kernel. I did not update to ipipe-core-3.2.21-arm-1.patch though. Gilles, do you have an incremental patch available that I can apply after the original patch? Making that patch apply correctly would possibly be less effort than starting with the full patch again.
I do not understand what you mean. I was talking about a pre and post patch, not of a post patch only.
Signature · 1 line
Gilles.
Quoted 50 lines · Stephan Kappertz
Quoted 30 lines
Quoted 30 lines
Dear all,
Quoted 4 lines
Quoted 4 lines
I am interested in getting Xenomai working on the Beaglebone but I have no previous experience with Xenomai. I would greatly appreciate it if you would be willing to share your source code.
I would be very interested in it too as I am in the exactly same case here. I am also new to xenomai and I would want to test it in a beaglebone.
Quoted 2 lines
On 13 September 2012 15:44, Gilles Chanteperdrix wrote: We could distribute this work with Xenomai sources,
That would be awesome.
Quoted 2 lines
On 09/13/2012 03:31 PM, Stephan Kappertz wrote: I can provide a combined patchfile against the vanilla 3.2.21 kernel
That would be great too.
Quoted 4 lines
On 09/13/2012 03:31 PM, Stephan Kappertz wrote: that includes both the AM335x support as provided by Koen Kois git On 07/12/2012 09:54 PM, Stephan Kappertz wrote: I am using the slightly patched kernel from linux-omap
In the meanwhile, could you tell us what seems to be the best kernel tree to get xenomai working in the beaglebone? I can't find the git repo you talk about.
Quoted 6 lines
Quoted 3 lines
Thanks,
Gdalbeniz
The problem with an post patch is that it needs to be updated for every updated ipipe patch…
The point is that most of the time, you do not need to update it. If you integrate the I-pipe patch in your patch, then it is sure, you need to re-release the patch after every release of the I-pipe patch.
Quoted 7 lines
What I could do now is creating a post-patch to the the kernel after applying the original ipipe-core-3.2.21-arm.patch to the vanilla kernel. I did not update to ipipe-core-3.2.21-arm-1.patch though. Gilles, do you have an incremental patch available that I can apply after the original patch? Making that patch apply correctly would possibly be less effort than starting with the full patch again.
Quoted 7 lines
I do not understand what you mean. I was talking about a pre and post patch, not of a post patch only.
Signature · 1 line
Gilles.
Ok. How would I create such a pre-patch? Basically I would have to patch the Koen Koi sources so that the ipipe patch applies successfully. Which means that I have to make them "look like" the vanilla kernel. Sounds like a huge effort given that I had to change the ipipe patch at around 50 places to get it apply successfully. Or am I missing something?
- Stephan
Quoted 59 lines · Stephan Kappertz
Quoted 52 lines · Stephan Kappertz
Quoted 30 lines
Quoted 30 lines
Dear all,
Quoted 4 lines
Quoted 4 lines
I am interested in getting Xenomai working on the Beaglebone but I have no previous experience with Xenomai. I would greatly appreciate it if you would be willing to share your source code.
I would be very interested in it too as I am in the exactly same case here. I am also new to xenomai and I would want to test it in a beaglebone.
Quoted 2 lines
On 13 September 2012 15:44, Gilles Chanteperdrix wrote: We could distribute this work with Xenomai sources,
That would be awesome.
Quoted 2 lines
On 09/13/2012 03:31 PM, Stephan Kappertz wrote: I can provide a combined patchfile against the vanilla 3.2.21 kernel
That would be great too.
Quoted 4 lines
On 09/13/2012 03:31 PM, Stephan Kappertz wrote: that includes both the AM335x support as provided by Koen Kois git On 07/12/2012 09:54 PM, Stephan Kappertz wrote: I am using the slightly patched kernel from linux-omap
In the meanwhile, could you tell us what seems to be the best kernel tree to get xenomai working in the beaglebone? I can't find the git repo you talk about.
Quoted 6 lines
Quoted 3 lines
Thanks,
Gdalbeniz
The problem with an post patch is that it needs to be updated for every updated ipipe patch…
The point is that most of the time, you do not need to update it. If you integrate the I-pipe patch in your patch, then it is sure, you need to re-release the patch after every release of the I-pipe patch.
Quoted 8 lines
What I could do now is creating a post-patch to the the kernel after applying the original ipipe-core-3.2.21-arm.patch to the vanilla kernel. I did not update to ipipe-core-3.2.21-arm-1.patch though. Gilles, do you have an incremental patch available that I can apply after the original patch? Making that patch apply correctly would possibly be less effort than starting with the full patch again.
Quoted 6 lines
I do not understand what you mean. I was talking about a pre and post patch, not of a post patch only.
-- Gilles.
Quoted 6 lines
Ok. How would I create such a pre-patch? Basically I would have to patch the Koen Koi sources so that the ipipe patch applies successfully. Which means that I have to make them "look like" the vanilla kernel. Sounds like a huge effort given that I had to change the ipipe patch at around 50 places to get it apply successfully. Or am I missing something?
The way I do it:
keep the branch which works preciously, it should not be changed.
Checkout a temporary branch from the vendor branch (that would be what you call the "Koen Koi sources").
Try and apply the I-pipe patch, see all files conflicting. The pre-patch is the reverse diff between the files in the vanilla kernel, and the files conflicting in the vendor branch.
Generate the pre-patch.
git reset --hard
git clean -df (beware this erases all files non commited in git, so do not do that if you keep precious files not under git control) Apply the pre-patch.
Apply the I-pipe patch.
The post-patch is the difference between the current contents of your working directory and the contents of the precious branch that works. You may want to add all files and commit in the temporary branch to be able to generate the post patch with "git diff".
Signature · 1 line
Gilles.
Quoted 5 lines · Stephan Kappertz <stephan.kappertz <at> kabelmail.de> writes:
Quoted 5 lines
Hi Stephan,
I saw that you got Xenomai running on the Beaglebone from the thread here:
http://www.xenomai.org/pipermail/xenomai/2012-July/000476.html
Quoted 3 lines
Quoted 3 lines
I was wondering if you would be willing to share the source code for this.
I am interested in getting Xenomai
Quoted 1 line
working on the Beaglebone but I have no previous experience with Xenomai. I
would greatly appreciate it if
Quoted 11 lines
you would be willing to share your source code.
Quoted 8 lines
Thanks!
Adam Roper
I can provide a combined patchfile against the vanilla 3.2.21 kernel that
includes both the AM335x support
Quoted 1 line
as provided by Koen Kois git repository and the xenomai/adeos patch. That
patch file is 9.1 MB. Do you have
Quoted 4 lines
an FTP server where I can upload it to?
- Stephan
Hi, Stephan-
I am also trying to get Xenomai on my beaglebone - can you provide me with your files too?
Quoted 30 lines · Yogi
Quoted 5 lines · Stephan Kappertz <stephan.kappertz <at> kabelmail.de> writes:
Quoted 5 lines
Hi Stephan,
I saw that you got Xenomai running on the Beaglebone from the thread here:
http://www.xenomai.org/pipermail/xenomai/2012-July/000476.html
Quoted 3 lines
Quoted 3 lines
I was wondering if you would be willing to share the source code for this.
I am interested in getting Xenomai
Quoted 1 line
working on the Beaglebone but I have no previous experience with Xenomai. I
would greatly appreciate it if
Quoted 11 lines
you would be willing to share your source code.
Quoted 8 lines
Thanks!
Adam Roper
I can provide a combined patchfile against the vanilla 3.2.21 kernel that
includes both the AM335x support
Quoted 1 line
as provided by Koen Kois git repository and the xenomai/adeos patch. That
patch file is 9.1 MB. Do you have
Quoted 2 lines
an FTP server where I can upload it to?
Quoted 7 lines
Quoted 2 lines
- Stephan
Hi, Stephan-
I am also trying to get Xenomai on my beaglebone - can you provide me with your files too?
Hi fellas,
Michael Haberler has done some work on this, see this wiki:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BeagleboneDevsetup
John