[bootlin/training-materials updates] master: Minor real-time lab updates (d064488c)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu May 14 20:19:33 CEST 2020


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

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

commit d064488c66f9310237a3ff46872ef44df97bdb11
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu May 14 20:19:33 2020 +0200

    Minor real-time lab updates
    
    - Remove the interrupt latency test at the end
      that we don't properly explain anything.
    
    - Minor other improvements
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

d064488c66f9310237a3ff46872ef44df97bdb11
 labs/sysdev-real-time/sysdev-real-time.tex | 28 +++++++++-------------------
 1 file changed, 9 insertions(+), 19 deletions(-)

diff --git a/labs/sysdev-real-time/sysdev-real-time.tex b/labs/sysdev-real-time/sysdev-real-time.tex
index 412cd287..f238f35e 100644
--- a/labs/sysdev-real-time/sysdev-real-time.tex
+++ b/labs/sysdev-real-time/sysdev-real-time.tex
@@ -63,10 +63,7 @@ menuconfig} to find parameters by their name:
    \item In \code{Networking applications}, enable \code{netcat}
    \item In \code{Real-Time}, enable \code{Xenomai Userspace}:
          \begin{itemize}
-         \item Enable \code{Install testsuite}
-	 \item Make sure that \code{POSIX skin library} and
-	       \code{Native skin library}\footnote{Needed by
-	       the Xenomai testsuite.} are enabled.
+	 \item Make sure that \code{POSIX skin library} is enabled.
 	 \end{itemize}
    \end{itemize}
 \end{itemize}
@@ -136,9 +133,9 @@ toolchain that Buildroot used.
 
 Let's configure our \code{PATH} to use this toolchain:
 
-\scriptsize
+\small
 \begin{verbatim}
-export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-YYYY.MM/output/host/usr/bin:$PATH
+export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2016.02/output/host/usr/bin:$PATH
 \end{verbatim}
 \normalsize
 
@@ -206,7 +203,9 @@ improvement in the maximum latency.
 
 Stay in \code{$HOME/__SESSION_NAME__-labs/realtime}.
 
-Download the 2.6.4 release of Xenomai (that's what our version of
+Download the 2.6.4 release of Xenomai from
+\url{https://xenomai.org/downloads/xenomai/stable/}
+(that's what our version of
 Buildroot supports by default), and extract it.
 
 As you can see in the \code{ksrc/arch/arm/patches} directory,
@@ -246,16 +245,16 @@ So go in your Buildroot source directory, and force Buildroot to build
 the host variant of {\em pkg-config}:
 
 \begin{verbatim}
-cd $HOME/__SESSION_NAME__-labs/realtime/buildroot-YYYY.MM/
+cd $HOME/__SESSION_NAME__-labs/realtime/buildroot-2016.02/
 make host-pkgconf
 \end{verbatim}
 
 We can now compile \code{rttest} for the Xenomai POSIX skin:
 
-\scriptsize
+\small
 \begin{verbatim}
 cd $HOME/__SESSION_NAME__-labs/realtime/nfsroot/root
-export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-YYYY.MM/output/host/usr/bin:$PATH
+export PATH=$HOME/__SESSION_NAME__-labs/realtime/buildroot-2016.02/output/host/usr/bin:$PATH
 arm-none-linux-gnueabi-gcc -o rttest rttest.c \
   $(pkg-config --libs --cflags libxenomai_posix)
 \end{verbatim}
@@ -278,12 +277,3 @@ raw Xenomai results, that could be further improved by doing proper
 calibration of this compensation mechanism.
 
 Run the tests again, compare the results.
-
-\section{Testing Xenomai interrupt latency}
-
-Measure the interrupt latency with and without load, running the
-following command:
-
-\begin{verbatim}
-latency -t 2
-\end{verbatim}




More information about the training-materials-updates mailing list