OK, --enable-arm-eabi fixed the latency program, but xeno-test still hangs at generate_loads on 2.6.31 (below). xeno-test worked on 2.6.33
.
The Angstrom Distribution beagleboard ttyS2

Angstrom 2010.4-test-20100518 beagleboard ttyS2

beagleboard login: root
r...@beagleboard:~# ls /proc
1              28             9              irq            self
10             286            buddyinfo      kallsyms       slabinfo
11             29             bus            kmsg           softirqs
12             3              cmdline        kpagecount     stat
13             4              cpu            kpageflags     swaps
14             49             cpuinfo        loadavg        sys
15             5              crypto         locks          sysrq-trigger
16             6              devices        meminfo        sysvipc
17             662            diskstats      misc           timer_list
18             7              driver         modules        tty
19             790            execdomains    mounts         uptime
2              793            filesystems    mtd            version
20             795            fs             net            vmallocinfo
21             797            interrupts     pagetypeinfo   vmstat
211            798            iomem          partitions     xenomai
212            8              ioports        sched_debug    zoneinfo
27             800            ipipe          scsi
r...@beagleboard:~# /usr/xenomai/bin/latency
== Sampling period: 1000 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
RTT|  00:00:01  (periodic user-mode task, 1000 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| 17.999| 18.846| 28.615| 0| 0| 17.999| 28.615 RTD| 12.538| 13.307| 27.923| 0| 0| 12.538| 28.615 RTD| 12.384| 13.307| 26.461| 0| 0| 12.384| 28.615 RTD| 12.461| 13.307| 21.538| 0| 0| 12.384| 28.615 RTD| 12.538| 14.384| 33.923| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 24.230| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 25.923| 0| 0| 12.384| 33.923 RTD| 12.538| 13.307| 22.769| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 23.769| 0| 0| 12.384| 33.923 RTD| 12.461| 14.307| 26.769| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 22.923| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 21.384| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 23.384| 0| 0| 12.384| 33.923 RTD| 12.461| 13.230| 22.153| 0| 0| 12.384| 33.923 RTD| 12.461| 14.307| 26.615| 0| 0| 12.384| 33.923 RTD| 12.538| 13.307| 22.538| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 23.461| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 21.923| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 22.769| 0| 0| 12.384| 33.923 RTD| 12.461| 14.307| 26.923| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 22.538| 0| 0| 12.384| 33.923
RTT|  00:00:22  (periodic user-mode task, 1000 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| 12.461| 13.230| 21.230| 0| 0| 12.384| 33.923 RTD| 12.538| 13.307| 21.076| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 20.692| 0| 0| 12.384| 33.923 RTD| 12.538| 14.230| 27.538| 0| 0| 12.384| 33.923 RTD| 12.461| 13.230| 22.692| 0| 0| 12.384| 33.923 RTD| 12.461| 13.307| 20.846| 0| 0| 12.384| 33.923 RTD| 12.461| 13.230| 21.692| 0| 0| 12.384| 33.923 RTD| 12.384| 13.307| 21.384| 0| 0| 12.384| 33.923 RTD| 12.384| 14.230| 26.615| 0| 0| 12.384| 33.923 RTD| 12.538| 13.307| 22.461| 0| 0| 12.384| 33.923
---|-----------|-----------|-----------|--------|------|-------------------------
RTS| 12.384| 13.615| 33.923| 0| 0| 00:00:32/00:00:32
r...@beagleboard:~#  /usr/xenomai/bin/xeno-test -s -h -T 20
xeno-test: started -s -h -T 20
withBusybox is 1
xeno-test: running tests
/usr/xenomai/bin/xeno-test: eval: line 1: -h: not found

Tue May 18 20:59:04 UTC 2010
running: /usr/xenomai/bin/xeno-config --verbose
xeno-config --verbose
        --version="2.5.3"
--cc="arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
        --arch="arm"
        --prefix="/usr/xenomai"
--xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -D__XENO__"
        --xeno-ldflags="-L/usr/xenomai/lib -lxenomai -lpthread "
        --posix-cflags=""
--posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lxenomai -lpthread -lr
t "
        --library-dir="/usr/xenomai/lib"

Tue May 18 20:59:04 UTC 2010
running: /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.13.2 (2010-05-18 15:45:51 PDT) multi-call binary
Linux beagleboard 2.6.31-omap1 #1 Sun Jul 25 16:58:55 PDT 2010 armv7l unknown

module-init-tools      3.4
Modules Loaded         omap2_mcspi

Tue May 18 20:59:04 UTC 2010
running: cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 498.07
Features        : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x1
CPU part        : 0xc08
CPU revision    : 3

Hardware        : OMAP3 Beagle Board
Revision        : 0020
Serial          : 0000000000000000

Tue May 18 20:59:04 UTC 2010
running: md5sum /proc/cpuinfo # cpuinfo fingerprint
6f0a1a5525e65155ee727ef0c3403ba9  /proc/cpuinfo

Tue May 18 20:59:04 UTC 2010
running: cat /proc/ipipe/Linux
       +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
       |+---- Sticky
       ||+--- Locked
       |||+-- Exclusive
       ||||+- Virtual
[IRQ]  |||||
   0:  A....
   1:  A....
... IRQ counts, values are the same ...
 401:  A....
 416:  G...V
 417:  G...V
[Domain info]
id=0x00000000
priority=100

Tue May 18 20:59:04 UTC 2010
running: cat /proc/ipipe/Xenomai
       +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
       |+---- Sticky
       ||+--- Locked
       |||+-- Exclusive
       ||||+- Virtual
[IRQ]  |||||
  37:  W..X.
 418:  W...V
[Domain info]
id=0x58454e4f
priority=topmost

Tue May 18 20:59:04 UTC 2010
running: cat /proc/ipipe/version
1.16-01

Tue May 18 20:59:05 UTC 2010
running: generate_loads 1
dd workload started, pids 905 stored in /var/lock/xeno-test.804.pids


Regards,
Bob Feretich

On 7/28/2010 12:44 AM, Gilles Chanteperdrix wrote:
Bob Feretich wrote:
   On 2.6.33.......... (2.6.31 gives the same result)
r...@beagleboard:~# /usr/xenomai/bin/latency
Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_nucleus?)

BUT, neither are disabled... And, xeno_nucleus is built-in to the kernel.
Ok. If you are using an EABI toolchain, did you pass --enable-arm-eabi
to the configure script?


_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to