[bootlin/training-materials updates] master: Embedded Linux labs: install libssl-dev in the U-Boot lab (a5978eb9)
Michael Opdenacker
michael.opdenacker at bootlin.com
Mon Jun 20 09:58:05 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/a5978eb9129935b4e0912dbbda83a36c4adb1f54
>---------------------------------------------------------------
commit a5978eb9129935b4e0912dbbda83a36c4adb1f54
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Mon Jun 20 09:58:05 2022 +0200
Embedded Linux labs: install libssl-dev in the U-Boot lab
At least necessary when we support the BeagleBone Black
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
a5978eb9129935b4e0912dbbda83a36c4adb1f54
.../sysdev-kernel-cross-compiling-stm32.tex | 3 ---
.../sysdev-kernel-cross-compiling.tex | 3 ---
labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex | 6 +++---
labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex | 6 +++---
labs/sysdev-u-boot/sysdev-u-boot.tex | 8 +++-----
5 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/labs/sysdev-kernel-cross-compiling-stm32/sysdev-kernel-cross-compiling-stm32.tex b/labs/sysdev-kernel-cross-compiling-stm32/sysdev-kernel-cross-compiling-stm32.tex
index 60974511..6413e2f6 100644
--- a/labs/sysdev-kernel-cross-compiling-stm32/sysdev-kernel-cross-compiling-stm32.tex
+++ b/labs/sysdev-kernel-cross-compiling-stm32/sysdev-kernel-cross-compiling-stm32.tex
@@ -62,9 +62,6 @@ a higher decompression time.
\section{Cross compiling}
-At this stage, you need to install the \code{libssl-dev}
-package to compile the kernel.
-
You're now ready to cross-compile your kernel. Simply run:
\begin{verbatim}
diff --git a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
index 64ab5a3a..06a9093d 100644
--- a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
+++ b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
@@ -72,9 +72,6 @@ a higher decompression time.
\section{Cross compiling}
-At this stage, you need to install the \code{libssl-dev}
-package to compile the kernel.
-
You're now ready to cross-compile your kernel. Simply run:
\bashcmd{$ make}
diff --git a/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex b/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
index 06b42823..5ec80c1a 100644
--- a/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
+++ b/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
@@ -52,10 +52,10 @@ to further edit your bootloader features:
that are not present in the default configuration for our board.
\end{itemize}
-In recent versions of U-Boot and for some boards, you will
-need to have the Device Tree compiler:
+Install the following packages which may be needed to compile U-Boot for
+your board:
-\bashcmd{$ sudo apt install device-tree-compiler}
+\bashcmd{$ sudo apt install libssl-dev device-tree-compiler}
Finally, run \code{make}\footnote{You can speed up the
compiling by using the \code{-jX} option with \code{make}, where X
diff --git a/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex b/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
index 74e0d524..87a1d655 100644
--- a/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
+++ b/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
@@ -125,10 +125,10 @@ Basically, you need to:
watchdog.
\end{itemize}
-\item In recent versions of U-Boot and for some boards, you will
- need to have the Device Tree compiler:
+Install the following packages which may be needed to compile U-Boot for
+your board:
-\bashcmd{$ sudo apt install device-tree-compiler}
+\bashcmd{$ sudo apt install libssl-dev device-tree-compiler}
\item Finally, run \inlinebash{$ make
DEVICE_TREE=stm32mp157a-dk1}\footnote{You can speed up the
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index da6aea5c..1bee8c92 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -145,12 +145,10 @@ Basically, you need to:
\item Now that you have a valid initial configuration, you can now
run \inlinebash{$ make menuconfig} to further edit your bootloader features.
-\item In recent versions of U-Boot and for some boards, you will
- need to have the Device Tree compiler:
+Install the following packages which may be needed to compile U-Boot for
+your board:
-\begin{bashinput}
-$ sudo apt install device-tree-compiler
-\end{bashinput}
+\bashcmd{$ sudo apt install libssl-dev device-tree-compiler}
\item Finally, run \code{make}, which should build the two stages of U-Boot:
\begin{itemize}
More information about the training-materials-updates
mailing list