blob: 4d21cf6540d048a0c92eede7292b786905b97158 [file] [log] [blame]
setenv bootargs root=/dev/mmcblk1p${rauc_part} console=ttyS0,115200n8 init=/sbin/init-czechlight.sh rauc.slot=${rauc_slot} czechlight=${czechlight} systemd.machine_id=${machineid} panic=10 oops=panic
if test -n ${czechlight} && load mmc 1:${rauc_part} ${fdt_addr_r} /boot/${czechlight}-bbb.dtb; then
echo "DTS: ${czechlight}-bbb"
else
load mmc 1:${rauc_part} ${fdt_addr_r} /boot/czechlight-bbb.dtb || reset
fi
load mmc 1:${rauc_part} ${kernel_addr_r} /boot/zImage || reset
bootz ${kernel_addr_r} - ${fdt_addr_r} || reset