Reset if we can't boot (#83)

* Update uboot-boot.sh

* Update uboot-boot.sh
This commit is contained in:
Pascal Vizeli 2018-07-06 19:08:52 +02:00 committed by Pascal Vizeli
parent 1d74fcb91d
commit 14f406ad6a
2 changed files with 6 additions and 0 deletions

View File

@ -49,3 +49,6 @@ echo "Loading kernel"
run load_kernel
echo " Starting kernel"
booti ${kernel_addr_r} - ${fdt_addr}
echo "Fails on boot"
reset

View File

@ -49,3 +49,6 @@ echo "Loading kernel"
run load_kernel
echo " Starting kernel"
bootz ${kernel_addr_r} - ${fdt_addr}
echo "Fails on boot"
reset