summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-10-28 18:15:24 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-11-23 19:59:12 +0100
commitfb21bc11c72296a69f85d0e37b9af0c27d2f8f26 (patch)
tree1e39b44d2a542060ba0bd0d922cf256eef7a395e
parent450997ed2268bd0af7cf8bfbf5a8a9cfbdfcb977 (diff)
boot.cmd.in: print final bootargs before handover to kernel
Print final bootargs value before jumping to the kernel. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> (cherry picked from commit 2f24c19e985259b64c556e8712033f8cef1ededb)
-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 feca2e0..84268a1 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
@@ -80,7 +80,7 @@ fi
env set bootcmd_args 'run rootfsargs_set && env set bootargs ${defargs} ${rootfsargs} ${setupargs} ${vidargs} ${tdxargs}'
env set fdt_resize 'fdt addr ${fdt_addr_r} && fdt resize 0x20000'
env set bootcmd_overlays 'run load_overlays_file && run fdt_resize && run apply_overlays'
-env set bootcmd_boot '@@KERNEL_BOOTCMD@@ ${kernel_addr_r} - ${fdt_addr_r}'
+env set bootcmd_boot 'echo "Bootargs: \${bootargs}" && @@KERNEL_BOOTCMD@@ ${kernel_addr_r} - ${fdt_addr_r}'
env set bootcmd_prepare 'run set_bootcmd_kernel; run set_bootcmd_dtb; run set_load_overlays_file; run set_apply_overlays'
env set bootcmd_run 'run m4boot; run bootcmd_dtb && run bootcmd_overlays && run bootcmd_args && run bootcmd_kernel && run bootcmd_unzip && run bootcmd_boot; echo "Booting from ${devtype} failed!" && false'