Skip to content

Commit

Permalink
Embeded Linux labs on SAMA5: update to latest LTS kernel
Browse files Browse the repository at this point in the history
Tested successfully on all labs, including audio and real-time.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
  • Loading branch information
michaelopdenacker committed Dec 13, 2021
1 parent 142af57 commit b643dd6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions common/embedded-linux-labs-vars.tex
@@ -1,8 +1,8 @@
\def\labbooktitle{Embedded Linux System Development}
\def\labbooksubtitle{Microchip SAMA5D3 variant}
\def\labboard{xplained}
\newcommand*{\basekernel}{5.10}
\newcommand*{\workingkernel}{5.11}
\newcommand*{\basekernel}{5.14}
\newcommand*{\workingkernel}{5.15}
\newcommand*{\labboarddescription}{Microchip Technology SAMA5D3 Xplained Evaluation Kit}
\newcommand*{\zimageboardaddr}{0x21000000}
\newcommand*{\dtbboardaddr}{0x22000000}
Expand Down
Expand Up @@ -20,7 +20,8 @@ \section{Get the sources}
Linux kernel running on your machine.
%uname -r
We will use \texttt{linux-\workingkernel.x}, which this lab was tested with.
We will use \texttt{linux-\workingkernel.x}, which corresponds to an LTS
release, and which this lab was tested with.
To practice with the \code{patch} command later, download the full \texttt\basekernel\
sources. Unpack the archive, which creates a \texttt{linux-\basekernel}
Expand Down
7 changes: 3 additions & 4 deletions labs/sysdev-real-time/sysdev-real-time.tex
Expand Up @@ -88,20 +88,19 @@ \subsection{Root filesystem}

\subsection{Downloading Linux kernel sources and patches}

We will use a recent kernel version that is supported by the {\em
We will use the same LTS 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.11.4-rt11.patch.xz}: it is the {\em
PREEMPT\_RT} patch for Linux 5.11.4.
download the latest patch for Linux \workingkernel.

Then go to \url{https://kernel.org} and download the exact version
(including at the update number level) corresponding to the patch you
downloaded.

\subsection{Compile a standard Linux kernel}

Extract the sources of your 5.11.4 kernel but don't apply the {\em
Extract the sources of your kernel but don't apply the {\em
PREEMPT\_RT} patches yet.

Configure your kernel for your Xplained board, and then make sure
Expand Down

0 comments on commit b643dd6

Please sign in to comment.