The detected resolution register from Unicam is not 100% reliable.
The bcm2835_unicam module has a module parameter "debug". Set that to the max of 5 (see https://wiki.archlinux.org/title/Kernel ... le_options) will increase the verbosity of the kernel logging significantly, including information on how many lines have been written of the image at each interrupt.
YUYV is known to work as it is used by both the TC358743 HDMI to CSI2 and ADV7282M analogue video to CSI2 bridges.
Note that the default CSI2 format for YUV422 is actually UYVY when written to memory (compare https://www.kernel.org/doc/html/latest/ ... v.html#id1 to section "11.2.4 YUV422 8-bit" of the CSI2 specification.
The bcm2835_unicam module has a module parameter "debug". Set that to the max of 5 (see https://wiki.archlinux.org/title/Kernel ... le_options) will increase the verbosity of the kernel logging significantly, including information on how many lines have been written of the image at each interrupt.
YUYV is known to work as it is used by both the TC358743 HDMI to CSI2 and ADV7282M analogue video to CSI2 bridges.
Note that the default CSI2 format for YUV422 is actually UYVY when written to memory (compare https://www.kernel.org/doc/html/latest/ ... v.html#id1 to section "11.2.4 YUV422 8-bit" of the CSI2 specification.
Statistics: Posted by 6by9 — Wed Dec 11, 2024 6:44 pm