[Xenomai] something wrong with drivers/xenomai/net/driver/r8169.c

2017-11-29 Thread Jack Lee
When I build Linux 4.9.51 with the latest xenomai-3-7a038dfad8d1e48b065542c8cc2e39f6b5ee4f82.tar.bz2 there get an error.   CC [M]  drivers/xenomai/net/drivers/r8169.o

Re: [Xenomai] matching patch version to kernel version

2017-11-29 Thread Greg Gallagher
Hi, In my experience I usually try to get the patch that is the closest match to my kernel version. So I would try ipipe-core-4.9.51-x86-4.patch, you will probably have to do some hand fixes to resolve any conflicts if the patch doesn't apply cleanly. That's usually how I approach it. There

[Xenomai] matching patch version to kernel version

2017-11-29 Thread Steve Pavao
Hi all, I am building Yocto poky linux for an Intel board at head in Master branch in Yocto poky, which currently results in a kernel version 4.9.61. I see that the latest patch file in the xenomai download area is ipipe-core-4.9.51-x86-4.patch. Will this patch work OK with the 4.9.61 kernel

Re: [Xenomai] Gpio-core question

2017-11-29 Thread Greg Gallagher
Hi, Sorry for the formatting in the last email I'm not sure what happened in my editor. I've had some time to look into this issue. For my case that is outlined above it looks like we insert the fd into the tree in create instance, then when we fail the call to dev->ops.open, the fd is cleaned

Re: [Xenomai] Library cannot be dlopen()ed

2017-11-29 Thread Giulio Moro
> From: Philippe Gerum > As mentioned in the documentation, --enable-dlopen-libs is needed when > configuring Brilliant, thanks. The docs mentions > Enabling dynamic loading introduces some overhead in TLS accesses when > enabled (see --enable-tls), which might be noticeable

Re: [Xenomai] Library cannot be dlopen()ed

2017-11-29 Thread Philippe Gerum
On 11/29/2017 12:24 AM, Giulio Moro wrote: > Again, armv7 BeagleBone Black, Xenomai 3.0.5 > > My main executable uses the posix API, hence ldd tells me : > libcobalt.so.2 => /usr/xenomai/lib/libcobalt.so.2 (0xb6ed3000) > libmodechk.so.0 => /usr/xenomai/lib/libmodechk.so.0 (0xb6f39000)