\subsection{Bootloader}

\begin{frame}[fragile]
\frametitle{Configure and add u-boot}
\begin{lstlisting}
$ cd ~/poky/meta-schulung
$ pluma conf/machine/vexpress.conf
\end{lstlisting}
\begin{verbatim}
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa8.inc
SERIAL_CONSOLE = "115200 ttyAMA0"
PREFERRED_PROVIDER_virtual/kernel = "linux-vanilla"
UBOOT_MACHINE = "vexpress_ca9x4_defconfig"
IMAGE_FSTYPES = "wic"
\end{verbatim}
\begin{lstlisting}
$ pluma recipes-core/images/core-image-schulung.bb
\end{lstlisting}
\begin{verbatim}
[..]
CORE_IMAGE_BASE_INSTALL = " \
 u-boot \
 schulung-base \
 kernel-modules \
 example \
 ${@bb.utils.contains('SCHULUNG_FEATURES', 'devel','${DEVPKGS}','',d)} \
"
[..]
\end{verbatim}
\begin{lstlisting}
$ cd ~/poky/build-schulung
$ bitbake core-image-schulung
\end{lstlisting}
\end{frame}
