[FE training-materials-updates] Embedded Linux kernel lab updates

Michael Opdenacker michael.opdenacker at free-electrons.com
Wed Dec 3 11:52:49 CET 2014


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

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

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

commit d61b1387a7111fb6f52c3433e0114321062347ba
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Wed Dec 3 11:48:20 2014 +0100

    Embedded Linux kernel lab updates
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


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

d61b1387a7111fb6f52c3433e0114321062347ba
 .../sysdev-kernel-cross-compiling.tex              | 32 +++++-----------------
 1 file changed, 7 insertions(+), 25 deletions(-)

diff --git a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
index 77939f2..6420253 100644
--- a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
+++ b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
@@ -78,38 +78,20 @@ the kernel image. You can also see the Device Tree \code{.dtb} files
 which got compiled. Find which \code{.dtb} file corresponds to your
 board.
 
-\section{Setting up serial communication with the board}
-
-Plug the Xplained board on your computer. Start Picocom on
-\code{/dev/ttyS0}, or on \code{/dev/ttyUSB0} if you are using a serial
-to USB adapter.
-
-You should now see the U-Boot prompt:
-
-\begin{verbatim}
-U-Boot #
-\end{verbatim}
-
-Make sure that the bootargs U-Boot environment variable is not set (it
-could remain from a previous training session, and this could disturb
-the next lab):
-
-\begin{verbatim}
-setenv bootargs
-saveenv
-\end{verbatim}
+Copy the linux kernel image and DTB files to the TFTP server 
+home directory.
 
 \section{Load and boot the kernel using U-Boot}
 
-We will use TFTP to load the kernel image to the Xplained board:
+We will use TFTP to load the kernel image on the Xplained board:
 
 \begin{itemize}
 
 \item On your workstation, copy the \code{zImage} and DTB files to the
   directory exposed by the TFTP server.
 
-\item On the target, load \code{zImage} from TFTP into RAM at address
-  0x21000000:\\
+\item On the target (in the U-Boot prompt), load \code{zImage} from
+  TFTP into RAM at address 0x21000000:\\
   \code{tftp 0x21000000 zImage}
 
 \item Now, also load the DTB file into RAM at address 0x22000000:\\
@@ -184,8 +166,8 @@ bootz 0x21000000 - 0x22000000
 
 Write a U-Boot script that automates the DTB + kernel download
 and flashing procedure. Finally, adjust \code{bootcmd} so that
-the Xplained board boots using the kernel in Flash.
+the Xplained board boots using the kernel in flash.
 
-Now, power off the board and power it on again to check that it boots
+Now, reset the board to check that it boots
 fine from NAND flash. Check that this is really your own version of
 the kernel that's running.



More information about the training-materials-updates mailing list