Guest User

boot config

a guest
Jul 6th, 2023
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 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=0
  57. start_x=1
  58. # Automatically load overlays for detected DSI displays
  59. display_auto_detect=1
  60.  
  61. # Enable DRM VC4 V3D driver
  62. dtoverlay=vc4-kms-v3d
  63. max_framebuffers=2
  64.  
  65. # Disable compensation for displays with overscan
  66. disable_overscan=1
  67.  
  68. [cm4]
  69. # Enable host mode on the 2711 built-in XHCI USB controller.
  70. # This line should be removed if the legacy DWC2 controller is required
  71. # (e.g. for USB device mode) or if USB support is not required.
  72. otg_mode=1
  73.  
  74. [all]
  75.  
  76. [pi4]
  77. # Run as fast as firmware / board allows
  78. arm_boost=1
  79.  
  80. [all]
  81.  
  82. ####################################################
  83. #### MainsailOS specific configurations ####
  84. ####################################################
  85. #### DO NOT CHANGE SECTION BELOW !!! ####
  86. #### UNLESS YOU KNOW WHAT YOU ARE DOING !!! ####
  87. ####################################################
  88.  
  89. ## For more options and information see
  90. ## https://www.raspberrypi.com/documentation/computers/config_txt.html
  91. ## Some settings may impact device functionality. See link above for details
  92.  
  93. ## For additional information about device filters see
  94. ## https://www.raspberrypi.com/documentation/computers/config_txt.html#model-filters
  95.  
  96.  
  97. [pi0]
  98. ## This affects Pi Zero(W) and Pi Zero2
  99. ## Due lag of RAM, limit GPU RAM
  100. gpu_mem=160
  101.  
  102. [pi2]
  103. gpu_mem=160
  104.  
  105. [pi3]
  106. ## Use 256 if 1Gb Ram Model!
  107. gpu_mem=160
  108. gpu_mem=160
  109.  
  110. [pi4]
  111. ## Do not use more than 256Mb on Pi Model 4, it uses its own Management.
  112. gpu_mem=160
  113.  
  114. [all]
  115.  
  116. ## SPI Interface is enabled by default for Input Shaper
  117. ## This colides with Hyperpixel Display!
  118. ## Hyperpixel Screen uses the same Pin for Backlight.
  119. dtparam=spi=on
  120.  
  121.  
  122. ## Enable Hardware UART for Serial Communication
  123. ## This also disables Bluetooth!
  124. enable_uart=1
  125. dtoverlay=disable-bt
  126.  
  127. ## Enable I2C by default.
  128. ## This is used by Klipper's Host MCU
  129. ## See https://www.klipper3d.org/RPi_microcontroller.html#optional-enabling-i2c
  130. ## for destails.
  131. ## For MPU Accelrometer please use
  132. ## dtparam=i2c_arm=on,i2c_arm_baudrate=400000
  133. dtparam=i2c_arm=on
  134.  
  135.  
  136. ### EXPERIMENTAL - Enable 64bit Kernel
  137. ### The 64-bit kernel will only work on:
  138. ### Raspberry Pi 3, 3+, 4, 400, Zero 2 W and 2B rev 1.2
  139. ### and Raspberry Pi Compute Modules 3, 3+ and 4.
  140. # arm_64bit=1
  141.  
  142. ####################################################
  143.  
  144. [all]
  145.  
Advertisement
Add Comment
Please, Sign In to add comment