Skip to contentSkip to conversation

Testsuite syntax error on Virtex5 PPC440

Xenomai-help Alessandro Avanzi 2 participants 2 messages Mar 12, 2010

lore
Share & tools
lore
#0 lore raw

Hello. I installed Xenomai kernel support on the 2.6.32.3 kernel provided by Xilinx using a mod. DENX patch. Then I installed the user support on a ramdisk, and packed the kernel, the ramdisk and the device tree all togheter in an .elf file to be dowloaded on the board (based on Xilinx Virtex5 FXT with PPC440). At booting I got the following

#
rootfs image is not initramfs (no cpio magic); looks like an initrd Freeing initrd memory: 2902k freed
I-pipe: Domain Xenomai registered.
Xenomai: hal/powerpc started.
Xenomai: scheduling class idle registered.
Xenomai: scheduling class rt registered.
Xenomai: scheduling class tp registered.
Xenomai: real-time nucleus v2.5.1 (Speed Of Light) loaded.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.
Xenomai: starting pSOS+ services.
Xenomai: starting VRTX services.
Xenomai: starting VxWorks services.
Xenomai: starting uITRON services.
Xenomai: starting RTAI emulator.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 120
#

but then, when I try to run some tests, such as xeno-test or something from the testsuite, everything I got is #Syntax error# and nothing else. Executing xeno-info, I got the following

#
root:/usr/xenomai/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.3.0 (2007-01-22 01:17:40 MET) multi-call binary Linux (none) 2.6.32 #1 PREEMPT Fri Mar 12 14:15:38 CET 2010 ppc unknown

module-init-tools found
e2fsprogs not
sed: unmatched '/'
Modules Loaded
root:/usr/xenomai/bin>
#

Any suggestion? Thanks,

Alessandro

#1 lore raw
Quoted 5 lines · Alessandro Avanzi

Hello. I installed Xenomai kernel support on the 2.6.32.3 kernel provided by Xilinx using a mod. DENX patch. Then I installed the user support on a ramdisk, and packed the kernel, the ramdisk and the device tree all togheter in an .elf file to be dowloaded on the board (based on Xilinx Virtex5 FXT with PPC440). At booting I got the following

What version of Xenomai? What shell are you using? If using busybox, you should select the "ash" shell. It is the most compatible with POSIX sh, and is supposed to work. If you want to use another shell, then do not try and use Xenomai scripts, run the binaries directly.

Signature · 1 line
					    Gilles.