Skip to content

Commit

Permalink
Boot time slide: minor updates
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
  • Loading branch information
michaelopdenacker authored and tpetazzoni committed Oct 29, 2021
1 parent 0af3ce6 commit 0cc3d2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion slides/boot-time-init-scripts/boot-time-init-scripts.tex
Expand Up @@ -197,7 +197,7 @@ \section{Optimizing init scripts and system startup}
only the routines required by a particular set of executables.
Really useful with big libraries like OpenGL and QT. It even
works without having the source code.
\item Available in Yocto, but not in Buildroot (2019.02 status).
\item Available in Yocto, but not in Buildroot (2021.02 status).
\item Limitation: \code{mklibs} could remove \code{dlopen}ed libraries
(loaded "manually" by applications) because it doesn't see them.
\end{itemize}
Expand Down
5 changes: 3 additions & 2 deletions slides/boot-time-init-scripts3/boot-time-init-scripts3.tex
Expand Up @@ -5,11 +5,12 @@
\code{switch_root}:
\begin{itemize}
\item Use a light C library reduced to the minimum,
{\em uClibc} if you are not yet using it for your root filesystem
{\em uClibc} or {\em Musl} if you are not yet using it for
your root filesystem
\item Reduce BusyBox to the strict minimum.
You could even do without it and implement \code{/init} in C.
\item Use statically linked applications (less CPU overhead, less
libraries to load, smaller initramfs if no libraries at all).
libraries to load, smaller initramfs if no libraries at all),
\code{BR2_STATIC_LIBS} in Buildroot.
\end{itemize}
\end{frame}
Expand Down

0 comments on commit 0cc3d2d

Please sign in to comment.