summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Vicky Vykuntapu <johnvicky.vykuntapu@amd.com>2024-03-21 11:23:18 +0530
committerMark Hatle <mark.hatle@amd.com>2024-03-25 10:23:59 -0500
commitc5a28bdc38dd110c377e1750bf8f92ed8040cf71 (patch)
treeeb2e8f488264ffa1fa495ce75cc7917d6ced3915
parentbecdcc140559e48638771e7ba54099793aa401ea (diff)
downloadmeta-xilinx-c5a28bdc38dd110c377e1750bf8f92ed8040cf71.tar.gz
boot.cmd.ubifs: Fix in boot.scr for vck5000
Due to recent u-boot changes wrt boot_cmd, booti command is taking input as booti 0x00200000 - 0x00001000, and ramdisk address offset is missing in u-boot. So, added JTAG boot mode support in boot script to support jtag boot target, When user wants to debug/boot vck5000 wrt to jtag boot mode. Signed-off-by: John Vicky Vykuntapu <johnvicky.vykuntapu@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.ubifs4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.ubifs b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.ubifs
index dca974ab..fde094cf 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.ubifs
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.ubifs
@@ -7,6 +7,10 @@
7 7
8for boot_target in ${boot_targets}; 8for boot_target in ${boot_targets};
9do 9do
10 echo "Trying to load boot images from ${boot_target}"
11 if test "${boot_target}" = "jtag" ; then
12 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@
13 fi
10 if test "${boot_target}" = "xspi0" || test "${boot_target}" = "qspi" || test "${boot_target}" = "qspi0"; then 14 if test "${boot_target}" = "xspi0" || test "${boot_target}" = "qspi" || test "${boot_target}" = "qspi0"; then
11 ubifsls @@FIT_IMAGE@@ 15 ubifsls @@FIT_IMAGE@@
12 if test $? = 0; then 16 if test $? = 0; then