From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Andy Pugh <andy@bodgesoc.org>
Cc: xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] Fwd: Kernel Compilation Problems
Date: Fri, 17 Jan 2014 21:53:35 +0100 [thread overview]
Message-ID: <52D9984F.9080203@xenomai.org> (raw)
In-Reply-To: <CAN1+YZUY_3FExF=qrUtMQDQxTqossnQsPCy6zfPjfqp8PitZCg@mail.gmail.com>
On 01/17/2014 09:44 PM, Andy Pugh wrote:
>> On 16 January 2014 22:43, Gilles Chanteperdrix
>> <gilles.chanteperdrix@xenomai.org> wrote:
>>
>>> Does the
>>> unpatched kernel, with exactly the same configuration, compile correctly?
>
> I had a feeling that I was very close, so I commented out the two
> calls each to the troublesome functions, figuring that for the
> time-being I would live without hdmi-audio and fec ethernet.
>
> After that, the patched Udoo git repository kernel did compile, and
> boots the board. I need to figure out how to tidy up the kernel string
> (all changes _are_ committed).
>
> How does this look?
>
>
> [ 1.397848] I-pipe: Domain Xenomai registered.
> [ 1.402368] Xenomai: hal/arm started.
> [ 1.406363] Xenomai: scheduling class idle registered.
> [ 1.411520] Xenomai: scheduling class rt registered.
> [ 1.424750] Xenomai: real-time nucleus v2.6.3 (Lies and Truths) loaded.
> [ 1.431387] Xenomai: debug mode enabled.
> [ 1.435777] Xenomai: starting native API services
> [ 1.440587] Xenomai: starting POSIX services.
> [ 1.445072] Xenomai: starting RTDM services.
>
> andypugh@udoo:~/git/Kernel_Unico$ ls /proc/xenomai/
>
> acct affinity apc faults heap interfaces irq latency lock
> registry rtdm sched schedclasses stat timebases timer timerstat
> version
>
> And the testsuite:
>
> andypugh@udoo:~/git/Xenomai$ uname -a
>
> Linux udoo 3.0.35-Xenomai-g58cf7fe-dirty #13 SMP PREEMPT Fri Jan 17
> 03:26:53 UTC 2014 armv7l armv7l armv7l GNU/Linux
>
> andypugh@udoo:~/git/Xenomai$ sudo xeno-regression-test -l
> "/usr/lib/xenomai/testsuite/dohell -m /tmp 100" -t 2
>
> Started child 9158: /bin/bash
> /usr/lib/xenomai/testsuite/xeno-test-run-wrapper
> /usr/bin/xeno-regression-test -t 2
>
> ++ echo 0
> ++ /usr/lib/xenomai/testsuite/arith
> mul: 0x79364d93, shft: 26
> integ: 30, frac: 0x4d9364d9364d9364
> signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 45.615 ns, rejected 0/10000
> inlined llimd: 0x79364d9364d9362f: 1727.421 ns, rejected 2/10000
> inlined llmulshft: 0x79364d92ffffffe1: 32.735 ns, rejected 0/10000
> inlined nodiv_llimd: 0x79364d9364d9362f: 45.375 ns, rejected 0/10000
> out of line calibration: 0x0000000000000000: 48.075 ns, rejected 0/10000
> out of line llimd: 0x79364d9364d9362f: 1788.676 ns, rejected 2/10000
> out of line llmulshft: 0x79364d92ffffffe1: 27.764 ns, rejected 0/10000
> out of line nodiv_llimd: 0x79364d9364d9362f: 40.441 ns, rejected 0/10000
> signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 45.565 ns, rejected 0/10000
> inlined llimd: 0x86c9b26c9b26c9d1: 1743.871 ns, rejected 1/10000
> inlined llmulshft: 0xd45d172d0000001e: 22.707 ns, rejected 0/10000
> inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 50.464 ns, rejected 0/10000
> out of line calibration: 0x0000000000000000: 70.583 ns, rejected 0/10000
> out of line llimd: 0x86c9b26c9b26c9d1: 1751.943 ns, rejected 2/10000
> out of line llmulshft: 0xd45d172d0000001e: 10.312 ns, rejected 0/10000
> out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 30.519 ns, rejected 0/10000
>
> unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 45.570 ns, rejected 0/10000
> inlined nodiv_ullimd: 0x79364d9364d9362f: 42.910 ns, rejected 0/10000
> out of line calibration: 0x0000000000000000: 48.037 ns, rejected 0/10000
> out of line nodiv_ullimd: 0x79364d9364d9362f: 40.478 ns, rejected 0/10000
> ++ /usr/lib/xenomai/testsuite/clocktest -C 42 -T 30
> == Tested clock: 42 (CLOCK_HOST_REALTIME)
> CPU ToD offset [us] ToD drift [us/s] warps max delta [us]
> --- -------------------- ---------------- ---------- --------------
> 0 1.3 0.024 0 0.0
> 1 1.0 0.040 0 0.0
> 2 0.6 -0.046 0 0.0
> 3 1.2 0.046 0 0.0
>
It looks ok, you should run xeno-test instead of xeno-regression-test,
and see if you get acceptable latencies.
--
Gilles.
next prev parent reply other threads:[~2014-01-17 20:53 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAN1+YZVvgPNNHFub5QAkw6SeSUPuf1dv_94kYGqhbjMpNt70Sg@mail.gmail.com>
2014-01-16 15:41 ` [Xenomai] Fwd: Kernel Compilation Problems Andy Pugh
2014-01-16 22:43 ` Gilles Chanteperdrix
2014-01-16 23:17 ` Andy Pugh
2014-01-17 20:44 ` Andy Pugh
2014-01-17 20:53 ` Gilles Chanteperdrix [this message]
2014-01-18 19:49 ` Andy Pugh
2014-01-18 20:43 ` Gilles Chanteperdrix
2014-01-18 22:31 ` Andy Pugh
2014-01-18 23:24 ` Gilles Chanteperdrix
2014-01-18 23:48 ` Andy Pugh
2014-01-19 0:27 ` Paul
2014-01-19 12:33 ` Gilles Chanteperdrix
2014-01-19 13:42 ` Gilles Chanteperdrix
2014-01-31 0:05 ` Andy Pugh
2014-01-31 9:24 ` Gilles Chanteperdrix
2014-01-31 17:48 ` Andy Pugh
2014-01-31 18:00 ` Gilles Chanteperdrix
2014-01-31 20:15 ` Andy Pugh
2014-01-31 20:19 ` Gilles Chanteperdrix
2014-01-31 21:03 ` Andy Pugh
2014-01-31 21:07 ` Gilles Chanteperdrix
2014-01-31 22:58 ` Andy Pugh
2014-02-01 12:17 ` Gilles Chanteperdrix
2014-02-01 13:39 ` Gilles Chanteperdrix
2014-02-01 13:49 ` Gilles Chanteperdrix
2014-02-02 21:53 ` Andy Pugh
2014-02-02 21:59 ` Gilles Chanteperdrix
2014-02-02 22:44 ` Gilles Chanteperdrix
2014-02-03 0:25 ` Andy Pugh
2014-02-03 11:25 ` Gilles Chanteperdrix
2014-02-04 21:38 ` Gilles Chanteperdrix
2014-02-04 23:24 ` Andy Pugh
2014-01-31 20:21 ` Gilles Chanteperdrix
2014-01-31 20:46 ` Lennart Sorensen
2014-01-31 20:49 ` Gilles Chanteperdrix
2014-01-20 17:45 ` Andy Pugh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52D9984F.9080203@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=andy@bodgesoc.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.