diff --git a/scripts/mkimage b/scripts/mkimage index 5cb88f7d8c..9a4e2f4e27 100755 --- a/scripts/mkimage +++ b/scripts/mkimage @@ -263,6 +263,11 @@ EOF mcopy $RELEASE_DIR/target/KERNEL.md5 "::/$KERNEL_NAME.md5" mcopy $RELEASE_DIR/target/SYSTEM.md5 ::/SYSTEM.md5 + # copy Amlogic device tree image + if [ -f "$RELEASE_DIR/3rdparty/bootloader/dtb.img" ]; then + mcopy $RELEASE_DIR/3rdparty/bootloader/dtb.img :: + fi + elif [ "$BOOTLOADER" = "u-boot" ]; then echo "to make an image using u-boot UBOOT_SYSTEM must be set" cleanup