[bootlin/training-materials updates] master: Boot time labs: fix bootloader instructions (db78e772)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu May 23 17:32:08 CEST 2019


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/db78e7722dc78ea83167a0277be7f8154c5adef8

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

commit db78e7722dc78ea83167a0277be7f8154c5adef8
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu May 23 17:32:08 2019 +0200

    Boot time labs: fix bootloader instructions
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

db78e7722dc78ea83167a0277be7f8154c5adef8
 labs/boot-time-build-bootloader/boot-time-build-bootloader.tex | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/labs/boot-time-build-bootloader/boot-time-build-bootloader.tex b/labs/boot-time-build-bootloader/boot-time-build-bootloader.tex
index 372f5f14..5783500a 100644
--- a/labs/boot-time-build-bootloader/boot-time-build-bootloader.tex
+++ b/labs/boot-time-build-bootloader/boot-time-build-bootloader.tex
@@ -89,12 +89,15 @@ fatls mmc 1
 \end{verbatim}
 
 You should see the \code{MLO} file in the list of files. Let's remove it
-by issuing the below command:
+by issuing the below command (erasing the first 1MiB on the eMMC):
 
 \begin{verbatim}
-fatwrite mmc 1 81000000 100000
+mmc dev 1
+mmc erase 0 100000
 \end{verbatim}
 
+You can now see that \code{fatls mmc 1} no longer sees any file.
+
 If your board doesn't boot at all, please fix it first using our instructions
 on
 \url{https://raw.githubusercontent.com/bootlin/training-materials/master/lab-data/common/bootloader/beaglebone-black/README.txt}.




More information about the training-materials-updates mailing list