rpi-config: Set max_framebuffers to 2 to support dual display 69/22869/1
authorChanghyeok Bae <changhyeok.bae@daimler.com>
Fri, 1 Nov 2019 11:07:44 +0000 (12:07 +0100)
committerLeon Anavi <leon.anavi@konsulko.com>
Wed, 6 Nov 2019 11:44:02 +0000 (13:44 +0200)
Change-Id: Id9ca08ede2aedbc122a04d97ca4bb5bd8478b717
Signed-off-by: Changhyeok Bae <changhyeok.bae@daimler.com>
meta-agl-bsp/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend

index 5c74cae..5eecff6 100644 (file)
@@ -35,6 +35,11 @@ do_deploy_append() {
     echo "dtparam=audio=on" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
 }
 
+do_deploy_append_raspberrypi4() {
+    echo -e "\n[pi4]" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
+    echo "max_framebuffers=2" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
+}
+
 do_deploy_append_sota() {
     echo "device_tree_address=0x0c800000" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
 }