From 0c9e239bd364f63ff4df5b36c77285e1708924a5 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Fri, 8 May 2026 22:53:03 +0200 Subject: [PATCH] support/testing: test_libcamera.py: bump kernel to 6.18 LTS The Linux Kernel vimc driver became stricter on pixel format, after upstream commit [1] (first included in Kernel v6.11). This commit changes the RGB format to BGR, to request a supported format. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4c46cb2a7f1d63fa7b027af05e0393e4fe9ccb52 Signed-off-by: Julien Olivain Signed-off-by: Thomas Petazzoni --- support/testing/tests/package/test_libcamera.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/testing/tests/package/test_libcamera.py b/support/testing/tests/package/test_libcamera.py index c785e340d6..6d83b0c55d 100644 --- a/support/testing/tests/package/test_libcamera.py +++ b/support/testing/tests/package/test_libcamera.py @@ -18,7 +18,7 @@ class TestLibCamera(infra.basetest.BRTest): BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.76" + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.21" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{kernel_fragment}" @@ -76,5 +76,5 @@ class TestLibCamera(infra.basetest.BRTest): # Capture few frames. cmd = f"cam --camera {cam_idx} --capture=5" - cmd += " --stream width=160,height=120,role=video,pixelformat=RGB888" + cmd += " --stream width=160,height=120,role=video,pixelformat=BGR888" self.assertRunOk(cmd)