From ee0f6865b3eb269a54b6b6e17ed0f3e669f0b2bf Mon Sep 17 00:00:00 2001 From: Hau Vo Date: Mon, 9 Oct 2023 15:38:14 +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: If0518958f864ba28563632b3050d617deef3b201 --- .../meta-rcar-gen3/recipes-container/lxc-config/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/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/multi-display.inc b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/multi-display.inc index 96a3e29e..0693c060 100644 --- a/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/multi-display.inc +++ b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/multi-display.inc @@ -1,3 +1,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", "salvator-x", "1", "" ,d)}" diff --git a/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend index 371f6539..b8621dcb 100644 --- a/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/drm-lease-manager/drm-lease-manager-init.bbappend +++ b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/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