@@ -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)
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(-)