arm-image-install doesn't work for me on F35 - bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux