[FE training-materials-updates] Further embedded Linux course updates

Michael Opdenacker michael.opdenacker at free-electrons.com
Wed May 18 14:43:03 CEST 2016


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=4d15966c423ca959cc0a5877d496f8fba49b2de2

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

commit 4d15966c423ca959cc0a5877d496f8fba49b2de2
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Wed May 18 14:43:03 2016 +0200

    Further embedded Linux course updates
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


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

4d15966c423ca959cc0a5877d496f8fba49b2de2
 lab-data/embedded-linux/debugging/data/vista-emulator.c |  3 ++-
 labs/sysdev-buildroot/sysdev-buildroot.tex              |  2 +-
 labs/sysdev-thirdparty/sysdev-thirdparty.tex            | 10 +++++-----
 labs/sysdev-toolchain/sysdev-toolchain.tex              |  3 ++-
 4 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/lab-data/embedded-linux/debugging/data/vista-emulator.c b/lab-data/embedded-linux/debugging/data/vista-emulator.c
index 7e1f7d4..c7582d1 100644
--- a/lab-data/embedded-linux/debugging/data/vista-emulator.c
+++ b/lab-data/embedded-linux/debugging/data/vista-emulator.c
@@ -9,6 +9,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 
 int cycles = 0;
 
@@ -40,7 +41,7 @@ void log_activity (void *buffer)
 		bsod("Found unencrypted media on your system. Calling the cops\n");
 	}
 
- 	++cycles;	
+	++cycles;
 }
 
 int init_resources (void)
diff --git a/labs/sysdev-buildroot/sysdev-buildroot.tex b/labs/sysdev-buildroot/sysdev-buildroot.tex
index 14e7871..1788a74 100644
--- a/labs/sysdev-buildroot/sysdev-buildroot.tex
+++ b/labs/sysdev-buildroot/sysdev-buildroot.tex
@@ -168,7 +168,7 @@ a new \code{nfsroot} directory that is going to hold our system,
 exported over NFS. Go into this directory, and untar the rootfs using:
 
 \begin{verbatim}
-sudo tar xvf ../buildroot-2014.11/output/images/rootfs.tar
+sudo tar xvf ../buildroot-2016.02/output/images/rootfs.tar
 \end{verbatim}
 
 Add our \code{nfsroot} directory to the list of directories exported
diff --git a/labs/sysdev-thirdparty/sysdev-thirdparty.tex b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
index d9cfe1c..578d501 100644
--- a/labs/sysdev-thirdparty/sysdev-thirdparty.tex
+++ b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
@@ -121,12 +121,12 @@ Make your board boot from this new directory through NFS.
 
 \code{alsa-lib} is a library supposed to handle the interaction with
 the ALSA subsystem. It is available at
-\url{http://alsa-project.org}. Download version 1.0.28, and extract it
+\url{http://alsa-project.org}. Download version 1.1.0, and extract it
 in \code{$HOME/embedded-linux-labs/thirdparty/}.
 
 By looking at the \code{configure} script, we see that it has
 been generated by \code{autoconf} (the header contains a
-sentence like {\em Generated by GNU Autoconf 2.62}). Most of the time,
+sentence like {\em Generated by GNU Autoconf 2.69}). Most of the time,
 \code{autoconf} comes with \code{automake}, that generates Makefiles
 from \code{Makefile.am} files. So alsa-lib uses a rather common build
 system. Let's try to configure and build it:
@@ -155,7 +155,7 @@ Quickly, you should get an error saying:
 
 \footnotesize
 \begin{verbatim}
-checking whether we are cross compiling... configure: error: in `.../thirdparty/alsa-lib-1.0.28':
+checking whether we are cross compiling... configure: error: in `.../thirdparty/alsa-lib-1.1.0':
 configure: error: cannot run C compiled programs.
 If you meant to cross compile, use `--host'.
 See `config.log' for more details
@@ -354,7 +354,7 @@ And we're done with alsa-lib!
 \section{Alsa-utils}
 
 Download alsa-utils from the ALSA offical webpage. We tested the lab
-with version 1.0.28.
+with version 1.1.0.
 
 Once uncompressed, we quickly discover that the alsa-utils build
 system is based on the {\em autotools}, so we will work once again
@@ -618,7 +618,7 @@ Done with {\em libogg}!
 
 \section{libvorbis}
 
-{\em Libvorbis} is the next step. Grab the 1.3.4 version from
+{\em Libvorbis} is the next step. Grab the 1.3.5 version from
 \url{http://xiph.org} and uncompress it.
 
 Once again, the {\em libvorbis} build system is a nice example of what can
diff --git a/labs/sysdev-toolchain/sysdev-toolchain.tex b/labs/sysdev-toolchain/sysdev-toolchain.tex
index 78e7d49..06c8168 100644
--- a/labs/sysdev-toolchain/sysdev-toolchain.tex
+++ b/labs/sysdev-toolchain/sysdev-toolchain.tex
@@ -112,7 +112,8 @@ In \code{C-library}:
 In \code{Debug facilities}:
 \begin{itemize}
 \item Make sure that \code{gdb}, \code{strace} and \code{ltrace}
-      are enabled. Select the \code{0.5.3} version of \code{ltrace}.
+      are enabled. Select the \code{4.10} version of \code{strace}
+      and the \code{0.7.3} version of \code{ltrace}.
 \item Remove the remaining options (\code{dmalloc} and \code{duma}).
 \item In \code{gdb} options, make sure that the \code{Cross-gdb} and
       \code{Build a static gdbserver} options are enabled; the other




More information about the training-materials-updates mailing list