Siva Durga Prasad Paladugu | 17e5b43 | 2019-03-08 13:13:26 +0530 | [diff] [blame] | 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 qspiboot.cmd boot.scr |
| 6 | # |
| 7 | # It requires a list of environment variables to be defined before load: |
| 8 | # fdt_addr, fdt_offset, fdt_size, kernel_addr, kernel_offset, kernel_size |
| 9 | # |
| 10 | sf probe 0 0 0 && sf read $fdt_addr $fdt_offset $fdt_size && sf read $kernel_addr $kernel_offset $kernel_size && booti $kernel_addr - $fdt_addr |