iMX8 reboot when clicking on a Weston interface

Hi,

I’m trying to get a Colibri iMX8QXP 2GB WB V1.0D to run on a custom development board (based on and very similar to the V3.2 evaluation board) with a parallel RGB to LVDS interface display and capacitive touch. This board was developed for the T20 and works well with both the T20 and the iMX6.

The problem with the iMX8 is that it eventually reboots only when an input is used (touch click, mouse attached to the board USB, click on a VNC interface) while a Docker container with Weston is running.

System information:

torizon@colibri-imx8x-07252168:~$ uname -a
Linux colibri-imx8x-07252168 5.4.193-5.7.2+git.b60d3160fd04 #1-TorizonCore SMP PREEMPT Fri Dec 23 15:47:24 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

docker command used for weston:

docker run -e ACCEPT_FSL_EULA=1 -d --rm --name=weston --net=host --cap-add CAP_SYS_TTY_CONFIG -v /dev:/dev -v /tmp:/tmp -v /run/udev/: /run/udev/ --device-cgroup-rule='c 4:* rmw' --device-cgroup-rule='c 13:* rmw' --device-cgroup-rule='c 199:* rmw' --device-cgroup-rule='c 226:* rmw' torizon/weston-vivante:$CT_TAG_WESTON_VIVANTE --developer weston-launch --tty=/dev/tty7 --user=torizon

I checked the board power with a scope when it reboots but everything seems normal. It doesn’t seem to be a power or temperature problem because the reboot occurs when a click is made.

Attached a couple of logs:
dmesgLog.txt (28.6 KB)
PersistentJournaldLogging.txt (116.8 KB)

Any ideas?

Hi @mllona ,

That’s really strange. I took a quick look at your logs and I didn’t see anything out of the ordinary.

I checked the board power with a scope when it reboots but everything seems normal. It doesn’t seem to be a power or temperature problem because the reboot occurs when a click is made.

Well, I suspect this could be related to power consumption: maybe the power supply can’t give enough energy to the iMX8X, as it likely draws more power than the iMX6, for instance.

What happens when you also try running a Chromium container after initializing Weston, without clicking on anything? You can run a Chromium container by following this article: Web Browser / Kiosk Mode with TorizonCore | Toradex Developer Center

If the problem is related to power I’d expect the iMX8X to reboot after trying to run Chromium.

Best regards,
Lucas Akira

Hi @lucas_a.tx,

Thanks for your answer.

I did several tests running Chromium after initializing Weston and the iMX8X keeps rebooting.

I tried to power the carrier board with an external source and the iMX8X stopped rebooting so I guess we have to redesign our power source to support these modules.

Thanks and best regards,

Martin

Glad your issue was solved!

Best regards,
Lucas Akira