[ 607.835606] adv7482 6-0070: Detected the PAL video input signal
[ 607.837781] adv7482 6-0070: Detected the PAL video input signal
[ 607.865096] vi vi: Selected no CSI lane, cannot do calibration
[ 608.062187] video4linux video0: frame start syncpt timeout!0
Message
[ 607.865096] vi vi: Selected no CSI lane, cannot do calibration
I tryed change num_csi_lanes, but nothing has changed.I tryed stay on the line TXB CSI0P and I saw signal with period 25 microSec, on the clock perid was 20 nSec.
It means, that ADV7482 working normally.
My question: how I can test, that I right working with csi input on Tegra?
Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and Mjstreaminglibv4lconvert: warning more framesizes then I can handle!
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Framerate set to : 100 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
===== MSENC blits (mode: 1) into tiled surfaces =====
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:06.305059031
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Dmesg:
[ 1226.082113] adv7482_s_power_test_msg
[ 1226.085824] adv7482_set_power_test_new_msg on = 1
[ 1226.090883] adv7482_set_power_up_txb_1lane_msg_read_register_ADV7482_I2C_TXB ret = 0 val = 0
[ 1226.166116] adv7482_set_power_up_txb_1lane_msg
[ 1226.180501] adv7482_get_pad_format_test_msg
[ 1226.185523] adv7482_g_input_status_test_msg
[ 1226.190546] adv7482_g_input_status_test_msg
[ 1226.196121] adv7482_set_pad_format_test_msg
[ 1226.200310] adv7482_mbus_fmt_test_msg
[ 1226.204652] adv7482_set_pad_format_test_msg
[ 1226.208907] adv7482_mbus_fmt_test_msg
[ 1226.213604] adv7482_set_pad_format_test_msg
[ 1226.217861] adv7482_mbus_fmt_test_msg
[ 1226.222341] adv7482_set_pad_format_test_msg
[ 1226.226534] adv7482_mbus_fmt_test_msg
[ 1226.231202] adv7482_set_pad_format_test_msg
[ 1226.235467] adv7482_mbus_fmt_test_msg
[ 1226.240033] adv7482_set_pad_format_test_msg
[ 1226.244206] adv7482_mbus_fmt_test_msg
[ 1226.248781] adv7482_set_pad_format_test_msg
[ 1226.253005] adv7482_mbus_fmt_test_msg
[ 1226.257484] adv7482_set_pad_format_test_msg
[ 1226.261658] adv7482_mbus_fmt_test_msg
[ 1226.266085] adv7482_set_pad_format_test_msg
[ 1226.270341] adv7482_mbus_fmt_test_msg
[ 1226.275058] adv7482_set_pad_format_test_msg
[ 1226.279244] adv7482_mbus_fmt_test_msg
[ 1226.283661] adv7482_set_pad_format_test_msg
[ 1226.287893] adv7482_mbus_fmt_test_msg
[ 1226.292613] adv7482_set_pad_format_test_msg
[ 1226.296800] adv7482_mbus_fmt_test_msg
[ 1226.301406] adv7482_set_pad_format_test_msg
[ 1226.305637] adv7482_mbus_fmt_test_msg
[ 1226.310286] adv7482_set_pad_format_test_msg
[ 1226.314459] adv7482_mbus_fmt_test_msg
[ 1226.319032] adv7482_set_pad_format_test_msg
[ 1226.323249] adv7482_mbus_fmt_test_msg
[ 1226.327768] adv7482_set_pad_format_test_msg
[ 1226.331985] adv7482_mbus_fmt_test_msg
[ 1226.336331] adv7482_set_pad_format_test_msg
[ 1226.340558] adv7482_mbus_fmt_test_msg
[ 1226.344885] adv7482_set_pad_format_test_msg
[ 1226.349071] adv7482_mbus_fmt_test_msg
[ 1226.353872] adv7482_set_pad_format_test_msg
[ 1226.358106] adv7482_mbus_fmt_test_msg
[ 1226.362634] adv7482_set_pad_format_test_msg
[ 1226.366820] adv7482_mbus_fmt_test_msg
[ 1226.371663] adv7482_set_pad_format_test_msg
[ 1226.375903] adv7482_mbus_fmt_test_msg
[ 1226.380601] adv7482_set_pad_format_test_msg
[ 1226.384775] adv7482_mbus_fmt_test_msg
[ 1226.389342] adv7482_set_pad_format_test_msg
[ 1226.393558] adv7482_mbus_fmt_test_msg
[ 1226.398092] adv7482_set_pad_format_test_msg
[ 1226.402266] adv7482_mbus_fmt_test_msg
[ 1226.406841] adv7482_set_pad_format_test_msg
[ 1226.411063] adv7482_mbus_fmt_test_msg
[ 1226.415740] adv7482_set_pad_format_test_msg
[ 1226.419918] adv7482_mbus_fmt_test_msg
[ 1226.424731] adv7482_set_pad_format_test_msg
[ 1226.429006] adv7482_mbus_fmt_test_msg
[ 1226.433469] adv7482_set_pad_format_test_msg
[ 1226.437657] adv7482_mbus_fmt_test_msg
[ 1226.442300] adv7482_set_pad_format_test_msg
[ 1226.446529] adv7482_mbus_fmt_test_msg
[ 1226.451227] adv7482_set_pad_format_test_msg
[ 1226.455401] adv7482_mbus_fmt_test_msg
[ 1226.460019] adv7482_set_pad_format_test_msg
[ 1226.464239] adv7482_mbus_fmt_test_msg
[ 1226.472360] adv7482_set_pad_format_test_msg
[ 1226.476571] adv7482_mbus_fmt_test_msg
[ 1226.481064] adv7482_set_pad_format_test_msg
[ 1226.485239] adv7482_mbus_fmt_test_msg
[ 1226.490298] adv7482_set_pad_format_test_msg
[ 1226.494526] adv7482_mbus_fmt_test_msg
[ 1226.499186] adv7482_set_pad_format_test_msg
[ 1226.503360] adv7482_mbus_fmt_test_msg
[ 1226.507832] adv7482_set_pad_format_test_msg
[ 1226.512006] adv7482_set_power_test_new_msg on = 0
[ 1226.517027] adv7482_set_power_up_txb_1lane_msg_read_register_ADV7482_I2C_TXB ret = 0 val = 40
[ 1226.526331] adv7482_set_power_down_txb_1lane_msg
[ 1226.530939] adv7482_set_field_test_msg
[ 1226.534721] adv7482_set_power_test_new_msg on = 1
[ 1226.539712] adv7482_set_power_up_txb_1lane_msg_read_register_ADV7482_I2C_TXB ret = 0 val = 0
[ 1226.617268] adv7482_set_power_up_txb_1lane_msg
[ 1226.622120] adv7482_mbus_fmt_test_msg
[ 1226.675521] vi vi: Selected no CSI lane, cannot do calibration
[ 1226.876513] video4linux video0: frame start syncpt timeout!0
[ 1226.883613] vi vi: Selected no CSI lane, cannot do calibration
[ 1226.926180] nvmap_alloc_handle: PID 2622: gst-launch-1.0: WARNING: All NvMap Allocations must have a tag to identify the subsystem allocating memory.Plase pass the tag to the API call NvRmMemHanldeAllocAttr() or relevant.
[ 1227.086613] video4linux video0: frame start syncpt timeout!0
[ 1227.094044] vi vi: Selected no CSI lane, cannot do calibration
[ 1227.296685] video4linux video0: frame start syncpt timeout!0
[ 1227.305929] vi vi: Selected no CSI lane, cannot do calibration
[ 1227.507413] video4linux video0: frame start syncpt timeout!0
[ 1227.515297] vi vi: Selected no CSI lane, cannot do calibration
[ 1227.715869] video4linux video0: frame start syncpt timeout!0
[ 1227.721703] vi vi: Selected no CSI lane, cannot do calibration
[ 1227.926832] video4linux video0: frame start syncpt timeout!0
[ 1227.934158] vi vi: Selected no CSI lane, cannot do calibration
[ 1228.136800] video4linux video0: frame start syncpt timeout!0
[ 1228.144144] vi vi: Selected no CSI lane, cannot do calibration
[ 1228.347420] video4linux video0: frame start syncpt timeout!0
[ 1228.357748] vi vi: Selected no CSI lane, cannot do calibration
[ 1228.556412] video4linux video0: frame start syncpt timeout!0
[ 1228.590920] adv7482_s_power_test_msg
[ 1228.594561] adv7482_set_power_test_new_msg on = 0
[ 1228.600512] adv7482_set_power_up_txb_1lane_msg_read_register_ADV7482_I2C_TXB ret = 0 val = 40
[ 1228.611873] adv7482_set_power_down_txb_1lane_msg
adv7482 6-0070: Detected the PAL video input signal
[ 830.989132] adv7482 6-0070: adv7482_mbus_fmt width 720 height 576
[ 831.046348] vi vi: Selected no CSI lane, cannot do calibration
[ 876.992282] vi vi: Selected no CSI lane, cannot do calibration
[ 877.204792] video4linux video0: MW_ACK_DONE syncpoint time out!0
This is good new. Because it interlace frame so you will get odd frame and then even frame sequently. So you have to save odd frame and even frame and do the deinterlace algorithm to get full frame or by your way.
hi sire I have similar experience with designing customized jetson nano career board for capture video using adv7482, I also use 4 Lan connection to mipi and 1920x1080 25fps and make adv7482.c source file as modules and copy adv7482.ko to this path:
video & video1 is added in the dev but dmesg shows that it cannot communicated using i2c@6
kernel version :
uname -a
Linux jet-desktop 4.9.337-tegra #1 SMP PREEMPT Mon Nov 4 23:41:41 PST 2024 aarch64 aarch64 aarch64 GNU/Linux
jet@jet-desktop:~$ dmesg | grep adv7482
[ 2.564734] adv7482: no symbol version for module_layout
[ 2.564741] adv7482: loading out-of-tree module taints kernel.
[ 2.565430] adv7482 6-0070: chip found @ 0xe0 (Tegra I2C adapter)
[ 2.565437] adv7482 6-0070: adv7482 parse success
[ 2.570254] adv7482_write_registers
[ 2.571227] adv7482 6-0070: adv7482_write_registers failed
[ 2.576950] adv7482 6-0070: : Failed to probe: -121
[ 2.581952] adv7482: probe of 6-0070 failed with error -121
i can connect to the adv7482 using terminal and read or write registers so i thinks the problem is for driver or dtsi files i would be so tanks if help me
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, nvcsi–2
Bus info : platform:54080000.vi:0
Driver version: 4.9.255
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 0: no power)
Format Video Capture:
Width/Height : 1920/1080
Pixel Format : ‘RG10’
Field : Any
Bytes per Line : 3840
Size Image : 4147200
Colorspace : Default
Transfer Function : Default (maps to Rec. 709)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Full Range)
Flags :
Flash just Image, not zImage. The last time zImage was used was with 32-bit code. I could be wrong, but I think the reason it transitioned to Image (uncompressed) was related to the transition to 64-bit.