Xenomai 3.1 application compatibility with newer kernels
davide gandolfi <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <AM9P195MB0885C2567A22284ACB34BD1CE07DA@AM9P195MB0885.EURP195.PROD.OUTLOOK.COM> |
Dear community, I have an application (a library) that is linked against Xenomai 3.1 (I bet using the Posix skin), and runs fine with kernel 4.19.114-cip24. In particular, it uses RtNet drivers. Now I need to update the hardware, and most solutions on the market have newer cpus not supported by that kernel. What are my best options? On the ipipe-x86 repository, I see that kernel 5.4 is supported, but it is not clear to me if Xenomai 3.1 supports it. Moreover, 5.4 is still too old for Alder Lake or newer processors. Then, we have the dovetail repository, which is the most updated, but I think it does not fit with Xenomai 3.1, am I correct? Lastly, I could update Xenomai to 3.3.x and use the latest dovetail kernel. This is what I did and the system works fine with basic tests (like "latency"), but works horribly with my old library. In particular, I have several spurious relaxes and mode switches on the thread that, I guess, is responsible of calling the RtNet driver (not 100% sure on that because the library is closed source). What are your thoughts? Is it expected that the API, in particular for RtNet, changed from Xenomai 3.1 to 3.3? Please note that I don't have any segmentation fault or crash, the application seems to work fine, just not "realtime". Shall I expect better compatibility if using Xenomai 3.2 or it is not worth trying? Thank you for your help Davide Gandolfi Laser Technology Development Engineer ADIGE S.P.A. www.blmgroup.com