Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 1 | setenv 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 |
| 2 | if test -n ${czechlight} && load mmc 0:${rauc_part} ${fdt_addr_r} /boot/${czechlight}-bbb.dtb; then |
| 3 | echo "DTS: ${czechlight}-bbb" |
| 4 | else |
| 5 | load mmc 0:${rauc_part} ${fdt_addr_r} /boot/czechlight-bbb.dtb || reset |
| 6 | fi |
| 7 | load mmc 0:${rauc_part} ${kernel_addr_r} /boot/zImage || reset |
| 8 | bootz ${kernel_addr_r} - ${fdt_addr_r} || reset |