[FE training-materials-updates] yocto: labs: be more verbose for the sdk lab

Antoine Ténart antoine.tenart at free-electrons.com
Fri Nov 7 15:52:01 CET 2014


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=5622163b2f13c5b298aa443d688d7289f533b7cb

>---------------------------------------------------------------

commit 5622163b2f13c5b298aa443d688d7289f533b7cb
Author: Antoine Tenart <antoine.tenart at free-electrons.com>
Date:   Fri Nov 7 15:50:51 2014 +0100

    yocto: labs: be more verbose for the sdk lab
    
    Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>


>---------------------------------------------------------------

5622163b2f13c5b298aa443d688d7289f533b7cb
 labs/yocto-sdk/yocto-sdk.tex | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/labs/yocto-sdk/yocto-sdk.tex b/labs/yocto-sdk/yocto-sdk.tex
index c859f1c..3f1f03a 100644
--- a/labs/yocto-sdk/yocto-sdk.tex
+++ b/labs/yocto-sdk/yocto-sdk.tex
@@ -29,12 +29,18 @@ We mean to show you how the SDK sets up a fully working environment.
 Install the SDK in \code{$HOME/yocto-labs/sdk} by executing the script
 generated at the previous step.
 
+{\footnotesize
+\begin{verbatim}
+$BUILDDIR/tmp/deploy/sdk/poky-eglibc-x86_64-felabs-image-minimal-cortexa8hf-vfp-neon-toolchain-1.5.1.sh
+\end{verbatim}
+}
+
 \section{Set up the environment}
 
 Go into the directory where you installed the SDK
 (\code{$HOME/yocto-labs/sdk}). Source the environment script:
 \begin{verbatim}
-source <script>
+source environment-setup-cortexa8hf-vfp-neon-poky-linux-gnueabi
 \end{verbatim}
 
 Have a look on the exported environment variables:
@@ -56,5 +62,10 @@ cd ctris-0.42
 Then modify the Makefile, to make sure that the environment variables exported
 by the SDK script are not overridden.
 
-Compile, copy the generated binary (\code{ctris}) on the board and
-test the application!
+Compile the application. You can check the application was
+successfully compiled for the right target by using the file command.
+The \code{ctris} binary should be an ELF 32-bit LSB executable
+compiled for ARM.
+
+Finally, you can copy the binary to the board, by using the \code{scp}
+command. Then run it and play a bit to ensure it is working fine!



More information about the training-materials-updates mailing list