blob: 9a8adc7827277d2051dd354fd850626b1be5811c [file] [log] [blame]
Jan Kundrát5fb49922019-08-05 18:27:25 +02001setenv bootargs root=/dev/mmcblk0p${rauc_part} console=ttyO0,115200n8 init=/sbin/init-czechlight.sh rauc.slot=${rauc_slot} czechlight=${czechlight} systemd.machine_id=${machineid} panic=10 oops=panic
2if test -n ${czechlight} && load mmc 0:${rauc_part} ${fdt_addr_r} /boot/${czechlight}-bbb.dtb; then
3 echo "DTS: ${czechlight}-bbb"
4else
5 load mmc 0:${rauc_part} ${fdt_addr_r} /boot/czechlight-bbb.dtb || reset
6fi
7load mmc 0:${rauc_part} ${kernel_addr_r} /boot/zImage || reset
8bootz ${kernel_addr_r} - ${fdt_addr_r} || reset