From d05a89acc37783d91b10ff911e6b29a16c494d6f Mon Sep 17 00:00:00 2001
From: Manuel Traut <manut@linutronix.de>
Date: Fri, 19 Sep 2014 12:06:34 +0200
Subject: yocto-slides: small improvements

* toaster screenshots
* updated kernel recipe to match meta-mini
* updated agenda

Signed-off-by: Manuel Traut <manut@linutronix.de>
---
 .../yocto-advanced/pres_yocto-advanced.tex         | 49 ++++++++--------------
 1 file changed, 18 insertions(+), 31 deletions(-)

(limited to 'distribution/yocto-advanced/pres_yocto-advanced.tex')

diff --git a/distribution/yocto-advanced/pres_yocto-advanced.tex b/distribution/yocto-advanced/pres_yocto-advanced.tex
index 189e377..5d306f1 100644
--- a/distribution/yocto-advanced/pres_yocto-advanced.tex
+++ b/distribution/yocto-advanced/pres_yocto-advanced.tex
@@ -6,13 +6,12 @@
 \begin{frame}
 \frametitle{Agenda}
 \begin{itemize}
-\item Using BSP layers (beaglebone)
-\item Build a predefined image (beaglebone)
+\item Using BSP layers
+\item Build a predefined image
 \item Creating a layer
 \item Define a distribution
 \item Create an image
 \item Writing recipes
-\item Yocto \& ELBE combined?
 \end{itemize}
 \end{frame}
 
@@ -602,31 +601,15 @@ DISTRO_FEATURES_append = " systemd"
 TCLIBCAPPEND = ""
 \end{verbatim}
 \end{frame}
+
 \begin{frame}[fragile]
 \begin{verbatim}
-PREMIRRORS ??= "\
-bzr://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-cvs://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-git://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-hg://.*/.*    http://downloads.yoctoproject.org/mirror/sources/ \n \
-osc://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-p4://.*/.*    http://downloads.yoctoproject.org/mirror/sources/ \n \
-svk://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
-svn://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n"
-\end{verbatim}
-\end{frame}
-\begin{frame}[fragile]
-\begin{verbatim}
-MIRRORS =+ "\
-ftp://.*/.*      http://downloads.yoctoproject.org/mirror/sources/ \n \
-http://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \n \
-https://.*/.*    http://downloads.yoctoproject.org/mirror/sources/ \n"
-
 CONNECTIVITY_CHECK_URIS ?= " \
              https://eula-downloads.yoctoproject.org/index.php \
              http://bugzilla.yoctoproject.org/report.cgi"
 \end{verbatim}
 \end{frame}
+
 \begin{frame}[fragile]
 \begin{verbatim}
 SANITY_TESTED_DISTROS ?= " \
@@ -795,7 +778,8 @@ create the file 'meta-mini/recipes-bsp/linux-vanilla/linux-vanilla\_3.16.1.bb':
 SECTION = "kernel"
 DESCRIPTION = "Linux vanilla kernel"
 LICENSE = "GPLv2"
-KERNEL_IMAGETYPE = "uImage"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+KERNEL_IMAGETYPE ?= "uImage"
 
 inherit kernel
 require recipes-kernel/linux/linux-dtb.inc
@@ -805,19 +789,22 @@ require recipes-kernel/linux/linux-dtb.inc
 \begin{frame}[fragile]
 \frametitle{adding a kernel \#2}
 \begin{verbatim}
+COMPATILBE_MACHINE_imx6qsabrelite = "imx6qsabrelite"
+KERNEL_DEVICETREE_imx6qsabrelite = "arch/arm/boot/dts/imx6q-sabrelite.dts"
 COMPATILBE_MACHINE_beaglebone-black = "beaglebone-black"
-KERNEL_DEVICETREE_beaglebone-black = \
-"arch/arm/boot/dts/am335x-boneblack.dts"
+KERNEL_DEVICETREE_beaglebone-black = "arch/arm/boot/dts/am335x-boneblack.dts"
+
+S = "${WORKDIR}/git
 
-S = "${WORKDIR}/linux-${PV}"
-https://www.kernel.org/pub/linux/kernel/v3.x/linux-${PV}.tar.xz \
-file://defconfig \
-"
+BRANCH = "master"
+SRC_URI = "https://www.kernel.org/pub/linux/kernel/v3.x/linux-${PV}.tar.xz \
+	file://defconfig"
 
-SRC_URI[md5sum] = "???"
-SRC_URI[sha256sum] = "???"
+SRC_URI[md5sum] = "e7a985a243b7941b6bc6240fcbc797fc"
+SRC_URI[sha256sum] = "be37dda8ea090525661d64e5c7fc8580f313b7f9ba8592e32120f1332b
 
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
+LINUX_VERSION_EXTENSION = "-linutronix"
 
 do_configure_prepend() {
 	cp '${WORKDIR}/defconfig' '${S}/.config'
@@ -848,7 +835,7 @@ PROVIDES += "virtual/kernel"
 --8<--------------------------------
 \end{verbatim}
 
-PREFERRED\_PROVIDER\_virtual/kernel = "linux-yocto"
+PREFERRED\_PROVIDER\_virtual/kernel = "linux-vanilla"
 
 
 \pause
-- 
cgit v1.2.3

