Re: [Xenomai] list of threads with same session_label

2017-11-22 Thread Hänel-Baas , Alexander
Hi Philippe, thanks for your response. > Assuming alchemy is your API, enable the user-space registry with > --enable-registry when configuring. Your application will automatically > maintain /var/run/xenomai///alchemy/tasks. Reading from this > file should give you the information needed.

[Xenomai] list of threads with same session_label

2017-11-16 Thread Hänel-Baas , Alexander
Hi, we use Xenomai's tuneable "session_name" to set the same session of our threads. to do this, we used your example "Adding your own setup code" described in "application-setup-and-init" and attach this lib to the application. It works fine. My Question: How can I list all threads that live

[Xenomai] delete a suspend rt_task xeno2<>xeno3

2017-05-11 Thread Hänel-Baas , Alexander
Hi, >What can I do to delete a suspend rt_task without the task will running in the >loop, because the task descriptor was going invalid from delete() call? I was looking into the xenomai source alchemy/task.c and copperplate/threadobj.c When I call rt_task_delete() for an already suspend

Re: [Xenomai] delete a suspend rt_task xeno2<>xeno3

2017-05-09 Thread Hänel-Baas , Alexander
Hi Philippe, Thank you for your prompt answer. >Please provide a short and complete test code illustrating the issue, and what >you want to achieve. Yes gladly. Example code: - static void Alex_RT_Thread(void *) { RT_TASK_INFO rt_task_info;

[Xenomai] delete a suspend rt_task xeno2<>xeno3

2017-05-09 Thread Hänel-Baas , Alexander
Hi, i'm porting our application from Xeno2 (linux 3.14) to Xeno3(Linux 4.4). Under Xeno3: When I delete a suspend task, the suspend task will begin to run. Under Xeno2 : The suspend task is deleted successfully, without that the suspend thread will begin to run. Example rt_thread for(;;){

[Xenomai] Xenomai 3.0.4 patch folder

2017-04-05 Thread Hänel-Baas , Alexander
Hi, i missing the patch folder in Xenomai 3.0.4 under /kernel/cobalt/arch/... With best regards, Alexander ___ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] _X86_VSYSCALL on arm ?

2017-03-30 Thread Hänel-Baas , Alexander
expected that. By Alexander -Ursprüngliche Nachricht- Von: Jan Kiszka [mailto:jan.kis...@web.de] Gesendet: Donnerstag, 30. März 2017 10:42 An: Hänel-Baas, Alexander; xenomai@xenomai.org Betreff: Re: _X86_VSYSCALL on arm ? On 2017-03-30 09:32, Hänel-Baas, Alexander wrote: > Hi, >

[Xenomai] _X86_VSYSCALL on arm ?

2017-03-30 Thread Hänel-Baas , Alexander
Hi, our xenomai application shows CONFIG_XENO_X86_VSYSCALL=1, but is is running on arm machine. We compile the app on a debian x86 host machine with the OSELAS.Toolchain-2016.06 (arm-v7a-linux-gnueabi) for running on the arm Layerscape (ls1021a) target. To get the proper clfags we ask

Re: [Xenomai] Xeno3.x xeno-config --kcflags

2015-05-04 Thread Hänel-Baas , Alexander
] Gesendet: Donnerstag, 30. April 2015 10:51 An: Hänel-Baas, Alexander; Jan Kiszka Cc: xenomai@xenomai.org Betreff: Re: [Xenomai] Xeno3.x xeno-config --kcflags On 04/22/2015 08:29 AM, Philippe Gerum wrote: On 04/22/2015 08:14 AM, Hänel-Baas, Alexander wrote: Hi Jan You are right, kbuild resolve

Re: [Xenomai] Xeno3.x xeno-config --kcflags

2015-04-22 Thread Hänel-Baas , Alexander
Hi Jan You are right, kbuild resolve it. My mistake: I stored the kcflags in a variable and put this variable in the EXTRA_CFLAGS from the make file. XENOMAI_K_CFLAGS = $(shell /usr/xenomai/bin/xeno-config --rtdm --kcflags) EXTRA_CFLAGS += $(XENOMAI_K_CFLAGS) The result was: EXTRA_CFLAGS=

