From e11da41853ddb36745c68adaab352fbe00bebc16 Mon Sep 17 00:00:00 2001
From: Manuel Traut <manut@linutronix.de>
Date: Wed, 18 May 2016 09:44:42 +0200
Subject: split yocto advanced training

use several tex files and include them in the presentation

Signed-off-by: Manuel Traut <manut@linutronix.de>
---
 .../yocto-advanced/yocto-bbb-machine-conf.tex      | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 distribution/yocto-advanced/yocto-bbb-machine-conf.tex

(limited to 'distribution/yocto-advanced/yocto-bbb-machine-conf.tex')

diff --git a/distribution/yocto-advanced/yocto-bbb-machine-conf.tex b/distribution/yocto-advanced/yocto-bbb-machine-conf.tex
new file mode 100644
index 0000000..7345952
--- /dev/null
+++ b/distribution/yocto-advanced/yocto-bbb-machine-conf.tex
@@ -0,0 +1,31 @@
+\subsection{Machines}
+\begin{frame}[fragile]
+\frametitle{machine configs}
+to get a list of currently available machine configs:
+\begin{verbatim}
+poky/build-ti % grep -r '@NAME' ../meta*/conf/machine
+\end{verbatim}
+if no machine fits your needs, define your own!
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{create a beaglebone-black machine config}
+create the file 'meta-mini/conf/machine/beaglebone-black.conf':
+\begin{verbatim}
+#@TYPE: Machine
+#@NAME: BeagleBone Black
+#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board 
+
+require conf/machine/include/ti33x.inc
+
+IMAGE_FSTYPES += "ext3 tar.gz"
+EXTRA_IMAGEDEPENDS += "u-boot"
+SERIAL_CONSOLE = "115200 ttyO0"
+
+SPL_BINARY = "MLO"
+UBOOT_SUFFIX = "img"
+UBOOT_MACHINE = "am335x_boneblack_config"
+UBOOT_ENTRYPOINT = "0x80008000"
+UBOOT_LOADADDRESS = "0x80008000"
+\end{verbatim}
+\end{frame}
-- 
cgit v1.2.3

