summaryrefslogtreecommitdiff
path: root/distribution/yocto-example-layer/bootloader.tex
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/yocto-example-layer/bootloader.tex')
-rw-r--r--distribution/yocto-example-layer/bootloader.tex35
1 files changed, 35 insertions, 0 deletions
diff --git a/distribution/yocto-example-layer/bootloader.tex b/distribution/yocto-example-layer/bootloader.tex
new file mode 100644
index 0000000..1a4c6a5
--- /dev/null
+++ b/distribution/yocto-example-layer/bootloader.tex
@@ -0,0 +1,35 @@
+\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}