Edit Info Other
Login

RaspberryPi"

Differences between revisions 20 and 21
Revision 20 as of 2023-07-06 18:36:25
Size: 3757
Editor: DamianWrobel
Comment: Correct Fedora versions in pre-build images.
Revision 21 as of 2023-11-08 22:13:38
Size: 3969
Editor: DamianWrobel
Comment: Add links to Fedora 39 pre-built images
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Fedora 38 files with the following modifications: Fedora 39 files with the following modifications:
Line 19: Line 19:
== Pre-built images (f39) ==
The location of pre-generated images for Fedora 39 can be found below:
|| Flavor || aarch64 ||
|| Server || [[https://ufile.io/mh0lvd91|image]] / [[https://ufile.io/9la7g6ga|checksum]] ||
|| Workstation || [[https://ufile.io/tg6t6u9w|image]] / [[https://ufile.io/618l7mot|checksum]] ||
Line 24: Line 30:

== Pre-built images (f37) ==
The location of pre-generated images for Fedora 37 can be found below:
|| Flavor || aarch64 ||
|| Server || [[https://ufile.io/i2z6p5c9|image]] / [[https://ufile.io/oe5aqfrb|checksum]] ||
|| Workstation || [[https://ufile.io/yoae28v2|image]] / [[https://ufile.io/rvwdz5yy|checksum]] ||
Line 39: Line 39:

Note: On the Raspberry Pi 4, you may need to adjust [[https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#BOOT_ORDER|BOOT_ORDER=]] parameter in order be able to boot from the external drive.

About this Howto

This documentation is about using Raspberry Pi Foundation downstream kernel and components from Fedora userspace. The Workstation flavor is recommended for the Raspberry Pi 4 B/400 with >=4GB RAM platform. The Server flavor is usable on starting from Raspberry Pi 3 B/B+.

Kickstart files

Kickstart files are located at https://pagure.io/fork/dwrobel/fedora-kickstarts repository and are based on the original Fedora 39 files with the following modifications:

  • component

    Repositories

    comment

    kernel

    spec / copr

    Downstream kernel

    bcm434xx-firmware

    spec / copr

    bcm283x-firmware

    spec / copr

    pykickstart

    PR / copr

    Adds --priority=<priority>

    livecd-tools

    PR / copr

    Adds support for repository 'priority' configuration

The modifications in livecd-tools and pykickstart allows to generate image with selected downstream kernel (despite it has lower version) over the upstream one. On a system, all aforementioned repositories are installed with priority=50 option to instruct 'dnf' to choose packages from this repository, rather then Fedora default.

Pre-built images (f39)

The location of pre-generated images for Fedora 39 can be found below:

Flavor

aarch64

Server

image / checksum

Workstation

image / checksum

Pre-built images (f38)

The location of pre-generated images for Fedora 38 can be found below:

Flavor

aarch64

Server

image / checksum

Workstation

image / checksum

Updating Raspberry Pi 4 bootloader EEPROM

Follow the gist available at: https://gist.github.com/dwrobel/266ad5d4e59b05ea26d8bb6725118578.

Configurations

Booting from external USB drive

Write the image to the external drive, then mount the filesystem and change root=/dev/mmcblk0p2 to root=/dev/sda2 in the /boot/efi/cmdline.txt.

Note: On the Raspberry Pi 4, you may need to adjust BOOT_ORDER= parameter in order be able to boot from the external drive.

Resizing filesystem

After booting the system, please consider to resize the filesystem. The following example assumes system booted from internal SD card.

sudo growpart -u on /dev/mmcblk0 2
sudo btrfs filesystem resize max /

Bug Report


CategoryHowto

Howto/RaspberryPi (last edited 2024-04-24 07:23:36 by DamianWrobel)