1# 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 11