Jetpck5.1.2 fpga devs 与orin nx 核心板通过mipi csi接口相连无法出图

链接关系:
image

我修改了nv_imx219.c 与 imx219_mode_tbls.h 与 tegra234-camera-rbpcv2-imx219.dts ,tegra194-camera-jakku-rbpcv2-imx219.dtsi,文件以适配硬件。
但是通过v4l2-ctl命令,调试出现VIDIOC_S_FMT:failed:Inappropriate ioctl for device, 并且和一些其他问题,能否帮忙找下原因,感谢。。。文件如下:

nv_imx219.txt (19.7 KB)

imx219_mode_tbls.txt (1.8 KB)
tegra234-camera-rbpcv2-imx219.dts.txt (7.3 KB)
tegra194-camera-jakku-rbpcv2-imx219.dtsi.txt (1.6 KB)

I would suggest having driver report one format a time and get the trace log to check if more clue.

Thanks

i have a question, we use public/kernel/nvidia/drivers/media/i2c/nv_imx219.c,
but the kernel_src/driver/media/i2c/imx219.c ,,They have different V4L2 frameworks,
in imx219.c , it have set_fmt interface…
image

but nv_imx219.c , i dont know how to set fmt , it seems no interface to link V4L2 frameworks…
image

现在出现如下问题,请问是什么意思呢,收到mipi数据了吗?

Capture failed from the sensor.
Get the trace log to check if more information.

https://elinux.org/Jetson/l4t/Camera_BringUp#Steps_to_enable_more_debug_messages

i have done what you said, this is log file





how do i do next ??

Enable the log then run the v4l2-ctl to capture then cat the log by below command.

cat /sys/kernel/debug/tracing/trace

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.