Running the Crank Partner Demo Container with a monitor attached to the DVI connector works just fine. I can see the heart monitor and interact with it. However, when I try to get the same container to use the 7" Capacitive Touch Display from Toradex, it just generates an error.
I have the appropriate device tree overlays activated:
apalis-imx6-10657251:~$ docker run -it --rm --privileged -v /dev:/dev -v /boot:/boot torizon/arm32v7-debian-dev-tools
root@980c0a8feee5:/# dtconf status
Device is apalis imx6(0035)
Mounting /mnt/part
Currently active overlays:
display-lt161010-overlay.dts.dtbo
apalis-imx6-atmel-mxt-overlay.dts.dtbo
Available base device trees:
imx6q-apalis-ixora-v1.1.dtb
imx6q-apalis-eval.dtb
Available overlays for running kernel:
apalis-imx6-atmel-mxt-overlay.dts:
Atmel MXT touchscreen for the 7inch and 10inch display orderable at Toradex.
apalis-imx6-lvds-overlay.dts:
Enable the LVDS interface on the Apalis iMX6Q. Make sure to also select a valid display configuration.
apalis-imx6-parallel-rgb-overlay.dts:
Enable the parallel RGB interface on the Apalis iMX6Q. Make sure to also select a valid display configuration.
display-edt5.7-overlay.dts:
EDT5.7 display with a resolution of 640x480 pixel
display-edt7-overlay.dts:
EDT7 display with a resolution of 800x480 pixel
display-lt161010-overlay.dts:
LT161010 display (7inch) with a resolution of 800x480 pixel. This display can be ordered at Toradex.
display-lt170410-overlay.dts:
LT170410 display (10inch) with a resolution of 1280x800 pixel. This display can be ordered at Toradex.
I then followed the advice in another thread to shut down all containers, start the weston container, then start the Crank container:
apalis-imx6-10657251:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
apalis-imx6-10657251:~$ docker start torizon_weston_1
torizon_weston_1
apalis-imx6-10657251:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4d446bd4df5c torizon/arm32v7-debian-weston "/usr/bin/entry.sh" 25 hours ago Up 3 seconds torizon_weston_1
apalis-imx6-10657251:~$ docker run -it --privileged -v /home/torizon/crank/scp:/usr/crank/scp -v /dev:/dev -v /tmp:/tmp cranksoftware/torizon_imx6:6_1
Starting Crank Demo Application...
VitalsHD/1280x720.gapp
ERROR [0.334]:Can't initialize the display
apalis-imx6-10657251:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
apalis-imx6-10657251:~$
But it cannot initialize the display. I suspect that it has to do with the screen having a resolution of 800x480 and the Crank application trying to run at 1280x720. But I don’t know how to change this in the Demo application. And would this cause the weston container to stop running?
What step am I missing? How can I go about debugging this?