[bootlin/training-materials updates] master: Revert "Embedded Linux: install device-tree-compiler in toolchain lab" (f340f46c)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Dec 6 14:40:54 CET 2021


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

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

commit f340f46c395e87f21e0b3fc53f8324620c0d22f1
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Dec 6 14:40:54 2021 +0100

    Revert "Embedded Linux: install device-tree-compiler in toolchain lab"
    
    Further tests showed that crosstool-ng runs successfully without
    this package.
    
    This reverts commit c52bdbd8c9ed75565ba700ec117227b89cf41e68.


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

f340f46c395e87f21e0b3fc53f8324620c0d22f1
 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, 18 insertions(+), 1 deletion(-)

diff --git a/labs/sysdev-toolchain/sysdev-toolchain.tex b/labs/sysdev-toolchain/sysdev-toolchain.tex
index 95d52535..47a61d07 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 device-tree-compiler git autoconf bison flex texinfo help2man gawk libtool-bin libncurses5-dev unzip
+$ sudo apt install build-essential 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 f24719f3..06b42823 100644
--- a/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
+++ b/labs/sysdev-u-boot-qemu/sysdev-u-boot-qemu.tex
@@ -52,6 +52,11 @@ 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 c6d606b8..74e0d524 100644
--- a/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
+++ b/labs/sysdev-u-boot-stm32/sysdev-u-boot-stm32.tex
@@ -125,6 +125,11 @@ 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 4bb13a12..da6aea5c 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -145,6 +145,13 @@ 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