diff options
Diffstat (limited to 'distribution/yocto-basic')
| -rw-r--r-- | distribution/yocto-basic/pres_yocto-basic.tex | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/distribution/yocto-basic/pres_yocto-basic.tex b/distribution/yocto-basic/pres_yocto-basic.tex index c0df453..e5b7129 100644 --- a/distribution/yocto-basic/pres_yocto-basic.tex +++ b/distribution/yocto-basic/pres_yocto-basic.tex @@ -781,6 +781,13 @@ that is used by the Board .conf file \begin{frame}[fragile] \frametitle{build a predefined image} +edit the local build configuration './conf/local.conf' +\begin{verbatim} +DL_DIR ?= "${TOPDIR}/../downloads" +PACKAGE_CLASSES ?= "package_deb" +EXTRA_IMAGE_FEATURES = "debug-tweaks eclipse-debug tools-profile tools-debug" +\end{verbatim} +and start the image build \begin{verbatim} % bitbake core-image-minimal \end{verbatim} @@ -1130,8 +1137,8 @@ poky/build % bitbake -c populate_sdk core-image-minimal \pause to install the toolchain: \begin{verbatim} -% ./tmp/deploy/sdk/poky-eglibc-x86\_64-meta-toolchain-i586-toolchain-1.6.1.sh -Enter target directory for SDK (default: /opt/poky/1.6.1): /home/devel/sdk +% ./tmp/deploy/sdk/poky-eglibc-x86\_64-meta-toolchain-i586-toolchain-2.0.sh +Enter target directory for SDK (default: /opt/poky/2.0): /home/devel/sdk \end{verbatim} \pause to use the toolchain: @@ -1203,7 +1210,7 @@ configuration for each supported BSP \frametitle{run ADT installer} \begin{verbatim} adt-installer % ./adt_installer -Please enter the install location (default: /opt/poky/1.6.1): <return> +Please enter the install location (default: /opt/poky/2.0): <return> ... [ADT_INST] Please enter your selections here: S<return> @@ -1212,7 +1219,7 @@ S<return> \pause to use the ADT, the environment needs to be sourced: \begin{verbatim} -% . /opt/poky/1.6.1/environment-setup-i586-poky-linux +% . /opt/poky/2.0/environment-setup-i586-poky-linux \end{verbatim} \end{frame} @@ -1231,7 +1238,7 @@ install and start eclipse: \pause add the yocto update-site (Help, Install New Software, Add\dots) \begin{verbatim} -http://downloads.yoctoproject.org/releases/eclipse-plugin/1.6/kepler/ +http://downloads.yoctoproject.org/releases/eclipse-plugin/2.0/kepler/ \end{verbatim} select and install all components, by clicking 'Next, Next, Accept Licenses, Finish, Accept installing from insecure source, @@ -1278,7 +1285,7 @@ select 'Kepler' as update site and select 'Linux Tools' and \item select 'Program, qemu\_i586-poky' \item edit the arguments that they match: \begin{verbatim} --e "source /opt/poky/1.6.1/environment-setup-i586-poky- +-e "source /opt/poky/2.0/environment-setup-i586-poky- linux;runqemu qemux86 /home/local/adt-installer/download_image/ bzImage-qemux86.bin /home/local/sdk/core-image-minimal ;bash" \end{verbatim} |
