Skip to content

Instantly share code, notes, and snippets.

@aegis1980
Last active August 13, 2022 03:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aegis1980/0bdb940e121cd406035b837f4203194a to your computer and use it in GitHub Desktop.
Save aegis1980/0bdb940e121cd406035b837f4203194a to your computer and use it in GitHub Desktop.
My current OpenAuto Pro 'boot/config.txt' file
start_x=1
dtparam=spi=on
dtparam=i2c_arm=on
enable_uart=1
dtoverlay=w1-gpio
# turn off rpi rainbow
disable_splash=1
# for utronics 7" touchscreen
disable_overscan=1
# 1. Automatically load overlays for detected DSI displays
display_auto_detect=1
# 2,3. Enable DRM VC4 V3D driver
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
# turn off hdmi sound output.
hdmi_drive=1
# if you disable 1,2,3 and uncomment below
# it adds 1024x768 resolution, which is what screen instrcutions says to do.
# i think openauto pro raun fin in 1920x1080, downscaled to screen's native 1024x600
# (rather than 1024x768 downscaled to 1024x600)
#5.
#hdmi_group=2
#hdmi_mode=16
#6.
gpu_mem=128
# for carpi hat spi, otherwise reverse pin wont work.
dtoverlay=spi0-cs,cs1_pin=24
# for car pihat power latch
# to ensure latch pin is held low after the Pi switches off,
# disabling the latch and cutting off any parasitic power draw
dtoverlay=gpio-poweroff,gpiopin=25,active_low
# cooling fan
dtoverlay=gpio-fan,gpiopin=27,temp=70000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment