I just tried today to install Arm Rawhide candidate on my Rock Pi 4 and and was only successful after modifying arm-image-installer.
Originally i got:
> - - - - - - <
[root@zbox ~]# arm-image-installer --image=Fedora-Server-Rawhide-20220118.n.0.aarch64.raw.xz --target=rock-pi-4-rk3399 --media=/dev/sdb
=====================================================
= Selected Image:
= Fedora-Server-Rawhide-20220118.n.0.aarch64.raw.xz
= Selected Media : /dev/sdb
= U-Boot Target : rock-pi-4-rk3399
=====================================================
*****************************************************
*****************************************************
******** WARNING! ALL DATA WILL BE DESTROYED ********
*****************************************************
*****************************************************
Type 'YES' to proceed, anything else to exit now
= Proceed?
= Proceed? YES
= Writing:
= Fedora-Server-Rawhide-20220118.n.0.aarch64.raw.xz
= To: /dev/sdb ....
7485333504 Bytes (7,5 GB, 7,0 GiB) kopiert, 178 s, 42,1 MB/s
0+835568 Datensätze ein
0+835568 Datensätze aus
7516192768 Bytes (7,5 GB, 7,0 GiB) kopiert, 178,864 s, 42,0 MB/s
= Writing image complete!
(no output for a very long time)
= No U-Boot files found for rock-pi-4-rk3399.
> - - - - - - <
The reason was an unsuitable value in the variable prefix.
I modified line 532 and could successfully copy the image file and boot the rock pi
> - - - - - - <
if [ "$IOT_IMAGE" = "1" ]; then
# dd doesnt support wildcards, echo to expand
PREFIX=$(echo $OSTREE_PREFIX)
elif [ "$BTRFS" = "1" ]; then
PREFIX="/tmp/root/root/"
else
# PREFIX=/tmp/root # <===
PREFIX="“ # <===
fi
# determine uboot and write to disk
if [ "$TARGET" != "" ]; then
echo "=== DEBUG Target: $TARGET "
echo "=== DEBUG PATH: ${PREFIX}/usr/share/uboot/${TARGET} "
echo "=== DEBUG BOARDDIR: ${BOARDDIR}/${TARGET} "
echo
if echo "$TARGET" | grep -q 'rpi[234]' || [ "$TARGET" = "olpc_xo175" ]; then
. "${BOARDDIR}/${TARGET}"
elif [ -d "${PREFIX}/usr/share/uboot/${TARGET}" ]; then
. "${BOARDDIR}/${TARGET}"
else
echo "= No U-Boot files found for $TARGET."
fi
else
echo "= No U-boot will be written."
TARGET="board"
fi
> - - - - - - <
The F35 system I used to copy the image file is fully updated as of today.
Best
Peter