From c2c4edac9beaa588bb20d802c14a8e34832aa353 Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Wed, 22 Apr 2026 09:47:29 +0200 Subject: [PATCH] ccimx95: dey-image-container: create base image for flutter/lvgl Signed-off-by: Francisco Gil --- .../flutter/configs_lxc/config_lxc_ccimx95-dvk | 1 + .../lvgl/configs_lxc/config_lxc_ccimx95-dvk | 1 + .../images/dey-image-container-manager.bb | 3 +++ .../recipes-core/images/dey-image-container.bb | 16 ++++++++++++++++ 4 files changed, 21 insertions(+) diff --git a/meta-digi-containers/containers/flutter/configs_lxc/config_lxc_ccimx95-dvk b/meta-digi-containers/containers/flutter/configs_lxc/config_lxc_ccimx95-dvk index b66454690..737867503 100644 --- a/meta-digi-containers/containers/flutter/configs_lxc/config_lxc_ccimx95-dvk +++ b/meta-digi-containers/containers/flutter/configs_lxc/config_lxc_ccimx95-dvk @@ -20,6 +20,7 @@ lxc.mount.entry = tmpfs dev/shm tmpfs rw,nosuid,nodev,mode=1777,create=dir lxc.mount.entry = /dev/dri dev/dri none bind,create=dir lxc.mount.entry = /dev/input dev/input none bind,create=dir lxc.mount.entry = /dev/mali0 dev/mali0 none bind,create=file +lxc.mount.entry = /dev/dma_heap dev/dma_heap none bind,create=dir lxc.mount.entry = /dev/tty dev/tty none bind,create=file lxc.mount.entry = /dev/tty0 dev/tty0 none bind,create=file lxc.mount.entry = /dev/tty1 dev/tty1 none bind,create=file diff --git a/meta-digi-containers/containers/lvgl/configs_lxc/config_lxc_ccimx95-dvk b/meta-digi-containers/containers/lvgl/configs_lxc/config_lxc_ccimx95-dvk index 74e0657fc..f36448943 100644 --- a/meta-digi-containers/containers/lvgl/configs_lxc/config_lxc_ccimx95-dvk +++ b/meta-digi-containers/containers/lvgl/configs_lxc/config_lxc_ccimx95-dvk @@ -21,6 +21,7 @@ lxc.mount.entry = /dev/input dev/input none bind,create=dir lxc.mount.entry = tmpfs dev/shm tmpfs rw,nosuid,nodev,mode=1777,create=dir lxc.mount.entry = /dev/dri dev/dri none bind,create=dir lxc.mount.entry = /dev/mali0 dev/mali0 none bind,create=file +lxc.mount.entry = /dev/dma_heap dev/dma_heap none bind,create=dir lxc.mount.entry = /dev/input dev/input none bind,create=dir lxc.mount.entry = /dev/tty dev/tty none bind,create=file lxc.mount.entry = /dev/tty0 dev/tty0 none bind,create=file diff --git a/meta-digi-containers/recipes-core/images/dey-image-container-manager.bb b/meta-digi-containers/recipes-core/images/dey-image-container-manager.bb index da1fa1066..682df75fd 100644 --- a/meta-digi-containers/recipes-core/images/dey-image-container-manager.bb +++ b/meta-digi-containers/recipes-core/images/dey-image-container-manager.bb @@ -97,3 +97,6 @@ IMAGE_INSTALL = " \ ${CONTAINER_MANAGEMENT} \ ${HOTPLUG_SUPPORT} \ " + +# GPU firmware for ccimx95, it needs to be located in the image +IMAGE_INSTALL:append:ccimx95-dvk = " mali-imx" diff --git a/meta-digi-containers/recipes-core/images/dey-image-container.bb b/meta-digi-containers/recipes-core/images/dey-image-container.bb index 919174a0f..f46dae28d 100644 --- a/meta-digi-containers/recipes-core/images/dey-image-container.bb +++ b/meta-digi-containers/recipes-core/images/dey-image-container.bb @@ -122,6 +122,21 @@ CONTAINER_CREATE_ARGS_PODMAN:container-lvgl:ccmp25 = " \ --volume /run/udev:/run/udev:ro \ --tty \ " +CONTAINER_CREATE_ARGS_PODMAN:container-lvgl:ccimx95 = " \ + --privileged \ + --network none \ + --tmpfs /dev/shm:rw,nosuid,nodev,mode=1777 \ + --device /dev/dri \ + --device /dev/input \ + --device /dev/mali0 \ + --device /dev/dma_heap \ + --device /dev/tty \ + --device /dev/tty0 \ + --device /dev/tty1 \ + --device /dev/tty7 \ + --volume /run/udev:/run/udev:ro \ + --tty \ +" IMAGE_INSTALL:append:container-lvgl = " \ lvgl-demo \ weston \ @@ -241,6 +256,7 @@ CONTAINER_CREATE_ARGS_PODMAN:container-flutter:ccimx95 = " \ --device /dev/dri \ --device /dev/input \ --device /dev/mali0 \ + --device /dev/dma_heap \ --device /dev/tty \ --device /dev/tty0 \ --device /dev/tty1 \