summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/yocto-bbb-machine-conf.tex
blob: 7345952b9c3ffda4e548dae30e98c381f0b13038 (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
\subsection{Machines}
\begin{frame}[fragile]
\frametitle{machine configs}
to get a list of currently available machine configs:
\begin{verbatim}
poky/build-ti % grep -r '@NAME' ../meta*/conf/machine
\end{verbatim}
if no machine fits your needs, define your own!
\end{frame}

\begin{frame}[fragile]
\frametitle{create a beaglebone-black machine config}
create the file 'meta-mini/conf/machine/beaglebone-black.conf':
\begin{verbatim}
#@TYPE: Machine
#@NAME: BeagleBone Black
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board 

require conf/machine/include/ti33x.inc

IMAGE_FSTYPES += "ext3 tar.gz"
EXTRA_IMAGEDEPENDS += "u-boot"
SERIAL_CONSOLE = "115200 ttyO0"

SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
UBOOT_MACHINE = "am335x_boneblack_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
\end{verbatim}
\end{frame}