From: Changhyeok Bae Date: Fri, 1 Nov 2019 11:07:44 +0000 (+0100) Subject: rpi-config: Set max_framebuffers to 2 to support dual display X-Git-Tag: 8.99.1~20 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=ae660e0efd590d29d659e95af55b058aac5f79f9;p=AGL%2Fmeta-agl.git rpi-config: Set max_framebuffers to 2 to support dual display Change-Id: Id9ca08ede2aedbc122a04d97ca4bb5bd8478b717 Signed-off-by: Changhyeok Bae --- diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend index 5c74cae7b..5eecff6f1 100644 --- a/meta-agl-bsp/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend +++ b/meta-agl-bsp/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend @@ -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 }