[bootlin/training-materials updates] master: slides/buildroot: update to Buildroot 2020.02 (fdc2bfba)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Apr 3 15:55:09 CEST 2020
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/fdc2bfba6f10af4476813e6e42a6391c00ff9b1a
>---------------------------------------------------------------
commit fdc2bfba6f10af4476813e6e42a6391c00ff9b1a
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date: Fri Apr 3 15:55:09 2020 +0200
slides/buildroot: update to Buildroot 2020.02
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>---------------------------------------------------------------
fdc2bfba6f10af4476813e6e42a6391c00ff9b1a
.../buildroot-advanced-packages.tex | 58 +++++-----
slides/buildroot-build/buildroot-build.tex | 4 +-
.../buildroot-introduction.tex | 6 +-
.../buildroot-new-packages.tex | 51 +++++----
.../package-infrastructures.dia | 122 ++++++++++----------
slides/buildroot-rootfs/buildroot-rootfs.tex | 5 +-
.../buildroot-support-contribution.tex | 4 +-
slides/buildroot-tree/buildroot-tree.tex | 2 +-
slides/buildroot-whats-new/buildroot-whats-new.tex | 125 ++++++++-------------
9 files changed, 171 insertions(+), 206 deletions(-)
diff --git a/slides/buildroot-advanced-packages/buildroot-advanced-packages.tex b/slides/buildroot-advanced-packages/buildroot-advanced-packages.tex
index e3933f1a..ccec0213 100644
--- a/slides/buildroot-advanced-packages/buildroot-advanced-packages.tex
+++ b/slides/buildroot-advanced-packages/buildroot-advanced-packages.tex
@@ -443,19 +443,23 @@ endef
\begin{itemize}
\item Buildroot supports several main init systems: {\em sysvinit},
- {\em Busybox} and {\em systemd}
+ {\em Busybox}, {\em systemd}, {\em OpenRC}
\item When packages want to install a program to be started at boot
- time, they need to install either a startup script ({\em
- sysvinit}/{\em Busybox}) or a {\em systemd service} file.
+ time, they need to install a startup script ({\em
+ sysvinit}/{\em Busybox}), a {\em systemd service} file, etc.
-\item They can do so with the \code{<pkg>_INSTALL_INIT_SYSV} and
- \code{<pkg>_INSTALL_INIT_SYSTEMD} variables, which contain a list of
- shell commands.
+\item They can do so using the following variables, which contain a
+ list of shell commands.
+ \begin{itemize}
+ \item \code{<pkg>_INSTALL_INIT_SYSV}
+ \item \code{<pkg>_INSTALL_INIT_SYSTEMD}
+ \item \code{<pkg>_INSTALL_INIT_OPENRC}
+ \end{itemize}
-\item Buildroot will execute either the \code{<pkg>_INSTALL_INIT_SYSV}
- or the \code{<pkg>_INSTALL_INIT_SYSTEMD} commands of all enabled
- packages depending on the selected init system.
+\item Buildroot will execute the appropriate
+ \code{<pkg>_INSTALL_INIT_xyz} commands of all enabled packages
+ depending on the selected init system.
\end{itemize}
@@ -473,11 +477,6 @@ endef
define BIND_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/bind/named.service \
$(TARGET_DIR)/usr/lib/systemd/system/named.service
-
- mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
-
- ln -sf /usr/lib/systemd/system/named.service \
- $(TARGET_DIR)/etc/systemd/system/[...]/named.service
endef
\end{minted}
\end{block}
@@ -593,13 +592,13 @@ $ ./output/staging/usr/bin/libpng-config --cflags --ldflags
\begin{frame}[fragile]{Hooks: examples}
-\begin{block}{libungif.mk: remove unneeded binaries}
+\begin{block}{bind.mk: remove unneeded binaries}
\begin{minted}[fontsize=\scriptsize]{make}
-define LIBUNGIF_BINS_CLEANUP
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(LIBUNGIF_BINS))
+define BIND_TARGET_REMOVE_TOOLS
+ rm -rf $(addprefix $(TARGET_DIR)/usr/bin/, $(BIND_TARGET_TOOLS_BIN))
endef
-LIBUNGIF_POST_INSTALL_TARGET_HOOKS += LIBUNGIF_BINS_CLEANUP
+BIND_POST_INSTALL_TARGET_HOOKS += BIND_TARGET_REMOVE_TOOLS
\end{minted}
\end{block}
@@ -611,8 +610,8 @@ define VSFTPD_ENABLE_SSL
endef
ifeq ($(BR2_PACKAGE_OPENSSL),y)
-VSFTPD_DEPENDENCIES += openssl
-VSFTPD_LIBS += -lssl -lcrypto
+VSFTPD_DEPENDENCIES += openssl host-pkgconf
+VSFTPD_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`
VSFTPD_POST_CONFIGURE_HOOKS += VSFTPD_ENABLE_SSL
endif
\end{minted}
@@ -748,10 +747,11 @@ F: package/glibc/
solve this situation.
\begin{itemize}
\item \code{libgles} is a virtual package offering the OpenGL ES API
- \item Eight packages are {\em providers} of the OpenGL ES API:
- \code{gpu-amd-bin-mx51}, \code{gpu-viv-bin-mx6q}, \code{mesa3d},
+ \item Ten packages are {\em providers} of the OpenGL ES API:
+ \code{gpu-amd-bin-mx51}, \code{imx-gpu-viv},
+ \code{gcnano-binaries}, \code{mali-t76x}, \code{mesa3d},
\code{nvidia-driver}, \code{nvidia-tegra23-binaries},
- \code{rpi-userland}, \code{sunxi-mali}, \code{ti-gfx}
+ \code{rpi-userland}, \code{sunxi-mali-mainline}, \code{ti-gfx}
\end{itemize}
\end{itemize}
\end{frame}
@@ -813,23 +813,23 @@ $(eval $(virtual-package))
\begin{frame}[fragile]{Virtual package provider}
-\begin{block}{sunxi-mali/Config.in}
+\begin{block}{sunxi-mali-mainline/Config.in}
{\small
\begin{verbatim}
-config BR2_PACKAGE_SUNXI_MALI
- bool "sunxi-mali"
+config BR2_PACKAGE_SUNXI_MALI_MAINLINE
+ bool "sunxi-mali-mainline"
select BR2_PACKAGE_HAS_LIBEGL
select BR2_PACKAGE_HAS_LIBGLES
config BR2_PACKAGE_PROVIDES_LIBGLES
- default "sunxi-mali"
+ default "sunxi-mali-mainline"
\end{verbatim}}
\end{block}
-\begin{block}{sunxi-mali/sunxi-mali.mk}
+\begin{block}{sunxi-mali-mainline/sunxi-mali-mainline.mk}
\begin{minted}{make}
[...]
-SUNXI_MALI_PROVIDES = libegl libgles
+SUNXI_MALI_MAINLINE_PROVIDES = libegl libgles
[...]
\end{minted}
\end{block}
diff --git a/slides/buildroot-build/buildroot-build.tex b/slides/buildroot-build/buildroot-build.tex
index 4874a016..0b17c1e8 100644
--- a/slides/buildroot-build/buildroot-build.tex
+++ b/slides/buildroot-build/buildroot-build.tex
@@ -136,7 +136,7 @@ $ make clean
contains the value for all options (except those having unmet
dependencies)
\item The default \code{.config}, without any customization, has
- 4074 lines (as of Buildroot 2019.02)
+ 4367 lines (as of Buildroot 2020.02)
\begin{itemize}
\item Not very practical for reading and modifying by humans.
\end{itemize}
@@ -241,7 +241,7 @@ $ make
\begin{verbatim}
BR2_arm=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
-BR2_GCC_VERSION_4_9_X=y
+BR2_GCC_VERSION_7_X=y
\end{verbatim}
\end{block}
}
diff --git a/slides/buildroot-introduction/buildroot-introduction.tex b/slides/buildroot-introduction/buildroot-introduction.tex
index b8ab2db5..52fa0aa7 100644
--- a/slides/buildroot-introduction/buildroot-introduction.tex
+++ b/slides/buildroot-introduction/buildroot-introduction.tex
@@ -13,7 +13,7 @@
\item Vendor neutral
\item Active community, regular releases
\begin{itemize}
- \item The present slides cover {\em Buildroot 2019.02}. There may
+ \item The present slides cover {\em Buildroot 2020.02}. There may
be some differences if you use older or newer Buildroot versions.
\end{itemize}
\item \url{https://buildroot.org}
@@ -91,8 +91,8 @@
\begin{itemize}
\item Maintained during one year
\item Security fixes, bug fixes, build fixes
- \item Current LTS is release is \code{2019.02}, next one will be
- \code{2020.02}.
+ \item Current LTS is release is \code{2020.02}, next one will be
+ \code{2021.02}.
\end{itemize}
\end{itemize}
\end{frame}
diff --git a/slides/buildroot-new-packages/buildroot-new-packages.tex b/slides/buildroot-new-packages/buildroot-new-packages.tex
index 41385832..08037ab8 100644
--- a/slides/buildroot-new-packages/buildroot-new-packages.tex
+++ b/slides/buildroot-new-packages/buildroot-new-packages.tex
@@ -311,8 +311,8 @@ endif
\item Buildroot does not re-invent the build system of each
component, it simply uses it.
\item Numerous build systems available: hand-written Makefiles or
- shell scripts, {\em autotools}, {\em CMake} and also some specific
- to languages: Python, Perl, Lua, Erlang, etc.
+ shell scripts, {\em autotools}, {\em Meson}, {\em CMake} and also
+ some specific to languages: Python, Perl, Lua, Erlang, etc.
\item In order to avoid duplicating code, Buildroot has {\em package
infrastructures} for well-known build systems.
\item And a generic package infrastructure for software components
@@ -1239,51 +1239,51 @@ $(eval $(python-package))
\item No \code{Config.in.host}, not visible in \code{menuconfig}.
\end{itemize}
\begin{block}{package/bison/bison.mk}
- \begin{minted}[fontsize=\tiny]{make}
-BISON_VERSION = 3.0.4
+\begin{minted}[fontsize=\tiny]{make}
+BISON_VERSION = 3.4.2
BISON_SOURCE = bison-$(BISON_VERSION).tar.xz
BISON_SITE = $(BR2_GNU_MIRROR)/bison
BISON_LICENSE = GPL-3.0+
BISON_LICENSE_FILES = COPYING
+# parallel build issue in examples/c/reccalc/
+BISON_MAKE = $(MAKE1)
HOST_BISON_DEPENDENCIES = host-m4
$(eval $(host-autotools-package))
- \end{minted}
+\end{minted}
\end{block}
\end{frame}
-\begin{frame}[fragile]{Example 2: a flashing utility}
+\begin{frame}[fragile]{Example 2: filesystem manipulation tool}
\begin{itemize}
- \item \code{dfu-util}, to reflash devices support the USB DFU
- protocol. Typically used on a development PC.
+ \item \code{fatcat}, is designed to manipulate FAT filesystems, in
+ order to explore, extract, repair, recover and forensic them.
\item Not used as a build dependency of another package
$\rightarrow$ visible in \code{menuconfig}.
\end{itemize}
- \begin{block}{package/dfu-util/Config.in.host}
+ \begin{block}{package/fatcat/Config.in.host}
\tiny
\begin{verbatim}
-config BR2_PACKAGE_HOST_DFU_UTIL
- bool "host dfu-util"
+config BR2_PACKAGE_HOST_FATCAT
+ bool "host fatcat"
help
- Dfu-util is the host side implementation of the DFU 1.0
- specification of the USB forum. DFU is intended to download
- and upload firmware to devices connected over USB.
+ Fatcat is designed to manipulate FAT filesystems, in order
+ to explore, extract, repair, recover and forensic them. It
+ currently supports FAT12, FAT16 and FAT32.
- http://dfu-util.gnumonks.org/
+ https://github.com/Gregwar/fatcat
\end{verbatim}
\end{block}
- \begin{block}{package/dfu-util/dfu-util.mk}
+ \begin{block}{package/fatcat/fatcat.mk}
\begin{minted}[fontsize=\tiny]{make}
-DFU_UTIL_VERSION = 0.6
-DFU_UTIL_SITE = http://dfu-util.gnumonks.org/releases
-DFU_UTIL_LICENSE = GPL-2.0+
-DFU_UTIL_LICENSE_FILES = COPYING
+FATCAT_VERSION = 1.1.0
+FATCAT_SITE = $(call github,Gregwar,fatcat,v$(FATCAT_VERSION))
+FATCAT_LICENSE = MIT
+FATCAT_LICENSE_FILES = LICENSE
-HOST_DFU_UTIL_DEPENDENCIES = host-libusb
-
-$(eval $(host-autotools-package))
+$(eval $(host-cmake-package))
\end{minted}
\end{block}
\end{frame}
@@ -1291,8 +1291,8 @@ $(eval $(host-autotools-package))
\begin{frame}[fragile]{Example 3: target and host of the same package}
\begin{block}{package/e2tools/e2tools.mk}
\begin{minted}[fontsize=\tiny]{make}
-E2TOOLS_VERSION = 3158ef18a903ca4a98b8fa220c9fc5c133d8bdf6
-E2TOOLS_SITE = $(call github,ndim,e2tools,$(E2TOOLS_VERSION))
+E2TOOLS_VERSION = 0.0.16.4
+E2TOOLS_SITE = $(call github,ndim,e2tools,v$(E2TOOLS_VERSION))
# Source coming from GitHub, no configure included.
E2TOOLS_AUTORECONF = YES
@@ -1316,4 +1316,3 @@ $(eval $(host-autotools-package))
the different package infrastructures.
\end{itemize}
}
-
diff --git a/slides/buildroot-new-packages/package-infrastructures.dia b/slides/buildroot-new-packages/package-infrastructures.dia
index e78004cb..9b3316b3 100644
--- a/slides/buildroot-new-packages/package-infrastructures.dia
+++ b/slides/buildroot-new-packages/package-infrastructures.dia
@@ -97,7 +97,7 @@
<dia:point val="28.5,-42.75"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="25.6125,-43.1238;31.3875,-42.3762"/>
+ <dia:rectangle val="26.1,-43.0857;30.9,-42.4143"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -111,7 +111,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="28.5,-42.5288"/>
+ <dia:point val="28.5,-42.5359"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -162,7 +162,7 @@
<dia:point val="39,-37.25"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="36.305,-37.6238;41.695,-36.8762"/>
+ <dia:rectangle val="36.76,-37.5857;41.24,-36.9143"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -176,7 +176,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="39,-37.0288"/>
+ <dia:point val="39,-37.0359"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -227,12 +227,12 @@
<dia:point val="39,-48.75"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="35.92,-49.1238;42.08,-48.3762"/>
+ <dia:rectangle val="36.92,-49.1109;41.0968,-48.3891"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
- <dia:string>#luarocks-package#</dia:string>
+ <dia:string>#meson-package#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="Inconsolata" style="48" name="Courier"/>
@@ -241,7 +241,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="39,-48.5288"/>
+ <dia:point val="39,-48.5443"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -292,7 +292,7 @@
<dia:point val="28.5,-37.25"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="26.19,-37.6238;30.81,-36.8762"/>
+ <dia:rectangle val="26.58,-37.5857;30.42,-36.9143"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -306,7 +306,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="28.5,-37.0288"/>
+ <dia:point val="28.5,-37.0359"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -357,7 +357,7 @@
<dia:point val="18,-37.25"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="15.1125,-37.6238;20.8875,-36.8762"/>
+ <dia:rectangle val="15.6,-37.5857;20.4,-36.9143"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -371,7 +371,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="18,-37.0288"/>
+ <dia:point val="18,-37.0359"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -422,7 +422,7 @@
<dia:point val="18,-48.75"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="15.4975,-49.1238;20.5025,-48.3762"/>
+ <dia:rectangle val="15.92,-49.0857;20.08,-48.4143"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -436,7 +436,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="18,-48.5288"/>
+ <dia:point val="18,-48.5359"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -487,7 +487,7 @@
<dia:point val="28.5,-48.75"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="25.2275,-49.1238;31.7725,-48.3762"/>
+ <dia:rectangle val="25.78,-49.0857;31.22,-48.4143"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -501,7 +501,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="28.5,-48.5288"/>
+ <dia:point val="28.5,-48.5359"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -552,7 +552,7 @@
<dia:point val="43.75,-42.7204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="42.98,-43.0942;44.52,-42.3467"/>
+ <dia:rectangle val="43.11,-43.0561;44.39,-42.3847"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -566,7 +566,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="43.75,-42.4992"/>
+ <dia:point val="43.75,-42.5063"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -617,12 +617,12 @@
<dia:point val="43.75,-44.7204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="42.7875,-45.0942;44.7125,-44.3467"/>
+ <dia:rectangle val="43.11,-45.0813;44.4068,-44.3595"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
- <dia:string>#yavta#</dia:string>
+ <dia:string>#lsof#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="Inconsolata" style="48" name="Courier"/>
@@ -631,7 +631,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="43.75,-44.4992"/>
+ <dia:point val="43.75,-44.5147"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -682,12 +682,12 @@
<dia:point val="36.75,-53.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="35.0175,-53.5942;38.4825,-52.8467"/>
+ <dia:rectangle val="35.63,-53.5813;37.8868,-52.8595"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
- <dia:string>#lua-cjson#</dia:string>
+ <dia:string>#systemd#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="Inconsolata" style="48" name="Courier"/>
@@ -696,7 +696,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="36.75,-52.9992"/>
+ <dia:point val="36.75,-53.0147"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -747,12 +747,12 @@
<dia:point val="42.75,-53.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="41.7875,-53.5942;43.7125,-52.8467"/>
+ <dia:rectangle val="41.47,-53.5813;44.0468,-52.8595"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
- <dia:string>#lzlib#</dia:string>
+ <dia:string>#libglib2#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="Inconsolata" style="48" name="Courier"/>
@@ -761,7 +761,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="42.75,-52.9992"/>
+ <dia:point val="42.75,-53.0147"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -812,7 +812,7 @@
<dia:point val="24.75,-53.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="23.4025,-53.5942;26.0975,-52.8467"/>
+ <dia:rectangle val="23.63,-53.5561;25.87,-52.8847"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -826,7 +826,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="24.75,-52.9992"/>
+ <dia:point val="24.75,-53.0063"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -877,12 +877,12 @@
<dia:point val="30.75,-53.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="28.825,-53.5942;32.675,-52.8467"/>
+ <dia:rectangle val="29.79,-53.5813;31.7268,-52.8595"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
- <dia:string>#gstreamer1#</dia:string>
+ <dia:string>#gnutls#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="Inconsolata" style="48" name="Courier"/>
@@ -891,7 +891,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="30.75,-52.9992"/>
+ <dia:point val="30.75,-53.0147"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -942,7 +942,7 @@
<dia:point val="12.75,-53.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="11.595,-53.5942;13.905,-52.8467"/>
+ <dia:rectangle val="11.79,-53.5561;13.71,-52.8847"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -956,7 +956,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="12.75,-52.9992"/>
+ <dia:point val="12.75,-53.0063"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -1007,12 +1007,12 @@
<dia:point val="18.75,-53.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="17.21,-53.5942;20.29,-52.8467"/>
+ <dia:rectangle val="18.11,-53.5813;19.4068,-52.8595"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
- <dia:string>#polarssl#</dia:string>
+ <dia:string>#kodi#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="Inconsolata" style="48" name="Courier"/>
@@ -1021,7 +1021,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="18.75,-52.9992"/>
+ <dia:point val="18.75,-53.0147"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -1072,12 +1072,12 @@
<dia:point val="43.75,-40.7204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="43.365,-41.1222;44.1537,-40.3187"/>
+ <dia:rectangle val="42.95,-41.0813;44.5668,-40.3595"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
- <dia:string>#qt#</dia:string>
+ <dia:string>#uboot#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="Inconsolata" style="48" name="Courier"/>
@@ -1086,7 +1086,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="43.75,-40.5085"/>
+ <dia:point val="43.75,-40.5147"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -1137,7 +1137,7 @@
<dia:point val="43.75,-32.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="41.825,-32.5942;45.675,-31.8467"/>
+ <dia:rectangle val="42.15,-32.5561;45.35,-31.8847"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -1151,7 +1151,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="43.75,-31.9992"/>
+ <dia:point val="43.75,-32.0063"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -1202,7 +1202,7 @@
<dia:point val="37.75,-32.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="35.2475,-32.5942;40.2525,-31.8467"/>
+ <dia:rectangle val="35.67,-32.5561;39.83,-31.8847"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -1216,7 +1216,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="37.75,-31.9992"/>
+ <dia:point val="37.75,-32.0063"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -1267,7 +1267,7 @@
<dia:point val="31.75,-32.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="29.4625,-32.5167;34.0375,-31.9242"/>
+ <dia:rectangle val="29.8375,-32.4868;33.6625,-31.954"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -1281,7 +1281,7 @@
<dia:real val="0.63499997556209564"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="31.75,-32.0442"/>
+ <dia:point val="31.75,-32.0505"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -1332,7 +1332,7 @@
<dia:point val="25.85,-32.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="23.5625,-32.5167;28.1375,-31.9242"/>
+ <dia:rectangle val="23.9375,-32.4868;27.7625,-31.954"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -1346,7 +1346,7 @@
<dia:real val="0.63499997556209564"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="25.85,-32.0442"/>
+ <dia:point val="25.85,-32.0505"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -1397,7 +1397,7 @@
<dia:point val="20,-32.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="18.845,-32.6222;21.1737,-31.8187"/>
+ <dia:rectangle val="19.04,-32.5561;20.96,-31.8847"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -1411,7 +1411,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="20,-32.0085"/>
+ <dia:point val="20,-32.0063"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -1462,7 +1462,7 @@
<dia:point val="14.15,-32.2204"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="12.8025,-32.6222;15.5162,-31.8187"/>
+ <dia:rectangle val="13.03,-32.5561;15.27,-31.8847"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -1476,7 +1476,7 @@
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
- <dia:point val="14.15,-32.0085"/>
+ <dia:point val="14.15,-32.0063"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
@@ -1791,7 +1791,7 @@
<dia:point val="18,-50"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="12.6486,-52.527;18.0664,-49.9336"/>
+ <dia:rectangle val="12.6486,-52.5271;18.0664,-49.9336"/>
</dia:attribute>
<dia:attribute name="conn_endpoints">
<dia:point val="18,-50"/>
@@ -1822,7 +1822,7 @@
<dia:point val="18,-50"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="17.9375,-52.5477;18.9161,-49.9375"/>
+ <dia:rectangle val="17.9375,-52.5478;18.9162,-49.9375"/>
</dia:attribute>
<dia:attribute name="conn_endpoints">
<dia:point val="18,-50"/>
@@ -2163,7 +2163,7 @@
<dia:point val="18.6,-50.2"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="18.6,-50.6725;24.67,-50.08"/>
+ <dia:rectangle val="18.6,-50.7862;23.6175,-50.043"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -2196,7 +2196,7 @@
<dia:point val="29,-50.2"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="29,-50.6725;35.7625,-50.08"/>
+ <dia:rectangle val="29,-50.7862;34.6525,-50.043"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -2229,12 +2229,12 @@
<dia:point val="40.2,-50.2"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="40.2,-50.6725;46.7175,-50.08"/>
+ <dia:rectangle val="40.2,-50.8048;45.2436,-50.0059"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
- <dia:string>#package/pkg-luarocks.mk#</dia:string>
+ <dia:string>#package/pkg-meson.mk#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="Latin Modern Sans" style="0" name="Courier"/>
@@ -2262,7 +2262,7 @@
<dia:point val="10.4,-35.4"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="10.4,-35.8725;16.6425,-35.28"/>
+ <dia:rectangle val="10.4,-35.9862;15.59,-35.243"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -2295,7 +2295,7 @@
<dia:point val="22.4,-35.4"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="22.4,-35.8725;27.7775,-35.28"/>
+ <dia:rectangle val="22.4,-35.9862;26.8825,-35.243"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -2328,7 +2328,7 @@
<dia:point val="32.4,-35.4"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="32.4,-35.8725;38.57,-35.28"/>
+ <dia:rectangle val="32.4,-35.9862;37.53,-35.243"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
@@ -2361,7 +2361,7 @@
<dia:point val="17.4,-42.6"/>
</dia:attribute>
<dia:attribute name="obj_bb">
- <dia:rectangle val="17.4,-43.0725;23.6925,-42.48"/>
+ <dia:rectangle val="17.4,-43.1862;22.5725,-42.443"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
diff --git a/slides/buildroot-rootfs/buildroot-rootfs.tex b/slides/buildroot-rootfs/buildroot-rootfs.tex
index 1f14b327..8c9dca64 100644
--- a/slides/buildroot-rootfs/buildroot-rootfs.tex
+++ b/slides/buildroot-rootfs/buildroot-rootfs.tex
@@ -312,7 +312,8 @@ test 8000 wheel -1 = - /bin/sh - Test u
\item {\bf Busybox init}, the default. Simplest solution.
\item {\bf sysvinit}, the old style featureful {\em init}
implementation
- \item {\bf systemd}, the new generation init system
+ \item {\bf systemd}, the modern init system
+ \item {\bf OpenRC}, the init system used by Gentoo
\end{itemize}
\item Selecting the {\em init} implementation in the \code{System
configuration} menu will:
@@ -433,13 +434,11 @@ image boot.vfat {
image sdcard.img {
hdimage {
}
-
partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}
-
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
diff --git a/slides/buildroot-support-contribution/buildroot-support-contribution.tex b/slides/buildroot-support-contribution/buildroot-support-contribution.tex
index a024f18f..0e99daa6 100644
--- a/slides/buildroot-support-contribution/buildroot-support-contribution.tex
+++ b/slides/buildroot-support-contribution/buildroot-support-contribution.tex
@@ -28,10 +28,10 @@
\begin{itemize}
\item The {\em mailing list} for e-mail discussion\\
{\footnotesize \url{http://lists.busybox.net/mailman/listinfo/buildroot}}\\
- 1300+ subscribers, quite heavy traffic.
+ 1400+ subscribers, quite heavy traffic.
\item The IRC channel, {\tt \#buildroot} on the Freenode network,
for interactive discussion\\
- 130+ people, most available during European daylight hours
+ 180+ people, most available during European daylight hours
\item Bug tracker\\
\url{https://bugs.busybox.net/buglist.cgi?product=buildroot}
\end{itemize}
diff --git a/slides/buildroot-tree/buildroot-tree.tex b/slides/buildroot-tree/buildroot-tree.tex
index 74500503..bedb0c0a 100644
--- a/slides/buildroot-tree/buildroot-tree.tex
+++ b/slides/buildroot-tree/buildroot-tree.tex
@@ -116,7 +116,7 @@
\item Buildroot documentation
\item Written in AsciiDoc, can generate HTML, PDF, TXT versions:
\code{make manual}
- \item $\approx$90 pages PDF document
+ \item $\approx$135 pages PDF document
\item Also available pre-generated online.
\item \url{https://buildroot.org/downloads/manual/manual.html}
\end{itemize}
diff --git a/slides/buildroot-whats-new/buildroot-whats-new.tex b/slides/buildroot-whats-new/buildroot-whats-new.tex
index fc536118..beee279c 100644
--- a/slides/buildroot-whats-new/buildroot-whats-new.tex
+++ b/slides/buildroot-whats-new/buildroot-whats-new.tex
@@ -7,7 +7,7 @@
\item Always mentions changes that could cause backward
compatibility problems
\item The following slides summarize the major new features added in
- each release between 2017.02 and 2019.02.
+ each release between 2018.02 and 2020.02.
\item All new Buildroot versions come with new packages, and many
updates to the existing packages
\begin{itemize}
@@ -17,86 +17,9 @@
\end{itemize}
\end{frame}
-\begin{frame}{2017.02}
- \begin{itemize}
- \item This is the first {\bf Long Term Support} release, supported
- during one year
- \item {\bf Infrastructure}:
- \begin{itemize}
- \item Reproducible builds improvements
- \item \code{waf-package} infrastructure
- \end{itemize}
- \item {\bf Architecture}: OpenRISC support added, merge of ARM and
- ARM64, support of ARM64 core selection.
- \item {\bf Toolchain}: major rework of external toolchain support
- (now split in several packages), gdb 7.11 by default
- \item {\bf Defconfigs}: Freescale i.MX23EVK, Qemu OpenRISC
- emulation, Qemu NIOS2 emulation, Grinn chiliBoard, Freescale
- i.MX6Q SabreSD, BeagleBoard X15, OrangePi One, ARC HS38 HAPS
- \item {\bf New packages}: MariaDB, Hiredis, Python packages, etc.
- \end{itemize}
-\end{frame}
-
-\begin{frame}{2017.05}
- \begin{itemize}
- \item {\bf Infrastructure}
- \begin{itemize}
- \item Check architectures of installed binaries
- \item Removed automatic {\em ext2} size calculation
- \item Wrapper script for {\em genimage}
- \item Runtime testing infrastructure, defconfigs tested in
- Gitlab-CI, {\em check-package}
- \item SPDX license codes used everywhere
- \end{itemize}
- \item {\bf Toolchains}: glibc 2.25, uClibc-ng 1.0.24, binutils 2.27
- by default
- \item {\bf Architecture}: support for the C-SKY architecture
- \item {\bf Defconfigs}: AT91sam9x5ek dev/mmc/mmc-dev, banana pro,
- Nationalchip gx6605s, MIPS creator ci40, nexbox a95x, 64bit
- defconfig for RaspberryPi 3, stm32f429-disc1
- \item {\bf New packages}: GhostScript, GStreamer VA-API, RPi
- firmware, {\em s6} suite of programs, etc.
- \end{itemize}
-\end{frame}
-
-\begin{frame}{2017.08}
- \begin{itemize}
- \item {\bf Infrastructure}:
- \begin{itemize}
- \item Skeleton split in multiple packages:
- \code{skeleton-init-{sysv,systemd,none,common}} and
- \code{skeleton-custom}
- \item Support for read-only rootfs with systemd
- \item Major revamp of the {\em gettext} handling
- \item \code{host/usr/} moved into \code{host/}
- \item Support for license files hashes
- \item Relocatable SDK, and RPATH cleaning in the target
- \end{itemize}
- \item {\bf Architecture}: ARM big/LITTLE, improved MIPS support
- \item {\bf Toolchain}: gcc 6.x and binutils 2.28 by default, added
- support for gcc 7.x, binutils 2.29 and gdb 8.0.
- \item {\bf Defconfigs}: A13 Olinuxino, Engicam platforms (i.CoreM6
- Solo/Dual/DualLite/Quad, RQS SOM, GEAM6UL SOM, Is.IoT MX6UL
- SOM), Nano Pi M1 (Plus), OrangePi Zero and Plus
- \item {\bf New packages}: Azure IOT SDK, Erlang and Python packages,
- SELinux refpolicy, etc.
- \end{itemize}
-\end{frame}
-
-\begin{frame}{2017.11}
- \begin{itemize}
- \item {\bf Toolchain}: glibc updated to 2.26
- \item \code{openssl} is now a virtual package to use either openssl
- or libressl
- \item {\bf New packages}: Asterisk, plenty of Lua and Python
- modules, Qt5Wayland and Qt5WebEngine
- \item {\bf New defconfigs}: Atmel SAMA5D4, BananaPI boards, i.MX6
- boards, etc.
- \end{itemize}
-\end{frame}
-
\begin{frame}{2018.02}
\begin{itemize}
+ \item First {\bf LTS} release
\item {\bf Toolchain}: binutils 2.30 added, binutils 2.29 is the default
\item Support for hardening options: {\em relro} and {\em fortify}
\item {\bf Infrastructure}: \code{make source-check} removed, check
@@ -142,8 +65,52 @@
\begin{frame}{2019.02}
\begin{itemize}
+ \item {\bf LTS} release
\item {\bf Architecture}: support for RISC-V 32-bit added, several
new ARM and MIPS variants
\item {\bf Toolchain}: musl 1.1.21, gdb 8.2.1
\end{itemize}
\end{frame}
+
+\begin{frame}{2019.05}
+ \begin{itemize}
+ \item {\bf Architecture}: Andes NDS-32 support added
+ \item {\bf Toolchain}: glibc 2.29, musl 1.1.22, binutils 2.32
+ \item {\bf Infrastructure}: \code{show-info} make target
+ \item Support for {\em gettext-tiny} as a lightweight alternative to
+ {\em GNU Gettext}
+ \item Support for the {\bf OP-TEE} trusted execution environment
+ \item Notable {\bf new packages}: Intel media libraries, libcamera,
+ wpewebkit
+ \end{itemize}
+\end{frame}
+
+\begin{frame}{2019.08}
+ \begin{itemize}
+ \item {\bf Toolchain}: ARM, ARC external toolchains updated, gcc
+ 9.1, gdb 8.3, musl 1.1.23.
+ \item {\bf Infrastructure}: \code{BR2_EXTERNAL} directories can now
+ contribute their own implementation of some virtual packages such
+ as external toolchains, libjpeg, openssl.
+ \item Support for {\bf OpenRC} init system
+ \end{itemize}
+\end{frame}
+
+\begin{frame}{2019.11}
+ \begin{itemize}
+ \item Buildroot now needs gcc >= 4.8 on the system
+ \item {\bf Toolchain}: add support for D language, gcc 9.2.0, glibc
+ 2.30, musl 1.1.24, uClibc-ng 1.0.32
+ \item {\bf Infrastructure}: \code{BR2_EXTERNAL} directories can now
+ contribute Linux kernel extensions.
+\end{frame}
+
+\begin{frame}{2020.02}
+ \begin{itemize}
+ \item {\bf LTS} release
+ \item Experimental support for {\bf top-level parallel} build
+ \item {\bf Toolchain}: binutils 2.33.1, gcc 7.5.0, external
+ toolchains updated
+ \item Improvements for {\bf reproducible} builds
+ \end{itemize}
+\end{frame}
More information about the training-materials-updates
mailing list