diff options
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | 2019-03-27 10:48:33 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-10-08 09:11:13 +0200 |
commit | 91a5964f3b683c285444b04bd58f94fb51453a8c (patch) | |
tree | ad62b75108505968ddf6a62c852e50e9651866cb /board/xilinx | |
parent | 3796d133a0cba265ec7995f1143af44b672da63e (diff) | |
download | u-boot-91a5964f3b683c285444b04bd58f94fb51453a8c.tar.gz u-boot-91a5964f3b683c285444b04bd58f94fb51453a8c.tar.xz u-boot-91a5964f3b683c285444b04bd58f94fb51453a8c.zip |
xilinx: Add sd boot command script for reference
This patch adds sdboot command script for reference.
This can be converetd into uboot script using mkimage and
use for booting.
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/bootscripts/sdboot.cmd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/xilinx/bootscripts/sdboot.cmd b/board/xilinx/bootscripts/sdboot.cmd new file mode 100644 index 0000000000..0031900db0 --- /dev/null +++ b/board/xilinx/bootscripts/sdboot.cmd @@ -0,0 +1,10 @@ +# This is an example file to generate boot.scr - a boot script for U-Boot +# This example only target for qspi boot, sameway it can be created for boot +# devices like nand. +# Generate boot.scr: +# ./tools/mkimage -c none -A arm -T script -d sdboot.cmd boot.scr +# +# It requires a list of environment variables used below to be defined +# before load +# +mmc dev $devnum && mmcinfo && run uenvboot || run sdroot$devnum;load mmc $devnum:$partid $fdt_addr system.dtb && load mmc $devnum:$partid $kernel_addr Image && booti $kernel_addr - $fdt_addr |