From: Wolfgang Grandegger <wg@grandegger.com>
To: Lukasz Zemla <Lukasz.Zemla@woodward.com>
Cc: "Xenomai@xenomai.org" <Xenomai@xenomai.org>
Subject: Re: [Xenomai] Xenomai installation on P1020RDB
Date: Wed, 25 Jul 2012 21:26:48 +0200 [thread overview]
Message-ID: <50104878.8030300@grandegger.com> (raw)
In-Reply-To: <CE2E43470FE5444A811B580382FE5EDF2113EA8DE7@KEMPMAIL2.woodward.com>
Hi Lukasz,
On 07/25/2012 06:18 PM, Lukasz Zemla wrote:
> Hi Wolfgang,
>
> Thank you for your mail, especially for sharing detailed latency results.
> Find my answers below.
>
>> -----Original Message-----
>> From: Wolfgang Grandegger [mailto:wg@grandegger.com]
>> Sent: Friday, July 20, 2012 8:25 PM
>> To: Lukasz Zemla
>> Cc: Xenomai@xenomai.org
>> Subject: Re: [Xenomai] Xenomai installation on P1020RDB
>>
>> Hi Lukasz,
>>
>> On 07/20/2012 04:31 PM, Lukasz Zemla wrote:
>>> Hello,
>>>
>>> Has anyone some experience with installing Xenomai on P1020RDB board?
>> I'd like to perform some benchmarks on this board.
>>> I'm trying to install it using the latest Freescale SDK 1.2 based on
>>> Yocto. But hints for SDK 1.0.3 would be also fine. Finally every way
>>> for getting it working... ;-)
>>>
>>> What I'm doing is getting Freescale kernel (3.0.34):
>>
>> If you can, use a *mainline* kernel. The latest Xenomai patch is for
>> Linux 3.2.21 and that version does well support the P1020RDB, IIRC.
>
> I tried to install Xenomai on 3.2.21 - it boots, but waits about 76 seconds after initialization of first eth0 controller:
>
> [ 0.905820] fsl-gianfar ethernet.1: eth0: TX BD ring size for Q[7]: 256
> [ 77.451135] fsl-gianfar ethernet.2: eth1: mac: 00:04:9f:02:2d:11
>
> There is no delay between eth1 and eth2.
>
> The vanilla 3.2.21 does not have any delays - it initializes eth0, eth1, eth2 immediately.
Strange. Could you please show us your .config. Is SMP enabled?
> [...]
>
>>> Next I tried to install Xenomai on vanilla 3.1.10 kernel. I got
>> compilation error:
>>>
>>> arch/powerpc/sysdev/fsl_lbc.c: In function
>> 'fsl_lbc_ctrl_irq':
>>> arch/powerpc/sysdev/fsl_lbc.c:247:3: error: 'TASK_NORMAL'
>>> undeclared (first use in this function)
>>
>> That has nothing to do with Xenomai. Did you try to build the vanilla
>> kernel first?
>
> The vanilla 3.1.10 kernel builds and boots properly.
> I double checked and confirm that 3.1.10 vanilla kernel after patching using adeos-ipipe-3.1.10-powerpc-2.13-08.patch has problem with compilation presented above.
> After fsl_lbc.c file correction I can compile it and boot (what I forgot last time was rebuilding DTB file ('make ARCH=powerpc CROSS_COMPILE=powerpc-fsl-linux-gnuspe- p1020rdb.dtb'). With the new DTB system goes further but hangs for some time rises exception:
I'm unable to reproduce that issue. What defconfig did you use? Could
you show use your .config. I used mpx85xx_smp_defconfig abd it compiled
fine.
> ***
> The information in this email is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this email in error please notify the sender by return e-mail, delete this email, and refrain from any disclosure or action based on the information.
> ***
This note does not make sense when sending to a public mailing list.
Wolfgang.
next prev parent reply other threads:[~2012-07-25 19:26 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-20 14:31 [Xenomai] Xenomai installation on P1020RDB Lukasz Zemla
2012-07-20 18:25 ` Wolfgang Grandegger
2012-07-23 8:48 ` Richard Cochran
2012-07-23 12:01 ` Wolfgang Grandegger
2012-07-25 16:18 ` Lukasz Zemla
2012-07-25 17:11 ` Gilles Chanteperdrix
2012-07-25 17:36 ` Gilles Chanteperdrix
2012-07-25 20:15 ` Lukasz Zemla
2012-07-25 20:42 ` Gilles Chanteperdrix
2012-07-26 11:20 ` Lukasz Zemla
2012-07-26 12:00 ` Gilles Chanteperdrix
2012-07-27 15:53 ` Lukasz Zemla
2012-07-27 16:00 ` Gilles Chanteperdrix
2012-07-27 16:08 ` Philippe Gerum
2012-07-27 16:12 ` Lukasz Zemla
2012-07-27 16:19 ` Philippe Gerum
2012-07-29 14:30 ` Philippe Gerum
2012-07-29 14:10 ` Philippe Gerum
2012-07-25 19:26 ` Wolfgang Grandegger [this message]
2012-07-25 20:26 ` Lukasz Zemla
2012-07-25 20:55 ` Wolfgang Grandegger
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=50104878.8030300@grandegger.com \
--to=wg@grandegger.com \
--cc=Lukasz.Zemla@woodward.com \
--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.