scripts/mkimage: Include Amlogic device tree into SD-card image

This commit is contained in:
Alex Deryskyba 2016-07-29 15:09:48 +02:00
parent c1de385e10
commit 0fbb9d1b38

View File

@ -251,6 +251,11 @@ elif [ "$BOOTLOADER" = "u-boot" ]; then
mcopy "$dtb" ::/$(basename "$dtb")
fi
done
# copy Amlogic device tree image
if [ -f "$RELEASE_DIR/3rdparty/bootloader/dtb.img" ]; then
mcopy $RELEASE_DIR/3rdparty/bootloader/dtb.img ::
fi
fi # bootloader
# extract part2 from image to format and copy files