>
> >> 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
successfully following "2.6 Building for ARM" in Xenomai 2.4.4's document
named "readme.install" .But i didn't know how to run test program,that is to
say i didn't know whether Xenomai could run smoothly on my target
platform.As mentioned earlier my embedded platform is AT91SAM9263 ARM.And
arm-linux-gcc I used is 3.4.1.
           I used 2.6.25-at91.patch patching the kernel.And then compiling
linux kernel and Xenomai 2.4.4 as followed:
         compiling linux kernel
         1)  scripts/prepare-kernel.sh
             --arch=arm
 --adeos=ksrc/arch/arm/patches/adeos-ipipe-2.6.25-arm-1.9-02.patch
            --linux=/usr/src/xenomai/linux-2.6.25
         2)make ARCH=arm CROSS_COMPILE=arm-linux-  at91sam9263ek_defconfig
         3) make ARCH=arm CROSS_COMPILE=arm-linux-  uImage modules
         compiling  Xenomai
         4)ARCH=arm  CROSS_COMPILE=arm-linux-
             ./configure --host=arm-linux
              --enable-arm-mach=at91sam926x  --enable-arm-tsc
          5)make install
         Xenomai installation directory is  /usr/xenomai.executing "ls",i
got
          [root@ServerMing xenomai]# ls
         bin  include  lib  sbin  share

         I downloaded kernel and /usr/xenomai to my target platform in
a suitable way.Linux kernel can run successfully.
 [@NewMsg9263: bin]# pwd
 /usr/xenomai/bin
[@NewMsg9263: bin]# ./xeno-info
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

BusyBox v1.15.3 (2010-03-30 15:34:10 CST) multi-call binary
Linux NewMsg9263 2.6.25 #3 Sat Aug 20 09:40:50 CST 2011 armv5tejl GNU/Linux

module-init-tools      V
Modules Loaded

when i tried to run xeno-info directory,i got information above.

if there is something wrong with compiling kernel and Xenomai,please correct
me.and how can i check out that Xenomai can run smoothly with my target
platform.look forward to your reply.
yizhneg
_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to