I updated our board from Thud to Kirkstone and managed to successfully port each feature it had but there is an issue with (or related to) Gstreamer.
On the old system, video where smooth, but on the new one those are choppy.
I had one kernel Oops after less than 10 minutes, not really reproducible.
kernel: [ 526.479394] Internal error: Oops: 7 [#1] SMP ARM
[ 526.535206] LR is at __schedule+0x220/0x5d4
[ 526.539390] pc : [<80194eec>] lr : [<808f79c4>] psr: 600b0013
[ 526.545657] sp : 8a561df8 ip : 8c07e040 fp : ffffffff
[ 526.550880] r10: 6cf77644 r9 : 8a561e74 r8 : 8a560000
[ 526.556106] r7 : 8a561e30 r6 : 8c145d40 r5 : ffffe000 r4 : 88560000
[ 526.562632] r3 : 40404040 r2 : ffd8c07c r1 : 00000000 r0 : 8fb391c0
[ 526.569163] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 526.576298] Control: 10c5387d Table: 1d6f404a DAC: 00000051
[ 526.582046] Process aqueue:src (pid: 799, stack limit = 0xfdd5ae30)
[ 526.588315] Stack: (0x8a561df8 to 0x8a562000)
Videos are played though QtMultimedia from a QML object “Video”
The system doesn’t use X11 neither Wayland, but EGLFS. I had to adapt a little local.conf because it refused to compile by adding :
PREFERRED_VERSION_gstreamer1.0 = ‘1.20.3.imx’
PREFERRED_VERSION_gstreamer1.0-plugins-base = ‘1.20.3.imx’
PREFERRED_VERSION_gstreamer1.0-plugins-good = ‘1.20.3.imx’
PREFERRED_VERSION_gstreamer1.0-plugins-bad = ‘1.20.3.imx’
Actually, I’m not really sure that those versions are correct for the setup. I had choice with a version without the .imx at the end, but it seemed more logic to use this version (I tried both without improvement on the video).
The board is based on a Toradex Colibri iMX6DL 512MB IT V1.1B
other local.conf changes are :
MACHINE = ‘colibri-imx6’
DISTRO = ‘tdx-x11’
ACCEPT_FSL_EULA = ‘1’
LICENSE_FLAGS_ACCEPTED = ‘commercial’
DISTRO_FEATURES:remove = ‘x11 wayland directfb vulkan 3g’
MACHINES_UPSTREAM_DISTRO_DEFAULT = ‘apalis-imx6 colibri-imx6 colibri-imx6ull colibri-imx6ull-emmc colibri-imx7 colibri-imx7-emmc’
IMAGE_FSTYPES += ‘tar.bz2’
IMAGE_FSTYPES:remove = ‘teziimg’
I might have made a mistake somewhere but can’t figure it.
Toradex doesn’t provide EGLFS image example anymore, so I can’t compare with a working example.
Does someone have any clue of how to make video works on this board ?