From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <507D4008.4050300@wanadoo.fr> Date: Tue, 16 Oct 2012 13:07:52 +0200 From: Thierry Bultel MIME-Version: 1.0 References: <503227B5.9070002@basystemes.fr> <50322F06.4000009@wanadoo.fr> <503C63BE.8010201@xenomai.org> <503C709C.3020702@grandegger.com> <503C758B.9000906@wanadoo.fr> <503C7D77.2060209@grandegger.com> <50744BD3.1030703@wanadoo.fr> <50747C29.2060504@grandegger.com> <50748733.80709@wanadoo.fr> <50766A8F.9090901@wanadoo.fr> <50767081.8030300@xenomai.org> <507D32E3.9070402@wanadoo.fr> <507D39F4.8040905@grandegger.com> In-Reply-To: <507D39F4.8040905@grandegger.com> Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai] [PATCH] rtcan: driver for the Advantech PCI cards List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wolfgang Grandegger Cc: "Xenomai@xenomai.org" Le 16/10/2012 12:41, Wolfgang Grandegger a =E9crit : > On 10/16/2012 12:11 PM, Thierry Bultel wrote: >> Le 11/10/2012 09:08, Gilles Chanteperdrix a =E9crit : >>> On 10/11/2012 08:43 AM, Thierry Bultel wrote: >>> >>>> Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about >>>>>> 3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from >>>>>> git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. >>>>>> Concerning the iPipe patches I think you have currently no other >>>>>> choice. >>>> In both cases, (latest one from Freescale, or 3.4 from mainline) >>>> there is currently >>>> no available matching ipipe patch. >>>> I do not know if the latest kernel from mainline will fit for the >>>> reference board that I will receive. >>>> >>>> I do not realize the amount of work for porting either >>>> - ipipe-core-3.2.21-arm.patch to 3.4 (mainline) >>>> or >>>> - adeos-ipipe-3.0.43-* to the latest (which one ?) kernel from Freesca= le >>>> >>>> About that latest option I am a little bit puzzled. >>>> Namely from what I know, Freescale kernels are on >>>> >>>> http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/refs/heads >>>> and the latest published 3.x kernel is ... a 3.0.15_12 that has not >>>> moved for months. >>>> Thanks for clarifying >>> The 3.4 patch is working for arm, I still have some issues, but it is >>> already usable: >>> >>> git://git.xenomai.org/ipipe-gch.git branch for-core-3.4 >>> >>> For now, you simply have to avoid THUMB user-space binaries (but you can >>> compile the kernel with CONFIG_THUMB2_KERNEL, and it results in lower >>> latencies from what I measured). >>> >>> It works on the sabre board "out-of-the-box". I suspect, starting with >>> core-3.4, we have no additional work to do to work with any cortex a9 >>> based processor (except, as I already said, for some old cortex a9 >>> revisions without a global timer, but that is not the case of the imx6q >>> I tested). >>> >> AFAIK, my DevKit should finally come with a 3.0.35 kernel >> How difficult would it be to apply the adeos-ipipe-3.0.43- patches on it= ? >> It is feasible ? > Very likely that kernel is based on Freescale's 3.0.35, which already > has Xenomai support. yes, 'almost' because the closest available ipipe is actually the 3.0.36. I do not realize yet what the better strategy is; either upgrade the provid= ed kernel to 3.0.36 of force the patch to apply on 3.0.35 Thierry > If so, the patches should apply without problems. > > Wolfgang. > >