[FE training-materials-updates] Misc other bootloader related updates

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed May 29 14:39:25 CEST 2013


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

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

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

commit 9b899c0a9c2394aedf01ad2e2dfb2ddf4b3a8d56
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Wed May 29 14:38:56 2013 +0200

    Misc other bootloader related updates
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


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

9b899c0a9c2394aedf01ad2e2dfb2ddf4b3a8d56
 .../sysdev-bootloaders-lab.tex                     |    2 +-
 .../sysdev-bootloaders-u-boot.tex                  |   39 ++++++++++----------
 2 files changed, 21 insertions(+), 20 deletions(-)

diff --git a/slides/sysdev-bootloaders-lab/sysdev-bootloaders-lab.tex b/slides/sysdev-bootloaders-lab/sysdev-bootloaders-lab.tex
index 8e21296..ea45207 100644
--- a/slides/sysdev-bootloaders-lab/sysdev-bootloaders-lab.tex
+++ b/slides/sysdev-bootloaders-lab/sysdev-bootloaders-lab.tex
@@ -4,7 +4,7 @@
   Time to start the practical lab!
   \begin{itemize}
   \item Communicate with the board using a serial console
-  \item Configure, build and install {\em X-Loader} and {\em U-Boot}
+  \item Configure, build and install {\em U-Boot}
   \item Learn {\em U-Boot} commands
   \item Set up {\em TFTP} communication with the board
   \end{itemize}
diff --git a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
index 216075a..575d401 100644
--- a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
+++ b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
@@ -30,13 +30,12 @@
       memory mapping, the U-Boot features that should be compiled in, etc.
     \item It is a simple \code{.h} file that sets C pre-processor
       constants. See the \code{README} file for the documentation of
-      these constants.
+      these constants. This file can also be adjusted to add or remove
+      features from U-Boot (commands, etc.).
     \end{itemize}
   \item Assuming that your board is already supported by U-Boot, there
-    should be one file corresponding to your board, for example
-    \code{include/configs/igep0020.h}
-  \item This file can also be adjusted to add or remove features from
-    U-Boot
+    should be one entry corresponding to your board in the
+    \code{boards.cfg} file.
   \end{itemize}
 \end{frame}
 
@@ -91,16 +90,17 @@
   \item U-Boot must be configured before being compiled
     \begin{itemize}
     \item \code{make BOARDNAME_config}
-    \item Where \code{BOARDNAME} is usually the name of the
-      configuration file in \code{include/configs/}, without 
-      \code{.h}
+    \item Where \code{BOARDNAME} is the name of the board, as visible
+      in the \code{boards.cfg} file (first column).
     \end{itemize}
   \item Make sure that the cross-compiler is available in \code{PATH}
   \item Compile U-Boot, by specifying the cross-compiler prefix.\\
     Example, if your cross-compiler executable is \code{arm-linux-gcc}:\\
     \code{make CROSS_COMPILE=arm-linux-}
-  \item The result is a \code{u-boot.bin} file, which is the U-Boot
-    image
+  \item The main result is a \code{u-boot.bin} file, which is the
+    U-Boot image. Depending on your specific platform, there may be
+    other specialized images: \code{u-boot.img}, \code{u-boot.kwb},
+    \code{MLO}, etc.
   \end{itemize}
 \end{frame}
 
@@ -137,16 +137,17 @@
   \end{itemize}
 \scriptsize
 \begin{verbatim}
-U-Boot 2011.12 (May 04 2012 - 10:31:05)
+U-Boot 2013.04 (May 29 2013 - 10:30:21)
+
 OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
-IGEP v2 board + LPDDR/ONENAND
+IGEPv2 + LPDDR/NAND
 I2C:   ready
 DRAM:  512 MiB
 NAND:  512 MiB
 MMC:   OMAP SD/MMC: 0
-[...]
+
+Die ID #255000029ff800000168580212029011
 Net:   smc911x-0
-Hit any key to stop autoboot:  0
 U-Boot #
 \end{verbatim}
 \normalsize
@@ -175,16 +176,16 @@ Area 2: C0004000 to C0041FFF (RO) U-Boot
   {\bf NAND flash information}
 \begin{verbatim}
 U-Boot> nand info
-Device 0: NAND 256MiB 3,3V 8-bit, sector size 128 KiB
+Device 0: nand0, sector size 128 KiB
+  Page size      2048 b
+  OOB size         64 b
+  Erase size   131072 b
 \end{verbatim}
   {\bf Version details}
 \begin{verbatim}
 U-Boot> version
-U-Boot 2009.08 (Nov 15 2009 - 14:48:35)
+U-Boot 2013.04 (May 29 2013 - 10:30:21)
 \end{verbatim}
-\normalsize
-Those details will vary from one board to the other (according to the
-U-Boot configuration and hardware devices)
 \end{frame}
 
 \begin{frame}



More information about the training-materials-updates mailing list