blob: a8e0ba9296307e4d2aba42c9f485a3e6f6e95c24 (
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
|
\subsection{Machines}
\begin{frame}[fragile]
\frametitle{machine configs aka BSP}
to get a list of currently available machine configs:
\begin{lstlisting}
$ cd ~/poky
$ ls meta*/conf/machine/*.conf
\end{lstlisting}
If no machine fits your needs, search at 'http://layers.openembedded.org' or
define your own!
\end{frame}
\begin{frame}[fragile]
\frametitle{Create a vexpress machine config}
\begin{lstlisting}
$ cd ~/poky/meta-schulung
$ mkdir conf/machine
$ pluma conf/machine/vexpress.conf
\end{lstlisting}
\begin{verbatim}
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa8.inc
SERIAL_CONSOLE = "115200 ttyAMA0"
\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Use the vexpress BSP in the build}
\begin{lstlisting}
$ cd ~/poky/build-schulung
$ pluma conf/local.conf
\end{lstlisting}
\begin{verbatim}
#STATE_DIR ?= "/home/prebuilt/vexpress/sstate-cache"
#BB_NO_NETWORK = "1"
MACHINE ??= "vexpress"
DL_DIR ?= "/home/downloads"
DISTRO ?= "schulung"
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
CONF_VERSION = "1"
\end{verbatim}
\begin{lstlisting}
$ bitbake core-image-minimal
\end{lstlisting}
\end{frame}
|