Advertisement
Guest User

Untitled

a guest
May 5th, 2023
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. # For more options and information see
  2. # http://rpf.io/configtxt
  3. # Some settings may impact device functionality. See link above for details
  4.  
  5. # uncomment if you get no picture on HDMI for a default "safe" mode
  6. #hdmi_safe=1
  7.  
  8. # uncomment the following to adjust overscan. Use positive numbers if console
  9. # goes off screen, and negative if there is too much border
  10. #overscan_left=16
  11. #overscan_right=16
  12. #overscan_top=16
  13. #overscan_bottom=16
  14.  
  15. # uncomment to force a console size. By default it will be display's size minus
  16. # overscan.
  17. #framebuffer_width=1280
  18. #framebuffer_height=720
  19.  
  20. # uncomment if hdmi display is not detected and composite is being output
  21. #hdmi_force_hotplug=1
  22.  
  23. # uncomment to force a specific HDMI mode (this will force VGA)
  24. #hdmi_group=1
  25. #hdmi_mode=1
  26.  
  27. # uncomment to force a HDMI mode rather than DVI. This can make audio work in
  28. # DMT (computer monitor) modes
  29. #hdmi_drive=2
  30.  
  31. # uncomment to increase signal to HDMI, if you have interference, blanking, or
  32. # no display
  33. #config_hdmi_boost=4
  34.  
  35. # uncomment for composite PAL
  36. #sdtv_mode=2
  37.  
  38. #uncomment to overclock the arm. 700 MHz is the default.
  39. #arm_freq=800
  40.  
  41. # Uncomment some or all of these to enable the optional hardware interfaces
  42. #dtparam=i2c_arm=on
  43. #dtparam=i2s=on
  44. #dtparam=spi=on
  45.  
  46. # Uncomment this to enable infrared communication.
  47. #dtoverlay=gpio-ir,gpio_pin=17
  48. #dtoverlay=gpio-ir-tx,gpio_pin=18
  49.  
  50. # Additional overlays and parameters are documented /boot/overlays/README
  51.  
  52. # Enable audio (loads snd_bcm2835)
  53. dtparam=audio=on
  54.  
  55. # Automatically load overlays for detected cameras
  56. # camera_auto_detect=1
  57. dtoverlay=imx219
  58.  
  59. # Automatically load overlays for detected DSI displays
  60. # display_auto_detect=1
  61. dtoverlay=vc4-kms-dsi-7inch
  62.  
  63. # Enable DRM VC4 V3D driver
  64. dtoverlay=vc4-kms-v3d-pi3,nocomposite,noaudio
  65. max_framebuffers=2
  66.  
  67. # Disable compensation for displays with overscan
  68. disable_overscan=1
  69.  
  70. [cm4]
  71. # Enable host mode on the 2711 built-in XHCI USB controller.
  72. # This line should be removed if the legacy DWC2 controller is required
  73. # (e.g. for USB device mode) or if USB support is not required.
  74. otg_mode=1
  75.  
  76. [all]
  77.  
  78. [pi4]
  79. # Run as fast as firmware / board allows
  80. arm_boost=1
  81.  
  82. [all]
  83.  
  84. ####################################################
  85. #### MainsailOS specific configurations ####
  86. ####################################################
  87. #### DO NOT CHANGE SECTION BELOW !!! ####
  88. #### UNLESS YOU KNOW WHAT YOU ARE DOING !!! ####
  89. ####################################################
  90.  
  91. ## For more options and information see
  92. ## https://www.raspberrypi.com/documentation/computers/config_txt.html
  93. ## Some settings may impact device functionality. See link above for details
  94.  
  95. ## For additional information about device filters see
  96. ## https://www.raspberrypi.com/documentation/computers/config_txt.html#model-filters
  97.  
  98.  
  99. [pi0]
  100. ## This affects Pi Zero(W) and Pi Zero2
  101. ## Due lag of RAM, limit GPU RAM
  102. gpu_mem=128
  103.  
  104. [pi2]
  105. gpu_mem=256
  106.  
  107. [pi3]
  108. ## Use 256 if 1Gb Ram Model!
  109. # gpu_mem=128
  110. gpu_mem=256
  111.  
  112.  
  113. [pi4]
  114. ## Do not use more than 256Mb on Pi Model 4, it uses its own Management.
  115. gpu_mem=256
  116.  
  117. [all]
  118.  
  119. ## SPI Interface is enabled by default for Input Shaper
  120. ## This colides with Hyperpixel Display!
  121. ## Hyperpixel Screen uses the same Pin for Backlight.
  122. dtparam=spi=on
  123.  
  124.  
  125. ## Enable Hardware UART for Serial Communication
  126. ## This also disables Bluetooth!
  127. enable_uart=1
  128. dtoverlay=disable-bt
  129.  
  130. ## Enable I2C by default.
  131. ## This is used by Klipper's Host MCU
  132. ## See https://www.klipper3d.org/RPi_microcontroller.html#optional-enabling-i2c
  133. ## for destails.
  134. ## For MPU Accelrometer please use
  135. ## dtparam=i2c_arm=on,i2c_arm_baudrate=400000
  136. dtparam=i2c_arm=on
  137.  
  138. ## Disable libcamera (interferes with ustreamer, when using raspicams)
  139. # camera_auto_detect=0
  140.  
  141. ## Enable VideoCore at boot, needed for Crowsnest (Raspicams and DSI devices).
  142. # start_x=1
  143.  
  144.  
  145. ### EXPERIMENTAL - Enable 64bit Kernel
  146. ### The 64-bit kernel will only work on:
  147. ### Raspberry Pi 3, 3+, 4, 400, Zero 2 W and 2B rev 1.2
  148. ### and Raspberry Pi Compute Modules 3, 3+ and 4.
  149. # arm_64bit=1
  150.  
  151. ####################################################
  152.  
  153. [all]
  154.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement