Hello Gilles, Thanks for your quick reply! I fully understand that you answer for pages outside your "patch". However, I downloaded Xenomai 2.6.4 from you sourcery: http://download.gna.org/xenomai/stable/latest/
When trying to apply the recipes in http://xenomai.org/installing-xenomai-2-x/ I run into problems as the xenomai-2.6.4/ksrc/arm/patches contains more than the one patch ("adeos-ipipe-2.6.20-arm-*"). It has also subdirectories with pre/post patches for Beaglebone, RPi and other SoC's not mentioned in your receipe. Although I would like to rely solely on the Xenomai recipe I have to take advices from others to try get it all right. I guess I just have two questions for you: Q1. Is the correct absolute path to the Xenomai includefiles: /usr/xenomai/include ? Q2. What is the correct absolute path to the file: linux/ipipe.h ? Best regards Terje -----Original Message----- From: Gilles Chanteperdrix [mailto:[email protected]] Sent: 27. oktober 2014 14:31 To: Terje Frøysa Cc: [email protected] Subject: Re: [Xenomai] Compiling drivers for Xenomai 2.6.4 on Beaglebone Black On Mon, Oct 27, 2014 at 01:21:00PM +0000, Terje Frøysa wrote: > Dear Sirs, > > I have successfully installed the Xenomai 2.6.4 on a Beaglebone Black (Linux > 3.8.13-bone67) by following the these recipes : > http://elinux.org/Talk:EBC_Xenomai > http://elinux.org/EBC_Installing_Kernel_Source Well, the official Xenomai installation instructions are here: http://xenomai.org/installing-xenomai-2-x/ This is the only page we maintain and we know about. > > I can run the latency and klatency tests without problems. > The exercises from Nijmegen (http://www.cs.ru.nl/lab/xenomai/) compiles and > runs nicely. Again, this page is not maintained by us, we do not know if what it contains compiles with Xenomai, and we do not particularly try to avoid breaking the examples it contains. > > My problem now is the lack of drivers under Xenomai. I found the > following: https://github.com/nradulovic/xdrv-spi > https://github.com/nradulovic/xdrv-16c750a According to README these > drivers are designed for AM335X and Xenomai 2.6.2.1 > > The problem seem to be that the Makefiles stems from quite a different > Xenomai environment. > The ${LINUX_SRC} is not defined and the -Iinclude/xenomai does not exist. > > Trying to mend this makes only the problems escalate. > > Question: > Is it possible to make these drivers comply with the Xenomai 2.6.4 > environment on the BBB? There should be no difference between 2.6.2.1 and 2.6.4 that could break building drivers. I suspect the problem is rather that you should pass the right variables to this driver Makefile to indicate where you have the patched Linux kernel, or that this driver is meant to be cross-compiled and you are trying to compile it on target, or vice versa. -- Gilles. _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
