summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/yocto-layer-imx6.tex
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2017-12-19 11:16:28 +0100
committerJohn Ogness <john.ogness@linutronix.de>2017-12-19 11:16:28 +0100
commit6e7e1b7172813fc4ecb60597f903dd21a4616159 (patch)
treedbfe0b8f1a3d51c275722ba86d4ffe109ee88aef /distribution/yocto-advanced/yocto-layer-imx6.tex
parent270520b4a2eac8725c8575c3180964289722e191 (diff)
update yocto-advanced: sync to devel/manut/yocto
The devel/manut/yocto heavily diverted from master. Sync with latest version 8cd4956a9b48a316eab6dc6d1b1f6cd51362fecf. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'distribution/yocto-advanced/yocto-layer-imx6.tex')
-rw-r--r--distribution/yocto-advanced/yocto-layer-imx6.tex43
1 files changed, 17 insertions, 26 deletions
diff --git a/distribution/yocto-advanced/yocto-layer-imx6.tex b/distribution/yocto-advanced/yocto-layer-imx6.tex
index 1528645..729312c 100644
--- a/distribution/yocto-advanced/yocto-layer-imx6.tex
+++ b/distribution/yocto-advanced/yocto-layer-imx6.tex
@@ -1,19 +1,10 @@
\begin{frame}[fragile]
-\frametitle{EXCURSUS: build an imx.6 image \#1}
-use
+\frametitle{build for imx.6 \#1}
\begin{verbatim}
-ls ../*/*/images/
-\end{verbatim}
-to get a list of predefined images; image, you want to build an imx6 image, so
-none of them fits your needs\dots
- \pause
-\begin{verbatim}
-poky/build-fsl % cd ..
-poky % git clone -b krogoth https://github.com/Freescale/meta-fsl-demos.git
-poky % git clone -b krogoth git://git.openembedded.org/meta-openembedded
+poky % git clone -b krogoth https://github.com/Freescale/meta-freescale-3rdparty.git
+poky % git clone -b krogoth https://github.com/Freescale/meta-fsl-arm.git
poky % cd -
\end{verbatim}
- \pause
and edit conf/bblayers.conf, to match
\begin{verbatim}
BBLAYERS ?= " \
@@ -21,31 +12,34 @@ BBLAYERS ?= " \
/home/devel/poky/meta-yocto \
/home/devel/poky/meta-yocto-bsp \
/home/devel/poky/meta-fsl-arm \
- /home/devel/poky/meta-fsl-arm-extra \
- /home/devel/poky/meta-openembedded/meta-oe \
- /home/devel/poky/meta-fsl-demos \
+ /home/devel/poky/meta-freescale-3rdparty \
"
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
-\frametitle{EXCURSUS: build an imx.6 image \#2}
-build a qt demo image
+\frametitle{build for imx.6 \#2}
+update conf/local.conf
\begin{verbatim}
-poky/build-imx6 % bitbake qt4e-demo-image
-Currently 4 running tasks (26 of 4459):
+DL_DIR ?= /home/devel/downloads
+PACKAGE_CLASSES ?= "package_class_deb"
+MACHINE ?= "imx6qsabrelite"
+EXTRA_IMAGE_FEATURES ?= "debug-tweaks eclipse-debug"
+\end{verbatim}
+and build an image
+\begin{verbatim}
+poky/build-imx6 % bitbake core-image-minimal
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
-\frametitle{EXCURSUS: build an imx.6 image \#3}
+\frametitle{build for imx.6 \#3}
\dots back from coffee break
\begin{verbatim}
ERROR: No new tasks can be executed since
the disk space monitor action is "STOPTASKS"!
\end{verbatim}
what happened??
- \pause
\begin{verbatim}
poky/build-imx6 % df -h
Filesystem Size Used Avail Use% Mounted on
@@ -55,7 +49,6 @@ poky/build-imx6 % du -sm .
poky/build-imx6 % du -sm ../build
29172 ../build/
\end{verbatim}
- \pause
\dots so the solution is to cleanup the disk and run
\begin{verbatim}
poky/build-imx6 % bitbake qt4e-demo-image
@@ -66,8 +59,8 @@ A different behaviour can be configured in 'conf/local.conf'.
\end{frame}
\begin{frame}[fragile]
-\frametitle{EXCURSUS: build an imx.6 image \#4}
-example of an issue with a sabrelite board
+\frametitle{build for imx.6 \#4}
+example of an issue with an image with graphics
\begin{verbatim}
ERROR: To use 'gpu-viv-bin-mx6q'
you need to accept the Freescale EULA
@@ -85,12 +78,10 @@ ERROR: Task 1105 (/home/local/src/poky/meta-ti-arm/
gpu-viv-bin-mx6q_3.10.17-1.0.0-hfp.bb, do_unpack) failed
with exit code '1'
\end{verbatim}
- \pause
to solve this issue:
\begin{verbatim}
poky/build-fsl % echo 'ACCEPT_FSL_EULA = "1"' >> conf/local.conf
\end{verbatim}
- \pause
\dots and run
\begin{verbatim}
poky/build-ti % bitbake qt4e-demo-image