mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
scripts/mkimage: support Odroid_C2
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user