mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2025-08-28 06:43:27 +02:00
New recipe for upstream u-boot
Also add a basic boot.cmd with support for both uImage and zImage.
This commit is contained in:
4
recipes-bsp/u-boot/files/boot.cmd
Normal file
4
recipes-bsp/u-boot/files/boot.cmd
Normal file
@@ -0,0 +1,4 @@
|
||||
setenv bootargs console=${console} console=tty1 root=/dev/mmcblk0p2 rootwait panic=10 ${extra}
|
||||
load mmc 0:1 ${fdt_addr_r} ${fdtfile} || load mmc 0:1 ${fdt_addr_r} boot/${fdtfile}
|
||||
load mmc 0:1 ${kernel_addr_r} zImage || load mmc 0:1 ${kernel_addr_r} boot/zImage || load mmc 0:1 ${kernel_addr_r} uImage || load mmc 0:1 ${kernel_addr_r} boot/uImage
|
||||
bootz ${kernel_addr_r} - ${fdt_addr_r} || bootm ${kernel_addr_r} - ${fdt_addr_r}
|
Reference in New Issue
Block a user