we trying for few weeks to bring up the TC358840 CSI-2 HDMI convertor on Jetson nano evk,
we sucsses to bring up the powers and identify him on our laptop (EDID reading ok) and
dmesg log seems ok (attached the log in txt file).
but on the final stage when starting to stream the vi output we got message of:
54080000.vi: tegra_channel_error_status:error 4000 frame 0
We think that one of the parameters dont configure ok on the dtsi file (attached also),
maybe the “bus-width = <4>” under: “host1x” node or under “nvcsi” node.
attached also log when running: media-ctl -p -d /dev/media0 command which seems ok.
when running v4l2-ctl command:
v4l2-ctl --device /dev/video0 --stream-mmap --set-fmt-video=width=3840,height=2160,pixelformat=UYVY
it seems that the video can`t lock on the signal. and therefore we dont see video output on the monitor. we also enable the “jetson_clocks” command to get better clock performace.
please assist us on how we can find the issue, what other tools we can use for this.
also, if it possible we would like to knew if we can pay for some external assist from Nvidia on this issue since this part we be placted on our video products line (many units per year).
may I know what’s the exact hardware connection? you should update the device tree settings as same as your physical camera connected.
furthermore, the port-index property should be 1, if you used CSI-B.
I use Nvidia Jeston Nano with dts:
i start my dts for tc358840 from Tc358743 and left the same labels for vi and nvcsi untouched since they are just labels (please correct me if im wrong). And im using port A (not b) - the one closer to electrical power jack.
Regarding the data: bus width, refclk, and pll ? What should be the correct values for tc358840?
i fix the labels and the mismatch of the bus-width parameters on the dtsi (attached the new one).
please check Jetson Linux Archive, you may see the r32 release and download [Driver Package (BSP) Sources] package for obtain public release sources.
please extract kernel_src.tbz2 for device tree sources,
you may check below for TX2 tc358840 dtsi file. $public_sources/kernel_src/hardware/nvidia/platform/t18x/quill/kernel-dts/quill-platforms/tegra186-quill-camera-imx274.dtsi