|
|
9546d10 |
# Options you can adjust for all Raspberry Pi Revisions
|
|
|
9546d10 |
# https://www.raspberrypi.com/documentation/computers/config_txt.html
|
|
|
9546d10 |
|
|
|
9546d10 |
# Raspberry Pi Zero 2W
|
|
|
9546d10 |
[pi02]
|
|
|
9546d10 |
kernel=rpi3-u-boot.bin
|
|
|
9546d10 |
dtoverlay=upstream
|
|
|
9546d10 |
|
|
|
03c4d5f |
# Raspberry Pi 2
|
|
|
d7a49fc |
[pi2]
|
|
|
61934ec |
kernel=rpi2-u-boot.bin
|
|
|
72bde9c |
dtoverlay=upstream
|
|
|
61934ec |
|
|
|
d7a49fc |
# Raspberry Pi 3
|
|
|
d7a49fc |
[pi3]
|
|
|
d7a49fc |
kernel=rpi3-u-boot.bin
|
|
|
72bde9c |
dtoverlay=upstream
|
|
|
61934ec |
|
|
|
9213386 |
# Raspberry Pi 4
|
|
|
9213386 |
[pi4]
|
|
|
9213386 |
kernel=rpi4-u-boot.bin
|
|
|
72bde9c |
dtoverlay=upstream-pi4
|
|
|
9213386 |
|
|
|
9546d10 |
# For RPi400 and newer rev RPi4s
|
|
|
9546d10 |
arm_boost=1
|
|
|
9546d10 |
|
|
|
9546d10 |
# Enable DRM VC4 V3D driver
|
|
|
9546d10 |
# dtoverlay=vc4-kms-v3d
|
|
|
9546d10 |
dtoverlay=vc4-kms-v3d-pi4
|
|
|
9546d10 |
dtoverlay=cma,cma-256
|
|
|
9546d10 |
max_framebuffers=2
|
|
|
9546d10 |
# 4K display support - RPi4 only, only one port possible
|
|
|
9546d10 |
# hdmi_enable_4kp60=1
|
|
|
9546d10 |
|
|
|
9546d10 |
# Raspberry Pi CM4
|
|
|
9546d10 |
[cm4]
|
|
|
9546d10 |
otg_mode=1
|
|
|
9546d10 |
|
|
|
1d951d7 |
# Default Fedora configs for all Raspberry Pi Revisions
|
|
|
1d951d7 |
[all]
|
|
|
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
|
|
|
5559614 |
|
|
|
5559614 |
# Terrible hack to work around U-Boot issues on most devices
|
|
|
5559614 |
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
|
|
|
1d951d7 |
|
|
|
21cdead |
# Audio related. Note don't use dtparam=audio=on as it's for old not upstream audio
|
|
|
9546d10 |
audio_pwm_mode=2
|
|
|
9546d10 |
|
|
|
9546d10 |
# Automatically load overlays for detected cameras
|
|
|
9546d10 |
camera_auto_detect=1
|
|
|
9546d10 |
|
|
|
9546d10 |
# Automatically load overlays for detected DSI displays
|
|
|
9546d10 |
display_auto_detect=1
|
|
|
9546d10 |
|
|
|
72bde9c |
# Stop the RPi turning on HDMI monitors on reboot
|
|
|
72bde9c |
hdmi_ignore_cec_init=1
|
|
|
72bde9c |
|
|
|
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 |
|
|
|
30cc71f |
# To use this on Fedora you need to use firmware provided device tree, not kernel
|
|
|
30cc71f |
# For this functionality follow the following guide:
|
|
|
30cc71f |
# https://fedoraproject.org/w/index.php?title=Architectures/ARM/Raspberry_Pi/HATs
|