blob: 557afe224c4389da2ad69eaeb5d8c9fa36d7dd69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
\begin{frame}[fragile]
\frametitle{EXCURSUS: build an imx.6 image \#1}
use
\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 fido https://github.com/Freescale/meta-fsl-demos.git
poky % git clone -b fido git://git.openembedded.org/meta-openembedded
poky % cd -
\end{verbatim}
\pause
and edit conf/bblayers.conf, to match
\begin{verbatim}
BBLAYERS ?= " \
/home/devel/poky/meta \
/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 \
"
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{EXCURSUS: build an imx.6 image \#2}
build a qt demo image
\begin{verbatim}
poky/build-imx6 % bitbake qt4e-demo-image
Currently 4 running tasks (26 of 4459):
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{EXCURSUS: build an imx.6 image \#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
/dev/sda4 367G 348G 850M 100% /
poky/build-imx6 % du -sm .
31026 .
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
\end{verbatim}
again.
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
\begin{verbatim}
ERROR: To use 'gpu-viv-bin-mx6q'
you need to accept the Freescale EULA
at '/home/local/src/poky/meta-ti-arm/EULA'.
Please read it and in case you accept it, write:
ACCEPT_FSL_EULA = "1" in your local.conf.
ERROR: Function failed: do_unpack
ERROR: Logfile of failure stored in:
/home/local/src/poky/build-ti/tmp/work/
cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/
gpu-viv-bin-mx6q/1_3.10.17-1.0.0-hfp-r0/temp/
log.do_unpack.6795
ERROR: Task 1105 (/home/local/src/poky/meta-ti-arm/
recipes-graphics/gpu-viv-bin-mx6q/
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
\end{verbatim}
again.
\end{frame}
|