[bootlin/training-materials updates] master: Update Thirdparty and Buildroot labs for QEMU (536b29a1)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Jun 24 19:46:30 CEST 2020


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/536b29a141ba1e011bbcc448e9849da4e80b9988

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

commit 536b29a141ba1e011bbcc448e9849da4e80b9988
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Jun 24 19:46:30 2020 +0200

    Update Thirdparty and Buildroot labs for QEMU
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

536b29a141ba1e011bbcc448e9849da4e80b9988
 labs/sysdev-buildroot/sysdev-buildroot.tex   | 25 ++++++++++++++++++++++---
 labs/sysdev-thirdparty/sysdev-thirdparty.tex |  7 +++++++
 2 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/labs/sysdev-buildroot/sysdev-buildroot.tex b/labs/sysdev-buildroot/sysdev-buildroot.tex
index fac3e948..d925dc90 100644
--- a/labs/sysdev-buildroot/sysdev-buildroot.tex
+++ b/labs/sysdev-buildroot/sysdev-buildroot.tex
@@ -72,14 +72,23 @@ button whenever you need more details about a given option:
   \ifdefstring{\labboard}{discovery}{
   \item \code{Target Architecture Variant}: \code{cortex-A7}
   }{
-  \item \code{Target Architecture Variant}: \code{cortex-A5}
-  \item \code{Enable VFP extension support}: Enabled
+   \ifdefstring{\labboard}{qemu}{
+   \item \code{Target Architecture Variant}: \code{cortex-A9}
+   \item \code{Enable NEON SIMD extension support}: Enabled
+   }{
+   \item \code{Target Architecture Variant}: \code{cortex-A5}
+   }
+   \item \code{Enable VFP extension support}: Enabled
   }
   \item \code{Target ABI}: \code{EABIhf}
   \ifdefstring{\labboard}{discovery}{
   \item \code{Floating point strategy}: \code{VFPv4}
   }{
-  \item \code{Floating point strategy}: \code{VFPv4-D16}
+   \ifdefstring{\labboard}{qemu}{
+   \item \code{Floating point strategy}: \code{VFPv3-D16}
+   }{
+   \item \code{Floating point strategy}: \code{VFPv4-D16}
+   }
   }
   \end{itemize}
 \item \code{Toolchain}
@@ -109,6 +118,10 @@ button whenever you need more details about a given option:
     \begin{itemize}
          \item Select \code{alsactl}
          \item Select \code{alsamixer}
+         \ifdefstring{\labboard}{qemu}{
+            \item Select \code{aplay} (to play a WAV file as long as the
+                  OGG file doesn't play properly).
+         }{}
      \end{itemize}
     \item Select \code{vorbis-tools}
     \end{itemize}
@@ -187,6 +200,12 @@ Boot the board, and log in (\code{root} account, no password).
 You should now have a shell, where you will be able to run
 \code{ogg123} like you used to in the previous lab.
 
+\ifdefstring{\labboard}{qemu}
+{{\bf Known issue}: as in the previous lab, the \code{sample.ogg} sample
+may play in a weird way in QEMU. To have a correct result instead, use \code{aplay}
+to play the \code{sample.wav} file provided together with \code{sample.ogg}.}
+{}
+
 \section{Going further}
 
 \begin{itemize}
diff --git a/labs/sysdev-thirdparty/sysdev-thirdparty.tex b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
index 3a30fd11..1f28d433 100644
--- a/labs/sysdev-thirdparty/sysdev-thirdparty.tex
+++ b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
@@ -977,6 +977,13 @@ link under \code{target/lib} and run \code{ogg123} again.
 
 Everything should work fine now. Enjoy the sound sample!
 
+\ifdefstring{\labboard}{qemu}
+{{\bf Known issue}: the \code{sample.ogg} sample will play in a weird way
+in QEMU (too slow, apparently, we haven't found any solution yet). To have a
+correct result instead, use the \code{aplay} command from alsa-utils, and play the
+\code{sample.wav} file provided together with \code{sample.ogg}.}
+{}
+
 To finish this lab completely, and to be consistent with what we've done before,
 let's strip the libraries in \code{target/lib}:
 




More information about the training-materials-updates mailing list