mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
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 <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
9a43bf6593
commit
0c9e239bd3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user