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