[FE training-materials-updates] Android labs: add instructions to flash U-boot

Michael Opdenacker michael.opdenacker at free-electrons.com
Thu Feb 6 06:23:55 CET 2014


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

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

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

commit 82cbbb6d54f64495b414fc416bfd9b1d1e8b92bf
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Thu Feb 6 06:22:50 2014 +0100

    Android labs: add instructions to flash U-boot
    
    - Useful for people taking the course by themselves
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


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

82cbbb6d54f64495b414fc416bfd9b1d1e8b92bf
 labs/android-new-board/android-new-board.tex   |   27 +++++++++++++++++++++++-
 labs/kernel-board-setup/kernel-board-setup.tex |    2 +-
 2 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/labs/android-new-board/android-new-board.tex b/labs/android-new-board/android-new-board.tex
index 96a53f8..4c24025 100644
--- a/labs/android-new-board/android-new-board.tex
+++ b/labs/android-new-board/android-new-board.tex
@@ -138,6 +138,31 @@ communication on \code{/dev/ttyUSB0}, with a baudrate of 115200. If
 you wish to exit \code{picocom}, press \code{[Ctrl][a]} followed by
 \code{[Ctrl][x]}.
 
+You should then be able to access the serial console.
+
+\section{Bootloader interaction}
+
+Reset your board. Press a key in the \code{picocom} terminal to stop the
+U-boot countdown. You should then see the U-Boot prompt:
+\begin{verbatim}
+U-Boot>
+\end{verbatim}
+
+You can now use U-Boot. Run the \code{help} command to see the available
+commands.
+
+Using the \code{version} command, make sure that you have at least
+version \code{2013.10}.
+\footnote{This will be needed to use the \code{saveenv} command to
+save your U-Boot environment settings to the boards' eMMC storage.
+Some earlier versions do not support this.}
+
+If you are doing these labs on your own (i.e. without participating to a
+Free Electrons course), we ask you to install the U-Boot binary
+that we compiled and tested. See the
+\code{$HOME/felabs/linux/bootloader/beaglebone-black/README.txt}
+file for a simple way to do this.
+
 \section{Load the kernel from TFTP}
 
 Later on, we will transfer files from the development workstation to
@@ -213,7 +238,7 @@ Now switch your board off and on again\footnote{Power cycling your
   reasons. If you don't, U-boot will complain that \code{ethaddr} is not
   set.}.
 
-You can then test the TFTP connection. \code{tftpd} stores the files
+You can then test the TFTP connection. \code{tftpd-hpa} stores the files
 it serves in the \code{/var/lib/tftpboot} directory on your
 workstation. So first, put a small text file in this directory and
 then, from U-Boot, do:
diff --git a/labs/kernel-board-setup/kernel-board-setup.tex b/labs/kernel-board-setup/kernel-board-setup.tex
index 239ad5c..d77373f 100644
--- a/labs/kernel-board-setup/kernel-board-setup.tex
+++ b/labs/kernel-board-setup/kernel-board-setup.tex
@@ -118,7 +118,7 @@ save your U-Boot environment settings to the boards' eMMC storage.
 Some earlier versions do not support this.} 
 
 If you are doing these labs on your own (i.e. without participating to a Free Electrons
-course), we recommend to install the U-Boot binary that we compiled and
+course), we ask you to install the U-Boot binary that we compiled and
 tested. See the \code{$HOME/felabs/linux/bootloader/beaglebone-black/README.txt}
 file for a simple way to do this.
 



More information about the training-materials-updates mailing list