Raspberry Pi (2 and 3) support in Fedora 25 Beta!

This article comes courtesy of Peter Robinson, member of the Fedora release engineering team. Peter has worked for several years on the general release and also hardware architectures such as ARM and Power. Here, Peter announces some big news for Raspberry Pi hackers.


So support for the Raspberry Pi in Fedora has been a long time coming and yes, it’s FINALLY here with support landing just in time for Beta!

The most asked question I’ve had for a number of years is around support of the Raspberry Pi. It’s also something I’ve been working towards for a very long time on my own time. The eagle-eye watchers would have noticed we almost got there with Fedora 24, but I got pipped at the post because I felt it wasn’t quite good enough yet. There were too many minor issues around ease of use.

Why has it taken so long?

Basically it comes down to four things:

  1. Decent upstream kernel/userspace hardware support without binary drivers.
  2. Firmware redistribution.
  3. The ability to be able to support it in Fedora ARM without adding vast extra workload to the small group supporting/QAing Fedora.
  4. Time — It’s been a pet project, but like many things, it’s relied upon getting open drivers done, and kernel support upstream. All of this has been out of our hands and takes time.

What’s supported?

We support everything you’d expect from a device supported by Fedora. We have a proper Fedora supported upstream userspace and kernel, with all the standard Fedora features like SELinux support. It receives the usual array of updates so no need to exclude kernel updates! The kernel supports all the drivers you’d expect, like various USB WiFi dongles, etc. You can run whichever desktop you like (more on those below) or Docker/Kubernetes/Ceph/Gluster as a group of devices — albeit it slowly over a single shared USB bus!

Raspberry Pi 2

The hardware support here is pretty good. I’ve been testing a minimal install, Workstation, and XFCE. We have the usual MMC/USB/network, as well as fully accelerated graphics with an open driver, as well as lot of the other on board hardware. You’ll want to invest in a good quality Class 10 micro SD card, though, for best results.

Raspberry Pi 3

The hardware support here is very similar to that of the Raspberry Pi2 in terms of standard device support. We don’t currently support the onboard WiFi/Bluetooth, so at the moment it’s a faster version of the RPi2. We’re working to enable the WiFi soon, now the firmware is able to be distributed. There’s a few other quirks documented well in the upstream Raspberry Pi3 support summary here.

We currently only support this as a ARMv7 device like the upstream Raspberry Pi Foundation. I realize that aarch64 support is now upstream. We’ll eventually support it too, but there’s quite a bit of extra work to support it well. Given the Raspberry Pi3 has a limitation of 1Gb RAM, the 64 bit support provides less advantage than a single set of images to support both devices.

What’s not supported (yet!)

The state of various components, such as WiFi, sound, media decode, and HAT support, is well documented in a Frequently Asked Questions (FAQ) on the Fedora Raspberry Pi wiki here, with lots of detail. It’ll be updated as the status of various components change.

What will never be supported

Basically this is purely the old ARMv6 Raspberry Pis. This currently includes the Zero, Model A, older “v1” Raspberry Pi model B, and the current generation “compute module.” For these, use Pignus (note I’ve not tested it).

We’ll support the announced newer compute 3 module when it’s available. Similarly any new future device support will be reviewed as information becomes available.

Getting started

So enough of me dribbling on here you say? Just GET IT WORKING NOW!! Well here you go….

There detailed options for setting up a SD card for Linux, Windows and MacOS detailed on the Fedora Raspberry Pi wiki page. Details of the latest images are there too but you can get Fedora 25 Beta images for Workstation, Server and various Spins and Minimal image directly.

To write the image to the card you can use a terminal with the following command. Remember to use the correct /dev/XXX for your card and to update the image name!

xzcat Fedora-IMAGE-NAME.raw.xz | sudo dd status=progress bs=4M of=/dev/XXX

There’s other options documented in the wiki. You’ll also have to resize the root filesystem (we shrink it to minimise the download). The easiest way to do this is with gparted before you plug it into your Raspberry Pi.

On the first boot you’ll get presented with the standard initial setup to create a user. Similar to the LiveCDs on x86 we don’t have default users and passwords due to security.

Getting help

So where can you get help if it’s not working? The usual Fedora support forums are:

New in Fedora Using Hardware

11 Comments

  1. Ivan

    Hey there,

    A little off-topic question: do you know if there is a way to watch Netflix with “Linux ARM based system” using Chrome or Firefox (now that FF-linux supports natively Widevine DRM)

  2. Thanks for RPi support and your great efforts.

    I hoped you can support Raspberry Pi Zero. It’s a very good idea to use them for IoT and I need SELinux security for those!

    Thanks anyway. 🙂

  3. sam

    Thanks. Got the workstation image running on a Pi2. GNOME3 is painfully slow though. Also seems to be running wayland which is very impressive (I see gdm-wayland-session in “ps aux”). I expect I’ll do better with the MATE spin.

    There are some VC4 performance improvements showing up in mesa ( http://anholt.livejournal.com/48675.html ), will these make it into F25?

  4. gor

    Hi All!

    There is project http://fedberry.org that is remix of fedora for rpi2/rpi3.

    We hope to launch support for zero as well any time next year..

    Feel free to join and leave some feedback.

  5. Robert Smol

    Is the based on Fedberry? http://fedberry.org/ They did a lot of work as well.

    • gor

      No, it is not. We use in fdberyy custom kernel, while fedora use mainstream kernel.

  6. Bryan

    Quote “What will never be supported
    Basically this is purely the old ARMv6 Raspberry Pis. This currently includes the Zero”

    The next big is IoT and the RedHat/Fedora team says they are not interested. That’s what I read into this and that is very disappointing. How could you pass to get it working on the Pi Zero?

    • Gor

      For zero and rpi before 2, you can use http://pignus.computer

      I am working on zero release of fedberry but there is no ETA.

      It’s hard to get enough zeros to build so many rpms.

    • gor

      Hi Bryan!

      You can try http://pignus.computer/ – they have fedora 23 compatible release for PiZero and Rpi before 2.

      I am working on fedberry remix 24 for Pi Zero, but there is no ETA for first release.

      There is a need to build at least minimal amount of RPMS to make it work and it could take many days.

      follow our twitter to keep posted.

  7. lorabe

    ¿Supports hardware acceleration?

Comments are Closed

The opinions expressed on this website are those of each author, not of the author's employer or of Red Hat. Fedora Magazine aspires to publish all content under a Creative Commons license but may not be able to do so in all cases. You are responsible for ensuring that you have the necessary permission to reuse any work on this site. The Fedora logo is a trademark of Red Hat, Inc. Terms and Conditions