Size: 3757
Comment: Correct Fedora versions in pre-build images.
|
← Revision 27 as of 2024-11-18 12:21:30 ⇥
Size: 5032
Comment: Add info about Raspberry Pi 5.
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## Please edit system and help pages ONLY in the master wiki! ## For more information, please see MoinMoin:MoinDev/Translation. |
|
Line 2: | Line 4: |
##master-page:Unknown-Page ##master-date:Unknown-Date #acl DamianWrobel:read,write,revert AdminGroup:read,write,revert All:read #format wiki #language en |
|
Line 9: | Line 16: |
Fedora 38 files with the following modifications: | Fedora 41 files with the following modifications: |
Line 19: | Line 26: |
== Pre-built images (f38) == The location of pre-generated images for Fedora 38 can be found below: |
== Pre-built images (f41) == The location of pre-generated images for Fedora 41 can be found below: |
Line 22: | Line 29: |
|| Server || [[https://ufile.io/v4zb53de|image]] / [[https://ufile.io/r35ookra|checksum]] || || Workstation || [[https://ufile.io/al7o0b04|image]] / [[https://ufile.io/trsrblhg|checksum]] || |
|| Server || [[https://ufile.io/77aq192v|image]] / [[https://ufile.io/561odzlh|checksum]] || || Workstation || [[https://ufile.io/dffuf1vo|image]] / [[https://ufile.io/ub1cilsg|checksum]] || |
Line 25: | Line 32: |
== Pre-built images (f37) == The location of pre-generated images for Fedora 37 can be found below: |
== Pre-built images (f40) == The location of pre-generated images for Fedora 40 can be found below: |
Line 28: | Line 35: |
|| Server || [[https://ufile.io/i2z6p5c9|image]] / [[https://ufile.io/oe5aqfrb|checksum]] || || Workstation || [[https://ufile.io/yoae28v2|image]] / [[https://ufile.io/rvwdz5yy|checksum]] || |
|| Server || [[https://ufile.io/br3bfol9|image]] / [[https://ufile.io/5tvdtl30|checksum]] || || Workstation || [[https://ufile.io/dbt4yr3c|image]] / [[https://ufile.io/mr9cxxto|checksum]] || |
Line 35: | Line 42: |
== Raspberry Pi 5 == Despite that Rasberry Pi 5 is not supported, images for F41 are [[https://discussion.fedoraproject.org/t/dwrobel-kernel-rpi/17877/25|reported to work]] with the following content appended to the '''/boot/config.txt''' file: {{{ [pi5] # Automatically load overlays for detected cameras camera_auto_detect=1 # Automatically load overlays for detected DSI displays display_auto_detect=1 # Enable DRM VC4 V3D driver dtoverlay=vc4-kms-v3d # Allows the default turbo-mode clock to be increased from 1.5GHz to 1.8GHz # Based on https://www.raspberrypi.com/documentation/computers/config_txt.html#arm_boost-raspberry-pi-4-only arm_boost=1 disable_overscan=1 }}} Note: Basically it is the '''[pi4]''' section duplicated as '''[pi5]'''. |
|
Line 39: | Line 67: |
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. |
Contents
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 41 files with the following modifications:
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 (f41)
The location of pre-generated images for Fedora 41 can be found below:
Pre-built images (f40)
The location of pre-generated images for Fedora 40 can be found below:
Updating Raspberry Pi 4 bootloader EEPROM
Follow the gist available at: https://gist.github.com/dwrobel/266ad5d4e59b05ea26d8bb6725118578.
Raspberry Pi 5
Despite that Rasberry Pi 5 is not supported, images for F41 are reported to work with the following content appended to the /boot/config.txt file:
[pi5] # Automatically load overlays for detected cameras camera_auto_detect=1 # Automatically load overlays for detected DSI displays display_auto_detect=1 # Enable DRM VC4 V3D driver dtoverlay=vc4-kms-v3d # Allows the default turbo-mode clock to be increased from 1.5GHz to 1.8GHz # Based on https://www.raspberrypi.com/documentation/computers/config_txt.html#arm_boost-raspberry-pi-4-only arm_boost=1 disable_overscan=1
Note: Basically it is the [pi4] section duplicated as [pi5].
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
Downstream bugs on the kernel can be reported to https://github.com/raspberrypi/linux/