Fedora on Rock 5

Hi there,
I’ve ordered my Rock 5 and want to know if anybody has a working Fedora on this device.

Greetings
Andreas

Not yet. Maybe we should send some ROCK 5B to the Fedora arm team.

3 Likes

Hello Jack,
may be that would be a good idea. I hope I get my board till christmas so I can to do my best to install Fedora on it and report my success.
Andreas

I’ve tried adding the loader / uboot files to boards.d and using arm-image-installer from a working fedora 37 system but it fails on ‘no u-boot files found’

I might try it again using the armbian uboot files.

Will watch this as I’d like to get Fedora running on the rock 5b.

looking for this aswell. I received my Rock5 this week and I am excited to play about with my first arm system.

I heard some enablement patches went into 6.1, but pcie support is not in yet. If it makes it into 6.2, once rawhide moves onto 6.2 dev releases it will be interesting to try.

Before then though, I suspect step 1 would need to be a copr repo with the enablement patches applied to the mainline/dev kernel.

They won’t have native install likely ever (RPi4 just now got raw image install availability).

The way Fedora handles ARM is through a list of supported boards and uboot files. We can add our own but I’m still failing in the attempt which makes me think there’s an issue with the current uboot file

https://fedoraproject.org/wiki/Architectures/ARM/Installation

Nothing special was done for the raspberry pi. What happened is that the kernel support was mainlined.

The same is in progress here, through Collabora. Once sufficient support is mainlined, the images should work.

A new complication could be SPI support in Fedora. Since I am new to the community and basically reading around, I may be wrong, but i think the long term plan is for distributions to not even need specific support for a boad, as the devicetrees and overrides are stored on the SPI as generically updateable firmware.

I will probably investigate around christmas/new years time, but until then following this topic to keep me informed.

If Fedora supports the Rock 5B, can we be sure that Rocky Linux/Alma Linux will have the support as well?

As Fedora being upstream of RHEL and RHEL being the upstream of Rocky Linux/Alma Linux these days.

I don’t think so. Rocky Linux and Alma Linux are more enterprise OS and does have much older kernel and userland then Fedora.
Greetings
Andreas

You made indeed a good point and indeed yes. The kernel of those enterprise OS are much older. Thanks for your reply.

Kernel: 5.10.110-34-rockchip-gca15bbe36e6c arch: aarch64 bits: 64
Console: pty pts/0 Distro: Fedora release 38 (Rawhide)
Machine: Type: ARM System: Radxa ROCK 5B

Big distro’s like Fed or Manjaro that use mainline will only boot and run if one swaps in the Radxa kernel and modules. I also look at disabling unneeded sysd units for smoother boot and operation.

Hello radtech,
you have a running Fedora system with the Radxa-Kernel? How do you build it?
Whats working or not working?
Greetings
Andreas

Has anyone tried latest rawhide? It should have the mainline bits from the 6.3 kernel there for testing

suche Fedora für Rock 5b kann mir jemand helfen. Danke

I try to install edk2 on SD Card and booting Fedora 38 Live from usb.

The grub choice Splash works, but after choose “Boot Fedora live”

Rng protocol unavailable.

I have never Worked on uefi in Linux and so No Idea.

Another burned install ISO gives “synchronous exception” Error.

Any Idea?

Apparently for those who want to try Fedora Linux on Rock 5.

1 - Flash the edk2 respective file.
2 - Move the .iso file into an usb drive.

https://github.com/edk2-porting/edk2-rk3588/releases

https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/aarch64/iso/

I havent tested.

1 Like

I’m running Fedora on this SBC since Fedora 40 Rawhide.

1 Like

How good is it ? Hardware/Driver Gpu acceleration wise?

Hello,
what’s not working atm:

  • Bluetooth via Radxa Wireless Wireless Module A8, Wireless itself is working
  • GPU accelerated
  • Headphone (3,5mm), no audio device found

Videos (Youtube, mpg, mp4, avi, …) can be played only via CPU (high CPU load)

root@rockpi5:~# inxi -F
System:
Host: rockpi5.reschke.lan
Kernel: 6.9.0-0.rc3.20240413git8f2c057754b2.35.fc41.aarch64 arch: aarch64
bits: 64
Console: pty pts/2 Distro: Fedora Linux 41 (Rawhide Prerelease)
Machine:
Type: Embedded-pc Mobo: Radxa model: ROCK 5 Model B serial: 386F0C585A66D216
UEFI: EDK II v: 0.9.1 date: 10/12/2023
CPU:
Info: triple core model: N/A bits: 64 type: MT MCP cache: L2: 2.5 MiB
Speed: N/A min/max: N/A cores: No per core speed data found.
Graphics:
Message: No PCI device data found.
Display: server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting dri: swrast gpu: N/A resolution: 1920x1080~60Hz
API: EGL v: 1.5 drivers: kms_swrast,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 vendor: mesa v: 24.0.5 renderer: llvmpipe (LLVM 18.1.2
128 bits)
API: Vulkan v: 1.3.280 drivers: N/A surfaces: xcb,xlib
Audio:
Message: No device data found.
API: ALSA v: k6.9.0-0.rc3.20240413git8f2c057754b2.35.fc41.aarch64
status: kernel-api
Network:
Device-1: Realtek RTL8852BE PCIe 802.11ax Wireless Network
driver: rtw89_8852be
IF: wlP2p1s0 state: up mac: d2:ec:52:93:13:7e
Device-2: Realtek RTL8125 2.5GbE driver: r8169
IF: enP4p1s0 state: up speed: 1000 Mbps duplex: full
mac: 00:e0:4c:68:00:cd
Drives:
Local Storage: total: 953.87 GiB used: 20.69 GiB (2.2%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVKW1T0HMLH-000H1
size: 953.87 GiB
Partition:
ID-1: / size: 14.94 GiB used: 11.23 GiB (75.2%) fs: xfs dev: /dev/dm-0
ID-2: /boot size: 960 MiB used: 424.6 MiB (44.2%) fs: xfs
dev: /dev/nvme0n1p2
ID-3: /boot/efi size: 598.8 MiB used: 11.7 MiB (1.9%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 99.94 GiB used: 9.03 GiB (9.0%) fs: xfs dev: /dev/dm-1
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
Src: lm-sensors+/sys Message: No sensor data found using /sys/class/hwmon
or lm-sensors.
Info:
Memory: total: 16 GiB note: est. available: 15.3 GiB used: 3.55 GiB (23.2%)
Processes: 298 Uptime: 2m Shell: Bash inxi: 3.3.33
root@rockpi5:~#

1 Like

Nice seems usable. Ill have to figure out a way to try it.
You did all by command Im guessing the edks2?