On 08/22/2011 10:55 AM, yi zheng wrote:
>>
>>
>>>>>>> Hi,all
>>>>>>> i am a newer to xenomai.Now i want to build xenomai for my
>> target
>>>>>>> platform with AT91SAM9263 ARM and linux kernel vision 2.6.25.I use
>>>>>>> arm-linux-gcc 3.4.1 for compiler,
>>>>>>> is it suitable for build
>>>>>>> xenomai?which xenomai vision is better for me?
>>>>>
>>>>>> Xenomai 2.5.6 is the latest stable release, it should work. But I-pipe
>>>>>> patches for later linux kernel releases have support for FCSE, which
>>>>>> greatly improves latencies. As for the version of gcc, I have only
>> been
>>>>>> using gcc 4 for a long time.
>>>>>
>>>>> --
>>>>>
>>>>
>>>>
>>>>
>>>>> Gilles.
>>>>>
>>>> Hi Gilles
>>>> thank you for your kindly replying.I have used linux-2.6.25
>>>> and Xenomai 2.4.4 today.I compiled both linux kernel and Xenomai
>>
>>> If you have no special reason for using such old versions, you should
>>> probably use the latest releases.
>
> Actually,I want to use RTnet-0.9.12 for my target platform.The network
> card driver contained in RTnet-0.9.12 comes from linux kernel vision2.6.25.I
> prepare to use the same kernel vision as the author who ported standard
> linux network card driver to RTnet.
As I already told you, you can use Xenomai 2.5.6 with linux 2.6.25, so,
that is not a good reason.
> ---|------------|------------|------------|--------|-------------------------
> RTS| 20.975| 50.453| 86.167| 0| 00:00:11/00:01:00
>
> I think my Xenomai environment built successfully.And I want to do more
> performance test on Xenomai,is there any other existing test program i can
> use?
The usual way to assess the latencies of your system is with the
"latency" test, but running it several hours with the machine under
load. latency results, when run 11seconds on an idle machine are
meaningless.
>
> With above-mentioned linux and Xenomai I compiled RTnet0.9.12.There seems
> something wrong with RTnet.
> [@NewMsg9263: modules]# insmod rt_macb.ko
> RTnet: registered rteth0
> MACB_mii_bus: probed
> rteth0: Atmel MACB at 0xfffbc000 irq 21 (12:34:56:78:90:12)
> rteth0: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=ffffffff:00,
> irq=-1)
> [@NewMsg9263: modules]# lsmod
> rt_macb 8164 0 - Live 0xbf014000
> rt_loopback 2404 0 - Live 0xbf012000
> rtipv4 25484 0 - Live 0xbf00a000
> rtnet 33360 3 rt_macb,rt_loopback,rtipv4, Live 0xbf000000
> [@NewMsg9263: sbin]# ./rtifconfig rteth0 up
> [@NewMsg9263: sbin]# rteth0: link up (100/Full)
> RTnet: host 192.168.0.255 unreachable
> RTnet: unable to forward packet from 192.168.0.8
> RTnet: host 255.255.255.255 unreachable
> RTnet: unable to forward packet from 192.168.0.100
> RTnet: host 192.168.0.255 unreachable
> RTnet: unable to forward packet from 192.168.0.122
> RTnet: host 255.255.255.255 unreachable
> RTnet: unable to forward packet from 192.168.0.100
> I know this is Xenomai maillist,but if you know where is my problem.Please
> tell me.
Now, the natural question is: do you get the same problems with xenomai
2.5.6? Because if you do not get them with xenomai 2.5.6, it means that
you hit a bug that was already solved. As long as you persist in using
outdated versions, nobody will lift a finger to try and debug issues
that may have already been fixed in later releases.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help