2017-02-17 17:33:10 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
BOARD_DIR="$(dirname $0)"
|
2017-07-05 13:14:26 +02:00
|
|
|
MKIMAGE=$HOST_DIR/bin/mkimage
|
2017-02-17 17:33:10 +01:00
|
|
|
|
|
|
|
$MKIMAGE -C none -A arm64 -T script -d $BOARD_DIR/boot.txt $BINARIES_DIR/boot.scr
|
|
|
|
|
|
|
|
# vendor u-boot uses uImage
|
|
|
|
if [ -e $BINARIES_DIR/Image ]; then
|
|
|
|
$MKIMAGE -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 \
|
|
|
|
-n linux -d $BINARIES_DIR/Image $BINARIES_DIR/uImage
|
|
|
|
fi
|