summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-12-03 22:13:16 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-12-10 15:44:08 +0100
commite06c552ef433689b12caef0bf1f589d0cab180f9 (patch)
tree2c46a0fbb0b4580d3c782ec8f4fa8bf27d78b5bb
parent7c39ebe534e6d95e3fc72bb17434c71be2d61bb5 (diff)
u-boot: boot.cmd: add boot informationHEADmaster
It is useful to see which devicetree file u-boot loads to boot kernel with. Print this information. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 85b545d926f67972a4ab2a30da498392cd1092b3)
-rw-r--r--recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in b/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in
index aa63f68..56998ec 100644
--- a/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in
+++ b/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in
@@ -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"'