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-flash-official-bb-img.tex | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 distribution/yocto-advanced/yocto-flash-official-bb-img.tex

(limited to 'distribution/yocto-advanced/yocto-flash-official-bb-img.tex')

diff --git a/distribution/yocto-advanced/yocto-flash-official-bb-img.tex b/distribution/yocto-advanced/yocto-flash-official-bb-img.tex
new file mode 100644
index 0000000..94c408c
--- /dev/null
+++ b/distribution/yocto-advanced/yocto-flash-official-bb-img.tex
@@ -0,0 +1,31 @@
+\begin{frame}[fragile]
+\frametitle{EXCURSUS: flash the official beaglebone image \#1}
+\begin{verbatim}
+poky/build-ti % sudo fdisk /dev/mmcblk0
+# create a
+# * bootable
+# * primary partition with
+# * about 100 MB and
+# * Windows vFat format
+# and another primary partition with Linux Ext format
+\end{verbatim}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{EXCURSUS: flash the official beaglebone image \#2}
+\begin{verbatim}
+poky/build-ti % sudo mkfs.vfat -F 16 -n boot /dev/mmcblk0p1
+poky/build-ti % sudo mke2fs -j -L "root" /dev/mmcblk0p2
+poky/build-ti % sudo mount /dev/mmcblk0p1 /mnt
+poky/build-ti % sudo cp -a tmp/deploy/images/beaglebone/MLO-beaglebone \
+  /mnt/MLO
+poky/build-ti % sudo cp -a \
+  tmp/deploy/images/beaglebone/u-boot-beaglebone.img \
+  /mnt/u-boot.img
+poky/build-ti % sudo umount /mnt
+poky/build-ti % sudo mount /dev/mmcblk0p2 /mnt
+poky/build-ti % sudo tar xjf \
+  tmp/deploy/images/qt4e-demo-image-beaglebone.tar.bz2 -C /mnt
+poky/build-ti % sudo umount /mnt
+\end{verbatim}
+\end{frame}
-- 
cgit v1.2.3

