blob: 4d21cf6540d048a0c92eede7292b786905b97158 [file] [log] [blame]
Jan Kundráta6b3f5a2020-01-29 19:27:28 +01001setenv 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
2if test -n ${czechlight} && load mmc 1:${rauc_part} ${fdt_addr_r} /boot/${czechlight}-bbb.dtb; then
Jan Kundrát5fb49922019-08-05 18:27:25 +02003 echo "DTS: ${czechlight}-bbb"
4else
Jan Kundráta6b3f5a2020-01-29 19:27:28 +01005 load mmc 1:${rauc_part} ${fdt_addr_r} /boot/czechlight-bbb.dtb || reset
Jan Kundrát5fb49922019-08-05 18:27:25 +02006fi
Jan Kundráta6b3f5a2020-01-29 19:27:28 +01007load mmc 1:${rauc_part} ${kernel_addr_r} /boot/zImage || reset
Jan Kundrát5fb49922019-08-05 18:27:25 +02008bootz ${kernel_addr_r} - ${fdt_addr_r} || reset