diff --git a/ansible/roles/base/templates/cmdline.txt b/ansible/roles/base/templates/cmdline.txt index 8c43902..c4524e4 100755 --- a/ansible/roles/base/templates/cmdline.txt +++ b/ansible/roles/base/templates/cmdline.txt @@ -1 +1 @@ -console=serial0,115200 console=tty1 root=PARTUUID=424e930f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory \ No newline at end of file +console=serial0,115200 console=tty1 root=PARTUUID=9b7ca247-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory \ No newline at end of file diff --git a/ansible/roles/base/templates/config.txt b/ansible/roles/base/templates/config.txt index e3c3976..be4bb82 100755 --- a/ansible/roles/base/templates/config.txt +++ b/ansible/roles/base/templates/config.txt @@ -5,10 +5,6 @@ # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 -# uncomment this if your display has a black border of unused pixels visible -# and your display can output without overscan -#disable_overscan=1 - # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 @@ -51,21 +47,42 @@ dtparam=spi=on #dtoverlay=gpio-ir,gpio_pin=17 #dtoverlay=gpio-ir-tx,gpio_pin=18 -# Uncomment this to enable the lirc-rpi module -#dtoverlay=lirc-rpi - # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) dtparam=audio=on +# Automatically load overlays for detected cameras +#camera_auto_detect=1 +start_x=1 + +# Automatically load overlays for detected DSI displays +display_auto_detect=1 + [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack -dtoverlay=vc4-kms-v3d -arm_64bit=1 +#dtoverlay=vc4-kms-v3d +# legacy driver +dtoverlay=vc4-fkms-v3d + max_framebuffers=2 dtoverlay=uart3 +# Run in 64-bit mode +arm_64bit=1 + +# Run as fast as firmware / board allows +arm_boost=1 + +# Disable compensation for displays with overscan +disable_overscan=1 + +[cm4] +# Enable host mode on the 2711 built-in XHCI USB controller. +# This line should be removed if the legacy DWC2 controller is required +# (e.g. for USB device mode) or if USB support is not required. +otg_mode=1 + [all] #dtoverlay=vc4-kms-v3d # Disable bluetooth in order to enable serial TTL @@ -73,7 +90,6 @@ dtoverlay=pi3-disable-bt # Enable camera -start_x=1 gpu_mem=256 dtoverlay=w1-gpio