diff --git a/scripts/mkimage b/scripts/mkimage index 3b692b5047..0453fcb77f 100755 --- a/scripts/mkimage +++ b/scripts/mkimage @@ -216,6 +216,10 @@ elif [ "$BOOTLOADER" = "u-boot" ]; then elif [ -f "$RELEASE_DIR/3rdparty/bootloader/u-boot-fuse" ]; then # allow custom dd script for vendor specific fusing . $RELEASE_DIR/3rdparty/bootloader/u-boot-fuse + elif [ -f "$RELEASE_DIR/3rdparty/bootloader/u-boot" ]; then + dd if="$RELEASE_DIR/3rdparty/bootloader/bl1" of="$DISK" conv=fsync,notrunc bs=1 count=442 >"$SAVE_ERROR" 2>&1 || show_error + dd if="$RELEASE_DIR/3rdparty/bootloader/bl1" of="$DISK" conv=fsync,notrunc bs=512 skip=1 seek=1 >"$SAVE_ERROR" 2>&1 || show_error + dd if="$RELEASE_DIR/3rdparty/bootloader/u-boot" of="$DISK" conv=fsync,notrunc bs=512 seek=97 >"$SAVE_ERROR" 2>&1 || show_error fi echo "image: copying files to part1..."