* [Xenomai-help] (no subject)
@ 2009-03-04 4:45 Chitra4 M
2009-03-04 9:51 ` Gilles Chanteperdrix
0 siblings, 1 reply; 21+ messages in thread
From: Chitra4 M @ 2009-03-04 4:45 UTC (permalink / raw)
To: Xenomai-help
[-- Attachment #1: Type: text/plain, Size: 677 bytes --]
Hi,
Can anyone give details on how to make xenomai run on fedora linux?and
xenomai installation.
Thank you
Chitra M
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
[-- Attachment #2: Type: text/html, Size: 874 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Xenomai-help] (no subject)
@ 2011-12-09 13:41 ediboscio
0 siblings, 0 replies; 21+ messages in thread
From: ediboscio @ 2011-12-09 13:41 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]
Dear Sirs,I'm working with an Ubuntu (10.04) system with Xenomai (2.5.6), with kernel 2.6.37.6 and with a Peak-System PC/104 can interface (isa), with two channels.
I connected the two channels of the can interface with a cable (with the two 120Ohms resistor connected at each side) and did the following two tests:
1)
...
rtcanconfig rtcan0 --baudrate=1000000 start
rtcanconfig rtcan1 --baudrate=1000000 start
then, in one terminal:
rtcanrecv rtcan0
in another one:
rtcansend rtcan1 0xA 0xB 0xC 0xD 0xE 0xF 0x01 0x02
Everything seems to work: I can see the message on the receiving terminal. I
also tried changing rtcansend options, and it works as well.
2)
Then I used the rtcan_rtt xenomai example program.In one terminal:./rtcan_rtt rtcan0 rtcan1 -r -c 250000
And in another one:./rtcan_rtt rtcan1 rtcan0 -c 250000
I also modified the rtcan_rtt to print some additional debug messages, and I found that for each can message sent
from the transmitter channel I receive ~356
messages on the other channel, with lot of overruns and huge times. Maybee I have some problems with the
interrupts?Note that with the rtcanrecv/rtcansend test, for each message sent with rtcansend, rtcanrecv receives one message.
Thanks in advanceEttore
[-- Attachment #2: Type: text/html, Size: 3093 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Xenomai-help] (no subject)
@ 2011-11-04 18:09 Lyons, Brendon N
0 siblings, 0 replies; 21+ messages in thread
From: Lyons, Brendon N @ 2011-11-04 18:09 UTC (permalink / raw)
To: xenomai@xenomai.org
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]
Hello,
I am currently working on a project which requires realtime use of a beagleboard. I know that Xenomai is a realtime kernel however, our setup calls for the use of Mathworks' Simulink support for RTAI. I have been doing some research and have found that Xenomai incorporates RTAI as a skin? I am not entirely sure what that means but it sounds like I can simply copy and paste RTAI headers in the designated ../rtai folder within Xenomai and have my rtai programs compile and run on Xenomai.
Here is an outline of the goals I would like to achieve:
* Have Xenomai running on a beagleboard with an RTAI skin
* Generate realtime programs with the Simulink support for RTAI
* Upload the program and run it on the beagleboard
I have a few questions regarding this approach:
First of all is this even feasible?
Secondly if it is, what would be the consequences of running an RTAI executable built on say <ubuntu 9.04 kernel 2.6.28.7 with gcc 4.3.3> on <Xenomai 2.5.2 Kernel 2.6.28.10 (adeos-ipipe-2.6.28.10-arm-1.12-07) patch with gcc 4.3.3> (this is the closest kernel match I could find)
Or if I wanted to run a later Xenomai such as <Xenomai 2.5.6 Kernel 2.6.33 (adeos-ipipe-2.6.33-arm-1.18-02) patch with gcc 4.3.3>
Which leads me to my next question, what is the earliest kernel + Xenomai combination supported on the beagleboard?
I hope my questions were clear and made sense, I am new to Xenomai.
Regards,
--
Brendon Lyons
B.Sc Aerospace Engineering
Graduate Research Assistant
Eagle Flight Research Center
Embry-Riddle Aeronautical University
[-- Attachment #2: Type: text/html, Size: 3042 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Xenomai-help] (no subject)
@ 2011-07-16 10:11 Wong Sheng Chao
0 siblings, 0 replies; 21+ messages in thread
From: Wong Sheng Chao @ 2011-07-16 10:11 UTC (permalink / raw)
To: xenomai
Hi all
I'm using the Analogy API, a4l_sync_read to read an external voltage
level from my NI card. I had gone through the insn_read.c example and
managed to reproduce a simple working program of my own.
However I can't seemed to find the place to define the reference
voltage. Looking through the Analogy API, specifically the Driver API -
Channels and ranges. It is mentioned that the channel reference can be
define through these flags in the structure a4l_chdesc_t,
#define A4L_CHAN_AREF_GROUND 0x1
#define A4L_CHAN_AREF_COMMON 0x2
#define A4L_CHAN_AREF_DIFF 0x4
#define A4L_CHAN_AREF_OTHER 0x8
but how do I access this structure to define them? I can't seemed to
find the function that return the address of this structure.
Linux kernel: 2.6.37.3
adeos patch: 2.9-00
xenomai: 2.5.6
DAQ card: National Instruments PCI_6034E
Thanks!
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Xenomai-help] (no subject)
@ 2010-08-11 15:30 Zafar Iqbal
0 siblings, 0 replies; 21+ messages in thread
From: Zafar Iqbal @ 2010-08-11 15:30 UTC (permalink / raw)
To: Hemal C.Bavishi, Xenomai-help@domain.hid, Amit Oza
Dear Sir,
I am Using Ubuntu 10.4 in my system with kernel version 2.6.32.18.
I downloaded xenomai-2.5.3 and ptached into linux-2.6.32.18 after that I compiled the whole kenel.using make.
After that I made the image of the compiled kernel : make bzImage
then copied the image to the location as in the boot folder with the following command cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.32.18-xenomai-2.5.3
then I updated my GRUB with the command update-grub.
When I Tried to reboot the System with the Xenomai patched Kernel my system hanged up and it is not able to boot with the new kernel image.
Can you please suggest whats the wrong here.
Thanks and Regards,
Zafar
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Xenomai-help] (no subject)
@ 2009-05-27 3:40 Vandana Sasidharan
0 siblings, 0 replies; 21+ messages in thread
From: Vandana Sasidharan @ 2009-05-27 3:40 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]
Hi,
I get an error "Xenomai: Uitron skin or CONFIG_XENO_OPT_PURSUASIVE
disabled."
"(mod.probe xeno_uitron?)"
for uITRON skin when I try calling the uITRON API's from user space. As
per the previous threads regarding this issue I have checked the Kernel
configuration and the Config_Xeno_Opt_Pervasive under the Real - time
sub-systems is enabled.When I try to debug from kernel space I get the
error "GDB error: No symbol "mvm_bp" in current context." can someone
kindly help.
(I have installed Xenomai-2.4.7, xenosim-2.4.7 amd Linux-2.6.25.11 for the
kernel.)
Regards,
Vandana
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
[-- Attachment #2: Type: text/html, Size: 1648 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread* [Xenomai-help] (no subject)
@ 2009-03-04 10:04 Chitra4 M
0 siblings, 0 replies; 21+ messages in thread
From: Chitra4 M @ 2009-03-04 10:04 UTC (permalink / raw)
To: Xenomai-help
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
Hi,
can i know what needs to be done for making xenomai run in fedora
linux
Thank you
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
[-- Attachment #2: Type: text/html, Size: 855 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread* [Xenomai-help] (no subject)
@ 2009-03-03 12:52 Reshmi Rajagopal
2009-03-03 13:38 ` Gilles Chanteperdrix
0 siblings, 1 reply; 21+ messages in thread
From: Reshmi Rajagopal @ 2009-03-03 12:52 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 694 bytes --]
hi sir,
I found your site informative.Could you give the information
regarding the skins so that it will useful for me.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
[-- Attachment #2: Type: text/html, Size: 910 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread* [Xenomai-help] (no subject)
@ 2008-03-27 12:39 Paradoxxa2001
2008-03-27 13:33 ` Gilles Chanteperdrix
0 siblings, 1 reply; 21+ messages in thread
From: Paradoxxa2001 @ 2008-03-27 12:39 UTC (permalink / raw)
To: xenomai
NetSilicon 9360 and Xenomai/Adeos
Precedence: fm-user
Organization: http://freemail.web.de/
X-Provags-Id: V01U2FsdGVkX18V85CtHcfHVFUMcMsg3rrEv7jsRH/jSEbkyMRKi14oBPLbZ
9uEdkqV+/H8H30BnJelT5JBi8IPN2qfwTgSDNwEvwDe3kYuahkJO5E0MD+hy
w==
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable
I have here a NetSilicon 9360 (ARM926EJ-Sid(wb) [41069264] revision 4 (ARM=
v5TEJ)) Board and a buildroot toolchain. I will porting Xenomai/Adeos to t=
his Board. Actual i patches the Kernel (2.6.24) with Xenaomai:
$ /usr/src/xenomai-2.4.3/scripts/prepare-kernel.sh \
--linux=3D/usr/src/linux-2.6.24-gentoo/ \
--adeos=3D/usr/src/xenomai-2.4.3/ksrc/arch/arm/patches/adeos-ipipe-2.6.24-=
arm-1.9-01.patch --arch=3Darm
$ cd /usr/src/linux-2.6.24-gentoo
$ build=5Froot=3D/usr/src/build=5Froot/
$ make ARCH=3Darm CROSS=5FCOMPILE=3Darm-linux- O=3D$build=5Froot ns9xxx=5Fdefconfig
Here the cross compiler from buildroot is used.
Then i started to port the I-Pipe recording to I-pipe:ArmPorting ( http:/=
/www.xenomai.org/index.php/I-pipe:ArmPorting ). I added the variables and =
functions to the following files: /arch/arm/mach-ns9xxx/time.c, include/as=
m-arm/arch-ns9xx/irqs.h and /arch/arm/mach-ns9xxx/irq.c
The next step in the howto i don't understand really. I found nowhere the =
pxa=5Ftimer=5Finterrupt() function and so on. Therefore i don't know what i ha=
ve to do further.
When i try to compiling it i get this errors:
$ make ARCH=3Darm CROSS=5FCOMPILE=3Darm-linux- O=3D$build=5Froot
CHK include/linux/version.h
make[2]: =BBinclude/asm-arm/mach-types.h=AB ist bereits aktualisiert.
Using /usr/src/linux-2.6.24-gentoo as source for kernel
GEN /usr/src/build=5Froot/Makefile
CHK include/linux/utsrelease.h
CALL /usr/src/linux-2.6.24-gentoo/scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate=5Fpages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll=5Fpwait not implemented
CHK include/linux/compile.h
CC arch/arm/kernel/ipipe.o
/usr/src/linux-2.6.24-gentoo/arch/arm/kernel/ipipe.c: In function '=5F=5Fipipe=
=5Fgrab=5Firq':
/usr/src/linux-2.6.24-gentoo/arch/arm/kernel/ipipe.c:429: error: expected =
expression before ')' token
make[2]: *** [arch/arm/kernel/ipipe.o] error 1
make[1]: *** [arch/arm/kernel] error 2
make: *** [sub-make] error 2
Do someone have an idea and could help me=3F
Thanks
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Mit der Gruppen-SMS von WEB.DE FreeMail k=F6nnen Sie eine SMS an alle=20
Freunde gleichzeitig schicken: http://freemail.web.de/features/=3Fmc=3D021179
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Xenomai-help] (no subject)
2008-03-27 12:39 Paradoxxa2001
@ 2008-03-27 13:33 ` Gilles Chanteperdrix
0 siblings, 0 replies; 21+ messages in thread
From: Gilles Chanteperdrix @ 2008-03-27 13:33 UTC (permalink / raw)
To: Paradoxxa2001; +Cc: xenomai
On Thu, Mar 27, 2008 at 1:39 PM, <Paradoxxa2001@domain.hid> wrote:
> NetSilicon 9360 and Xenomai/Adeos
> Precedence: fm-user
> Organization: http://freemail.web.de/
> X-Provags-Id: V01U2FsdGVkX18V85CtHcfHVFUMcMsg3rrEv7jsRH/jSEbkyMRKi14oBPLbZ
> 9uEdkqV+/H8H30BnJelT5JBi8IPN2qfwTgSDNwEvwDe3kYuahkJO5E0MD+hy
> w==
> Content-Type: text/plain; charset=iso-8859-15
> Content-Transfer-Encoding: quoted-printable
>
> I have here a NetSilicon 9360 (ARM926EJ-Sid(wb) [41069264] revision 4 (ARM=
> v5TEJ)) Board and a buildroot toolchain. I will porting Xenomai/Adeos to t=
> his Board. Actual i patches the Kernel (2.6.24) with Xenaomai:
>
> $ /usr/src/xenomai-2.4.3/scripts/prepare-kernel.sh \
> --linux=3D/usr/src/linux-2.6.24-gentoo/ \
> --adeos=3D/usr/src/xenomai-2.4.3/ksrc/arch/arm/patches/adeos-ipipe-2.6.24-=
> arm-1.9-01.patch --arch=3Darm
> $ cd /usr/src/linux-2.6.24-gentoo
> $ build=5Froot=3D/usr/src/build=5Froot/
> $ make ARCH=3Darm CROSS=5FCOMPILE=3Darm-linux- O=3D$build=5Froot ns9xxx=5Fdefconfig
>
> Here the cross compiler from buildroot is used.
> Then i started to port the I-Pipe recording to I-pipe:ArmPorting ( http:/=
> /www.xenomai.org/index.php/I-pipe:ArmPorting ). I added the variables and =
> functions to the following files: /arch/arm/mach-ns9xxx/time.c, include/as=
> m-arm/arch-ns9xx/irqs.h and /arch/arm/mach-ns9xxx/irq.c
>
> The next step in the howto i don't understand really. I found nowhere the =
> pxa=5Ftimer=5Finterrupt() function and so on. Therefore i don't know what i ha=
> ve to do further.
The name pxa_timer_interrupt is the name of the timer interrupt
handler for the PXA architecture. It is just an example. The timer
interrupt handler is expected to have another name for another
architecture than PXA.
You should have a look at PXA implementation of the I-pipe for 2.6.24,
it will be a better example than what is in the wiki.
> When i try to compiling it i get this errors:
>
> $ make ARCH=3Darm CROSS=5FCOMPILE=3Darm-linux- O=3D$build=5Froot
> CHK include/linux/version.h
> make[2]: =BBinclude/asm-arm/mach-types.h=AB ist bereits aktualisiert.
> Using /usr/src/linux-2.6.24-gentoo as source for kernel
> GEN /usr/src/build=5Froot/Makefile
> CHK include/linux/utsrelease.h
> CALL /usr/src/linux-2.6.24-gentoo/scripts/checksyscalls.sh
> <stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
> <stdin>:1265:2: warning: #warning syscall migrate=5Fpages not implemented
> <stdin>:1321:2: warning: #warning syscall pselect6 not implemented
> <stdin>:1325:2: warning: #warning syscall ppoll not implemented
> <stdin>:1365:2: warning: #warning syscall epoll=5Fpwait not implemented
> CHK include/linux/compile.h
> CC arch/arm/kernel/ipipe.o
> /usr/src/linux-2.6.24-gentoo/arch/arm/kernel/ipipe.c: In function '=5F=5Fipipe=
> =5Fgrab=5Firq':
> /usr/src/linux-2.6.24-gentoo/arch/arm/kernel/ipipe.c:429: error: expected =
> expression before ')' token
> make[2]: *** [arch/arm/kernel/ipipe.o] error 1
> make[1]: *** [arch/arm/kernel] error 2
> make: *** [sub-make] error 2
>
>
> Do someone have an idea and could help me=3F
Just look at line 429 of arch/arm/kerne/ipipe.c. What do you see ?
if (__ipipe_mach_irq_mux_p(irq)) {
I would bet you got __ipipe_mach_irq_mux_p wrong.
--
Gilles
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Xenomai-help] (no subject)
@ 2008-02-13 21:45 Pedro Mendes
2008-02-14 7:36 ` Gilles Chanteperdrix
0 siblings, 1 reply; 21+ messages in thread
From: Pedro Mendes @ 2008-02-13 21:45 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
Hi all!
I've been trying to get Xenomai to work with my gumstix but I can't find a
way to patch the linux kernel correctly. Has anyone installed Xenomai on a
gumstix? Could you tell me the revision of the buildroot and xenomai
versions you used pls (and possibly how.)?
Thanks
Pedro
[-- Attachment #2: Type: text/html, Size: 2139 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Xenomai-help] (no subject)
2008-02-13 21:45 Pedro Mendes
@ 2008-02-14 7:36 ` Gilles Chanteperdrix
2008-02-14 13:17 ` Pedro Mendes
0 siblings, 1 reply; 21+ messages in thread
From: Gilles Chanteperdrix @ 2008-02-14 7:36 UTC (permalink / raw)
To: Pedro Mendes; +Cc: xenomai
Pedro Mendes wrote:
> Hi all!
>
>
>
> I've been trying to get Xenomai to work with my gumstix but I can't find a
> way to patch the linux kernel correctly. Has anyone installed Xenomai on a
> gumstix? Could you tell me the revision of the buildroot and xenomai
> versions you used pls (and possibly how.)?
gumstix is based on a PXA, right ? So, it should be supported by
Xenomai. Is it supported by mainline kernel, or do you need an
additional patch ? And what happens when you patch the kernel with the
I-pipe patch, what error message do you get exactly ?
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Xenomai-help] (no subject)
2008-02-14 7:36 ` Gilles Chanteperdrix
@ 2008-02-14 13:17 ` Pedro Mendes
2008-02-14 13:57 ` Gilles Chanteperdrix
0 siblings, 1 reply; 21+ messages in thread
From: Pedro Mendes @ 2008-02-14 13:17 UTC (permalink / raw)
To: 'Gilles Chanteperdrix'; +Cc: xenomai
Pedro Mendes wrote:
> Hi all!
>
>
>
> I've been trying to get Xenomai to work with my gumstix but I can't find
a
> way to patch the linux kernel correctly. Has anyone installed Xenomai on
a
> gumstix? Could you tell me the revision of the buildroot and xenomai
> versions you used pls (and possibly how.)?
gumstix is based on a PXA, right ?
Right.
So, it should be supported by Xenomai. Is it supported by mainline kernel,
or do you need an
additional patch ? And what happens when you patch the kernel with the
I-pipe patch, what error message do you get exactly ?
It is supported by mainline kernel and xenomai patches apply correctly.
However other patches are used for the gumstix and those are the ones
failing now. If I apply those first, then those apply correctly and xenomai
patches fail.
Pedro
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Xenomai-help] (no subject)
2008-02-14 13:17 ` Pedro Mendes
@ 2008-02-14 13:57 ` Gilles Chanteperdrix
0 siblings, 0 replies; 21+ messages in thread
From: Gilles Chanteperdrix @ 2008-02-14 13:57 UTC (permalink / raw)
To: Pedro Mendes; +Cc: xenomai
On Thu, Feb 14, 2008 at 2:17 PM, Pedro Mendes <pcm@domain.hid> wrote:
> Pedro Mendes wrote:
> > Hi all!
> >
> >
> >
> > I've been trying to get Xenomai to work with my gumstix but I can't find
> a
> > way to patch the linux kernel correctly. Has anyone installed Xenomai on
> a
> > gumstix? Could you tell me the revision of the buildroot and xenomai
> > versions you used pls (and possibly how.)?
>
> gumstix is based on a PXA, right ?
>
> Right.
>
>
> So, it should be supported by Xenomai. Is it supported by mainline kernel,
> or do you need an
> additional patch ? And what happens when you patch the kernel with the
> I-pipe patch, what error message do you get exactly ?
> It is supported by mainline kernel and xenomai patches apply correctly.
> However other patches are used for the gumstix and those are the ones
> failing now. If I apply those first, then those apply correctly and xenomai
> patches fail.
Ok. Please send me the URLs where I can download these gumstix
patches, if possible, I will arrange to avoid the conflicts. In the
meantime, you can probably fix the rejects by hand, I would be
surprised if the rejects happened on really critical parts of the
code.
--
Gilles Chanteperdrix
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Xenomai-help] (no subject)
@ 2007-09-26 7:37 sysace
2007-09-26 9:08 ` Gilles Chanteperdrix
0 siblings, 1 reply; 21+ messages in thread
From: sysace @ 2007-09-26 7:37 UTC (permalink / raw)
To: xenomai
Hello,
I'm working on a Xenomai kernel module and I need to
use mathematical functions (like those included in
math.h).
Is there a way to use this kind of functions in the
kernel or shall I switch to an user space application
?
Thank you for your answer.
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [Xenomai-help] (no subject)
2007-09-26 7:37 sysace
@ 2007-09-26 9:08 ` Gilles Chanteperdrix
0 siblings, 0 replies; 21+ messages in thread
From: Gilles Chanteperdrix @ 2007-09-26 9:08 UTC (permalink / raw)
To: sysace@domain.hid; +Cc: xenomai
On 9/26/07, sysace@domain.hid <sysace@domain.hid> wrote:
> Hello,
>
> I'm working on a Xenomai kernel module and I need to
> use mathematical functions (like those included in
> math.h).
>
> Is there a way to use this kind of functions in the
> kernel or shall I switch to an user space application
> ?
>
> Thank you for your answer.
There was a recent discussion on this subject. The answer is that if
you want the mathematical functions in kernel-space, which means
compiling the math functions of a libc in kernel space, it is possible
because Xenomai supports using FPU in kernel-space, but you are on
your own, such a math support will never be added to Xenomai sources.
The supported way is to use mathematical functions in user-space.
--
Gilles Chanteperdrix
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Xenomai-help] (no subject)
@ 2006-04-04 15:04 Behre, Frederik - LT
2006-04-04 16:04 ` Philippe Gerum
0 siblings, 1 reply; 21+ messages in thread
From: Behre, Frederik - LT @ 2006-04-04 15:04 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 4927 bytes --]
Hello
I have following Problem when I Build my uImage from my kernel.
But first my configuration
Host system:
ix86
Suse Linux 10.0 32bit
Cross Compiler
Denx eldk ver. 3.11
(www.denx.de)
Target System
PPC (MPC8270) on Microsys PM827 Board.
linuxppc_2_4_devel-2005-10-25-1440
xenomai-2.1
adeos-ipipe-2.4.25-ppc-denx-1.0-03.patch
I did following Steps
installing the eldk
export Path to the Cross compiler to system Path
extrakt linux and xenomai
copy adeos
THEN
>./xenomai-2.1.0/scripts/prepare-kernel.sh --arch=powerpc \
--adeos=adeos-ipipe-2.4.25-ppc-denx-1.0-03patch \
--linux=linuxppc_2_4_devel-2005-10-25-1440/
patching file arch/ppc/config.in
patching file arch/ppc/kernel/Makefile
patching file arch/ppc/kernel/entry.S
patching file arch/ppc/kernel/head.S
patching file arch/ppc/kernel/head_440.S
patching file arch/ppc/kernel/head_44x.S
patching file arch/ppc/kernel/head_4xx.S
patching file arch/ppc/kernel/head_8xx.S
patching file arch/ppc/kernel/head_e500.S
patching file arch/ppc/kernel/idle.c
patching file arch/ppc/kernel/ipipe-core.c
patching file arch/ppc/kernel/ipipe-root.c
patching file arch/ppc/kernel/irq.c
patching file arch/ppc/kernel/ppc_ksyms.c
patching file arch/ppc/kernel/traps.c
patching file arch/ppc/mm/fault.c
patching file include/asm-ppc/hw_irq.h
patching file include/asm-ppc/ipipe.h
patching file include/asm-ppc/mmu_context.h
patching file include/asm-ppc/system.h
patching file include/linux/ipipe.h
patching file include/linux/sched.h
patching file init/main.c
patching file kernel/Makefile
patching file kernel/exit.c
patching file kernel/fork.c
patching file kernel/ipipe/Makefile
patching file kernel/ipipe/core.c
patching file kernel/ipipe/generic.c
patching file kernel/printk.c
patching file kernel/sched.c
patching file kernel/signal.c
# I think I is ok ???
>cd linuxppc_2_4_devel-2005-10-25-1440
>make ARCH=ppc CROSS_COMPILE=ppc_82xx- PM825config
/bin/sh: ppc-82xx-gcc: command not found
make: *** No rule to make target `PM825config'. Stop.
# default settings for my board
>make ARCH=ppc CROSS_COMPILE=ppc_82xx- menuconfig
#
# Turn off PCI because my targetboard does not support PCI
# activate Xenomai and Nucleus
# nothing more, the rest I leave in default settings
#
# Exit and Save
#
>make ARCH=ppc CROSS_COMPILE=ppc_82xx- uImage
make[5]: Entering directory
`/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenoma
i/arch/generic'
ppc_82xx-gcc -D__KERNEL__
-I/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer
-I/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/arch/ppc
-fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
-mmultiple -mstring
-I/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/xeno
mai
-I/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/xeno
mai/compat -nostdinc -I
/root/eldk/311/usr/lib/gcc-lib/ppc-linux/3.3.3/include
-DKBUILD_BASENAME=hal -c -o hal.o hal.c
In file included from
/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm/xe
nomai/hal.h:32,
from hal.c:43:
/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm-generic
/xenomai/hal.h:60:2: #error "Adeos kernel support is required to run
this software."
/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm-generic
/xenomai/hal.h:61:2: #error "See http://download.gna.org/adeos/patches/"
In file included from
/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm/xe
nomai/hal.h:32,
from hal.c:43:
/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm-generic
/xenomai/hal.h: In function `rthal_get_cpufreq':
/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm-generic
/xenomai/hal.h:171: error: storage size of `sysinfo' isn't known
...
...
...ect...
...
...
make[5]: *** [hal.o] Error 1
make[5]: Leaving directory
`/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenoma
i/arch/generic'
make[4]: *** [first_rule] Error 2
make[4]: Leaving directory
`/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenoma
i/arch/generic'
make[3]: *** [_subdir_generic] Error 2
make[3]: Leaving directory
`/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenoma
i/arch'
make[2]: *** [_subdir_arch] Error 2
make[2]: Leaving directory
`/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenoma
i'
make[1]: *** [_subdir_xenomai] Error 2
make[1]: Leaving directory
`/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel'
make: *** [_dir_kernel] Error 2
#
# and here is my problem
# what did I make wrong ??
Thanks a lot for Helping me.
Greetz Freddy'xenomai@xenomai.org'
[-- Attachment #2: Type: text/html, Size: 9762 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [Xenomai-help] (no subject)
2006-04-04 15:04 Behre, Frederik - LT
@ 2006-04-04 16:04 ` Philippe Gerum
0 siblings, 0 replies; 21+ messages in thread
From: Philippe Gerum @ 2006-04-04 16:04 UTC (permalink / raw)
To: Behre, Frederik - LT; +Cc: xenomai
Behre, Frederik - LT wrote:
> Hello
>
> I have following Problem when I Build my uImage from my kernel.
>
> But first my configuration
>
> Host system:
> ix86
> Suse Linux 10.0 32bit
>
> Cross Compiler
> Denx eldk ver. 3.11
> (_www.denx.de_ <file://www.denx.de>)
>
> Target System
> PPC (MPC8270) on Microsys PM827 Board.
> linuxppc_2_4_devel-2005-10-25-1440
> xenomai-2.1
> adeos-ipipe-2.4.25-ppc-denx-1.0-03.patch
>
> I did following Steps
>
> installing the eldk
> export Path to the Cross compiler to system Path
> extrakt linux and xenomai
> copy adeos
>
> THEN
> >./xenomai-2.1.0/scripts/prepare-kernel.sh --arch=powerpc \
> --adeos=adeos-ipipe-2.4.25-ppc-denx-1.0-03patch \
> --linux=linuxppc_2_4_devel-2005-10-25-1440/
> patching file arch/ppc/config.in
> patching file arch/ppc/kernel/Makefile
> patching file arch/ppc/kernel/entry.S
> patching file arch/ppc/kernel/head.S
> patching file arch/ppc/kernel/head_440.S
> patching file arch/ppc/kernel/head_44x.S
> patching file arch/ppc/kernel/head_4xx.S
> patching file arch/ppc/kernel/head_8xx.S
> patching file arch/ppc/kernel/head_e500.S
> patching file arch/ppc/kernel/idle.c
> patching file arch/ppc/kernel/ipipe-core.c
> patching file arch/ppc/kernel/ipipe-root.c
> patching file arch/ppc/kernel/irq.c
> patching file arch/ppc/kernel/ppc_ksyms.c
> patching file arch/ppc/kernel/traps.c
> patching file arch/ppc/mm/fault.c
> patching file include/asm-ppc/hw_irq.h
> patching file include/asm-ppc/ipipe.h
> patching file include/asm-ppc/mmu_context.h
> patching file include/asm-ppc/system.h
> patching file include/linux/ipipe.h
> patching file include/linux/sched.h
> patching file init/main.c
> patching file kernel/Makefile
> patching file kernel/exit.c
> patching file kernel/fork.c
> patching file kernel/ipipe/Makefile
> patching file kernel/ipipe/core.c
> patching file kernel/ipipe/generic.c
> patching file kernel/printk.c
> patching file kernel/sched.c
> patching file kernel/signal.c
>
> # I think I is ok ???
>
Yes.
> >cd linuxppc_2_4_devel-2005-10-25-1440
> >make ARCH=ppc CROSS_COMPILE=ppc_82xx- PM825config
> /bin/sh: ppc-82xx-gcc: command not found
> make: *** No rule to make target `PM825config'. Stop.
>
> # default settings for my board
>
> >make ARCH=ppc CROSS_COMPILE=ppc_82xx- menuconfig
> #
> # Turn off PCI because my targetboard does not support PCI
> # activate Xenomai and Nucleus
> # nothing more, the rest I leave in default settings
> #
> # Exit and Save
> #
> >make ARCH=ppc CROSS_COMPILE=ppc_82xx- uImage
>
> make[5]: Entering directory
> `/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenomai/arch/generic'
>
> ppc_82xx-gcc -D__KERNEL__
> -I/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -fomit-frame-pointer
> -I/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/arch/ppc
> -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
> -mmultiple -mstring
> -I/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/xenomai
> -I/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/xenomai/compat
> -nostdinc -I /root/eldk/311/usr/lib/gcc-lib/ppc-linux/3.3.3/include
> -DKBUILD_BASENAME=hal -c -o hal.o hal.c
>
> In file included from
> /root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm/xenomai/hal.h:32,
>
You did not switch on the I-pipe support in your kernel configuration,
see "General setup".
> from hal.c:43:
> /eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm-generic/xenomai/hal.h:60:2:
> #error "Adeos kernel support is required to run this software."
>
> /eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm-generic/xenomai/hal.h:61:2:
> #error "See _http://download.gna.org/adeos/patches/_"
>
> In file included from
> /root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm/xenomai/hal.h:32,
>
> from hal.c:43:
> /eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm-generic/xenomai/hal.h:
> In function `rthal_get_cpufreq':
>
> /eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/include/asm-generic/xenomai/hal.h:171:
> error: storage size of `sysinfo' isn't known
>
> ...
> ...
> ...ect...
> ...
> ...
> make[5]: *** [hal.o] Error 1
> make[5]: Leaving directory
> `/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenomai/arch/generic'
>
> make[4]: *** [first_rule] Error 2
> make[4]: Leaving directory
> `/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenomai/arch/generic'
>
> make[3]: *** [_subdir_generic] Error 2
> make[3]: Leaving directory
> `/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenomai/arch'
>
> make[2]: *** [_subdir_arch] Error 2
> make[2]: Leaving directory
> `/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel/xenomai'
> make[1]: *** [_subdir_xenomai] Error 2
> make[1]: Leaving directory
> `/root/eldk/311/usr/src/linuxppc_2_4_devel-2005-10-25-1440/kernel'
> make: *** [_dir_kernel] Error 2
>
> #
> # and here is my problem
> # what did I make wrong ??
>
>
> Thanks a lot for Helping me.
>
> Greetz Freddy'xenomai@xenomai.org'
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2011-12-09 13:41 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 4:45 [Xenomai-help] (no subject) Chitra4 M
2009-03-04 9:51 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2011-12-09 13:41 ediboscio
2011-11-04 18:09 Lyons, Brendon N
2011-07-16 10:11 Wong Sheng Chao
2010-08-11 15:30 Zafar Iqbal
2009-05-27 3:40 Vandana Sasidharan
2009-03-04 10:04 Chitra4 M
2009-03-03 12:52 Reshmi Rajagopal
2009-03-03 13:38 ` Gilles Chanteperdrix
[not found] ` <OFEF55F6FC.C2A72339-ON6525756F.001530A3-6525756F.00147B0D@tcs.com>
2009-03-04 9:50 ` Gilles Chanteperdrix
2008-03-27 12:39 Paradoxxa2001
2008-03-27 13:33 ` Gilles Chanteperdrix
2008-02-13 21:45 Pedro Mendes
2008-02-14 7:36 ` Gilles Chanteperdrix
2008-02-14 13:17 ` Pedro Mendes
2008-02-14 13:57 ` Gilles Chanteperdrix
2007-09-26 7:37 sysace
2007-09-26 9:08 ` Gilles Chanteperdrix
2006-04-04 15:04 Behre, Frederik - LT
2006-04-04 16:04 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.