[FE training-materials-updates] sysdev-real-time: use a patch for ipipe instead of the git repository

Gregory Clement gregory.clement at free-electrons.com
Fri Aug 29 10:32:56 CEST 2014

Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=e5b96f8eb08795eca61213159e677b8851dbfc2c


commit e5b96f8eb08795eca61213159e677b8851dbfc2c
Author: Gregory CLEMENT <gregory.clement at free-electrons.com>
Date:   Fri Aug 29 10:29:47 2014 +0200

    sysdev-real-time: use a patch for ipipe instead of the git repository
    Instead of using the ipipe-gch git repository which changes pretty
    often, use a patch.
    Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>


 labs/sysdev-real-time/sysdev-real-time.tex | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/labs/sysdev-real-time/sysdev-real-time.tex b/labs/sysdev-real-time/sysdev-real-time.tex
index 1ddcfc0..f100f15 100644
--- a/labs/sysdev-real-time/sysdev-real-time.tex
+++ b/labs/sysdev-real-time/sysdev-real-time.tex
@@ -170,14 +170,19 @@ Since the Xplained is pretty recent, no Xenomai release has been made
 yet with support for it. Fortunately, it is supported in the current
 development tree.
-First, download a 3.14 Xenomai-enabled kernel. We tested the kernel
-and the patch with the revision \code{6bddad26771a} (from the
-for-ipipe-3.14.0 branch), so that's what we are going to use.
+As the develpement tree move quite often, we made a patch to apply on
+a 3.14 kernel. First, extract a 3.14 kernel but not the 3.14.7 as the
+patch only apply on this release. Then apply the patch
+\code{ipipe-arm-3.14.patch.xz} provided in data:
 cd $HOME/felabs-sysdev/realtime/rttest
-git clone git://git.xenomai.org/ipipe-gch.git ipipe
-cd ipipe
-git checkout 6bddad26771a
+tar xf $HOME/felabs-sysdev/kernel/linux-3.13.tar.xz
+cd linux-3.13/
+xzcat $HOME/felabs-sysdev/kernel/patch-3.14.xz | patch -p1
+xzcat ../data/ipipe-arm-3.14.patch.xz | patch -p1
+cd ..
+mv linux-3.13/ linux-3.14-ipipe
 Now, download Xenomai's master, in order to apply the extra patches
@@ -193,7 +198,7 @@ git checkout 589882956280
 Now, prepare our kernel for Xenomai compilation:
 cd $HOME/felabs-sysdev/realtime/rttest
-./xenomai/scripts/prepare-kernel.sh --arch=arm --linux=ipipe/
+./xenomai/scripts/prepare-kernel.sh --arch=arm --linux=linux-3.14-ipipe/
 Now, run the kernel configuration interface, and make sure that

More information about the training-materials-updates mailing list