|
Pablo Greco |
d00ad8 |
# Raspberry Pi 3
|
|
Pablo Greco |
d00ad8 |
[pi3]
|
|
Pablo Greco |
d00ad8 |
kernel=rpi3-u-boot.bin
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# Raspberry Pi 4
|
|
Pablo Greco |
d00ad8 |
[pi4]
|
|
Pablo Greco |
d00ad8 |
kernel=rpi4-u-boot.bin
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# Default Fedora configs for all Raspberry Pi Revisions
|
|
Pablo Greco |
d00ad8 |
[all]
|
|
Pablo Greco |
d00ad8 |
# Put the RPi into 64 bit mode
|
|
Pablo Greco |
d00ad8 |
# arm_control=0x200
|
|
Pablo Greco |
d00ad8 |
arm_64bit=1
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# Enable UART
|
|
Pablo Greco |
d00ad8 |
# Only enable UART if you're going to use it as it has speed implications
|
|
Pablo Greco |
d00ad8 |
# Serial console is ttyS0 on RPi3 and ttyAMA0 on all other variants
|
|
Pablo Greco |
d00ad8 |
# u-boot will auto detect serial and pass corrent options to kernel if enabled
|
|
Pablo Greco |
d00ad8 |
# Speed details: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195
|
|
Pablo Greco |
d00ad8 |
# enable_uart=1
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# Early boot delay in the hope monitors are initialised enough to provide EDID
|
|
Pablo Greco |
d00ad8 |
bootcode_delay=1
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# We need this to be 32Mb to support VCHI services and drivers which use them
|
|
Pablo Greco |
d00ad8 |
# but this isn't used by mainline VC4 driver so reduce to lowest supported value
|
|
Pablo Greco |
d00ad8 |
# You need to set this to at least 80 for using the camera
|
|
Pablo Greco |
d00ad8 |
gpu_mem=32
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# Use eXtended firmware by default
|
|
Pablo Greco |
d00ad8 |
start_x=1
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# New option to allow the firmware to load upstream dtb
|
|
Pablo Greco |
d00ad8 |
# Will allow things like camera, touchscreen etc to work OOTB
|
|
Pablo Greco |
d00ad8 |
upstream_kernel=1
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# HAT and DT overlays. Documentation at Raspberry Pi here:
|
|
Pablo Greco |
d00ad8 |
# https://www.raspberrypi.org/documentation/configuration/device-tree.md
|
|
Pablo Greco |
d00ad8 |
# Each dtoverlay line is an individual HAT/overlay, multiple lines allowed
|
|
Pablo Greco |
d00ad8 |
# The dtoverlay=upstream must be present for Fedora kernels
|
|
Pablo Greco |
d00ad8 |
dtoverlay=upstream
|
|
Pablo Greco |
d00ad8 |
# dtoverlay=rpi-sense
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# Allow OS rather than firmware control CEC
|
|
Pablo Greco |
d00ad8 |
mask_gpu_interrupt1=0x100
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# Without this sdram runs at 400mhz, instead of 450
|
|
Pablo Greco |
d00ad8 |
# https://github.com/Hexxeh/rpi-firmware/issues/172
|
|
Pablo Greco |
d00ad8 |
audio_pwm_mode=0
|
|
Pablo Greco |
d00ad8 |
|
|
Pablo Greco |
d00ad8 |
# Other options you can adjust for all Raspberry Pi Revisions
|
|
Pablo Greco |
d00ad8 |
# https://www.raspberrypi.org/documentation/configuration/config-txt/README.md
|
|
Pablo Greco |
d00ad8 |
# All options documented at http://elinux.org/RPiconfig
|
|
Pablo Greco |
d00ad8 |
# for more options see http://elinux.org/RPi_config.txt
|