[bootlin/training-materials updates] master: Realtime lab updates (e552af88)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed Mar 17 10:13:14 CET 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/e552af883afe6bda716c992265da052f15e423b9
>---------------------------------------------------------------
commit e552af883afe6bda716c992265da052f15e423b9
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed Mar 17 10:13:14 2021 +0100
Realtime lab updates
- Buildroot version update
- Linux kernel version update
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
e552af883afe6bda716c992265da052f15e423b9
labs/sysdev-real-time/sysdev-real-time.tex | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/labs/sysdev-real-time/sysdev-real-time.tex b/labs/sysdev-real-time/sysdev-real-time.tex
index 3750f21a..d57625b7 100644
--- a/labs/sysdev-real-time/sysdev-real-time.tex
+++ b/labs/sysdev-real-time/sysdev-real-time.tex
@@ -41,7 +41,7 @@ To compare real-time latency between standard Linux and Xenomai, we
are going to need a root filesystem and a build environment that
supports Xenomai. Let's build this with Buildroot.
-Download and extract the Buildroot 2020.02 sources.
+Download and extract the latest Buildroot 2021.02.X sources.
Configure Buildroot with the following settings,
using the \code{/} command in \code{make
@@ -94,8 +94,8 @@ We will use a recent kernel version that is supported by the {\em
PREEMPT\_RT} patchset.
So, go to \url{https://kernel.org/pub/linux/kernel/projects/rt/} and
-download the patch \code{patch-5.10.8-rt24.patch.xz}: it is the {\em
- PREEMPT\_RT} patch for Linux 5.10.8.
+download the patch \code{patch-5.11.4-rt11.patch.xz}: it is the {\em
+ PREEMPT\_RT} patch for Linux 5.11.4.
Then go to \url{https://kernel.org} and download the exact version
(including at the update number level) corresponding to the patch you
@@ -103,7 +103,7 @@ downloaded.
\subsection{Compile a standard Linux kernel}
-Extract the sources of your 5.10.8 kernel but don't apply the {\em
+Extract the sources of your 5.11.4 kernel but don't apply the {\em
PREEMPT\_RT} patches yet.
Configure your kernel for your Xplained board, and then make sure
@@ -127,7 +127,7 @@ Let's configure our \code{PATH} to use this toolchain:
\small
\begin{verbatim}
-export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2020.02/output/host/usr/bin:$PATH
+export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2021.02.X/output/host/usr/bin:$PATH
\end{verbatim}
\normalsize
@@ -195,7 +195,7 @@ improvement in the maximum latency.
\subsection{Enable Xenomai in Buildroot}
-Go back to the Buildroot 2020.02 used earlier in this lab. Run
+Go back to the Buildroot 2021.02.X folder used earlier in this lab. Run
\code{make menuconfig}, and enable {\em Xenomai} in \code{Target
packages} $\rightarrow$ \code{Real-Time} $\rightarrow$ \code{Xenomai
Userspace}. Then for the sub-options:
@@ -252,10 +252,10 @@ the Xenomai user-space libraries. This can be done by using the
\small
\begin{verbatim}
cd $HOME/__SESSION_NAME__-labs/realtime/nfsroot/root
-export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2020.02/output/host/usr/bin:$PATH
+export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2021.02.X/output/host/usr/bin:$PATH
arm-linux-gnueabihf-gcc -o rttest rttest.c \
- $(DESTDIR=../../buildroot-2020.02/output/staging/ \
- ../../buildroot-2020.02/output/staging/usr/bin/xeno-config --skin=posix --cflags --ldflags)
+ $(DESTDIR=../../buildroot-2021.02.X/output/staging/ \
+ ../../buildroot-2021.02.X/output/staging/usr/bin/xeno-config --skin=posix --cflags --ldflags)
\end{verbatim}
\normalsize
More information about the training-materials-updates
mailing list