blob: 0031900db0c03360934876536023a07235ca6b49 [file] [log] [blame]
Siva Durga Prasad Paladugu5aa09822019-03-27 10:48:33 +05301# This is an example file to generate boot.scr - a boot script for U-Boot
2# This example only target for qspi boot, sameway it can be created for boot
3# devices like nand.
4# Generate boot.scr:
5# ./tools/mkimage -c none -A arm -T script -d sdboot.cmd boot.scr
6#
7# It requires a list of environment variables used below to be defined
8# before load
9#
10mmc 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