Hello, When I was adapting my yuv sensor, I encountered a problem. My sensor was output by YUYV82X8, but the data I got after configuring the device tree as follows is in UYVY format. What is the problem?
yuyv.zip (598.6 KB)
Hello, When I was adapting my yuv sensor, I encountered a problem. My sensor was output by YUYV82X8, but the data I got after configuring the device tree as follows is in UYVY format. What is the problem?
yuyv.zip (598.6 KB)
hello Towe_Roll,
please refer to VI-5 formats.
you may try removing the 1st TEGRA_VIDEO_FORMAT since these two using the same fourcc (i.e. YUYV
)
for instance,
$public_sources/kernel_src/kernel/nvidia/drivers/media/platform/tegra/camera/vi/vi5_formats.h
static const struct tegra_video_format vi5_video_formats[] = {
...
/* YUV422 */
TEGRA_VIDEO_FORMAT(YUV422, 16, YUYV8_1X16, 2, 1, T_Y8_U8__Y8_V8,
YUV422_8, YUYV, "YUV 4:2:2"),
TEGRA_VIDEO_FORMAT(YUV422, 16, YUYV8_2X8, 2, 1, T_Y8_U8__Y8_V8,
YUV422_8, YUYV, "YUV 4:2:2 YUYV"),
Hello JerryChang,
The system crashed when I removed the YUYV8_1X16 loading driver
hello Towe_Roll,
may I know what’s the error logs, could you please setup serial console to gather complete messages.
Hello JerryChang,
Once I made this change and tried to load my driver again, I had a problem
log.txt (5.9 KB)
please also revise camera_common_color_fmts[]
within $public_sources/kernel_src/kernel/nvidia/drivers/media/platform/tegra/camera/camera_common.c
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.