summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
diff options
context:
space:
mode:
authorJaewon Lee <jaewon.lee@xilinx.com>2019-10-03 15:08:31 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2019-12-09 11:03:47 -0800
commit391326a42d02ef93db160de81e024e6385590ca6 (patch)
treebc441b3170c6b7ed997be7ec36f3795152db8244 /meta-xilinx-bsp
parenta62553930458c01d536f028ac976cf2c2b69634e (diff)
downloadmeta-xilinx-391326a42d02ef93db160de81e024e6385590ca6.tar.gz
u-boot-zynq-scr: Setting sd as default bootmode for versal
Setting sd as default bootmode for versal and adding default boot.scr for versal. NOTE: the difference between zynqmp and versal boot.scr template is versal doesn't have 'earlycon' Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r--meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.versal4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.versal b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.versal
new file mode 100644
index 00000000..552e8d02
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.versal
@@ -0,0 +1,4 @@
1setenv bootargs $bootargs root=/dev/mmcblk0p2 rw rootwait clk_ignore_unused
2fatload mmc 0 @@DEVICETREE_ADDRESS@@ @@DEVICE_TREE_NAME@@
3fatload mmc $sdbootdev:$partid @@KERNEL_LOAD_ADDRESS@@ @@KERNEL_IMAGETYPE@@
4@@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ - @@DEVICETREE_ADDRESS@@