mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-15 19:51:37 +00:00
xilinx: Add qspi boot command script for reference
Thsi patch adds qspiboot 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>
This commit is contained in:
parent
0413f9c3e6
commit
3796d133a0
1 changed files with 10 additions and 0 deletions
10
board/xilinx/bootscripts/qspiboot.cmd
Normal file
10
board/xilinx/bootscripts/qspiboot.cmd
Normal file
|
@ -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 qspiboot.cmd boot.scr
|
||||
#
|
||||
# It requires a list of environment variables to be defined before load:
|
||||
# fdt_addr, fdt_offset, fdt_size, kernel_addr, kernel_offset, kernel_size
|
||||
#
|
||||
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
|
Loading…
Add table
Reference in a new issue