diff options
authorOleksandr Suvorov <>2020-12-03 22:13:16 +0200
committerMax Krummenacher <>2020-12-10 15:44:08 +0100
commite06c552ef433689b12caef0bf1f589d0cab180f9 (patch)
parent7c39ebe534e6d95e3fc72bb17434c71be2d61bb5 (diff)
u-boot: boot.cmd: add boot information
It is useful to see which devicetree file u-boot loads to boot kernel with. Print this information. Signed-off-by: Oleksandr Suvorov <> (cherry picked from commit 85b545d926f67972a4ab2a30da498392cd1092b3)
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-distro-boot/ b/recipes-bsp/u-boot/u-boot-distro-boot/
index aa63f68..56998ec 100644
--- a/recipes-bsp/u-boot/u-boot-distro-boot/
+++ b/recipes-bsp/u-boot/u-boot-distro-boot/
@@ -78,7 +78,7 @@ fi
# Set dynamic commands
env set set_bootcmd_kernel 'env set bootcmd_kernel "${load_cmd} \\${kernel_addr_load} \\${kernel_image}"'
-env set set_bootcmd_dtb 'env set bootcmd_dtb "${load_cmd} \\${fdt_addr_r} \\${fdtfile}"'
+env set set_bootcmd_dtb 'env set bootcmd_dtb "echo Loading DeviceTree: \\${fdtfile}; ${load_cmd} \\${fdt_addr_r} \\${fdtfile}"'
env set set_load_overlays_file 'env set load_overlays_file "${load_cmd} \\${loadaddr} \\${overlays_file}; env import -t \\${loadaddr} \\${filesize}"'
env set set_apply_overlays 'env set apply_overlays "for overlay_file in \\${fdt_overlays}; do echo Applying Overlay: \\${overlay_file} && ${load_cmd} \\${loadaddr} \\${overlays_prefix}\\${overlay_file} && fdt apply \\${loadaddr}; env set overlay_file; done; true"'