Message-ID: <1490081911.3925.8.camel@smigroup.net> From: Mauro Salvini Date: Tue, 21 Mar 2017 08:38:31 +0100 In-Reply-To: <00e401d2a197$ce2dd710$6a898530$@sepro-group.com> References: <009e01d2a14e$eb682e00$c2388a00$@sepro-group.com> <1489998848.4037.3.camel@smigroup.net> <00b501d2a186$6ffd0c30$4ff72490$@sepro-group.com> <1490021026.4037.10.camel@smigroup.net> <00e401d2a197$ce2dd710$6a898530$@sepro-group.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai] Trying to install Xenomai 3.0.3 on i.MX6 Kernel 4.1.15 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?C=E9dric?= Perles Cc: xenomai@xenomai.org On Mon, 2017-03-20 at 17:34 +0100, C=C3=A9dric Perles wrote: > Hi Mauro, >=20 > In fact, I was booting the wrong kernel through tftp. Using the correct= one,=20 > I have indeed IPIPE and XENOMAI running. > Sorry for bothering you and thx for your time. You are welcome. >=20 > By the way, is there any classical traps to know concerning Xeno 3.0.3 = on=20 > iMX6 ? You should pay attention to L2 cache: if you experience high latencies it could be a culprit (see cache write disable handling in arch/arm/mm/cache-l2x0.c). For everything else, I have found all things I needed in documentation and mailing-list. Regards >=20 > Regards >=20 > C=C3=A9dric >=20 >=20 >=20 >=20 > -----Message d'origine----- > De : Mauro Salvini [mailto:mauro.salvini@smigroup.net] > Envoy=C3=A9 : lundi 20 mars 2017 15:44 > =C3=80 : C=C3=A9dric Perles > Cc : xenomai@xenomai.org > Objet : Re: [Xenomai] Trying to install Xenomai 3.0.3 on i.MX6 Kernel 4= .1.15 >=20 > On Mon, 2017-03-20 at 15:29 +0100, C=C3=A9dric Perles wrote: > > Hi Mauro, > > > > First of all, thx for your answer. Knowing that Xenomai 3.0.3 is > > possible on > > iMX6 kernel 4.1.15 is already a relief for me. > > > > I compile my kernel through BuildRoot that automatically builds the > > .config file. > > However, when I check into kernel menuconfig, I can see I-PIPE is > > selected (kernel Features -> -*- Interrupt pipeline) and Xenomai is > > selected ([*] Xenomai/cobalt ). > > My .config file is also OK (CONFIG_IPIPE=3Dy , CONFIG_IPIPE_CORE=3Dy, > > CONFIG_XENOMAI=3Dy). > > > > =3D=3D> What IPIPE patch did you use ? > I use ipipe-core-4.1.18-arm-9 from git.xenomai.org without problem. > Configuration comes from Yocto's meta-freescale layer defconfig. >=20 > > =3D=3D> Does IPIPE need something from RootFS ? > AFAIK no, you don't need anything from rootfs to enable i-pipe in kerne= l. >=20 >=20 > So running from console >=20 > dmesg | grep -i -e pipe -e xenomai >=20 > doesn't show nothing? >=20 > Regards > Mauro >=20 > > > > Regards, > > > > C=C3=A9dric > > > > Sepro > > > > C=C3=A9dric PERLES > > Software R&D engineer > > SEPRO Robotique - Rue Henry Bessemer - Zone Acti-Est - CS 10084 - > > 85003 La Roche sur Yon Cedex (France) > > > > Tel : +33 (0)2 51 45 05 31 > > > > ________________________________ > > > > www.sepro-group.com | > > twitter@SeproGroup > > > > > > > > > > -----Message d'origine----- > > De : Mauro Salvini [mailto:mauro.salvini@smigroup.net] > > Envoy=C3=A9 : lundi 20 mars 2017 09:34 > > =C3=80 : C=C3=A9dric Perles > > Cc : xenomai@xenomai.org > > Objet : Re: [Xenomai] Trying to install Xenomai 3.0.3 on i.MX6 Kernel > > 4.1.15 > > > > On Mon, 2017-03-20 at 08:52 +0100, C=C3=A9dric Perles wrote: > > > Hi community, > > > > > > > > > > > > I=E2=80=99m a Xenomai newby and I=E2=80=99m trying to install Xenom= ai 3.0.3 on my > > > i.MX6 based board (kernel 4.1.15 from NXP). > > > > > > > > > > > > So I followed the =E2=80=9CInstalling Xenomai 3.x=E2=80=9D chapter = in Xenomai.org > > > site and began to download ipipe-core-4.1.18-arm-8.patch. > > > > > > Since my kernel is not 4.1.18 but 4.1.15, I had to slightly adapt > > > the patch to make it fit. > > > > > > Then I ran prepare-kernel.sh that tells me everything was OK. > > > > > > Finally I successfully compiled kernel (and saw a few ipipe and > > > xenomai source files were built with into kernel). > > > > > > > > > > > > However, when I boot on that newly built kernel there is absolutely > > > no xenomai nor ipipe logs into kernel boot logs, and no /proc/xenom= ai at=20 > > > all. > > > > > > I must have missed something or doing something wrong, but I don=E2= =80=99t see. > > > > > > > > > > > > =3D=3D> Did somebody successfully run Xeno 3.0.3 on i.MX6 ? > > > > > > =3D=3D> What am I doing wrong ? > > > > > Hi C=C3=A9dric, > > > > I'm using Xenomai 3.0.3 with 4.1.15 kernel from NXP community with=20 > > success. > > > > What defconfig have you used to configure your kernel? Before build > > it, did you check with 'make menuconfig' that i-pipe was enabled? > > > > Regards > > Mauro > > > > > > > > > Regards, > > > > > > > > > > > > C=C3=A9dric > > > > > > > > > > > > > > > Sepro > > > > > > C=C3=A9dric PERLES > > > Software R&D engineer > > > SEPRO Robotique - Rue Henry Bessemer - Zone Acti-Est - CS 10084 - > > > 85003 La Roche sur Yon Cedex (France) > > > > > > Tel : +33 (0)2 51 45 05 31 > > > > > > _____ > > > > > > www.sepro-group.com | > > > twitter@SeproGroup > > > > > > > > > > > > > > > -------------- next part -------------- A non-text attachment was > > > scrubbed... > > > Name: image001.jpg > > > Type: image/jpeg > > > Size: 22984 bytes > > > Desc: not available > > > URL: > > > > > at > > > tachment.jpg> > > > -------------- next part -------------- A non-text attachment was > > > scrubbed... > > > Name: image003.png > > > Type: image/png > > > Size: 818 bytes > > > Desc: not available > > > URL: > > > > > at tachment.png> _______________________________________________ > > > Xenomai mailing list > > > Xenomai@xenomai.org > > > https://xenomai.org/mailman/listinfo/xenomai > > >=20