diff options
| -rw-r--r-- | distribution/yocto-basic/yocto-adt.tex | 160 |
1 files changed, 81 insertions, 79 deletions
diff --git a/distribution/yocto-basic/yocto-adt.tex b/distribution/yocto-basic/yocto-adt.tex index 37680d0..6258653 100644 --- a/distribution/yocto-basic/yocto-adt.tex +++ b/distribution/yocto-basic/yocto-adt.tex @@ -1,12 +1,13 @@ \subsection{ADT} + \begin{frame} \frametitle{Yocto ADT (Application Development Kit)} Core Components \vspace{2em} \begin{itemize} -\item System Root -\item QEMU Emulator -\item Cross Development Toolchain +\item system root +\item QEMU emulator +\item cross development toolchain \end{itemize} \end{frame} @@ -15,11 +16,11 @@ Core Components Eclipse Plugin \vspace{2em} \begin{itemize} -\item Roundtrip Application Development -\item Toolchain/System Root Integration -\item Emulated and Hardware Targets -\item Application Templates -\item On-target Debugging +\item roundtrip application development +\item toolchain/system root integration +\item emulated and hardware targets +\item application templates +\item on-target debugging \end{itemize} \end{frame} @@ -38,14 +39,15 @@ Profiling Tools \end{frame} \begin{frame}[fragile] -\frametitle{build an external usable toolchain} +\frametitle{Build an External Usable Toolchain} \begin{verbatim} -poky/build % bitbake meta-toolchain -# OR to include headers and static version of all used libraries -poky/build % bitbake -c populate_sdk core-image-minimal +bitbake meta-toolchain \end{verbatim} -\vspace{2em} -to install the toolchain: +or to include headers and static version of all used libraries +\begin{verbatim} +bitbake -c populate_sdk core-image-minimal +\end{verbatim} +To install the toolchain: \begin{verbatim} % ./tmp/deploy/sdk/poky-glibc-x86\_64-meta-toolchain-i586-toolchain-2.0.sh Enter target directory for SDK (default: /opt/poky/2.0): /home/devel/sdk @@ -57,20 +59,20 @@ source /home/devel/sdk/environment-setup-i586-poky-linux \end{frame} \begin{frame}[fragile] -\frametitle{export a nfsroot} +\frametitle{Build an Internal Usable Toolchain} \begin{verbatim} -poky/build % runqemu-extract-sdk \ -tmp/deploy/images/qemux86/core-image-minimal-qemux86.tar.bz2 \ -~/sdk/core-image-minimal +bitbake meta-ide-support \end{verbatim} +\vspace{2em} \end{frame} \begin{frame}[fragile] -\frametitle{build a internal usable toolchain} +\frametitle{Export an NFS Root Filesystem} \begin{verbatim} -poky/build % bitbake meta-ide-support +runqemu-extract-sdk \ + tmp/deploy/images/qemux86/core-image-minimal-qemux86.tar.bz2 \ + ~/sdk/core-image-minimal \end{verbatim} -\vspace{2em} \end{frame} %\begin{frame}[fragile] @@ -125,64 +127,64 @@ poky/build % bitbake meta-ide-support %\end{verbatim} %\end{frame} -\begin{frame}[fragile] -\frametitle{ADT \& Eclipse} -install and start eclipse: -\begin{verbatim} -% wget http://ftp.fau.de/eclipse/technology/epp/downloads/release/kepler/R/eclipse-cpp-kepler-R-linux-gtk.tar.gz -% tar xzf eclipse-*.tar.gz -% ./eclipse/eclipse -\end{verbatim} -add the yocto update-site (Help, Install New Software, Add\dots) -\begin{verbatim} -http://downloads.yoctoproject.org/releases/eclipse-plugin/1.9/kepler/ -\end{verbatim} -select and install all components, by clicking - -'Next, Next, Accept Licenses, Finish, Accept installing from insecure source, -and accept to restart eclipse' -goto 'Help, Install New Software, Add\dots' again and -select 'Kepler' as update site and select 'Linux Tools' and -'Mobile and Device Development'; select 'Next' until you can -'Finish' and quit eclipse -\end{frame} +%\begin{frame}[fragile] +%\frametitle{ADT \& Eclipse} +%install and start eclipse: +%\begin{verbatim} +%% wget http://ftp.fau.de/eclipse/technology/epp/downloads/release/kepler/R/eclipse-cpp-kepler-R-linux-gtk.tar.gz +%% tar xzf eclipse-*.tar.gz +%% ./eclipse/eclipse +%\end{verbatim} +%add the yocto update-site (Help, Install New Software, Add\dots) +%\begin{verbatim} +%http://downloads.yoctoproject.org/releases/eclipse-plugin/1.9/kepler/ +%\end{verbatim} +%select and install all components, by clicking +% +%'Next, Next, Accept Licenses, Finish, Accept installing from insecure source, +%and accept to restart eclipse' +%goto 'Help, Install New Software, Add\dots' again and +%select 'Kepler' as update site and select 'Linux Tools' and +%'Mobile and Device Development'; select 'Next' until you can +%'Finish' and quit eclipse +%\end{frame} -\begin{frame} -\frametitle{configure Eclipse} -\begin{itemize} -\item select 'Window, Preferences, Yocto Project ADT' -\item select 'Standalone pre-built toolchain' -\item set Toolchain Root Location '/home/devel/sdk' -\item set Sysroot Location '/home/devel/sdk/core-image-minimal' -\item use 'native' as 'Target Options' -\item 'Apply' the Settings and close the dialog with 'OK' -\end{itemize} -\end{frame} +%\begin{frame} +%\frametitle{configure Eclipse} +%\begin{itemize} +%\item select 'Window, Preferences, Yocto Project ADT' +%\item select 'Standalone pre-built toolchain' +%\item set Toolchain Root Location '/home/devel/sdk' +%\item set Sysroot Location '/home/devel/sdk/core-image-minimal' +%\item use 'native' as 'Target Options' +%\item 'Apply' the Settings and close the dialog with 'OK' +%\end{itemize} +%\end{frame} -\begin{frame} -\frametitle{Hello World example} -\begin{itemize} -\item select 'File, New, Project\dots' -\item select 'C/C++, C Project' -\item select 'Yocto Project ADT Autotools Project, Hello World ANSI C Project' -\item enter a 'Project name' and select 'Next' -\item enter 'Basic settings' and select 'Finish' -\item if opened, close the 'Welcome' window -\item right click on the root project folder and select 'Reconfigure Project' -\item right click on the root project folder and select 'Build Project' -\end{itemize} -\end{frame} +%\begin{frame} +%\frametitle{Hello World example} +%\begin{itemize} +%\item select 'File, New, Project\dots' +%\item select 'C/C++, C Project' +%\item select 'Yocto Project ADT Autotools Project, Hello World ANSI C Project' +%\item enter a 'Project name' and select 'Next' +%\item enter 'Basic settings' and select 'Finish' +%\item if opened, close the 'Welcome' window +%\item right click on the root project folder and select 'Reconfigure Project' +%\item right click on the root project folder and select 'Build Project' +%\end{itemize} +%\end{frame} -\begin{frame} -\frametitle{remote execution and debugging} -\begin{itemize} -\item switch to 'Remote System Explorer' perspective -\item create a new 'TCF' connection -\item switch to 'C/C++' perspective and select 'Run / Debug Configurations' -\item select the preconfigured 'C/C++ Application' and select the correct - 'Connection' -\item set 'Remote Absolute File Path' to sth. like '/usr/bin/<yourapp>' -\item select 'Apply', 'Debug' - Next time you can use this preconfigured debug - configuration -\end{itemize} -\end{frame} +%\begin{frame} +%\frametitle{remote execution and debugging} +%\begin{itemize} +%\item switch to 'Remote System Explorer' perspective +%\item create a new 'TCF' connection +%\item switch to 'C/C++' perspective and select 'Run / Debug Configurations' +%\item select the preconfigured 'C/C++ Application' and select the correct +% 'Connection' +%\item set 'Remote Absolute File Path' to sth. like '/usr/bin/<yourapp>' +%\item select 'Apply', 'Debug' - Next time you can use this preconfigured debug +% configuration +%\end{itemize} +%\end{frame} |
