Guide to have TC358743 B102 board running on Jetson Nano Developer Kit

Hello,

Recently I received a Jetson Nano Developer Kit (I believe it is the B01 board), an Auvidea B102 CSI-HDMI interface and the mission to have the HDMI interface to run on the board.

I saw on the forums lots of messages about the subject, and I understand that this was a discussion done quite some time ago.

I read (probably) all of them and tried to have it working on my setup. No success. The driver starts, I can see I2C communication happening, but the acquisition never happened.

Is there any procedure or guide which explains how can I have the TC358743 running on my Jetson? Or, would you still help on this challenge? I can explain what I did so far and the response I am reading from the execution.

Best regards,

Flavio

Have a check below if any help on it.

Hi,

You are probably using the driver that is already in the kernel tc358743.c, this driver should work but to be used in the Jetson you have to register the driver using the Jetson V4L2 Camera Framework, you can see more information here: Sensor Software Driver Programming — Jetson Linux<br/>Developer Guide 34.1 documentation

About the device tree, besides the normal device tree node required by this driver is required to de define the mode (resolution) description in the device tree Example

Here there are some pipelines for future reference: GStreamer_TX1_TX2_Nano_Xavier

Thank you for your response,

I am using the Tegra4Linux SDK version 32.7.4, which build a kernel 4.9, as far as I understood.

I look at your links, to understand what must de done, and some questions came up:

  • Do I need to do any external hardware wiring to have the device working?
  • Regarding ‘register the driver using Jetson V4L2 Camera Framework’, do you mean that I have to change the code in tc358743.c file to add instructions such as tegracam_device_register ?
  • I purchased together with my board a CSI camera, which I plugged on the board and was able to have it working. When working with device tree files, the configuration related to that camera must be removed?
  • Regarding the device tree configuration for TC358743, can I use as is the example in the documentation file? Which parameters should I pay most attention.

Thank you very much for your help. My plan is to post my results here, for future use by others (just like myself today).

Best regards,

Flavio

Flavio

  • Do I need to do any external hardware wiring to have the device working?
    Basically the Auvidea B102 CSI-HDMI and a HDMI source compatible with the EDID should work.
  • Regarding ‘register the driver using Jetson V4L2 Camera Framework’, do you mean that I have to change
    the code in tc358743.c file to add instructions such as tegracam_device_register ?
    That is correct.
  • I purchased together with my board a CSI camera, which I plugged on the board and was able to have it working. When working with device tree files, the configuration related to that camera must be removed?
    It can be removed or disabled.
  • Regarding the device tree configuration for TC358743, can I use as is the example in the documentation file? Which parameters should I pay most attention.
    Yes, You can use the example of the documentation, about the changes required to work with Jetson, In your case, some variables are not required, for example, exposure time, but I would say you should check the description of all the variables.

Hello @ShaneCCC ,

I saw that there is a driver for tc358840 inside the Nvida specifics driver directory (I am new on Jetson SDK, so I was not aware of this directory), and the link you sent was related to tc358840 as well.

What is the difference between tc358743 and tc358840? Do they share drivers, where I could use one driver on the other device?

Best regards,

Flavio

OK, below are the driver for TC358743.
And relative like.

Hello @ShaneCCC , thank you for your link.

I was able to add this driver into my build system, rebuild the kernel and device tree and plug on my board.

I could see the driver loaded on dmesg. When running the commands, I realized that the driver or the device had not detected a signal. Here is my dmesg call, related to the driver:

[  215.162910] vi 54080000.vi: =================  START STATUS  =================
[  215.170206] tc358743 6-000f: tc358743_get_edid i2c_rd return 0
[  215.170212] tc358743 6-000f: tc358743_get_edid done
[  215.170217] tc358743 6-000f: -----Chip status-----
[  215.171501] tc358743 6-000f: Chip ID:0x00
[  215.172399] tc358743 6-000f: Chip revision:0x00
[  215.172416] tc358743 6-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[  215.172427] tc358743 6-000f: Sleep mode: off
[  215.172439] tc358743 6-000f: Cable detected (+5V power): yes
[  215.173125] tc358743 6-000f: DDC lines enabled: yes
[  215.173574] tc358743 6-000f: Hotplug enabled: yes
[  215.173993] tc358743 6-000f: Hotplug ctl: no
[  215.175327] tc358743 6-000f: CEC enabled: no
[  215.175334] tc358743 6-000f: -----Signal status-----
[  215.175339] tc358743 6-000f: TMDS signal detected: no
[  215.175344] tc358743 6-000f: Stable sync signal: no
[  215.175350] tc358743 6-000f: PHY PLL locked: no
[  215.175355] tc358743 6-000f: PHY DE detected: no
[  215.175706] tc358743 6-000f: tc358743_get_detected_timings: no valid signal
[  215.175712] tc358743 6-000f: No video detected
[  215.175721] tc358743 6-000f: Configured format: 0x0p0.0 (0x0)
[  215.175728] tc358743 6-000f: horizontal: fp = 0, -sync = 0, bp = 0
[  215.175733] tc358743 6-000f: vertical: fp = 0, -sync = 0, bp = 0
[  215.175738] tc358743 6-000f: pixelclock: 0
[  215.175743] tc358743 6-000f: flags (0x0):
[  215.175748] tc358743 6-000f: standards (0x0):
[  215.175752] tc358743 6-000f: -----CSI-TX status-----
[  215.175757] tc358743 6-000f: Lanes needed: 0
[  215.176136] tc358743 6-000f: Lanes in use: 1
[  215.176615] tc358743 6-000f: Waiting for particular sync signal: no
[  215.176963] tc358743 6-000f: Transmit mode: no
[  215.177312] tc358743 6-000f: Receive mode: no
[  215.177667] tc358743 6-000f: Stopped: no
[  215.177675] tc358743 6-000f: Color space: YCbCr 422 16-bit
[  215.178001] tc358743 6-000f: -----DVI-D status-----
[  215.178009] tc358743 6-000f: HDCP encrypted content: no
[  215.178018] tc358743 6-000f: Input color space: RGB full range
[  215.178342] vi 54080000.vi: ==================  END STATUS  ==================

