From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4EA53FE7.6030803@domain.hid> Date: Mon, 24 Oct 2011 12:37:27 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <584f2ab9.7f72956e.4e78ccaa.5171d@domain.hid> <4EA522E1.80207@domain.hid> <848f265.55f3d06f.4ea52ce9.ebedc@domain.hid> <4EA53424.6050803@domain.hid> <9a6b34f.290ebc9d.4ea53837.4438c@domain.hid> In-Reply-To: <9a6b34f.290ebc9d.4ea53837.4438c@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-help] installing xenomai on pandaboard List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Robert Cc: xenomai@xenomai.org On 10/24/2011 12:04 PM, Robert wrote: >=20 >=20 >=20 > Dnia 24 pa=C5=BAdziernika 2011 11:47 Gilles Chanteperdrix napisa=C5=82(a): >=20 >> On 10/24/2011 11:16 AM, Robert wrote: >>> >>> >>> Dnia 24 pa=C5=BAdziernika 2011 10:33 Gilles Chanteperdrix napisa=C5=82(a): >>> >>>> On 10/24/2011 09:53 AM, Robert wrote: >>>>> >>>>> >>>>> >>>>> Dnia 20 wrze=C5=9Bnia 2011 20:13 Gilles Chanteperdrix napisa=C5=82(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 ade= os-patch, or download kernel from git repository, or download ubuntu imag= e-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 r= eal >>>>>> 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 kerne= l.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? >>> =20 >>> 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. >=20 > + script=3D./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 "sa= 1100 v6 eabi >>>>> kuser_tsc fastsynch smp", missing=3D"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= =2E >> >> >=20 > I thought it may cause a problems. So, what to do now? > config file looks good? I have not received the config file. --=20 Gilles.