Add load address to echo messages to boot.cmd.xen u-boot boot script.
This provides more detailed print messages during boot so user can do
self debug if images overlaps resulting in boot failures.

Signed-off-by: Sandeep Gundlupet Raju <[email protected]>
---
 .../recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.xen       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.xen 
b/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.xen
index 25e5842c..929f66f1 100644
--- a/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.xen
+++ b/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.xen
@@ -29,23 +29,23 @@ do
                fi
                echo "Checking for /${xen_name}"
                if test -e ${devtype} ${devnum}:${distro_bootpart} 
/${xen_name}; then
-                       echo "Loading ${xen_name}";
+                       echo "Loading ${xen_name} at @@XEN_LOAD_ADDRESS@@";
                        fatload ${devtype} ${devnum}:${distro_bootpart} 
@@XEN_LOAD_ADDRESS@@ ${xen_name};
                fi
                echo "Checking for /${kernel_name}"
                if test -e ${devtype} ${devnum}:${distro_bootpart} 
/${kernel_name}; then
-                       echo "Loading ${kernel_name}";
+                       echo "Loading ${kernel_name} at 
@@KERNEL_LOAD_ADDRESS@@";
                        fatload ${devtype} ${devnum}:${distro_bootpart} 
@@KERNEL_LOAD_ADDRESS@@ ${kernel_name};
                        setenv kernel_size 0x$filesize;
                fi
                echo "Checking for /system.dtb"
                if test -e ${devtype} ${devnum}:${distro_bootpart} /system.dtb; 
then
-                       echo "Loading system.dtb";
+                       echo "Loading system.dtb at @@DEVICETREE_ADDRESS@@";
                        fatload ${devtype} ${devnum}:${distro_bootpart} 
@@DEVICETREE_ADDRESS@@ system.dtb;
                fi
                echo "Checking for /${rootfs_name}"
                if test -e ${devtype} ${devnum}:${distro_bootpart} 
/${rootfs_name} && test "${skip_ramdisk}" != "yes"; then
-                       echo "Loading ${rootfs_name}";
+                       echo "Loading ${rootfs_name} at 
@@RAMDISK_IMAGE_ADDRESS@@";
                        fatload ${devtype} ${devnum}:${distro_bootpart} 
@@RAMDISK_IMAGE_ADDRESS@@ ${rootfs_name};
                        setenv ramdisk_size 0x$filesize;
                fi
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8982): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8982
Mute This Topic: https://lists.yoctoproject.org/mt/109660029/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to