Fedora on Rock 5B

Hi there,
I’ve tried to install Fedora on my Rock 5 without success.

Booting with https://github.com/edk2-porting/edk2-rk3588/releases/download/v0.7.1/rock-5b_UEFI_Release_v0.7.1.img on SD-Card and source from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/aarch64/iso/Fedora-Everything-netinst-aarch64-Rawhide-20230730.n.0.iso.

Board boots up fine but later starting in loop with
350.456154] dracut-initqueue[1065]: Warning: ############# Anaconda installer errors end ###############
[ 352.156835] dracut-initqueue[1065]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
[ 352.161387] dracut-initqueue[1065]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2froot.sh: “[ -e “/dev/root” ]”
[ 352.164564] dracut-initqueue[1065]: Warning: /lib/dracut/hooks/initqueue/finished/wait_for_disks.sh: “[ “$main_loop” -ge “10” ]”
[ 352.167716] dracut-initqueue[1065]: Warning: /lib/dracut/hooks/initqueue/finished/wait_for_settle.sh: “[ -f /tmp/settle.done ]”
[ 352.171999] dracut-initqueue[1065]: Warning: dracut-initqueue: starting timeout scripts
[ 352.172610] dracut-initqueue[1065]: Warning: ############# Anaconda installer errors begin #############
[ 352.172852] dracut-initqueue[1065]: Warning: # #
[ 352.173097] dracut-initqueue[1065]: Warning: It seems that the boot has failed. Possible causes include
[ 352.173296] dracut-initqueue[1065]: Warning: missing inst.stage2 or inst.repo boot parameters on the
[ 352.173537] dracut-initqueue[1065]: Warning: kernel cmdline. Please verify that you have specified
[ 352.173731] dracut-initqueue[1065]: Warning: inst.stage2 or inst.repo.
[ 352.173918] dracut-initqueue[1065]: Warning: Please also note that the ‘inst.’ prefix is now mandatory.
[ 352.174156] dracut-initqueue[1065]: Warning: # #
[ 352.174354] dracut-initqueue[1065]: Warning: #### Installer errors encountered during boot: ####
[ 352.174543] dracut-initqueue[1065]: Warning: # #
[ 352.174775] dracut-initqueue[1065]: Warning: Reason unknown
[ 352.174970] dracut-initqueue[1065]: Warning: # #

Has anybody more succcess ?

Greetings
Andreas

No mainline no fun I guess…

I’m really interested in this working. Any chance you could look at the arm-image-installer chipsets and boards and come up with a template for us? I believe it requires a file in soc.d and another one in files.d. But this is just the initial work. Also, relooking at your post it seems you’ve already past this point.

Here’s upstream
https://pagure.io/arm-image-installer

I played with this a LONG time ago with the Pine64 RockPro64 board, so I’m not much help beyond this.

Ran across this in the arm64 image and it seems that your error message is looking for a kernel argument for inst.stage2pointing to a disk labeled Fedora-E-dvd-aarch64-rawh`.

http://EFI/BOOT/grub.cfg

Also, this reddit covers some of the next issues you might run across.
https://www.reddit.com/r/linuxquestions/comments/zg4lde/rock_pi_5_model_b_fedora/

Lastly, here are the instructions for using the arm-image-installer
https://docs.fedoraproject.org/en-US/quick-docs/raspberry-pi/

The RockChip team does not seem to be very good at moving their chipsets and drivers to the linux kernel mainline, meaning things get very hacky very quickly.

Last link: https://www.spinics.net/linux/fedora/fedora-arm/msg14489.html

1 Like