You can ask the source to compare or the binary to verify to narrow down the problem.
By ‘the source’ do you mean the user who was able to capture a frame in JetPack 6.1 ?
I have been.
Which binary? /boot/Image? tc358743.ko? The .dtbo?
Thank you.
Yes, you can ask for the working binary like dtb and ko file to verify first.
As I understand it, they got their dtb and tc358743.ko working from what I posted above.
Let’s go back to MIPI bus - where do I debug that?
Thank you.
Please have HW guy to probe the signal by the scope to make sure the signal match the MIPI spec.
Ok, what type of scope do you recommend I use to prove the tc358743 data path to make sure the MIPI signal matches the MIPI spec?
I can make this work on all the same hardware with JetPack 5.1.2
My original issue was auto-sensing between needing two lanes (720p60/1080p30) and four lanes for 1080p60 video. The recommendation was to use JetPack 6.0, then JetPack 6.1, then modify my dtsi file then do not modify my dtsi.
For your request, you want to me to verify a Roland V4-EX video mixer is sending a non-standard 720p60 output that would somehow send an invalid signal in to the tc358743 driver?
The dmesg
output I provided appears to see everything correctly, but times out when attempting to capture the frame.
I was able to capture a frame. Not from any information/debugging in this thread, but by looking at user74491’s dmesg output.
Actually, this was very close to the answer, but it was not the issue.
phy mode and mipi clocks were correct, and the capture hardware and video signal were all working correctly (no need to probe the video signal).
It was a csi_port and stream_id issue - once I hardcoded a value for those in csi5_fops.c , I was able to capture from CAM1 (as /dev/video1) but not CAM0. If I only had an adapter connected to CAM1, the same code would not capture.
Researching the port and stream id for Orin, I found this post regarding CSI ports on the Xaiver - [Xavier] Multiple Camera Connection probelms - #3 by JerryChang
I have been looking through the Orin technical reference document ( https://developer.download.nvidia.com/assets/embedded/secure/jetson/agx_orin/Orin-TRM_DP10508002_v1.2p.pdf?
but was unable to find anything similar to [Multimedia Complex]-> [Camera Subsystem]-> [Figure 7.9 External Connectivity Diagram]
in the Orin document.
If CAM0 is CSI Port 2 - what is the CSI Port for CAM1 ? I tried 0,1,2,3, and 4 but none of those values worked. What should CAM1’s tegra_sinterface
be? The dual camera dtsi files for other cameras seem to use serial_a
or serial_b
- neither worked for me, but my driver might not be using that value from the tc358743 dtbo.
Also - is CAM0 or CAM1 the port that is limited to two CSI lanes ?
Thank you.