blob: 3e0c5137272a578ddb32b5c1bd7d20b297a9282b [file] [log] [blame]
Jan Kundrát5fb49922019-08-05 18:27:25 +02001#!/bin/sh
2
3install -m 0644 -D $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
4
Jan Kundrát0ed892b2019-08-07 14:11:15 +02005cp ${BR2_EXTERNAL_CZECHLIGHT_PATH}/board/czechlight/beaglebone/sd-uEnv.txt ${BINARIES_DIR}/
6
Jan Kundrát5fb49922019-08-05 18:27:25 +02007# 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