Make config.txt more readable

This commit is contained in:
Aleksey Samoilov 2022-07-29 17:29:06 +04:00
parent afcda1c828
commit c458a9a01b

View file

@ -2,9 +2,11 @@
kernel=vmlinuz kernel=vmlinuz
cmdline=cmdline.txt cmdline=cmdline.txt
initramfs initrd.img followkernel initramfs initrd.img followkernel
[pi4] [pi4]
max_framebuffers=2 max_framebuffers=2
arm_boost=1 arm_boost=1
[all] [all]
# Enable the audio output, I2C and SPI interfaces on the GPIO header. As these # Enable the audio output, I2C and SPI interfaces on the GPIO header. As these
# parameters related to the base device-tree they must appear *before* any # parameters related to the base device-tree they must appear *before* any
@ -12,25 +14,32 @@ arm_boost=1
dtparam=audio=on dtparam=audio=on
dtparam=i2c_arm=on dtparam=i2c_arm=on
dtparam=spi=on dtparam=spi=on
# Comment out the following line if the edges of the desktop appear outside # Comment out the following line if the edges of the desktop appear outside
# the edges of your display # the edges of your display
disable_overscan=1 disable_overscan=1
# If you have issues with audio, you may try uncommenting the following line # If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't # which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output) # support audio output)
hdmi_drive=2 hdmi_drive=2
[cm4] [cm4]
# Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into # Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into
# such a board) # such a board)
dtoverlay=dwc2,dr_mode=host dtoverlay=dwc2,dr_mode=host
[all] [all]
# Enable the KMS ("full" KMS) graphics overlay, leaving GPU memory as the # Enable the KMS ("full" KMS) graphics overlay, leaving GPU memory as the
# default (the kernel is in control of graphics memory with full KMS) # default (the kernel is in control of graphics memory with full KMS)
dtoverlay=vc4-kms-v3d dtoverlay=vc4-kms-v3d
# Autoload overlays for any recognized cameras or displays that are attached # Autoload overlays for any recognized cameras or displays that are attached
# to the CSI/DSI ports. Please note this is for libcamera support, *not* for # to the CSI/DSI ports. Please note this is for libcamera support, *not* for
# the legacy camera stack # the legacy camera stack
camera_auto_detect=1 camera_auto_detect=1
display_auto_detect=1 display_auto_detect=1
# Config settings specific to arm64
arm_64bit=1 arm_64bit=1
dtoverlay=dwc2" dtoverlay=dwc2"