From 274715c2ccd2182cd8266143cbfb266854a5d0a0 Mon Sep 17 00:00:00 2001 From: Hau Vo Date: Fri, 29 Sep 2023 13:21:15 +0900 Subject: Add support Salvator-x H3/M3 to IC container demo This enable lxc auto start on Salvator-x H3/M3 and specify drm interface for M3. Bug-AGL: SPEC-4808 Signed-off-by: Hau Vo Change-Id: I45e9ff5453655f814f067ec1f48611ee4cea8442 (cherry picked from commit 88775acac57bdd2184180ad672a410b1155f1e1f) --- meta-agl-ic-container/conf/include/drm-lease-multi-display.inc | 1 + .../drm-lease-manager/drm-lease-manager-init.bbappend | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/meta-agl-ic-container/conf/include/drm-lease-multi-display.inc b/meta-agl-ic-container/conf/include/drm-lease-multi-display.inc index d07d6a5d..bcf2e730 100644 --- a/meta-agl-ic-container/conf/include/drm-lease-multi-display.inc +++ b/meta-agl-ic-container/conf/include/drm-lease-multi-display.inc @@ -2,3 +2,4 @@ HAS_MULTI_DISPLAY ?= "" HAS_MULTI_DISPLAY += "${@bb.utils.contains("AGL_FEATURES", "kingfisher", "1", "" ,d)}" HAS_MULTI_DISPLAY += "${@bb.utils.contains("AGL_FEATURES", "agl-refhw-h3", "1", "" ,d)}" HAS_MULTI_DISPLAY += "${@bb.utils.contains("MACHINE", "raspberrypi4-64", "1", "" ,d)}" +HAS_MULTI_DISPLAY += "${@bb.utils.contains("MACHINE", "salvator-x", "1", "" ,d)}" diff --git a/meta-agl-ic-container/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend b/meta-agl-ic-container/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend index 371f6539..b8621dcb 100644 --- a/meta-agl-ic-container/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend +++ b/meta-agl-ic-container/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend @@ -1,2 +1,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" SRC_URI = "file://drm-lease-manager.ini" + +do_install:append:r8a7796() { + sed -i -e "s/connectors=\[\"HDMI-A-2\"\]/connectors=\[\"VGA-1\"\]/g" \ + ${D}${sysconfdir}/xdg/drm-lease-manager/drm-lease-manager.ini +} -- cgit 1.2.3-korg