[bootlin/training-materials updates] master: Embedded Linux: install device-tree-compiler in toolchain lab (c52bdbd8)
Michael Opdenacker
michael.opdenacker at bootlin.com
Thu Dec 2 16:03:20 CET 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/c52bdbd8c9ed75565ba700ec117227b89cf41e68
>---------------------------------------------------------------
commit c52bdbd8c9ed75565ba700ec117227b89cf41e68
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Thu Dec 2 16:03:20 2021 +0100
Embedded Linux: install device-tree-compiler in toolchain lab
Crosstool-ng pays attention to this package in its configuration,
and a participant solved a toolchain compiling issue installing
this package.
It's possible that the recent commit that we're now using
in ct-ng requires this package.
This simplifies the U-Boot instructions too.
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
c52bdbd8c9ed75565ba700ec117227b89cf41e68
labs/sysdev-toolchain/sysdev-toolchain.tex | 2 +-
labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex | 5 -----
labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex | 5 -----
labs/sysdev-u-boot/sysdev-u-boot.tex | 7 -------
4 files changed, 1 insertion(+), 18 deletions(-)
diff --git a/labs/sysdev-toolchain/sysdev-toolchain.tex b/labs/sysdev-toolchain/sysdev-toolchain.tex
index 47a61d07..95d52535 100644
--- a/labs/sysdev-toolchain/sysdev-toolchain.tex
+++ b/labs/sysdev-toolchain/sysdev-toolchain.tex
@@ -20,7 +20,7 @@ For this lab, you need a system or VM with a least 4 GB of RAM.
Install the packages needed for this lab:
\begin{bashinput}
-$ sudo apt install build-essential git autoconf bison flex texinfo help2man gawk libtool-bin libncurses5-dev unzip
+$ sudo apt install build-essential device-tree-compiler git autoconf bison flex texinfo help2man gawk libtool-bin libncurses5-dev unzip
\end{bashinput}
\section{Getting Crosstool-ng}
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..f24719f3 100644
--- a/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
+++ b/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
@@ -52,11 +52,6 @@ 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:
-
-\bashcmd{$ sudo apt install 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
is the number of parallel jobs used for compiling. Twice the
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..c6d606b8 100644
--- a/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
+++ b/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
@@ -125,11 +125,6 @@ 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:
-
-\bashcmd{$ sudo apt install device-tree-compiler}
-
\item Finally, run \inlinebash{$ make
DEVICE_TREE=stm32mp157a-dk1}\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/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index da6aea5c..4bb13a12 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -145,13 +145,6 @@ 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:
-
-\begin{bashinput}
-$ sudo apt install device-tree-compiler
-\end{bashinput}
-
\item Finally, run \code{make}, which should build the two stages of U-Boot:
\begin{itemize}
\item First stage bootloader (SPL): \code{spl/u-boot-spl.bin}
More information about the training-materials-updates
mailing list