[bootlin/training-materials updates] master: U-Boot lab simplifications (6d740285)
Michael Opdenacker
michael.opdenacker at bootlin.com
Tue May 26 18:56:11 CEST 2020
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/6d740285a05ad1383f117c63f4ba731c549a8d9d
>---------------------------------------------------------------
commit 6d740285a05ad1383f117c63f4ba731c549a8d9d
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Tue May 26 18:56:11 2020 +0200
U-Boot lab simplifications
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
6d740285a05ad1383f117c63f4ba731c549a8d9d
labs/sysdev-u-boot/sysdev-u-boot.tex | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index 4993a83d..047c7d56 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -178,13 +178,13 @@ Getting back to the \code{bootloader} directory, use \code{sam-ba} to erase
NAND flash before writing images to it:
\begin{verbatim}
-./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -t 5 -a nandflash -c erase
+./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -a nandflash -c erase
\end{verbatim}
Then flash the at91bootstrap binary:
\begin{verbatim}
-./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -t 5 -a nandflash \
+./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -a nandflash \
-c writeboot:at91bootstrap/binaries/boot.bin
\end{verbatim}
@@ -194,8 +194,8 @@ Get U-Boot sources:
\begin{verbatim}
git clone https://gitlab.denx.de/u-boot/u-boot
-git checkout v2020.04
cd u-boot
+git checkout v2020.04
\end{verbatim}
More recent versions may also work, but we have not tested them.
@@ -254,7 +254,7 @@ Back to the \code{bootloader} directory, now use \code{sam-ba} to flash the
U-Boot binary at offset \code{0x40000}:
\begin{verbatim}
-./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -t 5 -a nandflash \
+./sam-ba_3.3.1/sam-ba -p serial -b sama5d3-xplained -a nandflash \
-c write:u-boot/u-boot.bin:0x40000
\end{verbatim}
@@ -336,11 +336,6 @@ To make these settings permanent, save the environment:
saveenv
\end{verbatim}
-Now reset your board\footnote{Resetting your board is needed to
-make your \code{ethaddr} permanent, for obscure reasons. If you
-don't, U-boot will complain that \code{ethaddr} is not
-set.}.
-
You can then test the TFTP connection. First, put a small text file in
the directory exported through TFTP on your development
workstation. Then, from U-Boot, do:
More information about the training-materials-updates
mailing list