[bootlin/training-materials updates] master: embedded-linux labs: use 5.15.x kernel headers in toolchain (927b5e0b)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu Dec 15 23:05:04 CET 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/927b5e0b96c76a4bb7a3ec49343abbb5611ef460

>---------------------------------------------------------------

commit 927b5e0b96c76a4bb7a3ec49343abbb5611ef460
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu Dec 15 23:05:04 2022 +0100

    embedded-linux labs: use 5.15.x kernel headers in toolchain
    
    This way, we don't have kernel headers that are more recent
    than the kernel we run on the board.
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

927b5e0b96c76a4bb7a3ec49343abbb5611ef460
 labs/sysdev-buildroot/sysdev-buildroot.tex | 2 +-
 labs/sysdev-toolchain/sysdev-toolchain.tex | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/labs/sysdev-buildroot/sysdev-buildroot.tex b/labs/sysdev-buildroot/sysdev-buildroot.tex
index 61784168..3d2d73b1 100644
--- a/labs/sysdev-buildroot/sysdev-buildroot.tex
+++ b/labs/sysdev-buildroot/sysdev-buildroot.tex
@@ -133,7 +133,7 @@ button whenever you need more details about a given option:
     \code{/home/<user>/x-tools/arm-training-linux-uclibcgnueabihf}
     (replace \code{<user>} by your actual user name)
   \item \code{External toolchain gcc version}: \code{11.x}
-  \item \code{External toolchain kernel headers series}: \code{5.16.x or later}
+  \item \code{External toolchain kernel headers series}: \texttt{\workingkernel.x}
   \item \code{External toolchain C library}: \code{uClibc/uClibc-ng}
   \item We must tell Buildroot about our toolchain configuration, so
     select \code{Toolchain has WCHAR support?},
diff --git a/labs/sysdev-toolchain/sysdev-toolchain.tex b/labs/sysdev-toolchain/sysdev-toolchain.tex
index 674310e7..23f3f64e 100644
--- a/labs/sysdev-toolchain/sysdev-toolchain.tex
+++ b/labs/sysdev-toolchain/sysdev-toolchain.tex
@@ -117,6 +117,14 @@ In \code{Toolchain options}:
       much longer to type.
 \end{itemize}
 
+In \code{Operating System}:
+\begin{itemize}
+\item Set \code{Version of linux} to the \workingkernel.x version that is
+      proposed. We choose this version because this matches the
+      version of the kernel we will run on the board. At least, the
+      version of the kernel headers are not more recent.
+\end{itemize}
+
 \ifdefstring{\labboard}{stm32mp1}{
 In \code{Binary utilities}
 \begin{itemize}




More information about the training-materials-updates mailing list