PKGBUILDs/core/linux-rpi/config.txt

57 lines
1.5 KiB
Text
Raw Permalink Normal View History

# For more options and information see:
2024-11-02 12:07:28 +00:00
# https://www.raspberrypi.com/documentation/computers/config_txt.html
# Some settings may impact device functionality. See link above for details
initramfs initramfs-linux.img followkernel
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Additional overlays and parameters are documented
2024-11-02 12:07:28 +00:00
# /boot/overlays/README
# 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
max_framebuffers=2
2024-11-02 12:07:28 +00:00
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
# Disable compensation for displays with overscan
disable_overscan=1
2023-06-24 14:32:28 +00:00
# Uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
2023-06-24 14:32:28 +00:00
# Uncomment if you want to disable wifi or bluetooth respectively
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# Run as fast as firmware / board allows
arm_boost=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
2024-11-02 12:07:28 +00:00
[cm5]
dtoverlay=dwc2,dr_mode=host
[all]