All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Robert <robert-km@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] installing xenomai on pandaboard
Date: Mon, 24 Oct 2011 12:37:27 +0200	[thread overview]
Message-ID: <4EA53FE7.6030803@domain.hid> (raw)
In-Reply-To: <9a6b34f.290ebc9d.4ea53837.4438c@domain.hid>

On 10/24/2011 12:04 PM, Robert wrote:
> 
> 
> 
> Dnia 24 października 2011 11:47 Gilles Chanteperdrix <gilles.chanteperdrix@domain.hid> napisał(a):
> 
>> On 10/24/2011 11:16 AM, Robert wrote:
>>>
>>>
>>> Dnia 24 października 2011 10:33 Gilles Chanteperdrix <gilles.chanteperdrix@domain.hid> napisał(a):
>>>
>>>> On 10/24/2011 09:53 AM, Robert wrote:
>>>>>
>>>>>
>>>>>
>>>>> Dnia 20 września 2011 20:13 Gilles Chanteperdrix <gilles.chanteperdrix@domain.hid> napisał(a):
>>>>>
>>>>>> On 09/20/2011 07:26 PM, Robert wrote:
>>>>>>> Can someone help me installing xenomai on panda?
>>>>>>>
>>>>>>> What should I do, to install xenomai on ubuntu host?
>>>>>>> Download kernel from kernel.org and patch it with xenomai and adeos-patch, or download kernel from git repository, or download ubuntu image-omap4 via apt-get source?
>>>>>>>
>>>>>>> The last one would download 2.6.38 kernel, but there is no adeos patch for this version yet.
>>>>>>> It is also possible to download 2.6.37-9, but the same problem.
>>>>>>
>>>>>> The upcoming xenomai 2.6.0 supports panda. It should be released real
>>>>>> soon now, in the mean-time, you can try xenomai 2.6.0-rc3.
>>>>>>
>>>>>>
>>>>>
>>>>> Hi again,
>>>>> I have downloaded xenomai 2.6.0-rc5, and kernel 2.6.38.8 from kernel.org to ubuntu 11.04 on pandaboard.
>>>>> Patched it with adeos included in xeno package.
>>>>>
>>>>> Compiled the kernel, modules and copied uImage to boot partition.
>>>>> After reboot i got the following dmesg | grep -i xeno:
>>>>> user@domain.hid$ dmesg | grep -i xeno
>>>>> [    1.195556] I-pipe: Domain Xenomai registered.
>>>>> [    1.195587] Xenomai: hal/arm started.
>>>>> [    1.195861] Xenomai: scheduling class idle registered.
>>>>> [    1.195861] Xenomai: scheduling class rt registered.
>>>>> [    1.199798] Xenomai: real-time nucleus v2.6.0-rc5 (head) loaded.
>>>>> [    1.199798] Xenomai: debug mode enabled.
>>>>> [    1.590240] Xenomai: native skin init failed, code -19.
>>>>> [    1.590270] Xenomai: starting POSIX services.
>>>>> [    1.980804] Xenomai: POSIX skin init failed, code -19.
>>>>> [    2.371429] Xenomai: RTDM skin init failed, code -19.
>>>>>
>>>>> user@domain.hid$ modprobe -l | grep -i xeno
>>>>> user@domain.hid$ modprobe xeno_native
>>>>> user@domain.hid$ modprobe -l | grep -i xeno
>>>>>
>>>>> user@domain.hid$ sudo ./xeno-test
>>>>> /usr/xenomai/bin/xeno-test-run-wrapper: 19: source: not found
>>>>> ./xeno-test failed: dead child 1238 not found!
>>>>
>>>> That is surprising, what shell do you use? Have you copied all files
>>>> installed by xenomai on the board root filesystem?
>>>  
>>> I'm using bash.
>>> What do you mean, by all files? I just ran make and make install.
>>
>> I take it you are not cross-compiling then? Anyway, to understand the
>> bug in xeno-test, you should try adding "set -x" in
>> xeno-test-run-wrapper, on the second line.
> 
> + script=./xeno-test
> + shift
> + source ./xeno-test
> /usr/xenomai/bin/xeno-test-run-wrapper: 1: source: not found
> ./xeno-test failed: dead child 10486 not found!

Ok. Try calling /usr/xenomai/bin/xeno-test instead of cding to the
directory and runing ./xeno-test.

>>>>> user@domain.hid$ ./cond-torture-native
>>>>> Xenomai: incompatible feature set
>>>>> (userland requires "kuser_tsc fastsynch nosmp", kernel provides "sa1100 v6 eabi
>>>>> kuser_tsc fastsynch smp", missing="nosmp").
>>>>>
>>>>> Should I disable smp in kernel config?
>>>>
>>>> That, or more likely enable smp in user-space configuration.
>>>>
>>> Now I try to compile without smp.
>>
>> I would recommend not to do that. SMP is better tested than !SMP. And
>> anyway, it is a bit stupid to only use one core on the dual-core OMAP4.
>>
>>
> 
> I thought it may cause a problems. So, what to do now?
> config file looks good?

I have not received the config file.

-- 
                                                                Gilles.



  reply	other threads:[~2011-10-24 10:37 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20 17:26 [Xenomai-help] installing xenomai on pandaboard Robert
2011-09-20 18:13 ` Gilles Chanteperdrix
2011-10-24  7:53   ` Robert
2011-10-24  8:33     ` Gilles Chanteperdrix
2011-10-24  9:16       ` Robert
2011-10-24  9:47         ` Gilles Chanteperdrix
2011-10-24 10:04           ` Robert
2011-10-24 10:37             ` Gilles Chanteperdrix [this message]
2011-10-24 10:59               ` Robert
2011-10-24 11:07                 ` Gilles Chanteperdrix
     [not found]                   ` <e966a6c.7f7f5548.4ea547f5.6fa69@domain.hid>
2011-10-24 11:18                     ` Gilles Chanteperdrix
2011-10-24 20:58                     ` Gilles Chanteperdrix
2011-10-24  8:41     ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2011-10-26 15:26 Robert
2011-10-26 15:36 ` Gilles Chanteperdrix
2011-10-26 18:00   ` Robert
2011-10-26 19:44     ` Gilles Chanteperdrix
2011-10-26 21:29       ` Robert
2011-10-27  9:05 Gilles Chanteperdrix
2011-10-27 19:56 ` Gilles Chanteperdrix
2011-10-28 10:03   ` Robert
2011-10-28 10:38     ` Gilles Chanteperdrix
2011-10-28 10:54       ` Robert

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=4EA53FE7.6030803@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=robert-km@domain.hid \
    --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.