summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSwagath Gadde <swagath.gadde@amd.com>2024-07-24 16:37:14 +0530
committerMark Hatle <mark.hatle@amd.com>2024-07-28 18:11:29 -0500
commit268cb8510047361d46db8ad5c6b065865bf9455e (patch)
tree2dcb80112eb5a2f6711c3bc1a08796aed73aaa44
parent087b4094d530e63a0fec71aea963c9f222769bbb (diff)
downloadmeta-xilinx-268cb8510047361d46db8ad5c6b065865bf9455e.tar.gz
boot.cmd.generic:update syntax cp.b commands
qspi and nand read syntax are different with nor read syntax so updating cp.b commands in boot script for nor bootmode. Signed-off-by: Swagath Gadde <swagath.gadde@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.generic6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.generic b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.generic
index 3ec07ac8..6b3516b7 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.generic
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr/boot.cmd.generic
@@ -84,12 +84,12 @@ do
84 echo "Booting using Separate images failed" 84 echo "Booting using Separate images failed"
85 fi 85 fi
86 if test "${boot_target}" = "nor" || test "${boot_target}" = "nor0"; then 86 if test "${boot_target}" = "nor" || test "${boot_target}" = "nor0"; then
87 cp.b @@FIT_IMAGE_LOAD_ADDRESS@@ @@QSPI_FIT_IMAGE_OFFSET@@ @@QSPI_FIT_IMAGE_SIZE@@ 87 cp.b @@QSPI_FIT_IMAGE_OFFSET@@ @@FIT_IMAGE_LOAD_ADDRESS@@ @@QSPI_FIT_IMAGE_SIZE@@
88 bootm @@FIT_IMAGE_LOAD_ADDRESS@@; 88 bootm @@FIT_IMAGE_LOAD_ADDRESS@@;
89 echo "Booting using Fit image failed" 89 echo "Booting using Fit image failed"
90 90
91 cp.b @@KERNEL_LOAD_ADDRESS@@ @@QSPI_KERNEL_OFFSET@@ @@QSPI_KERNEL_SIZE@@ 91 cp.b @@QSPI_KERNEL_OFFSET@@ @@KERNEL_LOAD_ADDRESS@@ @@QSPI_KERNEL_SIZE@@
92 cp.b @@RAMDISK_IMAGE_ADDRESS@@ @@QSPI_RAMDISK_OFFSET@@ @@QSPI_RAMDISK_SIZE@@ 92 cp.b @@QSPI_RAMDISK_OFFSET@@ @@RAMDISK_IMAGE_ADDRESS@@ @@QSPI_RAMDISK_SIZE@@
93 run update_bootargs 93 run update_bootargs
94 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@; 94 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@;
95 echo "Booting using Separate images failed" 95 echo "Booting using Separate images failed"