Re: [Xenomai] 4.9 for x86 issue

2018-04-06 Thread Philippe Gerum
On 04/05/2018 10:13 PM, Jan Kiszka wrote: > On 2018-03-27 15:12, Philippe Gerum wrote: >> On 03/10/2018 11:06 PM, Jan Kiszka wrote: >>> On 2018-03-09 08:51, Jan Kiszka wrote: 4.9 requires more work, I've pushed the beginning to wip/4.9 in the same repo. >>> >>> I started to patch further

Re: [Xenomai] building Xenomai Apps with CMake (RFC)

2018-04-06 Thread Lange Norbert
>-Original Message- >From: Henning Schild [mailto:henning.sch...@siemens.com] >Sent: Freitag, 06. April 2018 10:47 >To: Lange Norbert >Cc: Jan Kiszka; Xenomai (xenomai@xenomai.org) >Subject: Re: building Xenomai Apps with CMake (RFC) > >E-MAIL FROM A NON-ANDRITZ SOURCE: AS A

Re: [Xenomai] building Xenomai Apps with CMake (RFC)

2018-04-06 Thread Henning Schild
Am Thu, 5 Apr 2018 15:54:34 + schrieb Lange Norbert : > Hello, > > >-Original Message- > >From: Jan Kiszka [mailto:jan.kis...@siemens.com] > >Sent: Donnerstag, 05. April 2018 16:55 > >To: Lange Norbert; Xenomai (xenomai@xenomai.org); Henning Schild >

Re: [Xenomai] 4.9 for x86 issue

2018-04-06 Thread Jan Kiszka
re. >> I >> suspect we always have a timer registered, that for the host clock. So > > In that case, the timer is not idle Xenomai-wise. > >> we can't become idle this way. I'm not even sure that this test makes >> sense because a pending RT timer does not make a no

Re: [Xenomai] building Xenomai Apps with CMake (RFC)

2018-04-06 Thread Leopold Palomo-Avellaneda
up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://xenomai.org/pipermail/xenomai/attachments/20180406/7960c4c6/attachment.sig> ___ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] building Xenomai Apps with CMake (RFC)

2018-04-06 Thread Leopold Palomo-Avellaneda
ation/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://xenomai.org/pipermail/xenomai/attachments/20180406/d9681e91/attachment.sig> ___ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] Context switching with POSIX skin

2018-04-06 Thread rodrigo . amaducci
Thank you very much Greg. Quoting Greg Gallagher : I'll look into it this weekend and see if I can get the demo running on Zynq or one of my boards. On Thu, Apr 5, 2018 at 9:25 AM, wrote: Quoting Philippe Gerum : You need

Re: [Xenomai] Context switching with POSIX skin

2018-04-06 Thread Greg Gallagher
I'll look into it this weekend and see if I can get the demo running on Zynq or one of my boards. On Thu, Apr 5, 2018 at 9:25 AM, wrote: > Quoting Philippe Gerum : >> >> >> You need to enable the ipc/xddp driver (CONFIG_XENO_DRIVERS_RTIPC_XDDP) >> in

Re: [Xenomai] 4.9 for x86 issue

2018-04-06 Thread Jan Kiszka
On 2018-04-06 08:54, Philippe Gerum wrote: > On 04/05/2018 10:13 PM, Jan Kiszka wrote: >> On 2018-03-27 15:12, Philippe Gerum wrote: >>> On 03/10/2018 11:06 PM, Jan Kiszka wrote: On 2018-03-09 08:51, Jan Kiszka wrote: > 4.9 requires more work, I've pushed the beginning to wip/4.9 in the

Re: [Xenomai] 4.9 for x86 issue

2018-04-06 Thread Philippe Gerum
On 04/06/2018 03:38 PM, Jan Kiszka wrote: > On 2018-04-06 08:54, Philippe Gerum wrote: >> On 04/05/2018 10:13 PM, Jan Kiszka wrote: >>> On 2018-03-27 15:12, Philippe Gerum wrote: On 03/10/2018 11:06 PM, Jan Kiszka wrote: > On 2018-03-09 08:51, Jan Kiszka wrote: >> 4.9 requires more

[Xenomai] LDFLAGS/LDLIBS in makefile

2018-04-06 Thread Giulio Moro
This is about best practices. The GNU Make manual says (https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html) > LDFLAGS > Extra flags to give to compilers when they are supposed to invoke the linker, > ‘ld’, such as -L. Libraries (-lfoo) should be added to the LDLIBS

