xenomai issueshttps://source.denx.de/groups/Xenomai/-/issues2022-07-24T09:05:32Zhttps://source.denx.de/Xenomai/xenomai4/libevl/-/issues/1Building example code2022-07-24T09:05:32ZRoberto FerriBuilding example codeHello!
My team and I are trying to build an EVL-based application on a _Raspberry Pi 4B_ [1] without success.
We followed the steps reported in the guide [2] to compile the code in [3].
It would be great if you could tell us what we di...Hello!
My team and I are trying to build an EVL-based application on a _Raspberry Pi 4B_ [1] without success.
We followed the steps reported in the guide [2] to compile the code in [3].
It would be great if you could tell us what we did wrong.
Many thanks for your work!
[1] kernel 5.15.35-v8, compiled using https://source.denx.de/Xenomai/xenomai4/linux-evl
[2] https://evlproject.org/core/user-api/#build-evl-app
[3] https://evlproject.org/core/user-api/thread/#thread-services
<details><summary> <b>source code</b> (foo.c) </summary>
```c
#include <sys/types.h>
#include <unistd.h>
#include <sched.h>
#include <pthread.h>
#include <evl/sched.h>
#include <evl/thread.h>
int main(int argc, char *argv[])
{
struct sched_param param;
int ret, tfd;
param.sched_priority = 8;
ret = pthread_setschedparam(pthread_self(), SCHED_FIFO, ¶m);
/* EVL inherits the in-band scheduling params upon attachment. */
tfd = evl_attach_self("app-main-thread:%d", getpid());
/*
* Now main() is running out-of-band, in the EVL SCHED_FIFO
* class at priority 8.
*/
return 0;
}
```
</details>
<details><summary><b>meson.build</b></summary>
```
project('a_foo_system', [ 'c' ], version : '0.0.0')
pthread_dep = dependency('threads')
libevl_dep = dependency('evl', method : 'pkg-config')
executable('foo',
'foo.c',
install: true,
dependencies : [ libevl_dep, pthread_dep ],
)
```
</details>
<details><summary><b>compiler output</b></summary>
```[1/2] Compiling C object foo.p/foo.c.o
FAILED: foo.p/foo.c.o
cc -Ifoo.p -I. -I../src -I/usr/evl/include -I/usr/evl/include/evl -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -pthread -MD -MQ foo.p/foo.c.o -MF foo.p/foo.c.o.d -o foo.p/foo.c.o -c ../src/foo.c
../src/foo.c: In function ‘main’:
../src/foo.c:11:21: error: storage size of ‘param’ isn’t known
11 | struct sched_param param;
| ^~~~~
../src/foo.c:15:46: error: ‘SCHED_FIFO’ undeclared (first use in this function); did you mean ‘SCHED_TP’?
15 | ret = pthread_setschedparam(pthread_self(), SCHED_FIFO, ¶m);
| ^~~~~~~~~~
| SCHED_TP
../src/foo.c:15:46: note: each undeclared identifier is reported only once for each function it appears in
../src/foo.c:12:11: warning: variable ‘tfd’ set but not used [-Wunused-but-set-variable]
12 | int ret, tfd;
| ^~~
../src/foo.c:12:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
12 | int ret, tfd;
| ^~~
../src/foo.c:11:21: warning: unused variable ‘param’ [-Wunused-variable]
11 | struct sched_param param;
| ^~~~~
ninja: build stopped: subcommand failed.Philippe GerumPhilippe Gerumhttps://source.denx.de/Xenomai/xenomai-images/-/issues/2how to build a new image for a new model with a custom dtb ?2023-09-04T05:37:08Z子翔 燕how to build a new image for a new model with a custom dtb ?I need to buid a new image for a new model,
arm64 based,
but the hikey image can not boot,
so I need to custom the dtb,
how to do this ?
please help.I need to buid a new image for a new model,
arm64 based,
but the hikey image can not boot,
so I need to custom the dtb,
how to do this ?
please help.https://source.denx.de/Xenomai/xenomai-images/-/issues/1Provide different kernel configs set for different purposes2021-03-17T11:35:19ZJan KiszkaProvide different kernel configs set for different purposesFor functional testing, IPIPE_DEBUG & Co. should be on (currently the case for x86 and armhf, not for arm64).
For performance/latency testing and demonstration, debug switches should be off.For functional testing, IPIPE_DEBUG & Co. should be on (currently the case for x86 and armhf, not for arm64).
For performance/latency testing and demonstration, debug switches should be off.https://source.denx.de/Xenomai/xenomai/-/issues/7Create test image build infrastructure2021-03-17T11:34:00ZJan KiszkaCreate test image build infrastructureOptions so far:
- apply for OSS program of gitlab.com and use their builders
- request activation of CI on gitlab.denx.de and use cloud-hosted builder (AWS & Co.)
See also https://xenomai.org/pipermail/xenomai/2020-March/042611.htmlOptions so far:
- apply for OSS program of gitlab.com and use their builders
- request activation of CI on gitlab.denx.de and use cloud-hosted builder (AWS & Co.)
See also https://xenomai.org/pipermail/xenomai/2020-March/042611.htmlhttps://source.denx.de/Xenomai/xenomai/-/issues/6Create public LAVA master for Xenomai2023-09-04T05:37:33ZJan KiszkaCreate public LAVA master for XenomaiSee also https://xenomai.org/pipermail/xenomai/2020-March/042611.htmlSee also https://xenomai.org/pipermail/xenomai/2020-March/042611.htmlhttps://source.denx.de/Xenomai/xenomai/-/issues/5Add support for dovetail to Xenomai2023-09-04T05:37:48ZJan KiszkaAdd support for dovetail to XenomaiDepending on #4, this may require wrapping things so that I-pipe still works for up to 4.19.
See also https://xenomai.org/pipermail/xenomai/2020-February/042488.htmlDepending on #4, this may require wrapping things so that I-pipe still works for up to 4.19.
See also https://xenomai.org/pipermail/xenomai/2020-February/042488.htmlhttps://source.denx.de/Xenomai/xenomai/-/issues/4Convert Xenomai to y2038 kernel interfaces2023-09-04T05:38:10ZJan KiszkaConvert Xenomai to y2038 kernel interfacesWill likely require ABI changes, thus might be a 3.2 topic.
Open issue: Should compatibility with older kernels be kept?Will likely require ABI changes, thus might be a 3.2 topic.
Open issue: Should compatibility with older kernels be kept?https://source.denx.de/Xenomai/xenomai/-/issues/3Enhance gdb support2019-12-09T16:16:33ZJan KiszkaEnhance gdb supportFor Xenomai, see
- https://www.xenomai.org/pipermail/xenomai/2018-November/040045.html
I-pipe dependencies:
- https://www.xenomai.org/pipermail/xenomai/2018-November/040046.html
- https://www.xenomai.org/pipermail/xenomai/2018-Novemb...For Xenomai, see
- https://www.xenomai.org/pipermail/xenomai/2018-November/040045.html
I-pipe dependencies:
- https://www.xenomai.org/pipermail/xenomai/2018-November/040046.html
- https://www.xenomai.org/pipermail/xenomai/2018-November/040047.html
- https://www.xenomai.org/pipermail/xenomai/2018-November/040048.html
- https://www.xenomai.org/pipermail/xenomai/2018-November/040051.htmlRelease 3.1https://source.denx.de/Xenomai/xenomai/-/issues/2Change fcntl arg type2020-02-05T17:20:03ZJan KiszkaChange fcntl arg typeSee https://www.xenomai.org/pipermail/xenomai/2018-October/039705.htmlSee https://www.xenomai.org/pipermail/xenomai/2018-October/039705.htmlRelease 3.1