Hi,
I am using BSP version 35.4 and working with the ADV7282-M chip on Orin NX. I have successfully created a video node with a resolution of 720x576.
However, when accessing the video node to retrieve video, I encounter the CHANSEL_NOMATCH error. I came across some forum discussions suggesting that a patch might be required for this resolution.
Is there an available patch for my setup? If so, could you guide me on how to apply it? Additionally, please advise on how to debug and resolve this issue.
DEBUG MESSAGE:-
kworker/0:8-163 [000] … 392.912782: rtcpu_vinotify_error: tstamp:12797488326 cch:0 vi:0 tag:CHANSEL_NOMATCH channel:0x01 frame:1 vi_tstamp:409519600416 data:0x00000000000003c9
kworker/0:8-163 [000] … 392.912783: rtcpu_vinotify_event: tstamp:12797806488 cch:0 vi:0 tag:FE channel:0x00 frame:2 vi_tstamp:409519024416 data:0x0000000200000020
kworker/0:8-163 [000] … 392.912783: rtcpu_vinotify_event: tstamp:12797806623 cch:-1 vi:0 tag:CSIMUX_STREAM channel:0x00 frame:0 vi_tstamp:409519314272 data:0x0000000000000001
kworker/0:8-163 [000] … 392.912783: rtcpu_vinotify_event: tstamp:12797806776 cch:0 vi:0 tag:FS channel:0x00 frame:1 vi_tstamp:409519598752 data:0x0000000100000010
Thanks & Regards,
Kamalesh
CHANSEL_NOMATCH mean ADV7282 output unsupport package like user define data.
Hi Shane,
What may be the issue here? Could you please elaborate?
Regards,
Kamalesh
CHANSEL_NOMATCH could be incorrect virtual channel ID or incorrect embedded_data_height in device tree.
Thanks
Hi,
I am using adv7180 general driver which is from nvidia BSP. There is no selection of virtual channel ID.
In device tree also, I did not given any mode configurations. so no virtual channel ID or embedded_data_height properties in device tree.
Is this may be the issue? How to resolve or correct this?
Thanks
You can apply this patch to ignore the CHANSEL_NOMATCH to capture continuous ly.
0001-vi5-continue-captures-even-after-corr-errors.patch (2.3 KB)
Hi,
I apply this patch and let you know the status.
Thanks
Hi,
UPDATE:-
We have successfully removed Chansel no match error. Now we are facing different error. I have given below.
entries-in-buffer/entries-written: 40/40 #P:4
_-----=> irqs-off
/ _----=> need-resched
| / _—=> hardirq/softirq
|| / _–=> preempt-depth
||| / delay
TASK-PID CPU# |||| TIMESTAMP FUNCTION
| | | |||| | |
gst-launch-1.0-2634 [000] … 145.305457: tegra_channel_open: vi-output, adv7282 9-0021
gst-launch-1.0-2634 [000] … 145.305476: tegra_channel_close: vi-output, adv7282 9-0021
gst-launch-1.0-2634 [001] … 145.335967: tegra_channel_open: vi-output, adv7282 9-0021
v4l2src0:src-2636 [000] … 145.494283: tegra_channel_set_power: adv7282 9-0021 : 0x1
v4l2src0:src-2636 [000] … 145.495114: tegra_channel_set_power: 13e40000.host1x:nvcsi@15a00000- : 0x1
v4l2src0:src-2636 [000] … 145.495118: csi_s_power: enable : 0x1
v4l2src0:src-2636 [000] … 145.495451: tegra_channel_capture_setup: vnc_id 0 W 720 H 507 fmt 13
v4l2src0:src-2636 [000] … 145.495667: tegra_channel_set_stream: enable : 0x1
v4l2src0:src-2636 [001] … 145.500888: tegra_channel_set_stream: 13e40000.host1x:nvcsi@15a00000- : 0x1
v4l2src0:src-2636 [001] … 145.500891: csi_s_stream: enable : 0x1
v4l2src0:src-2636 [001] … 145.500981: tegra_channel_set_stream: adv7282 9-0021 : 0x1
kworker/2:2-129 [002] … 145.520380: rtcpu_vinotify_event: tstamp:5062808535 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:162009132864 data:0x759d580010000000
kworker/2:2-129 [002] … 145.520382: rtcpu_vinotify_event: tstamp:5062808674 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:162009139296 data:0x0000000031000001
kworker/2:2-129 [002] … 145.520382: rtcpu_vinotify_event: tstamp:5062808828 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:162009179680 data:0x759d550010000000
kworker/2:2-129 [002] … 145.520382: rtcpu_vinotify_event: tstamp:5062808963 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:162009186208 data:0x0000000031000002
vi-output, adv7-2640 [001] … 148.212582: tegra_channel_capture_setup: vnc_id 0 W 720 H 507 fmt 13
kworker/2:2-129 [002] … 148.236372: rtcpu_vinotify_event: tstamp:5147995764 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:164726213568 data:0x759d580010000000
kworker/2:2-129 [002] … 148.236374: rtcpu_vinotify_event: tstamp:5147995904 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:164726220416 data:0x0000000031000001
kworker/2:2-129 [002] … 148.236375: rtcpu_vinotify_event: tstamp:5147996060 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:164726260800 data:0x759d550010000000
kworker/2:2-129 [002] … 148.236375: rtcpu_vinotify_event: tstamp:5147996192 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:164726267328 data:0x0000000031000002
vi-output, adv7-2640 [003] … 151.025039: tegra_channel_capture_setup: vnc_id 0 W 720 H 507 fmt 13
kworker/2:2-129 [002] … 151.044383: rtcpu_vinotify_event: tstamp:5235887145 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:167538681952 data:0x759d580010000000
kworker/2:2-129 [002] … 151.044385: rtcpu_vinotify_event: tstamp:5235887285 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:167538688416 data:0x0000000031000001
kworker/2:2-129 [002] … 151.100385: rtcpu_vinotify_event: tstamp:5236563246 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:167559321728 data:0x759d550010000000
kworker/2:2-129 [002] … 151.100388: rtcpu_vinotify_event: tstamp:5236563384 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:167559328256 data:0x0000000031000002
vi-output, adv7-2640 [003] … 153.841130: tegra_channel_capture_setup: vnc_id 0 W 720 H 507 fmt 13
kworker/2:2-129 [002] … 153.860388: rtcpu_vinotify_event: tstamp:5323588424 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:170354754400 data:0x759d580010000000
kworker/2:2-129 [002] … 153.860390: rtcpu_vinotify_event: tstamp:5323588565 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:170354761248 data:0x0000000031000001
kworker/2:2-129 [002] … 153.860390: rtcpu_vinotify_event: tstamp:5323588718 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:170354801600 data:0x759d550010000000
kworker/2:2-129 [002] … 153.860391: rtcpu_vinotify_event: tstamp:5323588850 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:170354808128 data:0x0000000031000002
vi-output, adv7-2640 [001] … 156.433020: tegra_channel_capture_setup: vnc_id 0 W 720 H 507 fmt 13
gst-launch-1.0-2634 [003] … 156.442648: tegra_channel_set_stream: enable : 0x0
gst-launch-1.0-2634 [003] … 156.442650: tegra_channel_set_stream: adv7282 9-0021 : 0x0
gst-launch-1.0-2634 [003] … 156.442652: tegra_channel_set_stream: 13e40000.host1x:nvcsi@15a00000- : 0x0
gst-launch-1.0-2634 [003] … 156.442654: csi_s_stream: enable : 0x0
gst-launch-1.0-2634 [003] … 156.444188: tegra_channel_set_power: adv7282 9-0021 : 0x0
gst-launch-1.0-2634 [003] … 156.444433: tegra_channel_set_power: 13e40000.host1x:nvcsi@15a00000- : 0x0
gst-launch-1.0-2634 [003] … 156.444435: csi_s_power: enable : 0x0
gst-launch-1.0-2634 [003] … 156.487860: tegra_channel_close: vi-output, adv7282 9-0021
kworker/2:2-129 [002] … 162.180384: rtcpu_string: tstamp:5583432830 id:0x04010000 str:“VM0 deactivating.”
What may be the issue?
Thanks
Regards,
Kamalesh
Looks like didn’t receive any validate data from this log.
Hi,
We have checked the camera source, and the camera data is coming in perfectly.
However, I have a question regarding the adv7282-m chip: we need to run a script. Currently, the script is executed by the adv7180 driver based on the compatible string in the device tree. I want to confirm that this script is suitable for my application using the NVIDIA driver.
My application is PAL to MIPI CSI.
Could you please advise on how to locate and debug this issue?
Thank you.
Regards,
Kamalesh
Sorry I don’t have idea for the configuration of this device.
Thanks