Fedora CoreOS Raspberry Pi 4 image?

This will be handy to have in a small RPI cluster/home lab.

Sometime ago I had CoreOS running on PI 4 - I posted the steps I followed at Headless (mostly) Fedora CoreOS on RPi4 - A Brief How To (updated 9 Oct) - Raspberry Pi Forums. I have not done anything since that post with Fedora CoreOS on RPi4 but intend to do so - soon.

Hi All. I’d like to report that we now have documentation for how to run Fedora CoreOS on your Raspberry Pi 4. Please let us know if it works for you or if you find any issues!

3 Likes

Hey @theswampire - can you make a new post (so this one doesn’t get cluttered) with as much detail as possible?

Sure, sorry guys :sweat_smile:

I have been using the coreos pi4b image for a single node webserver running django. It works great thanks!

2 Likes

Although the topic is quite old I hope I find many FCOS on Pi users here :blush:.

Does any of you the GPIOs?

How do you set the overlays as document for Fedora?
https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi/HATs

We have some docs on this in Provisioning Fedora CoreOS on the Raspberry Pi 4 :: Fedora Docs which should help I think.

It only says how to activate GPIOs but not how for example deactivate Bluetooth to activate UART.

I don’t actually use the GPIO on my Pi4 so I could be wrong…

As far as enabling specific things I think you should just be able to install using u-boot from Fedora and then you should just be the same as the docs page you linked to.

I was able to install and runs EDK2 but not sure if it is reliable, there some strange side effects.
see Enabling DeviceTree on Pi 4 4 GB causes boot to fail, it hangs at dracut.initqueue

U-boot is still in my agenda, as soon as I can spare time. Currently setting up my home automation on raspberry pi is + docker (and eventually I can close and open my blinds :smile:)

I checked once FCOS for the config.txt. As far as I remember, it doesn’t existed (can you confirm?), so I can’t do as said there

Activate UART0/1 with the following overlay configuration in /boot/efi/config.txt:

The latest stable release of FCOS does not boot with the latest v1.40 EDK2 release with the device tree enabled in the settings. At least on my RPi4, the latest bootable release of EDK2 with the device tree enabled is v1.38.

To access /boot/efi/config.txt on FCOS, you will need to mount the EFI-SYSTEM partition, e.g. sudo mount /dev/mmcblk0p2 /boot/efi.

1 Like

Is there a bug report we can follow?

I haven’t looked closely, but if you like, you can check out Raspberry Pi 4 UEFI Firmware Images Issues.

As has already been suggested several times here and in other threads by a couple of people, I would like to recommend again that you try booting via U-Boot. One of the main reasons for this advice is that U-Boot is used in other Fedora projects and is maintained by the developers and the community, as you can read in the wiki pages.

Interesting… I didn’t know that. I just used 1.40 this past weekend and it worked like a charm, but I definitely don’t use the GPIO for anything so I didn’t follow those steps in the documentation.

@hricky it wold be great if you could open a bug report upstream (or maybe one already exists?) that I could follow.

1 Like

As I mentioned in another post, I only use these pins to attach a fan, for which I don’t need to enable DeviceTree mode in the EDK2 menu. So the only way I can check if access to GPIO pins is enabled is to follow the docs. Unfortunately, without a HAT attached to the Pi, which I don’t have, I can only do this.

Anyhow, I’ll check for a bug report and if there isn’t one, I’ll file it. I’ll also look for a HAT for testing.