[FE training-materials-updates] RT lab updates

michael.opdenacker at free-electrons.com michael.opdenacker at free-electrons.com
Tue Jun 26 17:07:27 CEST 2012

- Log -----------------------------------------------------------------

commit da5c7c4c8ea9bdb79f2603438fc929fb9a106f22
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Tue Jun 26 17:07:07 2012 +0200

    RT lab updates

diff --git a/labs/sysdev-real-time/sysdev-real-time.tex b/labs/sysdev-real-time/sysdev-real-time.tex
index 2b417b7..d4bede0 100644
--- a/labs/sysdev-real-time/sysdev-real-time.tex
+++ b/labs/sysdev-real-time/sysdev-real-time.tex
@@ -13,16 +13,25 @@ After this lab, you will:
 Go to the \code{/home/<user>/felabs/realtime/rttest} directory.
-For this lab, you must have compiled a kernel for the IGEP
-board, with the default configuration (named
-\code{igep0020_defconfig}, the generic \code{omap2plus_defconfig}
-didn't exist in, except that you will have to remove the
-libertas wireless modules. Remove the \code{CONFIG_HIGH_RES_TIMERS}
-option, to first test the kernel without high-resolution timers.
+For this lab, download the latest 2.6.35.x kernel sources, which 
+are the most recent ones we tested with Xenomai.
+Configure your kernel with the default configuration for the IGEPv2
+board, (named \code{igep0020_defconfig}, the generic \code{omap2plus_defconfig}
+didn't exist in 2.6.35).
+You can try to run \code{make xconfig}, but you will find that
+it fails because of missing Qt3 headers. To keep things simple, use 
+\code{make menuconfig} instead. 
+In the \code{menuconfig} interface, remove support for the 
+\em{Libertas} wireless modules (\code{CONFIG_LIBERTAS}). 
+For the moment, also remove the \code{CONFIG_HIGH_RES_TIMERS}
+option, to test the kernel without high-resolution timers first.
 Boot the IGEP board by mounting the root filesystem available at
 \code{/home/<user>/felabs/realtime/rttest/nfsroot/} with NFS. Note
-that in, the OMAP serial port were named \code{ttyS}, not
+that in, the OMAP serial ports were named \code{ttyS}, not
 \code{ttyO}, so you must adjust your \code{console=} argument to use
 \code{ttyS2}. As usual, login as \code{root}, there is no password.
@@ -35,10 +44,10 @@ apt-get install netcat
 Download CodeSourcery's 2009q1 toolchain at:
-Choose the {\em IA32 GNU/Linux TAR} version and untar it after the
+Choose the \code{arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2}
+version and untar it after the download.
 Add \code{/home/<user>/felabs/realtime/rttest/arm-2009q1/bin} to your
@@ -47,12 +56,12 @@ We are using a CodeSourcery toolchain because it uses the {\em glibc}
 as its C library, and {\em glibc} has better support for the POSIX RT
 API than {\em uClibc}. In our case, when we created this lab, uClibc
 didn't support the \code{clock_nanosleep} function used in our
-rttest.c program. {\em uClibc} also does not support priority
+\code{rttest.c} program. {\em uClibc} also does not support priority
 inheritance on mutexes.
 \section{Using high-resolution timers}
-Have a look at the \code{rttest.c} source file available in root/ in
+Have a look at the \code{rttest.c} source file available in \code{root/} in
 the \code{nfsroot/} directory. See how it shows the resolution of the
 \code{CLOCK_MONOTONIC} clock.


commit b3871823259ebf4ae8dab0a38c2a696d1c9557c2
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Tue Jun 26 16:00:21 2012 +0200

    Remove the ethaddr setting instructions

diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index 1396b4f..00de3b2 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -399,12 +399,6 @@ copy a kernel to RAM:
 setenv autostart no
-In case it is not set yet, you may also need to configure the MAC address for the board:
-setenv ethaddr 01:02:03:04:05:06
 To make these settings permanent, save the environment:


Summary of changes:
 labs/sysdev-real-time/sysdev-real-time.tex |   33 ++++++++++++++++++----------
 labs/sysdev-u-boot/sysdev-u-boot.tex       |    6 -----
 2 files changed, 21 insertions(+), 18 deletions(-)

More information about the training-materials-updates mailing list