[bootlin/training-materials updates] master: slides/sysdev-bootloaders-u-boot: use better addresses for loading Linux and DTB (82890d87)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Mar 6 16:45:17 CET 2023


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

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

commit 82890d872639b4ab95de05aadc75e25da32ca350
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Mar 6 16:45:17 2023 +0100

    slides/sysdev-bootloaders-u-boot: use better addresses for loading Linux and DTB
    
    See https://bootlin.com/blog/boot-time-choose-your-kernel-loading-address-carefully/
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

82890d872639b4ab95de05aadc75e25da32ca350
 .../sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
index f9acf7b7..d66e69d4 100644
--- a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
+++ b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
@@ -800,10 +800,10 @@ STM32MP> ls mmc 0:4 /boot
           117969 stm32mp157c-dk2.dtb
          7538376 zImage
 
-STM32MP> load mmc 0:4 c0100000 /boot/zImage
+STM32MP> load mmc 0:4 c2000000 /boot/zImage
 7538376 bytes read in 463 ms (15.5 MiB/s)
 
-STM32MP> load mmc 0:4 c0000000 /boot/stm32mp157c-dk2.dtb
+STM32MP> load mmc 0:4 c4000000 /boot/stm32mp157c-dk2.dtb
 117969 bytes read in 148 ms (778.3 KiB/s)
 \end{verbatim}
     }
@@ -814,10 +814,10 @@ STM32MP> load mmc 0:4 c0000000 /boot/stm32mp157c-dk2.dtb
 \begin{verbatim}
 STM32MP> setenv bootargs root=/dev/mmcblk0p4 rootwait
 
-STM32MP> bootz c0100000 - c0000000
-Kernel image @ 0xc0100000 [ 0x000000 - 0x7306c8 ]
-## Flattened Device Tree blob at c0000000
-   Booting using the fdt blob at 0xc0000000
+STM32MP> bootz c2000000 - c4000000
+Kernel image @ 0xc2000000 [ 0x000000 - 0x7306c8 ]
+## Flattened Device Tree blob at c4000000
+   Booting using the fdt blob at 0xc4000000
    Loading Device Tree to cffe0000, end cffffcd0 ... OK
 [...]
 \end{verbatim}




More information about the training-materials-updates mailing list