Re: [Xenomai] Xeno3.x xeno-config --kcflags

2015-04-22 Thread Hänel-Baas , Alexander
Hi Philippe Good idea, I'm still waiting. --- Alexander -Ursprüngliche Nachricht- Von: Philippe Gerum [mailto:r...@xenomai.org] Gesendet: Mittwoch, 22. April 2015 08:29 An: Hänel-Baas, Alexander; Jan Kiszka Cc: xenomai@xenomai.org Betreff: Re: [Xenomai] Xeno3.x xeno-config --kcflags

[Xenomai] Xeno3.x xeno-config --kcflags

2015-04-21 Thread Hänel-Baas , Alexander
Hi, I run xeno-config --rtdm --kcflags to get the cflags when i build my own kernel modules. The script returned: -Iarch/$(SRCARCH)/xenomai/include My question: who is set $(SRCARCH)? With best regards, Alexander ___ Xenomai mailing list

[Xenomai] porting issue Xeno2 Xeno3

2015-04-16 Thread Hänel-Baas , Alexander
Hi Philippe Thank you for your reply. I know this document. In the section Using the Transition Kit is described how to use the xeno-config script. So I call the script with: usr/xenomai/bin/xeno-config --skin=native --cflags and get: -I/usr/xenomai/include/trank -D__XENO_COMPAT__

[Xenomai] porting issue Xeno2 Xeno3

2015-04-16 Thread Hänel-Baas , Alexander
Hi Philippe Thank you for your clarifying reply. I have read the document, and you are right i was confused what shall I use: cobalt, alchemy, trank??? So, I know: I'm a typical trank guy: -D __XENO_COMPAT__ -I/xenomai /include/trank -I/xenomai /include/alchemy -I/xenomai /include and the

[Xenomai] porting issue Xeno2 Xeno3

2015-04-15 Thread Hänel-Baas , Alexander
Hi Which headers are right? In Xeno2 i include native/timer.h. Now in Xeno3 I have read the alchemy is the formerly native API. But when I include alchemy/timer.h some defines are missing. When I include trank/native/timer.h the compiler are lucky. Which headers shall I used? With best

[Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6

2015-04-13 Thread Hänel-Baas , Alexander
Ok, you are right, I have a problem with my build process. I put the old xeno-2.6 binaries to the target, ... ups. Thank you for this hint. Alexander ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai

[Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6

2015-04-13 Thread Hänel-Baas , Alexander
Ok, but in the documentation about Installing Xeno3.x under testing the installation is written : Testing the real-time system First run latency test (https://xenomai.org/installing-xenomai-3-x/) Is there another test in Xeno3.x ? Alexander ___

[Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6

2015-04-13 Thread Hänel-Baas , Alexander
Hi when i start latency, i get the error: Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) dmesg | grep Xeno shows: [Xenomai] scheduling class idle registered. [Xenomai] scheduling class rt registered. I-pipe: head domain Xenomai registered. [Xenomai] Cobalt v3.0-rc4 (Exact Zero)

[Xenomai] git clone https ipipe.git fetch failed

2015-04-02 Thread Hänel-Baas , Alexander
Hi Philippe, I have tried again, here the error: git clone https://git.xenomai.org/ipipe.git Cloning into 'ipipe'... error: Unable to get pack index https://git.xenomai.org/ipipe.git/objects/pack/pack-fc3c9da4f48cfea58e4448f81f2f88cee2a4c047.idx error: Unable to find

[Xenomai] git clone https ipipe.git fetch failed

2015-03-31 Thread Hänel-Baas , Alexander
Hi all I try git clone https://git.xenomai.org/ipipe.git And get: Cloning into 'ipipe'... error: Unable to get pack index https://git.xenomai.org/ipipe.git/objects/pack/pack-be8960f4c7303115aa655b8eec7c29e476a47c6f.idx error: Unable to get pack index

[Xenomai] rt_heap_bind, Error=-11 - EWOULDBLOCK why?

2015-02-24 Thread Hänel-Baas , Alexander
Hi, Wrong email address and I understand your reply not correctly you are right - sorry. Ok, so now I changed the flags to H_SINGLE | H_SHARED | H_DMA | H_NONCACHED. (it is possible? DMA + NONCACHED) By the way, we have 3 shm areas: 2 of them was created from the user space application with

[Xenomai] rt_heap_bind, Error=-11 - EWOULDBLOCK why?

2015-02-24 Thread Hänel-Baas , Alexander
Aha I added vma-vm_page_prot = pgprot_noncached(vma-vm_page_prot) bevor i called remap_pfn_range and now it works. Thanks. With best regards, Alexander Hänel-Baas ___ Xenomai mailing list Xenomai@xenomai.org

[Xenomai] arch arm no pci irq

2015-01-15 Thread Hänel-Baas , Alexander
Hi I have the kernel 3.14.17 with xenomai 2.6.4 and my own pci-fpga card that generates interrupts. When i registry my pci irq with rt_intr_create() than i get the following warning and no irq was fired. The same configuration under x86 arch works fine. Dmesg output: sm3651:

[Xenomai] CPU time limit exceeded SIGXCPU

2014-12-10 Thread Hänel-Baas , Alexander
Hi, i get the message CPU time limit exceeded when my main thread is starting. The thread mod Bit T_WARNSW is not set. ulimit -a shows cpu time is unlimited. Now I installed the sigdebug handler and get the message: SIGDEBUG received, reason 7unknown My question is: why is the reason value

Re: [Xenomai] CPU time limit exceeded SIGXCPU

2014-12-10 Thread Hänel-Baas , Alexander
Hi Gilles, Thanks for the advice. I look for switching the scheduling policy, that’s my goal. Regards, Alex -Ursprüngliche Nachricht- Von: Gilles Chanteperdrix [mailto:gilles.chanteperd...@xenomai.org] Gesendet: Mittwoch, 10. Dezember 2014 17:24 An: Hänel-Baas, Alexander Cc: xenomai

[Xenomai] ipipe-arm for kernel 3.12 on ls1021

2014-11-26 Thread Hänel-Baas , Alexander
Hi I need a ipipe-arm patch for kernel-3.12.0. I have the layerscape ls1021atwr from freescale here that comes with yocto sdk and a 3.12.0 freescale git kernel. Bitbake the kernel /rootfs is worked already. So the next step is: make xenomai on it! I found the ipipe-raw/ipipe-3.12.0 tree on

Re: [Xenomai] ipipe-arm for kernel 3.12 on ls1021

2014-11-26 Thread Hänel-Baas , Alexander
- Von: Lennart Sorensen [mailto:lsore...@csclub.uwaterloo.ca] Gesendet: Mittwoch, 26. November 2014 16:22 An: Hänel-Baas, Alexander Cc: xenomai@xenomai.org Betreff: Re: [Xenomai] ipipe-arm for kernel 3.12 on ls1021 On Wed, Nov 26, 2014 at 03:09:04PM +, Hänel-Baas, Alexander wrote: I need a ipipe

[Xenomai] Kernel 3.14 hal.c struct irq_desc has no member named chip

2014-07-08 Thread Hänel-Baas , Alexander
Hallo Xenomai users and developers, I am try to compile Kernel 3.14 with Xenomai 2.6.3 and the ipipe-core-3.14-arm-1.patch for the Freescale i.mx6 sabresd board. I get the following error: CC mm/slab_common.o arch/arm/xenomai/hal.c: In function 'rthal_irq_enable':

[Xenomai] Kernel 3.14 hal.c struct irq_desc has no member named chip

2014-07-08 Thread Hänel-Baas , Alexander
Hello Gilles, I have get the 2.6-master branch and it has successfully compiled. Thanks for your reply, now I try out the irq functionality... With best regards, Alexander ___ Xenomai mailing list Xenomai@xenomai.org