[bootlin/training-materials updates] master: Block lab: add details for last part (f6aaaa6f)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Jun 24 18:35:48 CEST 2020

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


commit f6aaaa6f387c798edaeb663a09c062887198a751
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Jun 24 18:35:48 2020 +0200

    Block lab: add details for last part
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 labs/sysdev-block-filesystems/sysdev-block-filesystems.tex | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex b/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex
index 69798b5f..2dab6be0 100644
--- a/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -224,7 +224,16 @@ The ROM code can load the first stage bootloader from an MMC or SD
 card, from a file named \code{boot.bin} located in the first FAT
 partition. U-Boot will be stored as \code{u-boot.bin}.
-For this you will need to recompile \code{at91bootstrap}
+First, copy your U-Boot environment settings
+(\code{bootargs} and \code{bootcmd}) from the environment in NAND
+flash to a text file, so that you will be able to restore then
+on the new environment that will be stored in the FAT partition.
+So, recompile \code{at91bootstrap}
 to support booting from an SD card.
 Then recompile U-Boot after reconfiguring it with its MMC configuration
 (we previously used the configuration for running from NAND flash).
+Restore \code{bootargs} and \code{bootcmd} as defined previously
+and test that you're booting with the bootstrap and bootloader
+that you've just compiled.

More information about the training-materials-updates mailing list