[bootlin/training-materials updates] master: RT lab: compile the Xenomai kernel with the Linaro toolchain (7e8398cd)
Michael Opdenacker
michael.opdenacker at bootlin.com
Thu Mar 18 10:04:16 CET 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/7e8398cd4661a1751be18f0a719b3371fb44584f
>---------------------------------------------------------------
commit 7e8398cd4661a1751be18f0a719b3371fb44584f
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Thu Mar 18 10:04:16 2021 +0100
RT lab: compile the Xenomai kernel with the Linaro toolchain
- Compiling issues were observed otherwise
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
7e8398cd4661a1751be18f0a719b3371fb44584f
labs/sysdev-real-time/sysdev-real-time.tex | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/labs/sysdev-real-time/sysdev-real-time.tex b/labs/sysdev-real-time/sysdev-real-time.tex
index f406d3ae..a25e526c 100644
--- a/labs/sysdev-real-time/sysdev-real-time.tex
+++ b/labs/sysdev-real-time/sysdev-real-time.tex
@@ -111,7 +111,7 @@ that the below settings are disabled:
Also, for the moment, disable the \kconfig{CONFIG_HIGH_RES_TIMERS}
option which impact we want to measure.
-Boot the Xplained board by mounting the root filesystem that you
+Compile and boot the Xplained board by mounting the root filesystem that you
built. As usual, login as \code{root}, there is no password.
\subsection{Measure the effect of high-resolution timers}
@@ -236,9 +236,17 @@ Now that your kernel is patched, you can configure it:
make ARCH=arm sama5_defconfig
\end{verbatim}
-Make sure \code{CONFIG_XENOMAI} is enabled, build your kernel. Copy
-the kernel image and the Device Tree to your TFTP directory, and boot
-this new kernel.
+Make sure \code{CONFIG_XENOMAI} is enabled.
+
+We are going to use the Linaro toochain used by Buildroot to compile the
+kernel, so we will need to update our \code{CROSS_COMPILE} setting:
+
+\begin{verbatim}
+export CROSS_COMPILE=arm-linux-gnueabihf-
+\end{verbatim}
+
+Build your kernel. Copy the kernel image and the Device Tree to your TFTP
+directory, and boot this new kernel.
\subsection{Testing Xenomai latencies}
More information about the training-materials-updates
mailing list