[bootlin/training-materials updates] master: labs/sysdev-block-filesystems-stm32: load kernel and DTB from SD card too (50c751e1)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Oct 24 11:01:04 CEST 2022


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

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

commit 50c751e1fe9a40cf065b46d4208ce2b9c3bd071a
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Oct 24 11:01:04 2022 +0200

    labs/sysdev-block-filesystems-stm32: load kernel and DTB from SD card too
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

50c751e1fe9a40cf065b46d4208ce2b9c3bd071a
 .../sysdev-block-filesystems-stm32.tex                     | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/labs/sysdev-block-filesystems-stm32/sysdev-block-filesystems-stm32.tex b/labs/sysdev-block-filesystems-stm32/sysdev-block-filesystems-stm32.tex
index 25008868..426a6622 100644
--- a/labs/sysdev-block-filesystems-stm32/sysdev-block-filesystems-stm32.tex
+++ b/labs/sysdev-block-filesystems-stm32/sysdev-block-filesystems-stm32.tex
@@ -133,4 +133,16 @@ initialized before trying to mount the root filesystem. Since the SD
 cards are detected asynchronously by the kernel, the kernel might try
 to mount the root filesystem too early without \code{rootwait}.
 
-Check that your system still works. Congratulations if it does!
+Check that your system still works.
+
+\section{Loading the kernel and DTB from the SD card}
+
+Last but not least, check \code{bootcmd} in U-Boot and make sure
+the kernel and DTB binaries are loaded from the SD card. You may
+be currently using \code{tftp} for convenience reasons.
+
+This way, the whole system (bootloader, kernel and filesystems) is
+stored on the SD card. That's very useful for product demos, for
+examples. You can switch demos by switching SD cards, and the
+system depends on nothing else. In particular, no networking is
+necessary.




More information about the training-materials-updates mailing list