Acknowledged
Created: Jul 18, 2025
Updated: Nov 3, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: BSP
root@nxp-imx8:/opt/wr-test/testcases/bts/imx_vdk_samples# find /opt/viv_samples/vdk/samples_es20 -maxdepth 1 -type f -perm /a=x|sort
/opt/viv_samples/vdk/samples_es20/vdksample10_es20
/opt/viv_samples/vdk/samples_es20/vdksample1_es20
/opt/viv_samples/vdk/samples_es20/vdksample2_es20
/opt/viv_samples/vdk/samples_es20/vdksample3_es20
/opt/viv_samples/vdk/samples_es20/vdksample4_es20
/opt/viv_samples/vdk/samples_es20/vdksample5_es20
/opt/viv_samples/vdk/samples_es20/vdksample6_es20
/opt/viv_samples/vdk/samples_es20/vdksample7_es20
/opt/viv_samples/vdk/samples_es20/vdksample8_es20
/opt/viv_samples/vdk/samples_es20/vdksample9_es20
root@nxp-imx8:/opt/wr-test/testcases/bts/imx_vdk_samples# export DISPLAY=:0
root@nxp-imx8:/opt/wr-test/testcases/bts/imx_vdk_samples# cd /opt/viv_samples/vdk/samples_es20
root@nxp-imx8:/opt/viv_samples/vdk/samples_es20# ./vdksample10_es20 && ./vdksample1_es20 && ./vdksample2_es20 && ./vdksample3_es20 && ./vdksample4_es20 && ./vdksample5_es20 && ./vdksample6_es20 && ./vdksample7_es20 && ./vdksample8_es20 && ./vdksample9_es20
root@nxp-imx8:/opt/wr-test/testcases/bts/imx_vdk_samples# cat /sys/kernel/debug/kmemleak |grep -E -B10 -A50 'kmemleak_alloc|kmem_cache_alloc' ||return 0
unreferenced object 0xffff00081ea014c0 (size 64):
comm "weston", pid 868, jiffies 4294899038
hex dump (first 32 bytes):
00 c0 c3 11 08 00 ff ff 00 00 00 00 00 00 00 00 ................
05 00 00 00 08 00 ff ff 4a 00 00 00 00 00 00 00 ........J.......
backtrace (crc 56124890):
kmemleak_alloc+0x3c/0x50
__kmalloc_noprof+0x1e4/0x4c8
gckOS_AllocateMemory+0x78/0x1a8
gckOS_Allocate+0x8c/0x260
gckKERNEL_AddProcessDB+0x57c/0x7e0
gckKERNEL_Dispatch+0xa4c/0x2e08
gckDEVICE_Dispatch+0x19c/0x2a8
drv_ioctl+0x45c/0x8b0
__arm64_sys_ioctl+0xb4/0x100
invoke_syscall+0x5c/0x128
el0_svc_common.constprop.0+0x48/0xf8
do_el0_svc+0x24/0x40
el0_svc+0x30/0xf8
el0t_64_sync_handler+0x120/0x138
el0t_64_sync+0x190/0x198
unreferenced object 0xffff00081eb57d00 (size 64):
comm "weston", pid 868, jiffies 4294899304
hex dump (first 32 bytes):
00 c0 c3 11 08 00 ff ff c0 14 a0 1e 08 00 ff ff ................
05 00 00 00 00 00 00 00 7a 00 00 00 00 00 00 00 ........z.......
backtrace (crc a827d942):
kmemleak_alloc+0x3c/0x50
__kmalloc_noprof+0x1e4/0x4c8
gckOS_AllocateMemory+0x78/0x1a8
gckOS_Allocate+0x8c/0x260
gckKERNEL_AddProcessDB+0x57c/0x7e0
gckKERNEL_Dispatch+0xa4c/0x2e08
gckDEVICE_Dispatch+0x19c/0x2a8
drv_ioctl+0x45c/0x8b0
__arm64_sys_ioctl+0xb4/0x100
invoke_syscall+0x5c/0x128
el0_svc_common.constprop.0+0x48/0xf8
do_el0_svc+0x24/0x40
el0_svc+0x30/0xf8
el0t_64_sync_handler+0x120/0x138
el0t_64_sync+0x190/0x198
unreferenced object 0xffff000823181cc0 (size 64):
comm "weston", pid 868, jiffies 4294899512
hex dump (first 32 bytes):
00 c0 c3 11 08 00 ff ff 00 7d b5 1e 08 00 ff ff .........}......
05 00 00 00 f7 7e f7 f7 aa 00 00 00 00 00 00 00 .....~..........
backtrace (crc 4d62d4f8):
kmemleak_alloc+0x3c/0x50
__kmalloc_noprof+0x1e4/0x4c8
gckOS_AllocateMemory+0x78/0x1a8
gckOS_Allocate+0x8c/0x260
gckKERNEL_AddProcessDB+0x57c/0x7e0
gckKERNEL_Dispatch+0xa4c/0x2e08
gckDEVICE_Dispatch+0x19c/0x2a8
drv_ioctl+0x45c/0x8b0
__arm64_sys_ioctl+0xb4/0x100
invoke_syscall+0x5c/0x128
el0_svc_common.constprop.0+0x48/0xf8
do_el0_svc+0x24/0x40
el0_svc+0x30/0xf8
el0t_64_sync_handler+0x120/0x138
el0t_64_sync+0x190/0x198
unreferenced object 0xffff0008233eb0c0 (size 64):
comm "weston", pid 868, jiffies 4294899828
hex dump (first 32 bytes):
00 c0 c3 11 08 00 ff ff c0 1c 18 23 08 00 ff ff ...........#....
01 00 00 00 00 00 05 22 1a 00 00 00 00 00 00 00 ......."........
backtrace (crc 4f30bdb2):
kmemleak_alloc+0x3c/0x50
__kmalloc_noprof+0x1e4/0x4c8
gckOS_AllocateMemory+0x78/0x1a8
gckOS_Allocate+0x8c/0x260
gckKERNEL_AddProcessDB+0x57c/0x7e0
_AllocateLinearMemory+0x1b0/0x3d0
gckKERNEL_Dispatch+0x2f0/0x2e08
gckDEVICE_Dispatch+0x19c/0x2a8
drv_ioctl+0x45c/0x8b0
__arm64_sys_ioctl+0xb4/0x100
invoke_syscall+0x5c/0x128
el0_svc_common.constprop.0+0x48/0xf8
do_el0_svc+0x24/0x40
el0_svc+0x30/0xf8
el0t_64_sync_handler+0x120/0x138
el0t_64_sync+0x190/0x198
unreferenced object 0xffff0008233eb140 (size 64):
comm "weston", pid 868, jiffies 4294899828
hex dump (first 32 bytes):
00 c0 c3 11 08 00 ff ff c0 b0 3e 23 08 00 ff ff ..........>#....
06 00 00 00 00 02 a2 66 1a 00 00 00 00 00 00 00 .......f........
backtrace (crc 3254fd89):
kmemleak_alloc+0x3c/0x50
__kmalloc_noprof+0x1e4/0x4c8
gckOS_AllocateMemory+0x78/0x1a8
gckOS_Allocate+0x8c/0x260
gckKERNEL_AddProcessDB+0x57c/0x7e0
_LockVideoMemory.isra.0+0x1b8/0x460
gckKERNEL_Dispatch+0x530/0x2e08
gckDEVICE_Dispatch+0x19c/0x2a8
drv_ioctl+0x45c/0x8b0
__arm64_sys_ioctl+0xb4/0x100
invoke_syscall+0x5c/0x128
el0_svc_common.constprop.0+0x48/0xf8
do_el0_svc+0x24/0x40
el0_svc+0x30/0xf8
el0t_64_sync_handler+0x120/0x138
el0t_64_sync+0x190/0x198
/lpg-build/cdc/fast_prod/WRL10_25/WRL10_25_GIT/wrlinux-10/setup.sh --machines nxp-imx8 --distros wrlinux-graphics --dl-layers=1 --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"' >> conf/local.conf
cat << EOF >> customized_test_plan.ini
[Test_Case]
all_system_info
bootcheck_calltrace
bootcheck_error
bootcheck_kmemleak
bootcheck_warning
gstreamer_v4l2src
gstreamer_vpu
imx_cover_flow
imx_gpu_console
imx_gpu_g2d
imx_gpu_gles2
imx_gpu_gles3
imx_gpu_openvg
imx_vdk_samples
imx_viv_cl11
imx_viv_tiger
imx_viv_vdk
imx_vpu_test
imx_vv_launcher
wayland_array-test
wayland_compositor-introspection-test
wayland_connection-test
wayland_display-test
wayland_event-loop-test
wayland_fixed-test
wayland_glmark2_es2
wayland_headers-test
wayland_interface-test
wayland_list-test
wayland_map-test
wayland_message-test
wayland_newsignal-test
wayland_protocol-logger-test
wayland_queue-test
wayland_resources-test
wayland_signal-test
wayland_socket-test
weston-calibrator
weston-clickdot
weston-cliptest
weston-confine
weston-dnd
weston-editor
weston-eventdemo
weston-flower
weston-fullscreen
weston-image
weston-multi-resource
weston-presentation-shm
weston-resizor
weston-scaler
weston-simple-damage
weston-simple-egl
weston-simple-shm
weston-simple-touch
weston-smoke
weston-stacking
weston-start
weston-subsurfaces
weston-terminal
weston-transformed
[Test_HW]
audio = "HiFi_0_0"
ethernet = "eth0"
gstreamer_v4l2src = "video0"
EOF
echo 'BB_NUMBER_THREADS ?= "24"' >> conf/local.conf
echo 'PARALLEL_MAKE ?= "-j 24"' >> conf/local.conf
export http_proxy=147.11.252.42:9090
export https_proxy=147.11.252.42:9090
bitbake-layers add-layer /net/pek-lpgtest7408/buildarea1/SharedImage/wrlinux-testing-dl/
bitbake-layers add-layer /net/pek-lpgtest16/buildarea1/kliang/lxgit/wassp/WASSP_LINUX_1025/testcases/wrlinux/wr-testing/bts-dev
#####To Clone a whole new testcases layer#####
git clone --depth 1 -b master git://lxgit.wrs.com/wrlinux-testing/testcases.git ../layers/testcases/wrlinux/
bitbake-layers add-layer ../layers/testcases/wrlinux/wr-testing/bts-dev
#####End#####
echo '
require templates/feature/bts/template.conf
IMAGE_FSTYPES += " tar.bz2"
ACTIVE_PLAN = "customized_test_plan.ini"' >> conf/local.conf
echo 'BB_NO_NETWORK = '0'
ACCEPT_FSL_EULA = "1"
LICENSE_FLAGS_ACCEPTED:append = " commercial"
BSP_NXP_DERIVED:append:nxp-imx8 = " nxp-imx8"
DISTROOVERRIDES:nxp-imx8 = "fsl fslc"
PREFERRED_PROVIDER_virtual/egl:imxgpu ?= "imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libgl:imxgpu ?= "mesa-gl"
PREFERRED_PROVIDER_virtual/mesa:imxgpu ?= "mesa-gl"
PREFERRED_PROVIDER_virtual/libgles1:imxgpu3d ?= "imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libgles2:imxgpu3d ?= "imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libgles3:imxgpu3d ?= "imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d"
PREFERRED_PROVIDER_virtual/opencl-icd:imxgpu ?= "imx-gpu-viv"
PREFERRED_PROVIDER_opencl-clhpp:imxgpu ?= "imx-gpu-viv"
PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv"
PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv"
PREFERRED_VERSION_vulkan-headers:mx8 = "1.3.275.0.imx"
PREFERRED_VERSION_vulkan-loader:mx8 = "1.3.275.0.imx"
PREFERRED_VERSION_libdrm:mx8 = "2.4.123.imx"
PREFERRED_VERSION_wayland-protocols:mx8 = "1.37.imx"
PREFERRED_VERSION_weston:mx8 = "14.0.1.imx"
PREFERRED_VERSION_opencv:mx8 = "4.10.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8 = "1.24.7.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8 = "1.24.7.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8 = "1.24.7.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-good-qt:mx8 = "1.24.12.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8 = "1.24.12"
PREFERRED_VERSION_gstreamer1.0:mx8 = "1.24.7.imx"
PREFERRED_VERSION_gstreamer1.0-libav:mx8 = "1.24.12"
LICENSE_FLAGS_ACCEPTED += "commercial"
PREFERRED_VERSION_xwayland:mx8 = "23.2.5.imx"
DISTRO_FEATURES:remove = "directfb "
DISTRO_FEATURES:append = " wayland pam"
MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "1"
IMAGE_FEATURES:remove = "x11-base x11-sato"
IMAGE_FEATURES:append = " weston"
WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path installed-vs-shipped ldflags pn-overrides rpaths staticdev useless-rpaths"
WARN_QA:remove = "${WARN_TO_ERROR_QA}"
ERROR_QA:append = " ${WARN_TO_ERROR_QA}"
CUSTOMER_RECIPES:imx-machine-learning += 'nn-imx tensorflow-lite-host-tools tensorflow-protobuf tensorflow-lite flatbuffers nnstreamer ssat '
CUSTOMER_RECIPES:multimedia-layer += 'gst-shark'
PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d"
LICENSE_FLAGS_ACCEPTED:append = "commercial"
CUSTOMER_BUILD_BOOTLOADER = "1"
BSP_NXP_DERIVED:append= " nxp-imx8"
PREFERRED_PROVIDER_virtual/bootloader:mx8 = "u-boot-imx"
MACHINEOVERRIDES:prepend = "mx8qm:mx8qm-nxp-bsp:mx8-generic-bsp:mx8qm-generic-bsp:"
IMX_EXTRA_FIRMWARE:mx8-generic-bsp = "imx-boot-firmware-files imx-sc-firmware imx-seco"
PREFERRED_VERSION_imx-m4-demos:mx8qm-nxp-bsp = "2.9.0"
PREFERRED_VERSION_imx-seco:mx8 = "5.9.4.1"
IMX_SOC_REV_LOWER = "b0"
UBOOT_CONFIG ??= "mx8qmmek"
UBOOT_CONFIG[mx8qmmek] = "imx8qm_mek_defconfig,sdcard"
IMAGE_BOOT_FILES:append = " hdmitxfw.bin hdmirxfw.bin dpfw.bin"
IMX_DEFAULT_BOOTLOADER:use-nxp-bsp = "u-boot-imx"
IMX_DEFAULT_BOOTLOADER:use-mainline-bsp ="u-boot-fslc"
ATF_PLATFORM = "imx8qm"
IMX_BOOT_SOC_TARGET = "iMX8QM"
UBOOT_MAKE_TARGET = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '', 'u-boot.bin', d)}"
SPL_BINARY = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'spl/u-boot-spl.bin', '', d)}"
IMXBOOT_TARGETS_SD = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'flash_spl', 'flash flash_ca72', d)}"
IMXBOOT_TARGETS_FSPI= "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'flash_spl_flexspi', 'flash_flexspi', d)}"
IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'mx8qmmek', '${IMXBOOT_TARGETS_SD}', '${IMXBOOT_TARGETS_FSPI}', d)}"
CUSTOMER_RECIPES:meta-arm += 'arm-ffa-user arm-tstee libts'
CUSTOMER_RECIPES:freescale-distro += "assimp devil glslang stb rapidopencl half rapidopenvx "
CUSTOMER_RECIPES:meta-tensorflow += "bazel openjdk-11 "
CUSTOMER_RECIPES:openembedded-layer += "freeglut ccid pcsc-lite spirv-tools nlohmann-json googletest rapidjson glm vulkan-tools libxaw freerdp xterm hdf5 giflib leptonica tesseract tesseract-lang ade v4l-utils tbb fftw imagemagick libtinyxml2 "
CUSTOMER_RECIPES:fsl-sdk-release += "imx-gpu-sdk rapidvulkan gli vulkan-validationlayers libxdg-shell "
CUSTOMER_RECIPES:fsl-bsp-release += "gstreamer1.0-plugins-base gstreamer1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-bad imx-gst1.0-plugin imx-parser imx-codec imx-vpuwrap imx-dsp imx-dsp-codec-ext imx-vpu-hantro-vc imx-gpu-viv imx-g2d-samples mesa imx-gpu-viv-demos imx-gpu-g2d imx-dpu-g2d imx-opencl-converter pugixml systemd-gpuconfig fmt systemd opencv wayland-protocols wayland-protocols libdrm linux-imx-headers weston-init weston isp-imx u-boot-imx imx-atf imx-boot imx-mkimage imx-boot-firmware-files imx-seco imx-boot imx-vpu-hantro imx-vpu-hantro-daemon firmware-imx mesa-demos"
CUSTOMER_RECIPES:meta-python += "python3-wheel python3-pip python3-pybind11 python3-h5py python3-keras-applications python3-keras-preprocessing python3-pkgconfig "
CUSTOMER_RECIPES:freescale-layer += "gstreamer1.0-plugins-imx libimxdmabuffer libimxvpuapi libimxvpuapi2 tinycompress imx-gpu-apitrace vulkan-headers vulkan-loader mxsldr xwayland libimxdmabuffer imx-usb-loader imx-sc-firmware imx-m4-demos "
IMAGE_INSTALL:append += " assimp devil imx-gpu-viv imx-gpu-sdk imx-gpu-viv-demos weston weston-init imx-dpu-g2d imx-vpu-hantro imx-gpu-apitrace weston-xwayland imx-g2d-samples gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good imx-gst1.0-plugin gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav imx-boot libts firmware-imx-vpu-amphion"
MACHINEOVERRIDES:prepend:nxp-imx8 += " mx8:mx8m:mx8qm:mx8mq:imxdrm:imxdpu:imxdcss:imxvpu:imxvpuhantro:imxgpu:imxgpu2d:imxgpu3d:mx8-nxp-bsp:imx-nxp-sdk:use-nxp-bsp:mx8mq-nxp-bsp:mx8qm-nxp-bsp:imxvulkan:mx8-generic-bsp:mx8qm-generic-bsp:mx8qm-nxp-bsp:imx-generic-bsp:"' >> conf/local.conf
bitbake wrlinux-image-std-sato
share image:
http://pek-lpgtest7408.wrs.com/buildarea1/SharedImage/LTS25/BSP/nxp-imx8_preempt-rt_glibc-std-sato_GIT/20250722_161924/