[Xenomai] Context switch to secondary mode in xenomai tasks

2018-04-06 Thread C Smith
Hi all-- Our real time application has a main rt_task which runs concurrently with several other rt_tasks (spawned using rt_task_create) and we are concerned about a context switch in one of the tasks. The problematic task uses libxml2 to parse an xml document sent over ethernet which seems to

Re: [Xenomai] Context switch to secondary mode in xenomai tasks

2018-04-06 Thread Greg Gallagher
Do the tasks communicate with each other? -Greg On Fri, Apr 6, 2018 at 12:51 PM, C Smith wrote: > Hi all-- > > Our real time application has a main rt_task which runs concurrently with > several other rt_tasks (spawned using rt_task_create) and we are concerned >

Re: [Xenomai] Context switch to secondary mode in xenomai tasks

2018-04-06 Thread C Smith
The tasks manipulate shared data however they do not communicate directly. The rt_task which parses the xml document and the main rt_task are running periodically at different rates using rt_task_set_periodic. On Fri, Apr 6, 2018 at 9:54 AM, Greg Gallagher wrote: > Do the

[Xenomai] dlopen test in current stable fails

2018-04-06 Thread Jan Kiszka
Henning, should dlopen work with stable-3.0.x? The test case is merged, but it fails for me. ../../../lib/boilerplate/setup.c:686: __register_setup_call: Assertion `!main_init_done' failed. (at this chance I noticed that redirecting smokey outputs on the command line does not work as well -

Re: [Xenomai] Context switch to secondary mode in xenomai tasks

2018-04-06 Thread Greg Gallagher
If a tasks switches to secondary mode it would act like a normal Linux thread. I haven't used Xenomai 2.6 in a while but if you are seeing both tasks drop to secondary mode you may want to list the resources that they are sharing and how you are sharing them and then we can see if something would

Re: [Xenomai] 4.9 for x86 issue

2018-04-06 Thread Jan Kiszka
On 2018-04-06 17:11, Jan Kiszka wrote: >> This is not about testing for Cobalt idleness, but for its core timer >> idleness, given that the core timer is shared between both kernels. We >> want to know whether we may allow the regular kernel to shutdown the >> clock event hardware for entering a

Re: [Xenomai] 4.9 for x86 issue

2018-04-06 Thread Jan Kiszka
On 2018-04-05 22:13, Jan Kiszka wrote: > On 2018-03-27 15:12, Philippe Gerum wrote: >> On 03/10/2018 11:06 PM, Jan Kiszka wrote: >>> On 2018-03-09 08:51, Jan Kiszka wrote: 4.9 requires more work, I've pushed the beginning to wip/4.9 in the same repo. >>> >>> I started to patch further on

[Xenomai] [PULL] ipipe 4.9 update

2018-04-06 Thread Jan Kiszka
The following changes since commit 3d21f886ffae3ffdef54a19ec53393482626a84c: ipipe-core-4.9.90-x86-6 (2018-03-26 17:36:13 +0200) are available in the git repository at: git://git.xenomai.org/ipipe-jki for you to fetch changes up to 3fac4646875dbbab6969cf080a02467b578c55be: Merge tag

Re: [Xenomai] Context switch to secondary mode in xenomai tasks

2018-04-06 Thread C Smith
How can we verify which tasks are switching to secondary mode? We know the xml parser definitely is switching to secondary mode, setting T_WARNSW, causing the application to send the SIGXCPU signal, but we don't know if it's affecting the other tasks. On Fri, Apr 6, 2018 at 10:17 AM, Greg

Re: [Xenomai] Context switch to secondary mode in xenomai tasks

2018-04-06 Thread Greg Gallagher
Check here: https://xenomai.org/2014/08/porting-a-linux-application-to-xenomai-dual-kernel/#Chasing_the_unwanted_mode_switches On Fri, Apr 6, 2018 at 1:39 PM, C Smith wrote: > How can we verify which tasks are switching to secondary mode? We know the > xml parser

Re: [Xenomai] Context switch to secondary mode in xenomai tasks

2018-04-06 Thread Giulio Moro
or cat /proc/xenomai/stat and see if the count in the MSW column increases for that task From: Xenomai on behalf of Greg Gallagher Sent: 06 April 2018 18:41 To: C Smith Cc: Xenomai@xenomai.org