I tested using 2 input signals:

  • A notebook running Windows 10 with the monitor mirrored
  • A raspberry pi 4 running Raspbian. In this case, I plugged the main HDMI output directly on my B102 board.

Are these correct/good test input sources?

When I execute a test using my Raspberry Pi , I get this output:

ubuntu@ubuntu-jetson:~$ gst-launch-1.0 -vvvvv v4l2src ! "video/x-raw, width=1920, height=1080, framerate=60/1,format=UYVY"  ! nvvidconv ! omxh264enc ! mpegtsmux ! filesink location=test.ts
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' cannot capture at 1920x1080
Additional debug info:
gstv4l2object.c(3777): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Tried to capture at 1920x1080, but device returned size 0x32
Execution ended after 0:00:00.090658724
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

What is missing or am I doing wrong?

Best regards,

Flavio

Hello,

As an extra information, I added a log information for hdmi_sys_status register, and it is always returning the value 1. This means that only 5V DCC power is detected.

On the other side (Windows Laptop) it is possible to see the cable detection.

Best regards,

Flavio

I would suggest program TC358843 output test pattern verify.

Thanks

Thank you for you response.

As I am new on Jetson an capture, I’ll figure this out. I intend to post my results here.

It is important, since that it seems that without TDMS nothing happens on the driver.

Best regards,

Flavio

Hello guys,

Sorry for the long delay. Working here to have things working.
I have some good news. After some time, I was able to get some interesting results.

I used the drivers provided by @ShaneCCC directly. The kernel compiled and loaded on the board.
I could see nice results on dmesg (like TMDS signal detected). Having a good source makes a difference in this case.

But I am not capturing streaming yet. I tried the gstreamer command (gst-launch-1.0 -vvvvv v4l2src ! "video/x-raw, width=1280, height=720, framerate=60/1,format=UYVY" ! nvvidconv ! omxh264enc ! mpegtsmux ! filesink location=test.ts), and I go the following response:

jetson@jetson:~$ gst-launch-1.0 -vvvvv v4l2src ! "video/x-raw, width=1280, height=720, framerate=60/1,format=UYVY"  ! nvvidconv ! omxh264enc ! mpegtsmux ! filesink location=test.ts
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)60/1, format=(string)UYVY, colorimetry=(string)2:3:5:4, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)60/1, format=(string)UYVY, colorimetry=(string)2:3:5:4, interlace-mode=(string)progressive
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)I420, framerate=(fraction)60/1, interlace-mode=(string)progressive
Framerate set to : 60 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4 
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
H264: Profile = 66, Level = 40 
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)I420, framerate=(fraction)60/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)60/1, format=(string)UYVY, colorimetry=(string)2:3:5:4, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)60/1, format=(string)UYVY, colorimetry=(string)2:3:5:4, interlace-mode=(string)progressive
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:03.272895801
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
jetson@jetson:~$ 

Here is dmesg output during the command execution:

