diff mbox series

[2/2] support/testing: test_libcamera.py: bump kernel to 6.18 LTS

Message ID 20260508205303.1367063-2-ju.o@free.fr
State Accepted
Headers show
Series [1/2] package/libcamera: bump to v0.7.1 | expand

Commit Message

Julien Olivain May 8, 2026, 8:53 p.m. UTC
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 <ju.o@free.fr>
---
 support/testing/tests/package/test_libcamera.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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)