Dear Xenomai,


I am currently trying to run Xenomai vxWork skins on PPC  MPC8555  target board(TQM8555) and has run into problems can anyone   help on the subjects.


I am using  the following software release:

    Linux version 2.6.18-rc2;

   ELDK from Denx PPC Linux x86 Target PPC (FSL) Release 4.0 (2006-01-11);

  U-Boot 1.1.4-gd10afb39 (Aug 11 2006 - 12:27:28) and


        With  adeos-ipipe-2.6.18-rc7-ppc-1.3-07-pre.patch from Denx

The Hardware Platform I am using is TQM8555 PPC starter kit



NFSbooting results:

>    ## Booting image at 00200000 ...

>    Image Name:   Linux-2.6.18-rc2

>    Created:      2006-10-11  18:28:46 UTC

>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)

>    Data Size:    1306095 Bytes =  1.2 MB

>    Load Address: 00000000

>    Entry Point:  00000000

>    Verifying Checksum ... OK

>    Uncompressing Kernel Image ... OK

>    Memory CAM mapping: CAM0=256Mb, CAM1=0Mb, CAM2=0Mb residual: 0Mb 

> ...

>   Xenomai: hal/powerpc started.

>   Xenomai: real-time nucleus v2.3-devel  (Baroque) loaded.

>   Xenomai: starting native API service

>   Xenomai: starting POSIX services.

>   Xenomai: starting RTDM services.

>   Xenomai: starting VxWorks services.

> ...

> bash-3.00# cd /home/nchau/xenomai

> bash-3.00# export LD_LIBRARY_PATH=/home/nchau/xenomai/lib

> bash-3.00# cd /home/nchau/xenomai/vxworks/app


> bash-3.00# ./satch

> Now playing Surfing With The Alien...

> sz== -1

> Now playing Lords of Karma...

> Now playing Banana Mango...

> Now playing Flying In

> Now playing Ride...

> sz== -1


  Question 1)

>     The Satch runs ok except the size return from the msqQRecive() is

> always -1, not sure why? (vxwork api size return should be the number of bytes

> received)


> Question 2)

>     I try and proceed to add the Koan.c file to the Makefile, however,

> it runs into compilation error even thought I add the main() and

> RootTask as in Satch.c does.

> [EMAIL PROTECTED] xenomai]# cd /temp/Denx1/xenomai/ksrc/skins/vxworks/demos

> [EMAIL PROTECTED] demos]# export DESTDIR=/temp/Denx1/eldk/ppc_85xx

> [EMAIL PROTECTED] demos]# export PATH=$PATH:$DESTDIR/home/nchau/xenomai/bin

> [EMAIL PROTECTED] demos]# export CC=`xeno-config --cc` 

> [EMAIL PROTECTED] demos]# make clean

>   rm -f -f *.o *_sim.o satch  koan satch_sim koan_sim

> [EMAIL PROTECTED] demos]# make

>  ppc-linux-gcc -o satch satch.c -I.

> -I/temp/Denx1/eldk/ppc_85xx/home/nchau/xenomai/include -O2


> -L/temp/Denx1/eldk/ppc_85xx/home/nchau/xenomai/lib -lpthread -rdynamic

> -lvxworks ppc-linux-gcc -o koan koan.c -I.

> -I/temp/Denx1/eldk/ppc_85xx/home/nchau/xenomai/include -O2


> -L/temp/Denx1/eldk/ppc_85xx/home/nchau/xenomai/lib -lpthread -rdynamic

> -lvxworks -lnative

> koan.c: In function 'usrClock':

> koan.c:132: warning: implicit declaration of function 'tickAnnounce'

> koan.c: In function 'koan_sysClkInit':

> koan.c:144: warning: implicit declaration of function 'sysClkConnect'

> /tmp/cc3GdKes.o: In function `usrClock':

> koan.c:(.text+0x258): undefined reference to `tickAnnounce'

> /tmp/cc3GdKes.o: In function `koan_sysClkInit':

> koan.c:(.text+0x2a4): undefined reference to `sysClkConnect'

> collect2: ld returned 1 exit status

> make: *** [koan] Error 1


 Can anyone shed some light to why that happened,  Koan.c is  from the  vxworks skin demo directory that come with the xenomai package.






Xenomai-core mailing list

Reply via email to