ccimx95: dey-image-container: create base image for flutter/lvgl

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2026-04-22 09:47:29 +02:00
parent dd0c1a1957
commit c2c4edac9b
4 changed files with 21 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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 \