Freescale / meta-freescale

Layer containing NXP hardware support metadata
Other
173 stars 257 forks source link

IMX8MM-LPDDR4-EVK: Scarthgap Gstreamer invalid map offset #2019

Open ch1092 opened 1 week ago

ch1092 commented 1 week ago

In a fresh environment using the following: branch=scarthgap MACHINE=imx8mm-lpddr4-evk DISTRO=poky Image=core-image-minimal

local.conf additions: IMX_DEFAULT_BSP = "nxp" IMX_DEFAULT_BOOTLOADER = "u-boot-imx" PREFERRED_PROVIDER_virtual/kernel:mx8-nxp-bsp = "linux-imx" IMAGE_INSTALL:append = " gstreamer1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" IMAGE_INSTALL:append = " imx-gst1.0-plugin" IMAGE_INSTALL:append = " imx-gpu-g2d imx-gpu-viv"

I have NXP’s evaluation MIPI camera (OV5640) attached as a video source.

See attached for boot log. imx8mm_NXP-BSP+uboot+linux-imx_poky_imx-gst1.0-plugin.txt

This was previously working but I did update my repositories on 31/10/24 (initially pulled on 15/10/24).

ch1092 commented 2 days ago

I have determined that the last commit that worked correctly was https://github.com/Freescale/meta-freescale/commit/cb16b9c0191549925e08458c37b8eaae613b6e4e.

I suspect that something has stopped the hardware video encoder(s) working correctly as the camera works fine with the software jpegenc in the gstreamer pipeline.

Using the videotestsrc in the pipeline on the latest commit, using the fsl-wayland distro, results in the attached log. imx8mm_fsl-wayland_gstreamer1.0-videotestsrc-error_241014.txt