Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | install -m 0644 -D $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr |
| 4 | |
Jan Kundrát | 0ed892b | 2019-08-07 14:11:15 +0200 | [diff] [blame] | 5 | cp ${BR2_EXTERNAL_CZECHLIGHT_PATH}/board/czechlight/beaglebone/sd-uEnv.txt ${BINARIES_DIR}/ |
| 6 | |
Jan Kundrát | 5fb4992 | 2019-08-05 18:27:25 +0200 | [diff] [blame] | 7 | # prepare the static script with RAUC logic |
| 8 | ${HOST_DIR}/bin/mkimage -C none -A arm -T script \ |
| 9 | -d ${BR2_EXTERNAL_CZECHLIGHT_PATH}/board/czechlight/beaglebone/rauc.scr.txt ${BINARIES_DIR}/rauc.scr |
| 10 | |
| 11 | # ...and a simplified one for SD-card booting (no image determination) |
| 12 | ${HOST_DIR}/bin/mkimage -C none -A arm -T script \ |
| 13 | -d ${BR2_EXTERNAL_CZECHLIGHT_PATH}/board/czechlight/beaglebone/sd.scr.txt ${BINARIES_DIR}/sd.scr |