mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-19 11:48:22 +01:00
46c2d5d4a1
Also add a basic boot.cmd with support for both uImage and zImage.
5 lines
427 B
Batchfile
5 lines
427 B
Batchfile
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}
|