[  887.972849] tc358743 6-000f: Calling tc358743_g_input_status
[  887.974598] tc358743 6-000f: tc358743_g_input_status: status =0x0
[  887.974601] tc358743 6-000f: Now getting and setting dv timings
[  887.974605] tc358743 6-000f: Calling tc358743_query_dv_timings
[  887.984780] tc358743 6-000f: 496:tc358743_get_detected_timings: width 1280 heigh 720 interlaced 0
[  887.984785] tc358743 6-000f: tc358743_query_dv_timings: 1280x720p60.0 (1650x750)
[  887.984788] tc358743 6-000f: tc358743_s_dv_timings
[  887.985592] tegra-xusb 70090000.xusb: exiting ELPG
[  887.985721] tc358743 6-000f: tc358743_enum_frame_size()
[  887.985725] tc358743 6-000f: fse->code 8207, index 0
[  887.985727] tc358743 6-000f: ----------------------------------------
[  887.985731] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  887.985733] tc358743 6-000f: Code ok
[  887.985735] tc358743 6-000f: Index ok
[  887.985738] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1280, height: 720
[  887.985744] tc358743 6-000f: tc358743_enum_frame_interval()
[  887.985746] tc358743 6-000f: ----------------------------------------
[  887.985750] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  887.985751] tc358743 6-000f: Code ok
[  887.985754] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  887.985757] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  887.985759] tc358743 6-000f: i ok
[  887.985761] tc358743 6-000f: index ok
[  887.985764] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/30
[  887.985772] tc358743 6-000f: tc358743_enum_frame_interval()
[  887.985774] tc358743 6-000f: ----------------------------------------
[  887.985778] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  887.985779] tc358743 6-000f: Code ok
[  887.985782] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  887.985786] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  887.985789] tc358743 6-000f: i ok
[  887.985792] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 1
[  887.985793] tc358743 6-000f: index ok
[  887.985796] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/50
[  887.985802] tc358743 6-000f: tc358743_enum_frame_interval()
[  887.985804] tc358743 6-000f: ----------------------------------------
[  887.985807] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  887.985809] tc358743 6-000f: Code ok
[  887.985811] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  887.985813] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  887.985815] tc358743 6-000f: i ok
[  887.985817] tc358743 6-000f: index ok
[  887.985820] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/60
[  887.985825] tc358743 6-000f: tc358743_enum_frame_interval()
[  887.985827] tc358743 6-000f: ----------------------------------------
[  887.985830] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  887.985831] tc358743 6-000f: Code ok
[  887.985834] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  887.985836] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  887.985838] tc358743 6-000f: i ok
[  887.985841] tc358743 6-000f: Error in tc358743_enum_frame_interval num framerates (3 outside 3)
[  887.988675] tegra-xusb 70090000.xusb: Firmware timestamp: 2023-04-25 07:35:59 UTC, Version: 50.29 release
[  887.988933] tegra-pmc: PMC tegra_pmc_utmi_phy_disable_sleepwalk : port 0
[  887.988951] tegra-pmc: PMC tegra_pmc_utmi_phy_disable_sleepwalk : port 1
[  887.988968] tegra-pmc: PMC tegra_pmc_utmi_phy_disable_sleepwalk : port 2
[  887.994705] tc358743 6-000f: tc358743_enum_frame_size()
[  887.994720] tc358743 6-000f: fse->code 8207, index 1
[  887.994729] tc358743 6-000f: ----------------------------------------
[  887.994746] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  887.994755] tc358743 6-000f: Code ok
[  887.994765] tc358743 6-000f: Index ok
[  887.994778] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1920, height: 1080
[  887.994801] tc358743 6-000f: tc358743_enum_frame_interval()
[  887.994810] tc358743 6-000f: ----------------------------------------
[  887.994824] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  887.994832] tc358743 6-000f: Code ok
[  887.994846] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  887.994856] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  887.994866] tc358743 6-000f: i ok
[  887.994875] tc358743 6-000f: index ok
[  887.994888] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/30
[  887.994919] tc358743 6-000f: tc358743_enum_frame_interval()
[  887.994929] tc358743 6-000f: ----------------------------------------
[  887.994943] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  887.994948] tc358743 6-000f: Code ok
[  887.994951] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  887.994953] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  887.994955] tc358743 6-000f: i ok
[  887.994957] tc358743 6-000f: index ok
[  887.994959] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/50
[  887.994964] tc358743 6-000f: tc358743_enum_frame_interval()
[  887.994966] tc358743 6-000f: ----------------------------------------
[  887.994969] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  887.994970] tc358743 6-000f: Code ok
[  887.994973] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  887.994975] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  887.994977] tc358743 6-000f: i ok
[  887.994978] tc358743 6-000f: index ok
[  887.994980] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/60
[  887.994985] tc358743 6-000f: tc358743_enum_frame_interval()
[  887.994987] tc358743 6-000f: ----------------------------------------
[  887.994989] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  887.994990] tc358743 6-000f: Code ok
[  887.994993] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  887.994995] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  887.994996] tc358743 6-000f: i ok
[  887.994998] tc358743 6-000f: Error in tc358743_enum_frame_interval num framerates (3 outside 3)
[  888.003721] tc358743 6-000f: tc358743_enum_frame_size()
[  888.003729] tc358743 6-000f: fse->code 8207, index 2
[  888.003733] tc358743 6-000f: ----------------------------------------
[  888.003739] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  888.003746] tc358743 6-000f: Code ok
[  888.003751] tc358743 6-000f: Error in tc358743_enum_frame_size, 2 outside of num_frmfmt (2)
[  888.012153] tc358743 6-000f: tc358743_enum_frame_size()
[  888.012156] tc358743 6-000f: fse->code 4106, index 0
[  888.012158] tc358743 6-000f: ----------------------------------------
[  888.012161] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  888.012163] tc358743 6-000f: Code ok
[  888.012165] tc358743 6-000f: Index ok
[  888.012168] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1280, height: 720
[  888.012173] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.012175] tc358743 6-000f: ----------------------------------------
[  888.012178] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.012180] tc358743 6-000f: Unexpected code (4106), UYUV: 1498831189, ABGR32: 875708738
[  888.020292] tc358743 6-000f: tc358743_enum_frame_size()
[  888.020297] tc358743 6-000f: fse->code 4106, index 1
[  888.020299] tc358743 6-000f: ----------------------------------------
[  888.020302] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  888.020304] tc358743 6-000f: Code ok
[  888.020306] tc358743 6-000f: Index ok
[  888.020309] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1920, height: 1080
[  888.020314] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.020322] tc358743 6-000f: ----------------------------------------
[  888.020328] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.020333] tc358743 6-000f: Unexpected code (4106), UYUV: 1498831189, ABGR32: 875708738
[  888.028460] tc358743 6-000f: tc358743_enum_frame_size()
[  888.028462] tc358743 6-000f: fse->code 4106, index 2
[  888.028464] tc358743 6-000f: ----------------------------------------
[  888.028467] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 4106 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  888.028471] tc358743 6-000f: Code ok
[  888.028474] tc358743 6-000f: Error in tc358743_enum_frame_size, 2 outside of num_frmfmt (2)
[  888.036855] tc358743 6-000f: tc358743_enum_frame_size()
[  888.036858] tc358743 6-000f: fse->code 8207, index 0
[  888.036860] tc358743 6-000f: ----------------------------------------
[  888.036864] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  888.036866] tc358743 6-000f: Code ok
[  888.036868] tc358743 6-000f: Index ok
[  888.036877] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1280, height: 720
[  888.036883] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.036887] tc358743 6-000f: ----------------------------------------
[  888.036892] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.036896] tc358743 6-000f: Code ok
[  888.036900] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  888.036905] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  888.036910] tc358743 6-000f: i ok
[  888.036912] tc358743 6-000f: index ok
[  888.036914] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/30
[  888.036921] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.036922] tc358743 6-000f: ----------------------------------------
[  888.036926] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.036928] tc358743 6-000f: Code ok
[  888.036930] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  888.036932] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  888.036934] tc358743 6-000f: i ok
[  888.036936] tc358743 6-000f: index ok
[  888.036938] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/50
[  888.036944] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.036946] tc358743 6-000f: ----------------------------------------
[  888.036949] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.036950] tc358743 6-000f: Code ok
[  888.036953] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  888.036955] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  888.036957] tc358743 6-000f: i ok
[  888.036958] tc358743 6-000f: index ok
[  888.036960] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/60
[  888.036966] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.036970] tc358743 6-000f: ----------------------------------------
[  888.036974] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.036978] tc358743 6-000f: Code ok
[  888.036982] tc358743 6-000f: Matched width 1280 and 1280, height 720 and 720
[  888.036985] tc358743 6-000f: w/h ok or end (i=0, num=2)
[  888.036989] tc358743 6-000f: i ok
[  888.036994] tc358743 6-000f: Error in tc358743_enum_frame_interval num framerates (3 outside 3)
[  888.045716] tc358743 6-000f: tc358743_enum_frame_size()
[  888.045718] tc358743 6-000f: fse->code 8207, index 1
[  888.045720] tc358743 6-000f: ----------------------------------------
[  888.045723] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  888.045725] tc358743 6-000f: Code ok
[  888.045726] tc358743 6-000f: Index ok
[  888.045729] tc358743 6-000f: !!!!!!!!! tc358743_enum_frame_size() complete successfully, width: 1920, height: 1080
[  888.045736] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.045737] tc358743 6-000f: ----------------------------------------
[  888.045740] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.045742] tc358743 6-000f: Code ok
[  888.045745] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  888.045746] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  888.045748] tc358743 6-000f: i ok
[  888.045750] tc358743 6-000f: index ok
[  888.045752] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/30
[  888.045758] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.045760] tc358743 6-000f: ----------------------------------------
[  888.045762] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.045764] tc358743 6-000f: Code ok
[  888.045768] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  888.045770] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  888.045771] tc358743 6-000f: i ok
[  888.045773] tc358743 6-000f: index ok
[  888.045775] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/50
[  888.045781] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.045782] tc358743 6-000f: ----------------------------------------
[  888.045785] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.045788] tc358743 6-000f: Code ok
[  888.045790] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  888.045792] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  888.045794] tc358743 6-000f: i ok
[  888.045795] tc358743 6-000f: index ok
[  888.045798] tc358743 6-000f: !!!!!!!!!! tc358743_enum_frame_interval() completed successfully, interval: 1/60
[  888.045802] tc358743 6-000f: tc358743_enum_frame_interval()
[  888.045804] tc358743 6-000f: ----------------------------------------
[  888.045807] tc358743 6-000f: Trying to find frame interfval that matches fie->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207)
[  888.045810] tc358743 6-000f: Code ok
[  888.045813] tc358743 6-000f: Matched width 1920 and 1920, height 1080 and 1080
[  888.045815] tc358743 6-000f: w/h ok or end (i=1, num=2)
[  888.045817] tc358743 6-000f: i ok
[  888.045819] tc358743 6-000f: Error in tc358743_enum_frame_interval num framerates (3 outside 3)
[  888.054546] tc358743 6-000f: tc358743_enum_frame_size()
[  888.054549] tc358743 6-000f: fse->code 8207, index 2
[  888.054552] tc358743 6-000f: ----------------------------------------
[  888.054556] tc358743 6-000f: Trying to find frmfmt that matches fse->code, code: 8207 (UYVY: 1498831189, ARGB32: 875708738, MEDIA_BUS_FMT_UYVY8_1X16: 8207, MEDIA_BUS_FMT_RGB888_1X24: 4106)
[  888.054558] tc358743 6-000f: Code ok
[  888.054562] tc358743 6-000f: Error in tc358743_enum_frame_size, 2 outside of num_frmfmt (2)
[  888.064125] tc358743 6-000f: Calling tc358743_get_fmt
[  888.064128] tc358743 6-000f: Here 6b, colorspace: 1
[  888.064130] tc358743 6-000f: get fmt complete
[  888.064132] tc358743 6-000f: format width 1280
[  888.064134] tc358743 6-000f: format height 720
[  888.064135] tc358743 6-000f: fmt_code: 8207
[  888.064137] tc358743 6-000f: RGB888 code: 4106
[  888.064139] tc358743 6-000f: UYVY8 code: 8207
[  888.064891] tc358743 6-000f: Calling tc358743_get_fmt
[  888.064893] tc358743 6-000f: Here 6b, colorspace: 1
[  888.064895] tc358743 6-000f: get fmt complete
[  888.064897] tc358743 6-000f: format width 1280
[  888.064898] tc358743 6-000f: format height 720
[  888.064900] tc358743 6-000f: fmt_code: 8207
[  888.064902] tc358743 6-000f: RGB888 code: 4106
[  888.064904] tc358743 6-000f: UYVY8 code: 8207
[  888.064907] tc358743 6-000f: enable_stream: disable
[  888.067308] tc358743 6-000f: 797:enable_stream: end
[  888.068865] tc358743 6-000f: tc358743_set_pll:
[  888.068867] tc358743 6-000f: tc358743_set_csi:
[  888.087171] tc358743 6-000f: tc358743_set_csi_color_space: YCbCr 422 16-bit
[  888.091679] tc358743 6-000f: Called tc358743_set_fmt, completed successfully
[  888.110796] tc358743 6-000f: Calling tc358743_s_stream
[  888.110800] tc358743 6-000f: Calling tc358743_s_stream
[  888.113508] tegra-xusb 70090000.xusb: exiting ELPG done
[  888.115996] tc358743 6-000f: enable_stream: enable
[  888.117223] tc358743 6-000f: 797:enable_stream: end
[  888.124626] tc358743 6-000f: tc358743_get_edid i2c_rd return 0
[  888.124630] tc358743 6-000f: tc358743_get_edid done
[  888.124633] tc358743 6-000f: -----Chip status-----
[  888.124904] tc358743 6-000f: Chip ID:0x00
[  888.125172] tc358743 6-000f: Chip revision:0x00
[  888.125176] tc358743 6-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[  888.125179] tc358743 6-000f: Sleep mode: off
[  888.125181] tc358743 6-000f: Cable detected (+5V power): yes
[  888.125423] tc358743 6-000f: DDC lines enabled: yes
[  888.125852] tc358743 6-000f: Hotplug enabled: yes
[  888.126093] tc358743 6-000f: Hotplug ctl: no
[  888.126353] tc358743 6-000f: CEC enabled: no
[  888.126355] tc358743 6-000f: -----Signal status-----
[  888.126357] tc358743 6-000f: TMDS signal detected: yes
[  888.126359] tc358743 6-000f: Stable sync signal: yes
[  888.126361] tc358743 6-000f: PHY PLL locked: yes
[  888.126363] tc358743 6-000f: PHY DE detected: yes
[  888.129655] tc358743 6-000f: 496:tc358743_get_detected_timings: width 1280 heigh 720 interlaced 0
[  888.129660] tc358743 6-000f: Detected format: 1280x720p60.0 (1650x750)
[  888.129663] tc358743 6-000f: horizontal: fp = 0, -sync = 370, bp = 0
[  888.129665] tc358743 6-000f: vertical: fp = 0, -sync = 30, bp = 0
[  888.129669] tc358743 6-000f: pixelclock: 74250000
[  888.129671] tc358743 6-000f: flags (0x0):
[  888.129673] tc358743 6-000f: standards (0x0):
[  888.129676] tc358743 6-000f: Configured format: 1280x720p60.0 (1650x750)
[  888.129678] tc358743 6-000f: horizontal: fp = 0, -sync = 370, bp = 0
[  888.129681] tc358743 6-000f: vertical: fp = 0, -sync = 30, bp = 0
[  888.129682] tc358743 6-000f: pixelclock: 74250000
[  888.129685] tc358743 6-000f: flags (0x0):
[  888.129687] tc358743 6-000f: standards (0x0):
[  888.129688] tc358743 6-000f: -----CSI-TX status-----
[  888.129690] tc358743 6-000f: Lanes needed: 1
[  888.130003] tc358743 6-000f: Lanes in use: 1
[  888.130269] tc358743 6-000f: Waiting for particular sync signal: no
[  888.130536] tc358743 6-000f: Transmit mode: no
[  888.130801] tc358743 6-000f: Receive mode: no
[  888.131066] tc358743 6-000f: Stopped: no
[  888.131068] tc358743 6-000f: Color space: YCbCr 422 16-bit
[  888.131309] tc358743 6-000f: -----HDMI status-----
[  888.131312] tc358743 6-000f: HDCP encrypted content: no
[  888.131316] tc358743 6-000f: Input color space: RGB limited range
[  888.131556] tc358743 6-000f: AV Mute: off
[  888.131798] tc358743 6-000f: Deep color mode: 8-bits per channel
[  888.132664] tc358743 6-000f: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[  888.132668] tc358743 6-000f:     colorspace: RGB
[  888.132671] tc358743 6-000f:     scan mode: No Data
[  888.132674] tc358743 6-000f:     colorimetry: ITU709
[  888.132678] tc358743 6-000f:     picture aspect: 16:9
[  888.132680] tc358743 6-000f:     active aspect: Same as Picture
[  888.132683] tc358743 6-000f:     itc: No Data
[  888.132687] tc358743 6-000f:     extended colorimetry: xvYCC 601
[  888.132690] tc358743 6-000f:     quantization range: Default
[  888.132692] tc358743 6-000f:     nups: Unknown Non-uniform Scaling
[  888.132695] tc358743 6-000f:     video code: 16
[  888.132698] tc358743 6-000f:     ycc quantization range: Limited
[  888.132701] tc358743 6-000f:     hdmi content type: Graphics
[  888.132703] tc358743 6-000f:     pixel repeat: 0
[  888.132706] tc358743 6-000f:     bar top 0, bottom 0, left 0, right 0
[  888.134191] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 0
[  888.141659] usb usb2: usb_suspend_both: status 0
[  888.151083] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 1
[  888.167732] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 2
[  888.184454] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 3
[  888.200910] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 4
[  888.217528] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 5
[  888.234335] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 6
[  888.252117] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 7
[  888.267686] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 8
[  888.284486] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 9
[  888.303033] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 10
[  888.317587] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 11
[  888.329536] tegra-xusb-padctl 7009f000.xusb_padctl: power down UTMI pad 1
[  888.334423] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 12
[  888.349574] usb 1-2: usb_suspend_both: status 0
[  888.349737] usb usb1: usb_suspend_both: status 0
[  888.351331] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 13
[  888.367609] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 14
[  888.385870] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 15
[  888.401008] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 16
[  888.417823] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 17
[  888.434396] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 18
[  888.450963] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 19
[  888.468827] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 20
[  888.485721] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 21
[  888.502577] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 22
[  888.517739] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 23
[  888.534599] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 24
[  888.550909] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 25
[  888.567611] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 26
[  888.584245] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 27
[  888.600905] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 28
[  888.618963] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 29
[  888.635684] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 30
[  888.651039] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 31
[  888.667569] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 32
[  888.684604] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 33
[  888.701065] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 34
[  888.717799] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 35
[  888.734806] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 36
[  888.751326] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 37
[  888.767747] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 38
[  888.784418] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 39
[  888.801084] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 40
[  888.817762] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 41
[  888.835018] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 42
[  888.852494] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 43
[  888.867770] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 44
[  888.884286] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 45
[  888.900981] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 46
[  888.917616] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 47
[  888.934468] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 48
[  888.950955] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 49
[  888.967620] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 50
[  888.985832] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 51
[  889.001007] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 52
[  889.017852] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 53
[  889.035352] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 54
[  889.050915] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 55
[  889.067584] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 56
[  889.084247] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 57
[  889.100915] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 58
[  889.117606] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 59
[  889.134343] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 60
[  889.152652] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 61
[  889.168951] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 62
[  889.184343] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 63
[  889.200910] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 64
[  889.217627] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 65
[  889.234319] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 66
[  889.253173] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 67
[  889.267702] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 68
[  889.284346] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 69
[  889.301099] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 70
[  889.317748] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 71
[  889.335493] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 72
[  889.352171] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 73
[  889.367570] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 74
[  889.385782] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 75
[  889.401091] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 76
[  889.417559] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 77
[  889.434349] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 78
[  889.450912] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 79
[  889.468855] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 80
[  889.484444] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 81
[  889.500952] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 82
[  889.517608] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 83
[  889.534356] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 84
[  889.552128] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 85
[  889.569019] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 86
[  889.584271] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 87
[  889.600971] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 88
[  889.617667] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 89
[  889.634389] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 90
[  889.651183] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 91
[  889.667577] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 92
[  889.685820] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 93
[  889.701027] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 94
[  889.717742] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 95
[  889.734340] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 96
[  889.750921] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 97
[  889.767602] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 98
[  889.784250] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 99
[  889.800924] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 100
[  889.817652] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 101
[  889.834375] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 102
[  889.850931] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 103
[  889.867743] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 104
[  889.885787] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 105
[  889.901963] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 106
[  889.917684] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 107
[  889.934569] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 108
[  889.954741] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 109
[  889.968803] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 110
[  889.985488] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 111
[  890.001069] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 112
[  890.019792] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 113
[  890.034341] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 114
[  890.050908] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 115
[  890.069173] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 116
[  890.085681] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 117
[  890.101092] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 118
[  890.117557] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 119
[  890.134334] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 120
[  890.151155] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 121
[  890.167589] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 122
[  890.184331] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 123
[  890.197530] tegra-xusb 70090000.xusb: entering ELPG
[  890.198572] tegra-pmc: PMC tegra_pmc_utmi_phy_enable_sleepwalk : port 1, speed 3
[  890.198786] tegra-pmc: PMC tegra_pmc_utmi_phy_enable_sleepwalk : port 2, speed 0
[  890.199717] tegra-xusb 70090000.xusb: entering ELPG done
[  890.200917] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 124
[  890.217510] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 125
[  890.234353] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 126
[  890.251244] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 127
[  890.267893] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 128
[  890.284353] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 129
[  890.301324] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 130
[  890.317879] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 131
[  890.334684] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 132
[  890.350966] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 133
[  890.367939] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 134
[  890.384575] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 135
[  890.401062] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 136
[  890.417641] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 137
[  890.434662] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 138
[  890.451352] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 139
[  890.467638] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 140
[  890.484369] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 141
[  890.502279] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 142
[  890.517529] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 143
[  890.536587] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 144
[  890.551020] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 145
[  890.567588] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 146
[  890.585758] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 147
[  890.600979] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 148
[  890.617579] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 149
[  890.635345] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 150
[  890.652286] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 151
[  890.667670] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 152
[  890.684240] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 153
[  890.700855] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 154
[  890.721233] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 155
[  890.735704] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 156
[  890.752873] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 157
[  890.767607] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 158
[  890.784235] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 159
[  890.802525] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 160
[  890.817519] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 161
[  890.834249] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 162
[  890.850893] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 163
[  890.867615] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 164
[  890.884235] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 165
[  890.900895] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 166
[  890.917551] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 167
[  890.934654] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 168
[  890.950904] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 169
[  890.967675] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 170
[  890.985726] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 171
[  891.000929] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 172
[  891.017816] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 173
[  891.034479] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 174
[  891.050932] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 175
[  891.067598] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 176
[  891.084619] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 177
[  891.100961] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 178
[  891.117604] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 179
[  891.134248] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 180
[  891.151074] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 181
[  891.167566] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 182
[  891.184567] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 183
[  891.201009] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 184
[  891.217578] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 185
[  891.234389] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 186
[  891.251015] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 187
[  891.267679] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 188
[  891.274754] tc358743 6-000f: Calling tc358743_s_stream
[  891.274757] tc358743 6-000f: Calling tc358743_s_stream
[  891.279959] tc358743 6-000f: enable_stream: enable
[  891.281222] tc358743 6-000f: 797:enable_stream: end
[  891.285126] tegra-xusb 70090000.xusb: exiting ELPG
[  891.285351] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 1
[  891.287397] tegra-xusb 70090000.xusb: Firmware timestamp: 2023-04-25 07:35:59 UTC, Version: 50.29 release
[  891.287605] tegra-pmc: PMC tegra_pmc_utmi_phy_disable_sleepwalk : port 0
[  891.287634] tegra-pmc: PMC tegra_pmc_utmi_phy_disable_sleepwalk : port 1
[  891.287662] tegra-pmc: PMC tegra_pmc_utmi_phy_disable_sleepwalk : port 2
[  891.288443] tc358743 6-000f: tc358743_get_edid i2c_rd return 0
[  891.288447] tc358743 6-000f: tc358743_get_edid done
[  891.288451] tc358743 6-000f: -----Chip status-----
[  891.288771] tc358743 6-000f: Chip ID:0x00
[  891.289067] tc358743 6-000f: Chip revision:0x00
[  891.289072] tc358743 6-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[  891.289076] tc358743 6-000f: Sleep mode: off
[  891.289080] tc358743 6-000f: Cable detected (+5V power): yes
[  891.289348] tc358743 6-000f: DDC lines enabled: yes
[  891.290062] tc358743 6-000f: Hotplug enabled: yes
[  891.290474] tc358743 6-000f: Hotplug ctl: no
[  891.290824] tc358743 6-000f: CEC enabled: no
[  891.290829] tc358743 6-000f: -----Signal status-----
[  891.290838] tc358743 6-000f: TMDS signal detected: yes
[  891.290843] tc358743 6-000f: Stable sync signal: yes
[  891.290847] tc358743 6-000f: PHY PLL locked: yes
[  891.290851] tc358743 6-000f: PHY DE detected: yes
[  891.294553] tc358743 6-000f: 496:tc358743_get_detected_timings: width 1280 heigh 720 interlaced 0
[  891.294560] tc358743 6-000f: Detected format: 1280x720p60.0 (1650x750)
[  891.294564] tc358743 6-000f: horizontal: fp = 0, -sync = 370, bp = 0
[  891.294567] tc358743 6-000f: vertical: fp = 0, -sync = 30, bp = 0
[  891.294570] tc358743 6-000f: pixelclock: 74250000
[  891.294574] tc358743 6-000f: flags (0x0):
[  891.294577] tc358743 6-000f: standards (0x0):
[  891.294581] tc358743 6-000f: Configured format: 1280x720p60.0 (1650x750)
[  891.294584] tc358743 6-000f: horizontal: fp = 0, -sync = 370, bp = 0
[  891.294587] tc358743 6-000f: vertical: fp = 0, -sync = 30, bp = 0
[  891.294590] tc358743 6-000f: pixelclock: 74250000
[  891.294593] tc358743 6-000f: flags (0x0):
[  891.294596] tc358743 6-000f: standards (0x0):
[  891.294598] tc358743 6-000f: -----CSI-TX status-----
[  891.294601] tc358743 6-000f: Lanes needed: 1
[  891.294928] tc358743 6-000f: Lanes in use: 1
[  891.295207] tc358743 6-000f: Waiting for particular sync signal: no
[  891.295486] tc358743 6-000f: Transmit mode: yes
[  891.295766] tc358743 6-000f: Receive mode: no
[  891.296047] tc358743 6-000f: Stopped: no
[  891.296050] tc358743 6-000f: Color space: YCbCr 422 16-bit
[  891.296307] tc358743 6-000f: -----HDMI status-----
[  891.296311] tc358743 6-000f: HDCP encrypted content: no
[  891.296315] tc358743 6-000f: Input color space: RGB limited range
[  891.296574] tc358743 6-000f: AV Mute: off
[  891.296833] tc358743 6-000f: Deep color mode: 8-bits per channel
[  891.297995] tc358743 6-000f: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[  891.298004] tc358743 6-000f:     colorspace: RGB
[  891.298009] tc358743 6-000f:     scan mode: No Data
[  891.298015] tc358743 6-000f:     colorimetry: ITU709
[  891.298020] tc358743 6-000f:     picture aspect: 16:9
[  891.298025] tc358743 6-000f:     active aspect: Same as Picture
[  891.298030] tc358743 6-000f:     itc: No Data
[  891.298035] tc358743 6-000f:     extended colorimetry: xvYCC 601
[  891.298051] tc358743 6-000f:     quantization range: Default
[  891.298056] tc358743 6-000f:     nups: Unknown Non-uniform Scaling
[  891.298062] tc358743 6-000f:     video code: 16
[  891.298068] tc358743 6-000f:     ycc quantization range: Limited
[  891.298074] tc358743 6-000f:     hdmi content type: Graphics
[  891.298081] tc358743 6-000f:     pixel repeat: 0
[  891.298087] tc358743 6-000f:     bar top 0, bottom 0, left 0, right 0
[  891.413571] tegra-xusb 70090000.xusb: exiting ELPG done
[  891.446125] usb usb2: usb_suspend_both: status 0
[  891.793604] tegra-xusb-padctl 7009f000.xusb_padctl: power down UTMI pad 1
[  891.813615] usb 1-2: usb_suspend_both: status 0
[  891.813884] usb usb1: usb_suspend_both: status 0
[  893.417588] tegra-xusb 70090000.xusb: entering ELPG
[  893.418873] tegra-pmc: PMC tegra_pmc_utmi_phy_enable_sleepwalk : port 1, speed 3
[  893.419433] tegra-pmc: PMC tegra_pmc_utmi_phy_enable_sleepwalk : port 2, speed 0
[  893.421167] tegra-xusb 70090000.xusb: entering ELPG done

Could you please give me some advice on what should I do to address this issue?

Best regards,

Flavio

HPA_UNC_HDR_ERR: Uncorrectable Header Error. Set when header parser A parses a header with a
multi bit error. This error will be detected by the headers ECC, but can’t be corrected. The packet will be
discarded

[  891.267679] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 188

Is there any suggestion of configuration which I could look at to avoid this problem?

Hi,
Make sure that the number of lanes configured by the driver (Lanes in use: 1) is equal to the number of lines configured in the device tree.

Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

Hi @ManuelLeiva ,

Thank you for your advice. I started looking at this issue. I figured out the amount of lanes is calculated, and not provided by the device tree.

I found a problem on the driver code, which was causing the lane configuration issue:

After solving this problem, the previous problem no longer happens. Capture happens.

But the capture issues are not nice. The video is garbled.

I tried to look at other parameters, and I realized that the PLL configuration never changes. Is that correct?

Best regards,

Flavio

I solved the problem I was facing.

I reduced the frequency, which changed the PLL configuration. Then the capture started to work correctly with my source. I have also changed the initial timing setup, from 1080p60 to 1080p30.

Once I reorganize my stuff I intend to post here the full procedure I used to have it working.

Thank you very much for the support.

Best regards,

Flavio

2 Likes