Hi Gills,

    Thank you for your reply.

    I did not try xenomai2.5.6. I will try it and hope it works.

Qiang

2011/6/22 <[email protected]>

> Send Xenomai-help mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://mail.gna.org/listinfo/xenomai-help
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Xenomai-help digest..."
>
>
> Today's Topics:
>
>   1. Re: Xenomai-Driver (sanjay anvekar)
>   2. Re: ask help for xenomai-2.5.5.1 (Gilles Chanteperdrix)
>   3. Re: Xenomai-Driver (Gilles Chanteperdrix)
>   4. Re: mprotect in Xenomai (Michael Thalmeier)
>   5. Re: regarding ARMv.s error (Gilles Chanteperdrix)
>   6. rt_dev_ioctl (David Wiebe)
>   7. Re: Xenomai 2.5.6 and 2.6.38.8 kernel (VEYSSIERE Nicolas)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 21 Jun 2011 20:29:04 -0700 (PDT)
> From: sanjay anvekar <[email protected]>
> Subject: Re: [Xenomai-help] Xenomai-Driver
> To: Gilles Chanteperdrix <[email protected]>
> Cc: "[email protected]" <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Gilles,
> ???? Thanks for your reply. With GDB I am able to run the application but
> it never hits configured breakpoints
> and it takes little longer time to start application. I tried changing
> priority of tasks, but it didn't help.
> In my application program I have not configured any interrupts and
> completely dependent on Linux drivers.
> If I do not use rt_task_sleep() my program does not work correctly. I tried
> to suspend each task instead of
>
> using rt_task_sleep and resume them in shadow task but some how it did not
> work .
>
> 'rt_task_set_mode(0,XNRRB ,NULL)' didn't return any error , but when I
> tried with T_RRB parameter
> instead of XNRRB it failed.
>
> Best Regards,
> Sanjay
>
>
>
>
> ________________________________
> From: Gilles Chanteperdrix <[email protected]>
> To: sanjay anvekar <[email protected]>
> Cc: "[email protected]" <[email protected]>
> Sent: Wednesday, 22 June 2011 2:24 AM
> Subject: Re: [Xenomai-help] Xenomai-Driver
>
> On 06/21/2011 02:02 PM, sanjay anvekar wrote:
> > Hi Gilles, Thanks for your reply. I am using 'rt_task_sleep(100us)'
> > at the end of every task to let Linux task run. With this I am able
> > to run my application program , but I am not able to debug using
> > 'GDB'.
>
> What happens when you try and debug with gdb?
>
> > Also is there any better way to allow Linux task run instead
> > of using 'rt_task_sleep' ? My application has got 5 different task of
>
> First, the application should wait interrupts and react upon them, not
> do any polling, this should normally leave some time for Linux to run if
> the system is well dimensioned.
>
> >
> >
> > equal priority and I want to run these in Round Robin fashion , I
> > used 'rt_task_set_mode(0,XNRRB ,NULL)' to enable Round Robin
> > scheduling mode, but task are not getting executed in Round Robin
> > fashion.
>
> I do not think round-robin is what you want: it will not let linux run.
> rt_task_set_mode probably returns an error when you use XNRRB, because
> it does not expect this bit to be set.
>
> --
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Gilles.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: </public/xenomai-help/attachments/20110621/cac1ced8/attachment.htm>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 22 Jun 2011 08:54:44 +0200
> From: Gilles Chanteperdrix <[email protected]>
> Subject: Re: [Xenomai-help] ask help for xenomai-2.5.5.1
> To: Fang Qiang <[email protected]>
> Cc: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8
>
> On 06/22/2011 03:03 AM, Fang Qiang wrote:
> > Dear all,
> >
> >        I installed xenomai-2.5.5.1 on x86 with kernel 2.6.35.7 by
> following
> > the instruction of Readme.Install.
> >
> >       After that, I ran the latency test, and got the following results.
> I
> > have no idea about whether results are correct or not?
> >
> >       Is there anybody help me with this? Thanks in advance.
>
> Do you observe the same behaviour with xenomai 2.5.6 ?
>
> --
>                                                                Gilles.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 22 Jun 2011 09:02:00 +0200
> From: Gilles Chanteperdrix <[email protected]>
> Subject: Re: [Xenomai-help] Xenomai-Driver
> To: sanjay anvekar <[email protected]>
> Cc: "[email protected]" <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8
>
> On 06/22/2011 05:29 AM, sanjay anvekar wrote:
> > Hi Gilles, Thanks for your reply. With GDB I am able to run the
> > application but it never hits configured breakpoints and it takes
> > little longer time to start application. I tried changing priority of
> > tasks, but it didn't help. In my application program I have not
> > configured any interrupts and completely dependent on Linux drivers.
> > If I do not use rt_task_sleep() my program does not work correctly. I
> > tried to suspend each task instead of
>
> Without seeing any code it is hard to give any definite answer, but from
> the way you describe it, you do not need Xenomai: as soon as a real-time
> thread uses a Linux driver, it is no longer deterministic. A typical
> real-time application waits for an external event, be it a timer event
> or a real-time driver, and so suspend naturally to let Linux run.
>
> --
>                                                                Gilles.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 22 Jun 2011 09:08:47 +0200
> From: Michael Thalmeier <[email protected]>
> Subject: Re: [Xenomai-help] mprotect in Xenomai
> To: Gilles Chanteperdrix <[email protected]>
> Cc: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
>  On Wed, 22 Jun 2011 00:17:13 +0200, Gilles Chanteperdrix wrote:
> > On 06/21/2011 11:08 AM, Michael Thalmeier wrote:
> >> Gilles Chanteperdrix <gilles.chanteperdrix <at> xenomai.org> writes:
> >>
> >>>
> >>> On 06/20/2011 04:14 PM, Michael Thalmeier wrote:
> >>>>  Hello !
> >>>>  ...
> >>>
> >>> I am afraid this is platform dependent, on what architecture do you
> >>> get
> >>> this behaviour?
> >>>
> >> I have only tested this behaviour on x86 until now.
> >> The system runs a kernel 2.6.32.15 with xenomai 2.5.6.
> >
> > Issue reproduced, and seem specific to x86 (32, the application
> > segfaults on x86_64).
> >
> > The answer to the original question is no: we do not provide any
> > service
> > to do the same thing as mprotect, so, if you want this application to
> > work, you will have to dig in the kernel mm code and find exactly
> > what
> > is going on.
>
>  Thanks for your efforts.
>  I am already studying the kernel mm code to find the cause of our
>  problem.
>
> --
>  Michael Thalmeier
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 22 Jun 2011 09:19:26 +0200
> From: Gilles Chanteperdrix <[email protected]>
> Subject: Re: [Xenomai-help] regarding ARMv.s error
> To: suresh reddy <[email protected]>
> Cc: Xenomai help <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8
>
> On 06/21/2011 04:02 PM, Gilles Chanteperdrix wrote:
> > On 06/21/2011 03:11 PM, suresh reddy wrote:
> >> Dear all,
> >>
> >>
> >> i have downloaded ipipe patched kernel from xenomai git .and applied the
> >> patches to the xenomai 2.5.6 sources as mentioned .
> >>
> >> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=../build
> >> omap2plus_defconfig
> >> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=../build
> menuconfig
> >>
> >> i just removed all the other boards from TI except Pandaboard. I did not
> >> touched any other options.
> >>
> >> then I run the command
> >>
> >> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=../build uImage
> >>
> >> then it giving me the error as below
> >>
> >> /home/balijepalli/omap4/ipipe-gch/arch/arm/kernel/entry-armv.S:
> Assembler
> >> messages:
> >> /home/balijepalli/omap4/ipipe-gch/arch/arm/kernel/entry-armv.S:1407:
> Error:
> >> undefined symbol `.L99973' in operation setting `up_b_offset'
> >> /home/balijepalli/omap4/ipipe-gch/arch/arm/kernel/entry-armv.S:1407:
> Error:
> >> undefined symbol `.L99973' in operation setting `up_b_offset'
> >> /home/balijepalli/omap4/ipipe-gch/arch/arm/kernel/entry-armv.S:1407:
> Error:
> >> local label `"9997" (instance number 3 of a fb label)' is not defined
> >> make[2]: *** [arch/arm/kernel/entry-armv.o] Error 1
> >> make[1]: *** [arch/arm/kernel] Error 2
> >> make: *** [sub-make] Error 2
> >
> > Disable SMP kernel boot on UP system, you do not need it for OMAP4,
> > since OMAP4 is an SMP system.
> >
>
> It turns out the SMP on UP option can be enabled. Please try the .config
> I use:
> http://sisyphus.hd.free.fr/~gilles/omap4_panda_config
>
> --
>                                                                Gilles.
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 22 Jun 2011 01:43:24 -0700
> From: David Wiebe <[email protected]>
> Subject: [Xenomai-help] rt_dev_ioctl
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> I'm re-writing my code to work with xenomai and I don't know how to get
> rt_dev_ioctl to compile in my program.
>
> #include <rtdk.h> in my program doesn't help
>
>
> david@david-HP-TouchSmart-tm2-Notebook-PC:~/06-21-2011-xenomai-spi$
> arm-none-linux-gnueabi-gcc -o xenomai-spi-eth-00002 $CFLAGS
> xenomai-spi-eth-00002.c $LDFLAGS -I
> /home/david/122720101858-beagleboard-working-set/kernel/linux/include/
> xenomai-spi-eth-00002.c: In function 'main':
> xenomai-spi-eth-00002.c:137: warning: implicit declaration of function
> 'rt_dev_open'
> xenomai-spi-eth-00002.c:145: warning: implicit declaration of function
> 'rt_dev_ioctl'
> /tmp/ccZErCuj.o: In function `main':
> xenomai-spi-eth-00002.c:(.text+0x2c4): undefined reference to `rt_dev_open'
> xenomai-spi-eth-00002.c:(.text+0x318): undefined reference to
> `rt_dev_ioctl'
> collect2: ld returned 1 exit status
>
>
> David
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 22 Jun 2011 10:55:35 +0200
> From: VEYSSIERE Nicolas <[email protected]>
> Subject: Re: [Xenomai-help] Xenomai 2.5.6 and 2.6.38.8 kernel
> To: "[email protected]" <[email protected]>
> Message-ID:
>
>  
> <2157_1308732935_4e01ae07_2157_14293_1_ecb646cbb62fd044927fdedf0252d3e701e388ad6...@thsonea01cms03p.one.grp
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> Same thing here, I tried to patch linux 2.6.38 with the latest adeos patch
> (
> http://download.gna.org/adeos/patches/v2.6/x86/adeos-ipipe-2.6.38.8-x86-2.10-00.patch)
> but the kernel compilation failed :
>
>
> ......
>  LD      arch/x86/pci/built-in.o
>  CC      arch/x86/power/cpu.o
>  CC      arch/x86/power/hibernate_32.o
>  AS      arch/x86/power/hibernate_asm_32.o
>  LD      arch/x86/power/built-in.o
>  CC      arch/x86/video/fbdev.o
>  LD      arch/x86/video/built-in.o
>  CC      arch/x86/xenomai/hal_32.o
> arch/x86/xenomai/hal_32.c: In function 'rthal_arch_init':
> arch/x86/xenomai/hal_32.c:341: error: 'nmi_watchdog' undeclared (first use
> in this function)
> arch/x86/xenomai/hal_32.c:341: error: (Each undeclared identifier is
> reported only once
> arch/x86/xenomai/hal_32.c:341: error: for each function it appears in.)
> arch/x86/xenomai/hal_32.c:341: error: 'NMI_IO_APIC' undeclared (first use
> in this function)
> At top level:
> cc1: warning: unrecognized command line option
> "-Wno-unused-but-set-variable"
> make[1]: *** [arch/x86/xenomai/hal_32.o] Error 1
> make: *** [arch/x86/xenomai] Error 2
>
>
>
> Can someone tell me what to do ?
>
> Thanks.
>
> Regards,
>
> --
> Nicolas VEYSSIERE
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: </public/xenomai-help/attachments/20110622/fa0e2b1c/attachment.htm>
>
> ------------------------------
>
> _______________________________________________
> Xenomai-help mailing list
> [email protected]
> https://mail.gna.org/listinfo/xenomai-help
>
>
> End of Xenomai-help Digest, Vol 69, Issue 30
> ********************************************
>



-- 
Qiang FANG
Phonetics Lab., Institute of Linguistics
Chinese Academy of Social Sciences
5#, Jian Guo Men Nei Da Jie, Beijing, China 100732
Tel: 86-10-65237408
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to