8c5f35a
# Raspberry Pi 3
8c5f35a
[pi3]
b204e42
kernel=rpi3-u-boot.bin
72bde9c
dtoverlay=upstream
b204e42
9213386
# Raspberry Pi 4
9213386
[pi4]
9213386
kernel=rpi4-u-boot.bin
72bde9c
dtoverlay=upstream-pi4
b204e42
8c5f35a
# Default Fedora configs for all Raspberry Pi Revisions
8c5f35a
[all]
9213386
# Put the RPi into 64 bit mode
9213386
arm_64bit=1
9213386
6bcbd28
# Enable UART
6bcbd28
# Only enable UART if you're going to use it as it has speed implications
6bcbd28
# Serial console is ttyS0 on RPi3 and ttyAMA0 on all other variants
6bcbd28
# u-boot will auto detect serial and pass corrent options to kernel if enabled
6bcbd28
# Speed details: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195
72bde9c
# enable_uart=1
6bcbd28
8c5f35a
# Early boot delay in the hope monitors are initialised enough to provide EDID
8c5f35a
bootcode_delay=1
8c5f35a
1fb1ee7
# We need this to be 32Mb to support VCHI services and drivers which use them
1fb1ee7
# but this isn't used by mainline VC4 driver so reduce to lowest supported value
365f414
# You need to set this to at least 80 for using the camera
1fb1ee7
gpu_mem=32
1fb1ee7
8c5f35a
# Use eXtended firmware by default
8c5f35a
start_x=1
8c5f35a
72bde9c
# Stop the RPi turning on HDMI monitors on reboot
72bde9c
hdmi_ignore_cec_init=1
72bde9c
4bf316f
# New option to allow the firmware to load upstream dtb
4bf316f
# Will allow things like camera, touchscreen etc to work OOTB
4bf316f
upstream_kernel=1
4bf316f
b96aa78
# HAT and DT overlays. Documentation at Raspberry Pi here:
b96aa78
# https://www.raspberrypi.org/documentation/configuration/device-tree.md
b96aa78
# Each dtoverlay line is an individual HAT/overlay, multiple lines allowed
b96aa78
# dtoverlay=rpi-sense
b96aa78
4bf316f
# Other options you can adjust for all Raspberry Pi Revisions
7e5450d
# https://www.raspberrypi.org/documentation/configuration/config-txt/README.md
b204e42
# All options documented at http://elinux.org/RPiconfig
b204e42
# for more options see http://elinux.org/RPi_config.txt