All of lore.kernel.org
 help / color / mirror / Atom feed
From: pacalet <renaud.pacalet@telecom-paristech.fr>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] I-pipe patch broken for Xilinx Zynq
Date: Tue, 16 Dec 2014 08:17:12 +0100	[thread overview]
Message-ID: <548FDC78.5080600@telecom-paristech.fr> (raw)
In-Reply-To: <20141215161839.GO11058@hermes.click-hack.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 15/12/14 17:18, Gilles Chanteperdrix wrote:
> On Mon, Dec 15, 2014 at 05:10:25PM +0100, Renaud Pacalet wrote:
>> Dear Xenomai developers,
>> 
>> I ran into troubles when trying to follow the instructions at 
>> http://www.wiki.xilinx.com/Xenomai+for+Zynq: the 
>> xenomai-2.6.3/ksrc/arch/arm/patches/ipipe-core-3.8.13-arm-1.patch
>>
>> 
patch mentioned in the instructions is no longer the one distributed
>> in http://download.gna.org/xenomai/stable/xenomai-2.6.3.tar.bz2.
>> It has been replaced by ipipe-core-3.8.13-arm-3.patch patch which
>> is not compatible with the xilinx-v14.5 tag of 
>> git://github.com/Xilinx/linux-xlnx.git. In order to patch and
>> compile the compile Linux kernel I had to download and apply 
>> http://download.gna.org/adeos/patches/v3.x/arm/older/ipipe-core-3.8-arm-1.patch
>>
>> 
instead.
> 
> Bad idea, using the latest I-pipe patch for a kernel is
> recommended, a newer release means some things were fixed. For the
> same reason, using xenomai 2.6.3 is not recommended.

I 100% agree. All I wanted, before investing time and efforts in
Xenomai, was to test it on a Zynq core. And I didn't want to spend
days or weeks on this evaluation. This is the reason why I tried to
follow the apparently simple and straightforward instructions from
http://www.wiki.xilinx.com/Xenomai+for+Zynq. Of course, if my
evaluation is positive, I will try to use the most recent stable
versions. It will perhaps not be that easy, because the kernel
versions released by Xilinx for Zynq do not always match the kernel
versions supported by Xenomai, but at least I will know beforehand
that Xenomai can do the job.

> Maybe you could show us the errors you get?

Of course. The ipipe-core-3.8.13-arm-3.patch is not compatible with
the kernel released by Xilinx under tag xilinx-v14.5:

$ cd $KERNEL
$ git co -b xenomai-test xilinx-v14.5
$ find . -name '*.rej'
$ patch -p1 <
$XENOMAI/ksrc/arch/arm/patches/zynq/ipipe-core-3.8-zynq-pre.patch
$ find . -name '*.rej'
$ patch -p1 < $XENOMAI/ksrc/arch/arm/patches/ipipe-core-3.8.13-arm-3.patch
$ find . -name '*.rej'
./arch/arm/mm/context.c.rej
./arch/arm/mach-omap2/io.c.rej
./arch/arm/include/asm/mmu.h.rej
./arch/arm/include/asm/mmu_context.h.rej
./fs/proc/array.c.rej
./include/linux/spinlock_up.h.rej
./include/linux/sched.h.rej

Would you like me to post the rejects files somewhere?

Best regards,
- -- 
Télécom ParisTech - LabSoC
c/o EURECOM, Campus SophiaTech
Les Templiers, 450 route des Chappes 06410 Biot
Tel : +33 (0) 4 9300 8402
Fax : +33 (0) 4 9300 8200
Web : http://www.telecom-paristech.fr/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEAREIAAYFAlSP3HEACgkQ6X2qPZD76M+PXwCaA1UhErSLx32XJyTg8teGMmmt
fLAAnj7B6IJ7J5YeBIMxatVuIV3DSkaH
=4Evz
-----END PGP SIGNATURE-----


  reply	other threads:[~2014-12-16  7:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 16:10 [Xenomai] I-pipe patch broken for Xilinx Zynq Renaud Pacalet
2014-12-15 16:18 ` Gilles Chanteperdrix
2014-12-16  7:17   ` pacalet [this message]
2014-12-16 11:16     ` Gilles Chanteperdrix
2014-12-16 16:15       ` Renaud Pacalet

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=548FDC78.5080600@telecom-paristech.fr \
    --to=renaud.pacalet@telecom-paristech.fr \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.