Advertisement
Guest User

Untitled

a guest
May 6th, 2025
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. # For more options and information see
  2. # http://rptl.io/configtxt
  3. # Some settings may impact device functionality. See link above for details
  4.  
  5. # Uncomment some or all of these to enable the optional hardware interfaces
  6. #dtparam=i2c_arm=on
  7. #dtparam=i2s=on
  8. #dtparam=spi=on
  9.  
  10. # Enable audio (loads snd_bcm2835)
  11. dtparam=audio=on
  12.  
  13. # Additional overlays and parameters are documented
  14. # /boot/firmware/overlays/README
  15.  
  16. # Automatically load overlays for detected cameras
  17. camera_auto_detect=1
  18.  
  19. # Automatically load overlays for detected DSI displays
  20. display_auto_detect=1
  21.  
  22. # Automatically load initramfs files, if found
  23. auto_initramfs=1
  24.  
  25. # Enable DRM VC4 V3D driver
  26. dtoverlay=vc4-kms-v3d
  27. max_framebuffers=2
  28.  
  29. # Don't have the firmware create an initial video= setting in cmdline.txt.
  30. # Use the kernel's default instead.
  31. disable_fw_kms_setup=1
  32.  
  33. # Run in 64-bit mode
  34. arm_64bit=1
  35.  
  36. # Disable compensation for displays with overscan
  37. disable_overscan=1
  38.  
  39. # Run as fast as firmware / board allows
  40. arm_boost=1
  41.  
  42. [cm4]
  43. # Enable host mode on the 2711 built-in XHCI USB controller.
  44. # This line should be removed if the legacy DWC2 controller is required
  45. # (e.g. for USB device mode) or if USB support is not required.
  46. otg_mode=1
  47.  
  48. [cm5]
  49. dtoverlay=dwc2,dr_mode=host
  50.  
  51. [all]
  52. # waveshare 3.5in 320x480pixels - SKU 30896
  53. dtoverlay=mipi-dbi-spi,speed=48000000
  54. dtparam=compatible=wavesku30896\0panel-mipi-dbi-spi
  55. dtparam=width=320,height=480,width-mm=49,height-mm=79
  56. dtparam=reset-gpio=27,dc-gpio=25,backlight-gpio=18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement