what's the root cause of new sensor not working with nvcamerasrc

I’m trying to bring up a new sensor on TX1, the sensor we choose to use is OV4689 which is familiar with OV5693.
The package to burn and to compile is from R24.2 release.

  • Enable OV5693 and mvcamera dependency
  1. Config file get from /proc/config.gz

  2. Enable vi port 0 and ov5693_c. ov5693 is connect to I2C6(/host1x/i2c@546c0000/)
    We need to enable it, because it was disabled by default.

diff --git a/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-camera-modules.dtsi b/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-camera-modules.dtsi
index c3f7a74..64fb78a 100644
--- a/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-camera-modules.dtsi
+++ b/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-camera-modules.dtsi
@@ -40,9 +40,9 @@
                vi_base: vi {
                        ports {
                                vi_port0: port@0 {
-                                       status = "disabled";
+                                       status = "okay";
                                        vi_in0: endpoint {
-                                               status = "disabled";
+                                               status = "okay";
                                        };
                                };
                                vi_port1: port@1 {
@@ -79,7 +79,7 @@
                };
                i2c@546c0000 {
                        e3326_cam0: ov5693_c@36 {
-                               status = "disabled";
+                               status = "okay";
                        };
                        e3323_cam0: ov23850_a@10 {
                                status = "disabled";
  1. check If CONFIG_VIDEO_I2C_OV5693 is config to ‘Y’ in the config from /proc/config.gz
    CONFIG_VIDEO_I2C_OV5693=y
    The corresponding drvier is located at ‘drivers/media/i2c/ov5693.c’.

  2. Check the version of the Image and dts file in use.
    They should be ““Linux tegra-ubuntu 3.10.96-tegra #50 SMP PREEMPT Wed Nov 23 10:07:11 CST 2016 aarch64 aarch64 aarch64 GNU/Linux””, the dts in use are “arch/arm64/boot/dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts”.

  3. run mmc_boot with the new Image and new tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb.

[    3.224092] i2c /dev entries driver
[    3.225613] [OV5693]: probing v4l2 sensor.
[    3.225871] ov5693 6-0036: ov5693_probe: name ov5693_c
[    3.225890] ov5693 6-0036: ov5693_ctrls_init++
[    3.225944] ov5693 6-0036: ov5693_power_on: power on
[    4.902528] ov5693 6-0036: ov5693_power_off: power off
[    4.913360] ov5693 6-0036: ov5693_power_on: power on
[    4.948442] ov5693 6-0036: ov5693_power_off: power off
[    4.959278] ov5693 6-0036: Detected OV5693 sensor

...........

[    8.819235] vi vi: vi_probe: ++
[    8.827656] vi vi: initialized
[    8.834176] vi vi: parsing node /host1x/vi
[    8.841338] vi vi: handling endpoint /host1x/vi/ports/port@0/endpoint
[    8.850908] vi vi: handling endpoint /host1x/vi/ports/port@1/endpoint
[    8.860457] vi vi: handling endpoint /host1x/vi/ports/port@2/endpoint
[    8.869955] vi vi: handling endpoint /host1x/vi/ports/port@3/endpoint
[    8.879436] vi vi: handling endpoint /host1x/vi/ports/port@4/endpoint
[    8.888828] vi vi: handling endpoint /host1x/vi/ports/port@5/endpoint
[    8.898175] vi vi: parsing node /host1x/i2c@546c0000/ov5693_c@36
[    8.907067] vi vi: handling endpoint /host1x/i2c@546c0000/ov5693_c@36/ports/port@0/endpoint
[    8.918356] vi vi: subdev ov5693 6-0036 bound
[    8.925650] vi vi: notify complete, all subdevs registered
[    8.934051] vi vi: creating links for entity ov5693 6-0036
[    8.942474] vi vi: processing endpoint /host1x/i2c@546c0000/ov5693_c@36/ports/port@0/endpoint
[    8.953997] vi vi: skipping channel port /host1x/i2c@546c0000/ov5693_c@36:0
[    8.963982] vi vi: creating links for channels
[    8.971425] vi vi: processing endpoint /host1x/vi/ports/port@0/endpoint
[    8.981117] vi vi: creating link for channel vi-output-2
[    8.989475] vi vi: creating ov5693 6-0036:0 -> vi-output-2:0 link

We can see all the logs show it works fine. Let’s continue to check.

Excute from shell:

“gst-launch-1.0 nvcamerasrc fpsRange=“30.0 30.0” ! ‘video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080, format=(string)I420, framerate=(fraction)30/1’ ! nvtee ! nvvidconv flip-method=2 ! ‘video/x-raw(memory:NVMM), format=(string)I420’ ! nvoverlaysink -e”

ubuntu@tegra-ubuntu:~$ ce[Kgst-launch-1.0 nvcamerasrc fpsRange="30.0 30.0" ! 'video/ 
x-raw(memory:NVMM), width=(int)1920,height=(int)1080, format=(string)I420, frame 
rate=(fraction)30/1' ! nvtee ! nvvidconv flip-method=2 ! 'video/x-raw(memory:NVM 
M), format=(string)I420' ! nvoverlaysink -e
Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and Mjstreaming[  141.428446] ov5693 6-0036: ov5693_power_on: power on
[  141.437492] ov5693 6-0036: ov5693_power_off: power off
[  141.476470] ov5693 6-0036: ov5693_power_on: power on
[  141.485420] ov5693 6-0036: ov5693_power_off: power off
[  141.493435] ov5693 6-0036: ov5693_power_on: power on
[  141.502365] ov5693 6-0036: ov5693_power_off: power off
[  141.510406] ov5693 6-0036: ov5693_power_on: power on
[  141.519428] ov5693 6-0036: ov5693_power_off: power off

Available Sensor modes : 
2592 x 1944 FR=30.000000 CF[  141.560744] ov5693 6-0036: ov5693_power_on: power on
=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
2592 x 1[  141.572292] ov5693 6-0036: ov5693_s_stream++
458 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
1280 x 720 FR=120.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

NvCameraSrc: Trying To Set D[  141.605058] ov5693 6-0036: ov5693_set_gain: gain 0100 val: 0010
efault Camera Resolution. Selected 1920x[  141.614650] ov5693 6-0036: ov5693_set_frame_length: val: 1984
1080 FrameRate = 30.000000 ...

[  141.623921] ov5693 6-0036: ov5693_set_coarse_time: val: 1978
[  141.632927] ov5693 6-0036: ov5693_s_stream--
[  141.798101] nvmap_alloc_handle: PID 2092: 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. 
[  141.901389] ov5693 6-0036: ov5693_set_group_hold: enter group hold
[  141.907657] ov5693 6-0036: ov5693_set_gain: gain 0151 val: 0015
[  141.915080] ov5693 6-0036: ov5693_set_group_hold: leave group hold
[  141.935959] ov5693 6-0036: ov5693_set_group_hold: enter group hold

Now we can see the preview on from the screen with hdmi port.

  • Try with another new adapter and new sensor OV4689.

Note:

  1. The new adapter has been checked. it is almost the same with the adapter from nvidia(integration with ov5693).
  2. And the new sensor OV4689 use the same i2c slave address 0x36 and vi port C, also connected to i2c 6.
  3. The only difference between the two sensor modules and the sensor i2c setting. which got from OV company.
  4. OV4689 and OV5693 all worked fine with V4l2 ioctrls. We can capture the image with pixel format SRGGB10 with V4l2 for both of them.
  5. The driver and the dts file are fine, I just replace it with the new sensor(I still use the same name ov5693 for new sensor OV4689, except disabled the eeprom and otp fuse id.). It works fine with V4l2.
  6. Kernel logs are exactly the same with the fist case for ov5693.

[b]The key problem comes.

"nvcamerasrc " for ISP support from NVIDIA. We know it is not opened for all of us. currently only sensors like ov5693 and IMX185, etc. can work with it. There is no plan to open. (I got this message from this forum not from the document released from R24.2, it strange).

The expected error I think should be come from the sensor. like i2c error or the wrong configuration for the sensor.
But We even can not open the nvcamera.

So, what’s the root cause for us to use the nvcamer(ignore the turing and other know reasons). Are there any fixed code to block the using of nvcamer for new sensor?[/b]

ubuntu@tegra-ubuntu:~$
M), format=(string)I420' ! nvoverlaysink -eip-method=2 ! 'video/x-raw(memory:NVM
Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and Mjstreaming[  101.973401] ov5693 6-0036: ov5693_power_on: power on
[  101.982339] ov5693 6-0036: ov5693_power_off: power off
Socket read error. Camera Daemon stopped functioning.....
gst_nvcamera_open() failed ret=0
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ...
ubuntu@tegra-ubuntu:~$

Have you check the raw data by the raw2bmp?

OV4689 and OV5693 all worked fine with V4l2 ioctrls. We can capture the image with pixel format SRGGB10 with V4l2 for both of them.

Yes, Raw data can be got with v4l2 ioctrls. And can be converted from RG10 to RGB with bayer2rgb.

The tools get from https://github.com/jdthomas/bayer2rgb.git.

  1. Could you list the information of below command
    v4l2-ctl --list-devices

collect the log after below command.

  1. kill the nvcamera-daemon
  2. sudo su
  3. export enableCamScfLogs=1
  4. export enableCamPclLogs=1
  5. /usr/sbin/nvcamera-daemon&
  6. launch the camera by gstreamer
  • OV5693
  • ubuntu@tegra-ubuntu:~$ v4l2-ctl --list-dev
    [  389.304825] ov5693 6-0036: ov5693_power_on: power on
    [  389.314730] ov5693 6-0036: ov5693_power_off: power off
    [  389.323869] ov5693 6-0036: ov5693_open:
    VIDIOC_QUERYCAP: failed: Inappropriate ioctl for device
    vi-outp[  389.330602] ov5693 6-0036: ov5693_power_on: power on
    ut-2, ov5693 6-0036 (platform:vi:2):
    	/dev/video0
    	/dev/v4l-subdev0
    
    [  389.343662] ov5693 6-0036: ov5693_power_off: power off
    
    [BEGIN] 2016/11/28 16:43:41
    20' ! nvoverlaysink -e
    Setting pipeline to PAUSED ...
    Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingThread 1 getting next capture
    
    Thread 1 is waiting
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    Thread 4 getting next capture
    
    Thread 4 is waiting
    
    Starting services...
    
    getInstance: s_instance(0x7f791a2e80)
    
    doCreateSensor: create SensorType(gyroscope) sensor(0x7f791a2f80)
    
    doCreateSensor: create SensorType(accelerometer) sensor(0x7f791a32c0)
    
    doCreateSensor: create SensorType(magnetometer) sensor(0x7f791a3350)
    
    doCreateSensor: create SensorType(temperature) sensor(0x7f7921f5f0)
    
    doCreateSensor: create SensorType(proximity) sensor(0x7f792229d0)
    
    doCreateSensor: create SensorType(rotation vector) sensor(0x7f79225db0)
    
    doCreateSensor: create SensorType(linear acceleration) sensor(0x7f79229190)
    
    getInstance: s_instance(0x7f791a2e80)
    
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    Services are started
    
    NvPclSetHotplugCallback: ++++++++++++++++++++++
    ###### Imager: Calibration blob file handling NOT supported in this build ######
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclHwMatchPartNum: Found calibration Part#:P5V27C:"P5V27C"
    NvPclHwGetModuleData: Misc Driver v4l2_focuser_stub already exists. Avoiding duplicate drivers
    NvPclHwPrintModuleDefinition -- Name: e3326_front_P5V27C
    NvPclHwPrintModuleDefinition -- Position: 0
    NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_focuser_stub
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: lc898212 6-0072
    NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_sensor
    NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: ov5693 6-0036
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclModuleListInitialize: NvPclModule list[0]: e3326_front_P5V27C position0
    NvPclHwScanExternalCameras -- adding video0 to discover list
    NvPclHwScanExternalCameras -- adding video0 to discover list
    initialize: /dev/video0
    getHotplugMonitor: Getting hotplug monitor instance
     initializeHotplug++
     hotPlugfunc ++ 
     addWatch: Watch added wd='1'
    setHotplugCallback: Registered new callback client
    NvPclSetHotplugCallback: ----------------------
    NvPclOpen: ++++++++++++++++++++++
    NvPclStateControllerOpen: Found GUID 0 match at index[0]
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f7926d310
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f7925c4b0
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f7925c540
    LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16
    CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/e3326_front_P5V27C.isp] 6/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/e3326_front_P5V27C.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/e3326_front_P5V27C.isp] 7/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/e3326_front_P5V27C.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/e3326_front_P5V27C.isp] 8/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/e3326_front_P5V27C.isp]
    LoadOverridesFile: looking for override file [(null)] 9/16
    LoadOverridesFile: looking for override file [(null)] 10/16
    LoadOverridesFile: looking for override file [(null)] 11/16
    LoadOverridesFile: looking for override file [(null)] 12/16
    LoadOverridesFile: looking for override file [(null)] 13/16
    LoadOverridesFile: looking for override file [(null)] 14/16
    LoadOverridesFile: looking for override file [(null)] 15/16
    LoadOverridesFile: looking for override file [(null)] 16/16
    LoadOverridesFile: No override file found.
    NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_focuser_stub)
    NvPclCreateDriver: Found a Driver name match (v4l2_focuser_stub)
    NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
    NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
    NvPclConnectDrivers: hImager was NULL, creating new imager
    NvPclInitializeDrivers: v4l2_focuser_stub ++++++++++++++++++
    NvPclDriver_V4L2_Focuser_Stub_Initialize WARNING: No focuser object, allocating for lens
    NvPclDriver_V4L2_Focuser_Stub_Initialize: Loaded focuser static properties--------------
    NvPclInitializeDrivers: NvOdmLensStub ------------------
    NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
    OFDPropertyGetString: could not read property [devnode-bus]
    initialize: ov5693 6-0036
    OFDPropertyGetString: could not read property [use_decibel_gain]
    OFDPropertyGetString: could not read property [use_sensor_mode_id]
    OFDPropertyCopyToLong: could not read property [has-eeprom]
    Control Fuse ID not found
    Control OTP Data not found
    Control Frame Rate not found
    Control Exposure not found
    Sensor_FindCustomCIDs: calculated MaxCoarseDiff 6
    OFDPropertyGetString: could not read property [type]
    Sensor_LoadSubType: Sensor type missing in DT, 502
    OFDPropertyCopyToLong: could not read property [mode0.csi_pixel_bit_depth]
    OFDPropertyCopyToLong: could not read property [mode0.dynamic_pixel_bit_depth]
    OFDPropertyGetString: could not read property [mode0.mode_type]
    Sensor_LoadModeModeType: mode 0: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode0.pixel_phase]
    Sensor_LoadModePixelPhase: mode 0: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode0.x_start]
    OFDPropertyGetString: could not read property [mode0.y_start]
    OFDPropertyGetString: could not read property [mode0.x_end]
    OFDPropertyGetString: could not read property [mode0.y_end]
    OFDPropertyGetString: could not read property [mode0.h_scaling]
    OFDPropertyGetString: could not read property [mode0.v_scaling]
    OFDPropertyCopyToLong: could not read property [mode1.csi_pixel_bit_depth]
    OFDPropertyCopyToLong: could not read property [mode1.dynamic_pixel_bit_depth]
    OFDPropertyGetString: could not read property [mode1.mode_type]
    Sensor_LoadModeModeType: mode 1: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode1.pixel_phase]
    Sensor_LoadModePixelPhase: mode 1: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode1.x_start]
    OFDPropertyGetString: could not read property [mode1.y_start]
    OFDPropertyGetString: could not read property [mode1.x_end]
    OFDPropertyGetString: could not read property [mode1.y_end]
    OFDPropertyGetString: could not read property [mode1.h_scaling]
    OFDPropertyGetString: could not read property [mode1.v_scaling]
    OFDPropertyCopyToLong: could not read property [mode2.csi_pixel_bit_depth]
    OFDPropertyCopyToLong: could not read property [mode2.dynamic_pixel_bit_depth]
    OFDPropertyGetString: could not read property [mode2.mode_type]
    Sensor_LoadModeModeType: mode 2: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode2.pixel_phase]
    Sensor_LoadModePixelPhase: mode 2: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode2.x_start]
    OFDPropertyGetString: could not read property [mode2.y_start]
    OFDPropertyGetString: could not read property [mode2.x_end]
    OFDPropertyGetString: could not read property [mode2.y_end]
    OFDPropertyGetString: could not read property [mode2.h_scaling]
    OFDPropertyGetString: could not read property [mode2.v_scaling]
    NvPclDriver_V4L2_Sensor_Initialize: Loaded Driver: 3 Modes Available--------------
    NvPclInitializeDrivers: v4l2_sensor ------------------
    NvPclOpen: ----------------------
    populateStaticProperties
    
    populateStaticProperties
    
    sourceRegistry[0] assigned
    
    ispRegistry[0] assigned
    
    Using Source GUID 0
    
    NvPclPowerOn: +++++++++++
    NvPclPowerOn: -----------
    Using ISP A
    
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    No library found, disabling AC plugin.
    
    
    Available Sensor modes : 
    2592 x 1944 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
    2592 x 1458 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
    1280 x 720 FR=120.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    
    NvCameraSrc: Trying To Set Default Camera Resolution. Selected 1920x1080 FrameRate = 30.000000 ...
    
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteMode: Target mode Id(1): Resolution 2592x1458
    Sensor_GetV4LPixelType: pixel type 0x101 invalid
    setActiveBufferMemory: 2
    setActivePixelFormat: 808535890
    INPUT: Width 2592 Height 1944 pixelformat RG10
    INPUT: Width 2592 Height 1458 pixelformat RG10
    Sensor_WriteFrameRate:	INPUT frameLength:1984, frameRate:30.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    
  • OV4689
  • root@tegra-ubuntu:/home/ubuntu# v4l2-ctl --list-dev
    [  125.274532] ov5693 6-0036: ov5693_power_on: power on
    [  125.284530] ov5693 6-0036: ov5693_power_off: power off
    [  125.293762] ov5693 6-0036: ov5693_open:
    VIDIOC_QUERYCAP: failed: Inappropriate ioctl for[  125.299593] ov5693 6-0036: ov5693_power_on: power on
     device
    vi-output-2, ov5693 6-0036 (platform:vi:2):
    	/dev/video0
    	/dev/v4l-subdev0
    
    [  125.312481] ov5693 6-0036: ov5693_power_off: power off
    
    root@tegra-ubuntu:/home/ubuntu# kill 1606
    root@tegra-ubuntu:/home/ubuntu# export enableCamScfLogs=1
    root@tegra-ubuntu:/home/ubuntu# export enableCamPclLogs=1
    root@tegra-ubuntu:/home/ubuntu# /usr/sbin/nvcamera-daemon&
    [1] 1990
    emory:NVMM), format=(string)I420' ! nvoverlaysink -eip-method=2 ! 'video/x-raw(m
    Setting pipeline to PAUSED ...
    Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingThread 1 getting next capture
    
    Thread 1 is waiting
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    Thread 4 getting next capture
    
    Thread 4 is waiting
    
    Starting services...
    
    getInstance: s_instance(0x7f711a2e80)
    
    doCreateSensor: create SensorTy[  240.500571] ov5693 6-0036: ov5693_power_on: power on
    pe(gyroscope) sensor(0x7f711a2f80)
    
    doCreateSensor: create SensorType(accelero[  240.512629] ov5693 6-0036: ov5693_power_off: power off
    meter) sensor(0x7f711a32c0)
    
    doCreateSensor: create SensorType(magnetometer) sensor(0x7f711a3350)
    
    doCreateSensor: create SensorType(temperature) sensor(0x7f7121f5f0)
    
    doCreateSensor: create SensorType(proximity) sensor(0x7f712229d0)
    
    doCreateSensor: create SensorType(rotation vector) sensor(0x7f71225db0)
    
    doCreateSensor: create SensorType(linear acceleration) sensor(0x7f71229190)
    
    getInstance: s_instance(0x7f711a2e80)
    
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    Services are started
    
    NvPclSetHotplugCallback: ++++++++++++++++++++++
    ###### Imager: Calibration blob file handling NOT supported in this build ######
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclModuleListInitialize: no built in modules on platform
    NvPclHwScanExternalCameras -- adding video0 to discover list
    NvPclHwScanExternalCameras -- adding video0 to discover list
    initialize: /dev/video0
    getHotplugMonitor: Getting hotplug monitor instance
     initializeHotplug++
     hotPlugfunc ++
     addWatch: Watch added wd='1'
    setHotplugCallback: Registered new callback client
    NvPclSetHotplugCallback: ----------------------
    SCF: Error BadParameter: index out of range (in src/api/CameraDriver.cpp, function getSource(), line 413)
    Socket read error. Camera Daemon stopped functioning.....
    gst_nvcamera_open() failed ret=0
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
    Additional debug info:
    gstbasesrc.c(3354): gst_base_src_start (): /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0:
    Failed to start
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@tegra-ubuntu:/home/ubuntu#
    

    Did you use the same device tree for these two sensor? Seems the device tree have problem cause device not found by the nvpcl.

    Yes, they are the same.

    Both dts come from tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb

    The same device tree and the same kernel Image, only different adapter and raw sensor,

    Below is the boot log of TX1 with OV4689 inserted.
    You can see where the device tree and the Image locate from.

    ubuntu@tegra-ubuntu:~$ cat /boot/extlinux/extlinux_1.conf
    TIMEOUT 30
    DEFAULT primary
    
    MENU TITLE p2371-2180 eMMC boot options
    
    LABEL primary
          MENU LABEL primary kernel
          LINUX /home/ubuntu/src/Image
          INITRD /boot/initrd
          FDT /home/ubuntu/src/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
          APPEND fbcon=map:0 console=tty0 console=ttyS0,115200n8 androidboot.modem=none androidboot.serialno=P2180A00P00940c003fd androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=${lp0_vec} nvdumper_reserved=${nvdumper_reserved} core_edp_mv=1125 core_edp_ma=4000 gpt android.kerneltype=normal androidboot.touch_vendor_id=0 androidboot.touch_panel_id=63 androidboot.touch_feature=0 androidboot.bootreason=pmc:software_reset,pmic:0x0 net.ifnames=0 root=/dev/mmcblk0p1 rw rootwait
    ubuntu@tegra-ubuntu:~$
    
    U-Boot 2015.07-rc2-g78c8468 (Sep 28 2016 - 17:48:16 -0700)
    
    TEGRA210
    
    Model: NVIDIA P2371-2180
    
    DRAM:  4 GiB
    
    C:   Tegra SD/MMC: 0, Tegra SD/MMC: 1
    
    tegra-pcie: PCI regions:
    
    tegra-pcie:   I/O: 0x0000000012000000-0x0000000012010000
    
    tegra-pcie:   non-prefetchable memory: 0x0000000013000000-0x0000000020000000
    
    tegra-pcie:   prefetchable memory: 0x0000000020000000-0x0000000040000000
    
    tegra-pcie: 4x1, 1x1 configuration
    
    tegra-pcie: probing port 0, using 4 lanes
    
    tegra-pcie: link 0 down, retrying
    
    tegra-pcie: link 0 down, retrying
    
    tegra-pcie: link 0 down, retrying
    
    tegra-pcie: link 0 down, ignoring
    
    tegra-pcie: probing port 1, using 1 lanes
    
    tegra-pcie: link 1 down, retrying
    
    tegra-pcie: link 1 down, retrying
    
    tegra-pcie: link 1 down, retrying
    
    tegra-pcie: link 1 down, ignoring
    
    In:    serial
    
    Out:   serial
    
    Err:   serial
    
    Net:   No ethernet found.
    
    Hit any key to stop autoboot:  2  0 
    
    Tegra210 (P2371-2180) # 
    
    Tegra210 (P2371-2180) # 
    
    Tegra210 (P2371-2180) # 
    
    Tegra210 (P2371-2180) # 
    
    Tegra210 (P2371-2180) # run mmc_boota_1 
    
    switch to partitions #0, OK
    
    mmc0(part 0) is current device
    
    ** Bad device specification mmc -bootable **
    
    Scanning mmc :1...
    
    Found /boot/extlinux/extlinux_1.conf
    
    Retrieving file: /boot/extlinux/extlinux_1.conf
    
    1010 bytes read in 494 ms (2 KiB/s)
    
    p2371-2180 eMMC boot options
    
    1:	primary kernel
    
    Enter choice: 1:	primary kernel
    
    Retrieving file: /boot/initrd
    
    10816187 bytes read in 744 ms (13.9 MiB/s)
    
    Retrieving file: /home/ubuntu/src/Image
    
    20125792 bytes read in 16493 ms (1.2 MiB/s)
    
    append: fbcon=map:0 console=tty0 console=ttyS0,115200n8 androidboot.modem=none androidboot.serialno=P2180A00P00940c003fd androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff2bf000 nvdumper_reserved=0xff23f000 core_edp_mv=1125 core_edp_ma=4000 gpt android.kerneltype=normal androidboot.touch_vendor_id=0 androidboot.touch_panel_id=63 androidboot.touch_feature=0 androidboot.bootreason=pmc:software_reset,pmic:0x0 net.ifnames=0 root=/dev/mmcblk0p1 rw rootwait
    
    Retrieving file: /home/ubuntu/src/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
    
    305941 bytes read in 386 ms (773.4 KiB/s)
    
    ## Flattened Device Tree blob at 82000000
    
       Booting using the fdt blob at 0x82000000
    
       reserving fdt memory region: addr=80000000 size=20000
    
       Using Device Tree in place at 0000000082000000, end 000000008204db14
    
    ERROR: Cannot read board ID EEPROM
    
    WARNING: failed to read board EEPROM
    
    Starting kernel ...
    
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 3.10.96-tegra (zhanghj@localhost.localdomain) (gcc version 4.8.2 (GCC) ) #53 SMP PREEMPT Fri Nov 25 16:34:01 CST 2016
    [    0.000000] CPU: Cortex A57 Processor [411fd071] revision 1
    [    0.000000] alternative: enabling workaround for ARM erratum 832075
    [    0.000000] Machine: jetson_tx1
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Reserved memory: initialized node iram-carveout, compatible id nvidia,iram-carveout
    [    0.000000] Tegra reserved memory:
    [    0.000000] LP0:                    ff2bf000 - ff2bffff
    [    0.000000] Bootloader framebuffer: 00000000 - 00000000
    [    0.000000] Bootloader framebuffer2: 00000000 - 00000000
    [    0.000000] Framebuffer:            00000000 - 00000000
    [    0.000000] 2nd Framebuffer:        00000000 - 00000000
    [    0.000000] Carveout:               00000000 - 00000000
    [    0.000000] Vpr:                    00000000 - 16bfffff
    [    0.000000] Tsec:                   00000000 - 00000000
    [    0.000000] Bootloader Debug Data:  00000000 - 00000000
    [    0.000000] Nvdumper:               ff23f000 - ff23ffff
    [    0.000000] cma: CMA: reserved 364 MiB at e8000000
    [    0.000000] cma: CMA: reserved 16 MiB at e7000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv0.2 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] DTS File Name: arch/arm64/boot/dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts
    [    0.000000] DTB Build time: Nov 25 2016 16:34:23
    [    0.000000] Tegra21: Speedo/IDDQ fuse revision 4
    [    0.000000] Tegra21: CPU Speedo ID 7, Soc Speedo ID 0, Gpu Speedo ID 2
    [    0.000000] Tegra21: CPU Process ID 0, Soc Process ID 1, Gpu Process ID 0
    [    0.000000] Tegra21: CPU Speedo value 2087, Soc Speedo value 1984, Gpu Speedo value 2089
    [    0.000000] Tegra21: CPU IDDQ 2300, Soc IDDQ 2540, Gpu IDDQ 3015
    [    0.000000] Tegra Revision: A02 SKU: 0x17 CPU Process: 0 Core Process: 1 Bootrom patch v0x3f
    [    0.000000] tegra: PLLP fixed rate: 408000000
    [    0.000000] pll_u: boot with h/w control already set
    [    0.000000] pll_x boot misc1 0x0 : expected 0x20
    [    0.000000]  (comparison mask = 0xffffff)
    [    0.000000] pll_c4 rates match 204000000 max sdmmc: vco=998400000 out0=998400000 out3=998400000
    [    0.000000] Lowering vic03 maximum rate from 1000000000 to 627200000
    [    0.000000] Lowering nvjpg maximum rate from 1000000000 to 627200000
    [    0.000000] Lowering se maximum rate from 1000000000 to 627200000
    [    0.000000] Lowering tsecb maximum rate from 1000000000 to 627200000
    [    0.000000] Lowering msenc maximum rate from 1000000000 to 716800000
    [    0.000000] Lowering nvdec maximum rate from 1000000000 to 716800000
    [    0.000000] Lowering vi maximum rate from 1000000000 to 793600000
    [    0.000000] Lowering isp maximum rate from 1000000000 to 793600000
    [    0.000000] Lowering adsp_bus maximum rate from 1200000000 to 844800000
    [    0.000000] Lowering sbus maximum rate from 600000000 to 408000000
    [    0.000000] Lowering host1x maximum rate from 600000000 to 408000000
    [    0.000000] Lowering pll_c maximum rate from 1200000000 to 1130000000
    [    0.000000] Lowering pll_c2 maximum rate from 1200000000 to 1130000000
    [    0.000000] Lowering pll_c3 maximum rate from 1200000000 to 1130000000
    [    0.000000] Lowering pll_d2 maximum rate from 1500000000 to 1130000000
    [    0.000000] Lowering pll_dp maximum rate from 1500000000 to 1130000000
    [    0.000000] Lowering sor0 maximum rate from 600000000 to 540000000
    [    0.000000] Lowering sor1 maximum rate from 600000000 to 594000000
    [    0.000000] Lowering dmic1 maximum rate from 12288000 to 12190000
    [    0.000000] Lowering dmic2 maximum rate from 12288000 to 12190000
    [    0.000000] Lowering dmic3 maximum rate from 12288000 to 12190000
    [    0.000000] Lowering hda maximum rate from 102000000 to 51000000
    [    0.000000] Lowering sdmmc2 maximum rate from 266000000 to 204000000
    [    0.000000] Lowering qspi maximum rate from 163200000 to 116600000
    [    0.000000] Lowering gbus maximum rate from 1300000000 to 998400000
    [    0.000000] Lowering cpu_g maximum rate from 3000000000 to 1734000000
    [    0.000000] Lowering cpu_lp maximum rate from 1350000000 to 1132800000
    [    0.000000] tegra dvfs: vdd_cpu: nominal 1226mV, offset 708000uV, step 19200uV, scaling enabled
    [    0.000000] tegra dvfs: vdd_core: nominal 1075mV, offset 0uV, step 12500uV, scaling enabled
    [    0.000000] tegra dvfs: vdd_gpu: nominal 1100mV, offset 710000uV, step 10000uV, scaling enabled
    [    0.000000] Tegra reset control registration success
    [    0.000000] tegra_powergate_init: DONE
    [    0.000000] PERCPU: Embedded 13 pages/cpu @ffffffc01fe2d000 s20800 r8192 d24256 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1029632
    [    0.000000] Kernel command line: fbcon=map:0 console=tty0 console=ttyS0,115200n8 androidboot.modem=none androidboot.serialno=P2180A00P00940c003fd androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff2bf000 nvdumper_reserved=0xff23f000 core_edp_mv=1125 core_edp_ma=4000 gpt android.kerneltype=normal androidboot.touch_vendor_id=0 androidboot.touch_panel_id=63 androidboot.touch_feature=0 androidboot.bootreason=pmc:software_reset,pmic:0x0 net.ifnames=0 root=/dev/mmcblk0p1 rw rootwait
    [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
    [    0.000000] Memory: 2030MB 2048MB = 4078MB total
    [    0.000000] Memory: 3689832k/3689832k available, 486040k reserved
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000   (245759 MB)
    [    0.000000]     vmemmap : 0xffffffbc01c00000 - 0xffffffbc05400000   (    56 MB)
    [    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
    [    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc100000000   (  4096 MB)
    [    0.000000]       .init : 0xffffffc001166000 - 0xffffffc0011d1140   (   429 kB)
    [    0.000000]       .text : 0xffffffc000080000 - 0xffffffc0011653a4   ( 17301 kB)
    [    0.000000]       .data : 0xffffffc0011e5000 - 0xffffffc0013b1740   (  1842 kB)
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000] NR_IRQS:704 nr_irqs:704 0
    [    0.000000] the number of interrupt controllers found is 6
    [    0.000000] Architected local timer running at 19.20MHz (phys).
    [    0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [tty0] enabled
    [    0.000000] allocated 16777216 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.023313] Calibrating delay loop (skipped), value calculated using timer frequency.. lpj=192000
    [    0.032121] pid_max: default: 32768 minimum: 301
    [    0.036811] Security Framework initialized
    [    0.040842] Mount-cache hash table entries: 256
    [    0.087193] Initializing cgroup subsys debug
    [    0.089476] Initializing cgroup subsys memory
    [    0.093854] Initializing cgroup subsys devices
    [    0.098224] Initializing cgroup subsys freezer
    [    0.102653] Initializing cgroup subsys net_cls
    [    0.107063] Initializing cgroup subsys blkio
    [    0.111317] Initializing cgroup subsys perf_event
    [    0.116181] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
    [    0.160257] ftrace: Allocated trace_printk buffers
    [    0.220801] Brought up 4 CPUs
    [    0.221779] SMP: Total of 4 processors activated.
    [    0.226470] alternatives: patching kernel code
    [    0.233413] devtmpfs: initialized
    [    0.243769] pinctrl core: initialized pinctrl subsystem
    [    0.247223] regulator-dummy: ; Rail ON
    [    0.256069] Initializing plugin-manager
    [    0.259252] NET: Registered protocol family 16
    [    0.264366] DMA: preallocated 1024 KiB pool for atomic coherent allocations
    [    0.269915] console [pstore-1] enabled
    [    0.273078] ramoops: attached 0x200000@0xff03f000, ecc: 0/0
    [    0.278869] I2C first dynamic bus number based on alias = 7
    [    0.284200] cpuidle: using governor ladder
    [    0.288222] cpuidle: using governor menu
    [    0.292850] PMC: Setting PMIC interrupt active-low
    [    0.297568] tegra-pmc device create success
    [    0.301119] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
    [    0.308245] Clear bootloader IO dpd settings
    [    0.312500] PMC: configuring io pad defaults
    [    0.316919] PMC: IO pad audio voltage is 1800000
    [    0.321439] PMC: IO pad cam voltage is 1800000
    [    0.325849] PMC: IO pad dbg voltage is 1800000
    [    0.330278] PMC: IO pad dmic voltage is 1800000
    [    0.334776] PMC: IO pad pex-ctrl voltage is 1800000
    [    0.339629] PMC: IO pad spi voltage is 1800000
    [    0.344058] PMC: IO pad uart voltage is 1800000
    [    0.348556] PMC: IO pad bb voltage is 1800000
    [    0.352897] PMC: IO pad audio-hv voltage is 1800000
    [    0.357743] PMC: IO pad spi-hv voltage is 1800000
    [    0.362430] PMC: IO pad gpio voltage is 1800000
    [    0.366929] PMC: IO pad sdmmc3 voltage is 1800000
    [    0.371526] PMC: IO pad pex-bias power is disable
    [    0.376196] PMC: IO pad pex-clk1 power is disable
    [    0.380884] PMC: IO pad pex-clk2 power is disable
    [    0.385547] T210 pmc padctrl driver initialized
    [    0.390089] T210 pmc config for bootrom command passed
    [    0.396118] INFO: pinmux CLAMP_INPUTS_WHEN_TRISTATED: disabled
    [    0.402734] clk_init_from_dt_table: clocks are set from t210-clk-init-table:clkinit-0
    [    0.410829] platform tegra-carveouts.23: SMMU isn't ready yet
    [    0.415070] platform tegra-carveouts.23: domain=ffffffc0fe1bc5d8 allocates as[0]=ffffffc0fe1980a8
    [    0.423471] tegra_smmu 70019000.iommu: Loaded Tegra IOMMU driver
    [    0.430014] bpmp: connect returned 0
    [    0.433425] mapped MMIO address: 0xffffff8000038000 -> 0x70019000
    [    0.439081] mapped MMIO address: 0xffffff800005e000 -> 0x7001c000
    [    0.445158] mapped MMIO address: 0xffffff8000096000 -> 0x7001d000
    [    0.451338] mc-err: (255) csr_mpcorer: non secure access to secure region
    [    0.452071] Wake16 for irq=34
    [    0.457113] tegra210-pinctrl 700008d4.pinmux: lookup the user state drive not found
    [    0.457118] tegra210-pinctrl 700008d4.pinmux: lookup the user state unused not found
    [    0.457122] tegra210-pinctrl 700008d4.pinmux: Probed Tegra pinctrl driver
    [    0.457484] GPIO chip tegra-gpio: created GPIO range 0->245 ==> 700008d4.pinmux PIN 0->245
    [    0.457527] tegra-gpio 6000d000.gpio: Initialising GPIO state 0: name wlan-default
    [    0.457547] tegra-gpio 6000d000.gpio: Initialising GPIO state 1: name camera_control
    [    0.457576] tegra-gpio 6000d000.gpio: Initialising GPIO state 2: name camera-control
    [    0.457622] gpiochip_add: registered GPIOs 0 to 255 on device: tegra-gpio
    [    0.459960] Wake44 for irq=81
    [    0.459985] Wake40 for irq=53
    [    0.459987] Wake41 for irq=53
    [    0.459989] Wake42 for irq=53
    [    0.459990] Wake43 for irq=53
    [    0.460372] platform 70006000.serial: domain=ffffffc0fe1ef7d8 allocates as[0]=ffffffc0fe198110
    [    0.461044] platform sound.27: domain=ffffffc0fe1ef558 allocates as[0]=ffffffc0fe198178
    [    0.462499] platform tegradc.1: domain=ffffffc0fe1ef158 allocates as[0]=ffffffc0fe1981e0
    [    0.462772] platform tegradc.1: IOVA linear map 0x00000000e8000000(16c00000)
    [    0.464276] platform gpu.0: domain=ffffffc0fe262dd8 allocates as[0]=ffffffc0fe198248
    [    0.464316] platform gpu.0: domain=ffffffc0fe262dd8 allocates as[1]=ffffffc0fe1982b0
    [    0.464353] platform gpu.0: domain=ffffffc0fe262dd8 allocates as[2]=ffffffc0fe198318
    [    0.464386] platform gpu.0: domain=ffffffc0fe262dd8 allocates as[3]=ffffffc0fe198380
    [    0.465796] platform 1003000.pcie-controller: domain=ffffffc0fe262bd8 allocates as[0]=ffffffc0fe1983e8
    [    0.467116] platform sdhci-tegra.3: domain=ffffffc0fe262758 allocates as[0]=ffffffc0fe198450
    [    0.467436] platform sdhci-tegra.0: domain=ffffffc0fe262558 allocates as[0]=ffffffc0fe1984b8
    [    0.467626] Wake39 for irq=52
    [    0.473370] gpio wake52 for gpio=61
    [    0.473569] gpio wake8 for gpio=58
    [    0.473600] gpio wake8 for gpio=58
    [    0.474429] irq: no irq domain found for /soctherm@0x700E2000 !
    [    0.474546] irq: no irq domain found for /soctherm@0x700E2000 !
    [    0.474698] board_info: id:sku:fab:major:minor = 0x0884:0x03e8:0x00:0x00:0x00
    [    0.474714] PMC dt information non-NULL tegra_init_suspend
    [    0.479661] Loading EMC tables...
    [    0.479744] tegra: Using EMC sequence '21021' for Rev. 7 tables
    [    0.479755] tegra: emc: Derated table is valid.
    [    0.479767] Lowering emc maximum rate from 1800000000 to 1600000000
    [    0.479780] tegra: validated EMC DFS table
    [    0.485553] swapper/0 isomgr_init(): iso emc max clk=1600000KHz
    [    0.485557] swapper/0 isomgr_init(): max_iso_bw=11520000KB
    [    0.485727] t210ref_pca9626_led_init: ++
    [    0.485789] vdso: 2 pages (1 code, 1 data) at base ffffffc0011ee000
    [    0.485807] vdso32: 2 pages (1 code, 1 data) at base ffffffc0011ed000
    [    0.713673] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.713687] mc-err:   status = 0x30007027; addr = 0xffffffc0
    [    0.713693] mc-err:   secure: no, access-type: read, SMMU fault: none
    [    0.732635] nvdumper: last reboot was unknown
    [    0.736813] nvdumper: set_dirty_state 0x2badface
    [    0.741753] Tegra restart notifier registered.
    [    0.753281] bio: create slab <bio-0> at 0
    [    0.756555] vdd-ac-bat: 5000 mV ; Rail ON
    [    0.759432] vdd-cpu-fixed: 1000 mV ; Rail ON
    [    0.764005] vgaarb: loaded
    [    0.766490] SCSI subsystem initialized
    [    0.770106] usbcore: registered new interface driver usbfs
    [    0.775448] usbcore: registered new interface driver hub
    [    0.780762] usbcore: registered new device driver usb
    [    0.786277] gpio wake33 for gpio=188
    [    0.790572] regulator_get() failed for (1-0074,vcc), -19
    [    0.794563] pca953x 1-0074: no regulator found for vcc. Assuming vcc is always powered
    [    0.803142] gpio wake21 for gpio=89
    [    0.806020] gpiochip_add: registered GPIOs 1008 to 1023 on device: tca9539
    [    0.813019] regulator_get() failed for (1-0077,vcc), -19
    [    0.818047] pca953x 1-0077: no regulator found for vcc. Assuming vcc is always powered
    [    0.826623] gpio wake36 for gpio=202
    [    0.829570] gpiochip_add: registered GPIOs 992 to 1007 on device: tca9539
    [    0.836666] i2c i2c-3: of_i2c: modalias failure on /i2c@7000c700/prod-settings
    [    0.844265] max77620 4-003c: CID0: 0xad
    [    0.847335] max77620 4-003c: CID1: 0x0a
    [    0.851161] max77620 4-003c: CID2: 0x2a
    [    0.854958] max77620 4-003c: CID3: 0x59
    [    0.858771] max77620 4-003c: CID4: 0x35
    [    0.862597] max77620 4-003c: CID5: 0x80
    [    0.866399] max77620 4-003c: MAX77620 PMIC OTP Version is 0x35
    [    0.873509] max77620-pmic max77620-pmic: Consumer c2 does not have device name
    [    0.880298] vdd_core: 600 <--> 1400 mV at 1000 mV with ramp delay 27500 uV/us ; Rail ON
    [    0.888070] vddio-ddr: at 1125 mV with ramp delay 27500 uV/us ; Rail ON
    [    0.894403] vdd-pre-reg: 1350 mV with ramp delay 27500 uV/us ; Rail ON
    [    0.901383] vdd-1v8: 1800 mV with ramp delay 27500 uV/us ; Rail ON
    [    0.907206] avdd-sys: 1200 mV with ramp delay 100000 uV/us ; Rail ON
    [    0.912931] avdd-sys: supplied by vdd-pre-reg
    [    0.917769] vdd-pex: 1050 mV with ramp delay 100000 uV/us ; Rail ON
    [    0.923483] vdd-pex: supplied by vdd-pre-reg
    [    0.928043] vddio-sdmmc1: 1800 <--> 3300 mV at 3300 mV with ramp delay 100000 uV/us ; Rail ON
    [    0.936614] vdd-cam-hv: 2800 mV with ramp delay 100000 uV/us ; Rail OFF
    [    0.943318] vdd-rtc: 850 mV with ramp delay 100000 uV/us ; Rail ON
    [    0.949336] avdd-ts-hv: 3300 mV with ramp delay 100000 uV/us ; Rail OFF
    [    0.956610] vdd-ts: 1800 mV with ramp delay 100000 uV/us ; Rail OFF
    [    0.962422] vdd-gen-pll-edp: 1050 mV with ramp delay 100000 uV/us ; Rail ON
    [    0.968715] vdd-gen-pll-edp: supplied by vdd-pre-reg
    [    0.974255] vdd-hdmi-dp: 1050 mV with ramp delay 100000 uV/us ; Rail ON
    [    0.980246] vdd-hdmi-dp: supplied by vdd-pre-reg
    [    0.985185] max77620-gpio max77620-gpio.0: Initialising GPIO state 1: name gpio_default
    [    0.992838] gpiochip_add: registered GPIOs 984 to 991 on device: max77620-gpio
    [    1.000976] max77620-gpio max77620-gpio.0: max77620 gpio successfully initialized
    [    1.010331] max77620 4-003c: max77620 probe successfully
    [    1.014172] media: Linux media interface: v0.10
    [    1.018177] Linux video capture interface: v2.00
    [    1.023162] pps_core: LinuxPPS API ver. 1 registered
    [    1.027686] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.036814] PTP clock support registered
    [    1.041010] Tegra WDT enabled on probe. Timeout = 120 seconds.
    [    1.046690] tegra_wdt 60005100.watchdog: tegra_wdt_probe done
    [    1.053386] Advanced Linux Sound Architecture Driver Initialized.
    [    1.058592] Bluetooth: Core ver 2.16
    [    1.061870] NET: Registered protocol family 31
    [    1.066252] Bluetooth: HCI device and connection manager initialized
    [    1.072596] Bluetooth: HCI socket layer initialized
    [    1.077435] Bluetooth: L2CAP socket layer initialized
    [    1.082481] Bluetooth: SCO socket layer initialized
    [    1.088430] vdd-3v3: 3300 mV ; Rail ON
    [    1.092198] max77620-gpio7: 1050 mV ; Rail ON
    [    1.095408] max77620-gpio7: supplied by vdd-gen-pll-edp
    [    1.100791] lcd-bl-en: 1800 mV ; Rail ON
    [    1.104642] en-vdd-sd: 3300 mV ; Rail OFF
    [    1.108503] en-vdd-sd: supplied by vdd-3v3
    [    1.112654] reg-fixed-sync-voltage 5.regulator: Consumer c1 does not have device name
    [    1.120697] en-vdd-cam: 1800 mV ; Rail OFF
    [    1.131064] vdd-sys-boost: 5000 mV ; Rail ON
    [    1.133776] vdd-hdmi: 5000 mV ; Rail OFF
    [    1.137275] vdd-hdmi: supplied by vdd-3v3
    [    1.141390] aux-3v3: 3300 mV ; Rail ON
    [    1.145079] snsr_pm: 3300 mV ; Rail ON
    [    1.149305] vdd-disp-3v0: 3000 mV ; Rail ON
    [    1.153279] vdd-fan: 5000 mV ; Rail OFF
    [    1.156812] usb-vbus1: 5000 mV ; Rail OFF
    [    1.160686] usb-vbus1: supplied by vdd-3v3
    [    1.164892] usb-vbus3: 5000 mV ; Rail OFF
    [    1.168731] usb-vbus3: supplied by vdd-3v3
    [    1.173231] en-vdd-ts-1v8: 1800 mV ; Rail OFF
    [    1.177532] en-vdd-ts-hv-3v3: 3300 mV ; Rail OFF
    [    1.182260] en-vdd-disp-3v3: 3300 mV ; Rail ON
    [    1.186534] en-mdm-pwr-3v7: ; Rail OFF
    [    1.190414] en-vdd-disp-1v8: 1800 mV ; Rail ON
    [    1.194356] reg-fixed-sync-voltage ce.regulator: Consumer c0 does not have device name
    [    1.202505] en-vdd-cam-hv-2v8: ; Rail OFF
    [    1.206314] rtl-5v0: ; Rail OFF
    [    1.209412] en-usb-vbus2: ; Rail OFF
    [    1.213250] en-vdd-cam-1v2: ; Rail OFF
    [    1.216574] en-vdd-cam-1v2: supplied by vdd-3v3
    [    1.221217] en-vdd-vcm-2v8: ; Rail ON
    [    1.224717] en-vdd-vcm-2v8: supplied by vdd-3v3
    [    1.229631] en-vdd-cam-1v2-alt: ; Rail OFF
    [    1.233776] regulator-pwm 0.pwm-regulator: PWM request deferred
    [    1.239168] platform 0.pwm-regulator: Driver regulator-pwm requests probe deferral
    [    1.247179] vdd_gpu: applied init 1000000uV constraint
    [    1.251828] vdd_gpu: 710 <--> 1320 mV at 1000 mV ; Rail OFF
    [    1.257776] vdd_cpu: applied init 1000000uV constraint
    [    1.262488] vdd_cpu: 708 <--> 1322 mV at 1000 mV normal ; Rail ON
    [    1.269090] gpio wake34 for gpio=200
    [    1.273297] extcon-gpio-states 1.extcon: Cable state 0
    [    1.278545] Switching to clocksource arch_sys_counter
    [    1.296795] nvmap_heap_init: nvmap_heap_init: created heap block cache
    [    1.301496] tegra-carveouts tegra-carveouts.23: iram :dma coherent mem declare 0x0000000040001000,258048
    [    1.310810] tegra-carveouts tegra-carveouts.23: assigned reserved memory node iram-carveout
    [    1.319111] dma_declare_coherent_resizable_cma_memory:278: resizable heap=vpr, base=0x0x00000000e8000000, size=0x16c00000
    [    1.330035]  dma-vpr: heap size is not multiple of cma_chunk_size heap_info->num_chunks (12) rem_chunk_size(0xc00000)
    [    1.340735] cma: enabled page replacement for spfn=e8000, epfn=fec00
    [    1.346930] dma_declare_coherent_resizable_cma_memory:325: resizable cma heap=vpr create successful
    [    1.355767] nvmap_page_pool_init: Total RAM pages: 1019738
    [    1.361387] nvmap_page_pool_init: nvmap page pool size: 127467 pages (497 MB)
    [    1.368568] nvmap_background_zero_thread: PP zeroing thread starting.
    [    1.375485] misc nvmap: created heap iram base 0x0000000040001000 size (252KiB)
    [    1.382724] misc nvmap: created heap vpr base 0x00000000e8000000 size (372736KiB)
    [    1.389747] nvmap:inner cache maint threshold=2097152
    [    1.401131] Wake39 for irq=52
    [    1.402309] Could not add tegra-otg to power domain using device tree
    [    1.408735] tegra-otg tegra-otg: otg transceiver registered
    [    1.414545] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type AO-therm
    [    1.423354] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type CPU-therm
    [    1.431186] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
    [    1.439492] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
    [    1.447884] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type PMIC-Die
    [    1.456876] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type Tdiode_tegra
    [    1.464898] thermal thermal_zone6: Registering thermal zone thermal_zone6 for type Tboard_tegra
    [    1.474039] tegra21_plle_clk_enable: pll_e is already enabled
    [    1.479166] t210_sata_uphy_pll_init: init sata uphy pll
    [    1.484370] t210_sata_uphy_pll_init SATA uses SATA Lane
    [    1.489862] tegra_xusb_padctl_phy_enable: init pex uphy pll
    [    1.496321] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-sys is having fixed voltage 1800000
    [    1.504021] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-uart is having fixed voltage 1800000
    [    1.512937] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-audio is having fixed voltage 1800000
    [    1.521933] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-cam is having fixed voltage 1800000
    [    1.530790] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-pex-ctrl is having fixed voltage 1800000
    [    1.540071] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-sdmmc1 is having voltages: 1800000:3300000
    [    1.549511] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-sdmmc3 is having fixed voltage 1800000
    [    1.558611] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-sdmmc4 is having fixed voltage 1800000
    [    1.567710] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-audio-hv is having fixed voltage 1800000
    [    1.576986] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-debug is having fixed voltage 1800000
    [    1.585993] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-dmic is having fixed voltage 1800000
    [    1.594923] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-gpio is having fixed voltage 1800000
    [    1.603850] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-spi is having fixed voltage 1800000
    [    1.612689] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-spi-hv is having fixed voltage 1800000
    [    1.621778] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-sdmmc2 is having fixed voltage 1800000
    [    1.630889] tegra210-pmc-iopower pmc-iopower.29: Rail iopower-dp is having fixed voltage 1800000
    [    1.639593] tegra210-pmc-iopower pmc-iopower.29: NO_IO_POWER setting 0x0
    [    1.646446] NET: Registered protocol family 2
    [    1.651176] TCP established hash table entries: 32768 (order: 7, 524288 bytes)
    [    1.657961] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
    [    1.664560] TCP: Hash tables configured (established 32768 bind 32768)
    [    1.670915] TCP: reno registered
    [    1.674085] UDP hash table entries: 2048 (order: 4, 65536 bytes)
    [    1.680071] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
    [    1.686707] NET: Registered protocol family 1
    [    1.691066] RPC: Registered named UNIX socket transport module.
    [    1.696703] RPC: Registered udp transport module.
    [    1.701361] RPC: Registered tcp transport module.
    [    1.706051] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.712780] tegra-fuse tegra-fuse: Fuse driver initialized succesfully
    [    1.719290] Trying to unpack rootfs image as initramfs...
    [    1.996262] Freeing initrd memory: 10560K (ffffffc003100000 - ffffffc003b50000)
    [    2.005294] host1x host1x: initialized
    [    2.010589] NTFS driver 2.1.30 [Flags: R/O].
    [    2.013059] fuse init (API version 7.22)
    [    2.016889] msgmni has been set to 7987
    [    2.021622] io scheduler noop registered (default)
    [    2.025492] Tegra cpuquiet initialized: disabled
    [    2.031535] tegra-pcie 1003000.pcie-controller: PCIE: Enable power rails
    [    2.037530] tegra-pcie 1003000.pcie-controller: probing port 0, using 4 lanes and lane map as 0x14
    [    2.047631] tegra-pcie 1003000.pcie-controller: probing port 1, using 1 lanes and lane map as 0x14
    [    2.077844] tegra-pcie 1003000.pcie-controller: link 0 down, ignoring
    [    2.082321] tegra-pcie 1003000.pcie-controller: link 1 down, ignoring
    [    2.088703] tegra-pcie 1003000.pcie-controller: PCIE: no ports detected
    [    2.095494] tegra-pcie 1003000.pcie-controller: PCIE: Disable power rails
    [    2.103891] tsec tsec: initialized
    [    2.106507] tsec tsecb: initialized
    [    2.110627] nvdec nvdec: initialized
    [    2.115145] falcon vic03: initialized
    [    2.118122] falcon msenc: initialized
    [    2.121564] falcon nvjpg: initialized
    [    2.124959] tegradc tegradc.1: Display dc.54240000 registered with id=0
    [    2.130688] of_dc_parse_platform_data: DC OR node is connected to /host1x/sor1
    [    2.138047] display board info: id 0x0, fab 0x0
    [    2.143043] display board info: id 0x0, fab 0x0
    [    2.147225] invalid panel compatible
    [    2.150444] parse_tmds_config: No tmds-config node
    [    2.155335] of_dc_parse_platform_data: could not find vrr-settings node
    [    2.161794] of_dc_parse_platform_data: nvidia,hdmi-vrr-caps not present
    [    2.168482] of_dc_parse_platform_data: could not find SD settings node
    [    2.174894] of_dc_parse_platform_data: could not find cmu node
    [    2.180686] of_dc_parse_platform_data: could not find cmu node for adobeRGB
    [    2.187653] tegradc tegradc.1: DT parsed successfully
    [    2.193654] display board info: id 0x0, fab 0x0
    [    2.197708] gpio wake53 for gpio=225
    [    2.249801] tegradc tegradc.1: nominal-pclk:148500000 parent:148500000 div:1.0 pclk:148500000 147015000~161865000
    [    2.608871] tegradc tegradc.1: probed
    [    2.706181] Console: switching to colour frame buffer device 240x67
    [    2.711159] tegradc tegradc.1: nominal-pclk:148500000 parent:148500000 div:1.0 pclk:148500000 147015000~161865000
    [    2.741084] tegradc tegradc.1: fb registered
    [    2.745913] tegra_camera_platform tegra-camera-platform.45: tegra_camera_probe:camera_platform_driver probe
    [    2.755200] misc tegra_camera_ctrl: tegra_camera_isomgr_register camera's max_iso_bw 3600000
    [    2.765666] tegra-apbdma tegra-apbdma: Tegra20 APB DMA driver register 32 channels
    [    2.772549] tegra-adma tegra210-adma: Tegra210 ADMA driver register 10 channels
    [    2.778845] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    2.785949] of_serial 70006000.serial: RX periodic polling enabled
    [    2.791255] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 68) is a Tegra
    [    2.798045] console [ttyS0] enabled, bootconsole disabled
    [    2.798045] console [ttyS0] enabled, bootconsole disabled
    [    2.808852] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 69) is a SERIAL_TEGRA
    [    2.818689] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 78) is a SERIAL_TEGRA
    [    2.826725] serial-tegra 70006300.serial: RX in PIO mode
    [    2.832118] 70006300.serial: ttyTHS3 at MMIO 0x70006300 (irq = 122) is a SERIAL_TEGRA
    [    2.859069] brd: module loaded
    [    2.864581] loop: module loaded
    [    2.868062] tegradc tegradc.1: vrr_setup failed
    [    2.882516] zram: Created 1 device(s) ...
    [    2.882576] nct1008_nct72 0-004c: find device tree node, parsing dt
    [    2.882580] nct1008_nct72 0-004c: starting parse dt
    [    2.882654] nct1008_nct72 0-004c: success parsing dt
    [    2.882775] nct1008_nct72 0-004c: success in enabling rail vdd_nct72
    [    2.893947] tegradc tegradc.1: nominal-pclk:148500000 parent:148500000 div:1.0 pclk:148500000 147015000~161865000
    [    2.926407] tegradc tegradc.1: blank - normal
    [    2.942082] tegradc tegradc.1: unblank
    [    2.953737] NCT72: Enabled overheat logging at 104.00C
    [    2.953837] gpio wake33 for gpio=188
    [    2.953898] nct1008_nct72 0-004c: nct1008_probe: initialized
    [    2.956356] THERMAL EST start of therm_fan_est_probe.
    [    2.956412] THERMAL EST: found 2 subdevs
    [    2.956415] THERMAL EST name: thermal-fan-est.
    [    2.956418] THERMAL EST num_resources: 0
    [    2.956421] [THERMAL EST subdev 0]
    [    2.956423] THERMAL EST subdev name: CPU-therm
    [    2.956426] THERMAL EST index 0 coeffs 50
    [    2.956428] THERMAL EST index 1 coeffs 0
    [    2.956429] THERMAL EST index 2 coeffs 0
    [    2.956431] THERMAL EST index 3 coeffs 0
    [    2.956432] THERMAL EST index 4 coeffs 0
    [    2.956434] THERMAL EST index 5 coeffs 0
    [    2.956435] THERMAL EST index 6 coeffs 0
    [    2.956437] THERMAL EST index 7 coeffs 0
    [    2.956438] THERMAL EST index 8 coeffs 0
    [    2.956440] THERMAL EST index 9 coeffs 0
    [    2.956441] [THERMAL EST subdev 1]
    [    2.956443] THERMAL EST subdev name: GPU-therm
    [    2.956446] THERMAL EST index 0 coeffs 50
    [    2.956447] THERMAL EST index 1 coeffs 0
    [    2.956449] THERMAL EST index 2 coeffs 0
    [    2.956450] THERMAL EST index 3 coeffs 0
    [    2.956452] THERMAL EST index 4 coeffs 0
    [    2.956453] THERMAL EST index 5 coeffs 0
    [    2.956455] THERMAL EST index 6 coeffs 0
    [    2.956456] THERMAL EST index 7 coeffs 0
    [    2.956458] THERMAL EST index 8 coeffs 0
    [    2.956459] THERMAL EST index 9 coeffs 0
    [    2.956464] THERMAL EST index 0: trip_temp 0, hyst 0
    [    2.956466] THERMAL EST index 1: trip_temp 51000, hyst 15000
    [    2.956468] THERMAL EST index 2: trip_temp 61000, hyst 9000
    [    2.956471] THERMAL EST index 3: trip_temp 71000, hyst 9000
    [    2.956473] THERMAL EST index 4: trip_temp 82000, hyst 10000
    [    2.956476] THERMAL EST index 5: trip_temp 140000, hyst 0
    [    2.956478] THERMAL EST index 6: trip_temp 150000, hyst 0
    [    2.956480] THERMAL EST index 7: trip_temp 160000, hyst 0
    [    2.956482] THERMAL EST index 8: trip_temp 170000, hyst 0
    [    2.956484] THERMAL EST index 9: trip_temp 180000, hyst 0
    [    2.956486] THERMAL EST index 0: trip_temps_hyst 0
    [    2.956488] THERMAL EST index 1: trip_temps_hyst 36000
    [    2.956490] THERMAL EST index 2: trip_temps_hyst 51000
    [    2.956492] THERMAL EST index 3: trip_temps_hyst 52000
    [    2.956493] THERMAL EST index 4: trip_temps_hyst 61000
    [    2.956495] THERMAL EST index 5: trip_temps_hyst 62000
    [    2.956496] THERMAL EST index 6: trip_temps_hyst 71000
    [    2.956498] THERMAL EST index 7: trip_temps_hyst 72000
    [    2.956500] THERMAL EST index 8: trip_temps_hyst 82000
    [    2.956501] THERMAL EST index 9: trip_temps_hyst 140000
    [    2.956504] THERMAL EST index 10: trip_temps_hyst 140000
    [    2.956505] THERMAL EST index 11: trip_temps_hyst 150000
    [    2.956507] THERMAL EST index 12: trip_temps_hyst 150000
    [    2.956508] THERMAL EST index 13: trip_temps_hyst 160000
    [    2.956510] THERMAL EST index 14: trip_temps_hyst 160000
    [    2.956512] THERMAL EST index 15: trip_temps_hyst 170000
    [    2.956513] THERMAL EST index 16: trip_temps_hyst 170000
    [    2.956515] THERMAL EST index 17: trip_temps_hyst 180000
    [    2.956517] THERMAL EST index 18: trip_temps_hyst 180000
    [    2.956518] THERMAL EST index 19: trip_temps_hyst 0
    [    2.956520] THERMAL EST index 20: trip_temps_hyst 0
    [    2.956523] THERMAL EST init dev[0] temp hist to 25000
    [    2.956525] THERMAL EST init dev[1] temp hist to 25000
    [    2.956528] THERMAL EST cdev_type: pwm-fan.
    [    2.956531] THERMAL EST governor name: pid_thermal_gov
    [    2.956718] thermal thermal_zone7: Registering thermal zone thermal_zone7 for type thermal-fan-est.46
    [    2.956720] THERMAL EST: thz register success.
    [    2.956808] THERMAL EST: end of probe, return err: 0
    [    2.956865] tegra_profiler: Branch: Dev
    [    2.956866] tegra_profiler: Version: 1.107
    [    2.956868] tegra_profiler: Samples version: 36
    [    2.956870] tegra_profiler: IO version: 20
    [    2.956874] armv8_pmu: imp: 0x41, idcode: 0x1
    [    2.956877] armv8_pmu: arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0
    [    2.956881] armv8_pmu: imp: 0x41, idcode: 0x1
    [    2.956883] armv8_pmu: arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0
    [    2.956886] armv8_pmu: imp: 0x41, idcode: 0x1
    [    2.956888] armv8_pmu: arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0
    [    2.956891] armv8_pmu: imp: 0x41, idcode: 0x1
    [    2.956894] armv8_pmu: arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0
    [    2.957000] tegra_profiler: auth: init
    [    2.957290] GPS: mt3332_gps_mod_init: platform_driver_register ret = 0
    [    2.958008] t210_sata_uphy_pll_init: sata uphy already enabled
    [    2.958652] tegra-sata tegra-sata.0: AHCI 0001.0301 32 slots 2 ports 3 Gbps 0x1 impl TEGRA-SATA mode
    [    2.958661] tegra-sata tegra-sata.0: flags: 64bit ncq sntf pm led pmp pio slum part sadm apst 
    [    2.996082] Rounding down aligned max_sectors from 4294967295 to 4294967288
    [    3.000560] spi-tegra114 7000d400.spi: /spi@7000d400/prod-settings has no reg property
    [    3.000687] spi-tegra114 7000d400.spi: Static pin configuration used
    [    3.004243] spi_master spi0: cannot find modalias for /spi@7000d400/prod-settings
    [    3.004327] spi-tegra114 7000da00.spi: /spi@7000da00/prod-settings has no reg property
    [    3.004409] spi-tegra114 7000da00.spi: Static pin configuration used
    [    3.004633] spi_master spi3: cannot find modalias for /spi@7000da00/prod-settings
    [    3.005190] tun: Universal TUN/TAP device driver, 1.6
    [    3.005192] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    3.005408] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
    [    3.005410] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
    [    3.005831] PPP generic driver version 2.4.2
    [    3.005923] PPP BSD Compression module registered
    [    3.005926] PPP Deflate Compression module registered
    [    3.005939] PPP MPPE Compression module registered
    [    3.005942] NET: Registered protocol family 24
    [    3.005985] usbcore: registered new interface driver r8152
    [    3.006018] usbcore: registered new interface driver asix
    [    3.006039] usbcore: registered new interface driver ax88179_178a
    [    3.006060] usbcore: registered new interface driver cdc_ether
    [    3.006094] usbcore: registered new interface driver smsc95xx
    [    3.006115] usbcore: registered new interface driver net1080
    [    3.006139] usbcore: registered new interface driver cdc_subset
    [    3.006159] usbcore: registered new interface driver zaurus
    [    3.006199] usbcore: registered new interface driver cdc_ncm
    [    3.006216] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    3.006478] ehci-pci: EHCI PCI platform driver
    [    3.006660] tegra_xusb_read_usb_calib: usb_calib0 = 0x0798840f
    [    3.008070] tegra-xhci tegra-xhci: XUSB device id = 0xfac (T210)
    [    3.008689] tegra-xhci tegra-xhci: Firmware File: tegra21x_xusb_firmware (124416 Bytes)
    [    3.008897] tegra-xhci tegra-xhci: Firmware DMA Memory: dma 0x0000000080040000 mapped 0xffffff8000339000 (124416 Bytes)
    [    3.008902] tegra-xhci tegra-xhci: num_hsic_port 0
    [    3.009352] usbcore: registered new interface driver cdc_acm
    [    3.009354] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    3.009377] usbcore: registered new interface driver cdc_wdm
    [    3.009413] usbcore: registered new interface driver usb-storage
    [    3.009490] usbcore: registered new interface driver usbserial
    [    3.009512] usbcore: registered new interface driver ftdi_sio
    [    3.009531] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    3.009551] usbcore: registered new interface driver option
    [    3.009573] usbserial: USB Serial support registered for GSM modem (1-port)
    [    3.009596] usbcore: registered new interface driver pl2303
    [    3.009612] usbserial: USB Serial support registered for pl2303
    [    3.009635] usbcore: registered new interface driver nvshieldled
    [    3.009651] Nvidia Tegra High-Speed USB Device Controller driver (Apr 30, 2012)
    [    3.009910] tegra USB phy - inst[0] platform info:
    [    3.009913] port_otg: yes
    [    3.009914] has_hostpc: yes
    [    3.009916] phy_interface: USB_PHY_INTF_UTMI
    [    3.009917] op_mode: TEGRA_USB_OPMODE_DEVICE
    [    3.009919] qc2_voltage: 0
    [    3.009920] vbus_pmu_irq: 0
    [    3.009922] charging: enabled
    [    3.009924] remote_wakeup: disabled
    [    3.011038] tegra-xhci tegra-xhci: Firmware timestamp: 2016-06-16 13:21:43 UTC, Version: 50.16 release, Falcon state 0x20
    [    3.011086] tegra-xhci tegra-xhci: Nvidia xHCI Host Controller
    [    3.011101] tegra-xhci tegra-xhci: new USB bus registered, assigned bus number 1
    [    3.011856] tegra-xhci tegra-xhci: irq 71, io mem 0x70090000
    [    3.011939] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    3.011944] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.011949] usb usb1: Product: Nvidia xHCI Host Controller
    [    3.011953] usb usb1: Manufacturer: Linux 3.10.96-tegra tegra-xhci
    [    3.011956] usb usb1: SerialNumber: tegra-xhci
    [    3.012342] hub 1-0:1.0: USB hub found
    [    3.012362] hub 1-0:1.0: 5 ports detected
    [    3.015795] regulator_get() failed for (tegra-udc.0,usb_bat_chg), -19
    [    3.015802] tegra-udc tegra-udc.0: usb_bat_chg regulator not registered: USB charging will not be enabled
    [    3.016253] usbcore: registered new interface driver xpad
    [    3.016279] usbcore: registered new interface driver usb_acecad
    [    3.016303] usbcore: registered new interface driver aiptek
    [    3.016327] usbcore: registered new interface driver gtco
    [    3.016350] usbcore: registered new interface driver hanwang
    [    3.016372] usbcore: registered new interface driver kbtab
    [    3.016401] usbcore: registered new interface driver wacom
    [    3.102299] tegra-xhci tegra-xhci: Nvidia xHCI Host Controller
    [    3.102312] tegra-xhci tegra-xhci: new USB bus registered, assigned bus number 2
    [    3.102412] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    3.102418] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.102422] usb usb2: Product: Nvidia xHCI Host Controller
    [    3.102426] usb usb2: Manufacturer: Linux 3.10.96-tegra tegra-xhci
    [    3.102429] usb usb2: SerialNumber: tegra-xhci
    [    3.102725] hub 2-0:1.0: USB hub found
    [    3.102742] hub 2-0:1.0: 4 ports detected
    [    3.152341] Wake44 for irq=81
    [    3.152357] Wake40 for irq=53
    [    3.152359] Wake41 for irq=53
    [    3.152361] Wake42 for irq=53
    [    3.152363] Wake43 for irq=53
    [    3.175011] max77620-rtc max77620-rtc.1: rtc core: registered max77620-rtc as rtc1
    [    3.253962] Wake51 for irq=118
    [    3.253965] Enabling wake51
    [    3.254267] Wake16 for irq=34
    [    3.254269] Enabling wake16
    [    3.254979] tegra-rtc 7000e000.rtc: rtc core: registered tegra-rtc as rtc0
    [    3.255200] i2c /dev entries driver
    [    3.256767] [OV5693]: probing v4l2 sensor.
    [    3.257026] ov5693 6-0036: ov5693_probe: name ov5693_c
    [    3.257047] ov5693 6-0036: ov5693_ctrls_init++
    [    3.257068] ov5693 6-0036: Detected OV5693 sensor
    [    3.257093] virtual_init
    [    3.257525] [IMX135] sensor driver loading
    [    3.257550] [imx132] sensor driver loading
    [    3.257582] [ar0261] sensor driver loading
    [    3.257635] ov7695 sensor driver loading
    [    3.257663] mt9m114 sensor driver loading
    [    3.257689] [ov10823] sensor driver loading
    [    3.257835] usbcore: registered new interface driver uvcvideo
    [    3.257836] USB Video Class driver (1.1.1)
    [    3.292999] max77620-power-off max77620-power-off.4: Event recorder REG_NVERC : 0x0
    [    3.293416] FAN dev name: pwm-fan
    [    3.293426] FAN:gpio request success.
    [    3.293473] pwm_fan_driver pwm-fan.43: cap state:7, cap pwm:255
    [    3.293596] pwm_fan_driver pwm-fan.43: got pwm for fan
    [    3.293674] pwm_fan_driver pwm-fan.43: fan tach request irq: 360. success
    [    3.293680] pwm_fan_driver pwm-fan.43: tach period: 1000
    [    3.293762] pwm_fan_driver pwm-fan.43: index 0: pwm=0, rpm=0, rru=40, rrd=40, state:2
    [    3.293768] pwm_fan_driver pwm-fan.43: index 1: pwm=80, rpm=1000, rru=2, rrd=2, state:2
    [    3.293773] pwm_fan_driver pwm-fan.43: index 2: pwm=120, rpm=2000, rru=1, rrd=1, state:2
    [    3.293777] pwm_fan_driver pwm-fan.43: index 3: pwm=160, rpm=3000, rru=1, rrd=1, state:2
    [    3.293782] pwm_fan_driver pwm-fan.43: index 4: pwm=255, rpm=4000, rru=1, rrd=1, state:3
    [    3.293786] pwm_fan_driver pwm-fan.43: index 5: pwm=255, rpm=5000, rru=1, rrd=1, state:3
    [    3.293791] pwm_fan_driver pwm-fan.43: index 6: pwm=255, rpm=6000, rru=1, rrd=1, state:3
    [    3.293795] pwm_fan_driver pwm-fan.43: index 7: pwm=255, rpm=7000, rru=1, rrd=1, state:4
    [    3.293800] pwm_fan_driver pwm-fan.43: index 8: pwm=255, rpm=10000, rru=1, rrd=1, state:4
    [    3.293804] pwm_fan_driver pwm-fan.43: index 9: pwm=255, rpm=11000, rru=1, rrd=1, state:4
    [    3.336895] tegra_aotag tegra-aotag.30: AOTAG probe started
    [    3.336973] tegra_aotag tegra-aotag.30: nominal ft -- 105
    [    3.336977] tegra_aotag tegra-aotag.30: tall -- 76
    [    3.336980] tegra_aotag tegra-aotag.30: tiddq -- 1
    [    3.336985] tegra_aotag tegra-aotag.30: ten-count -- 16
    [    3.336989] tegra_aotag tegra-aotag.30: tsample -- 9
    [    3.336992] tegra_aotag tegra-aotag.30: pdiv -- 8
    [    3.336995] tegra_aotag tegra-aotag.30: nominal cp -- 25
    [    3.336999] tegra_aotag tegra-aotag.30: pdiv-ate -- 8
    [    3.337002] tegra_aotag tegra-aotag.30: tsamp-ate -- 39
    [    3.337006] tegra_aotag tegra-aotag.30: compensation A,B -- 10632,-67490
    [    3.337010] tegra_aotag tegra-aotag.30: sensor found :ID 0, Name: aotag0
    [    3.337014] tegra_aotag tegra-aotag.30: reading fuse value for sensor 0
    [    3.337019] tegra_aotag tegra-aotag.30: base-cp:229 shifted-cp:1
    [    3.337022] tegra_aotag tegra-aotag.30: base-ft:4ba shifted-ft:fffffffd
    [    3.337026] tegra_aotag tegra-aotag.30: actual_aotag_cp 255, ft 1035
    [    3.337032] tegra_aotag tegra-aotag.30: - Tsens calib value - 0x378fb48
    [    3.337036] tegra_aotag tegra-aotag.30: CPmask 1fff FTmask 3ffe000
    [    3.337039] tegra_aotag tegra-aotag.30: Tsense calib CP - 0x1b48
    [    3.337043] tegra_aotag tegra-aotag.30: Tsense Actual CP d.34184
    [    3.337046] tegra_aotag tegra-aotag.30: Tsense calib FT - 0x1bc7
    [    3.337050] tegra_aotag tegra-aotag.30: Tsense Actual FT d.37639
    [    3.337053] tegra_aotag tegra-aotag.30: delta ts 3455, temp 780
    [    3.337058] tegra_aotag tegra-aotag.30: thermA-851, thermB--799
    [    3.337061] tegra_aotag tegra-aotag.30: Registering sensor 0
    [    3.337094] tegra_aotag tegra-aotag.30: Bound to TZ : ID 0
    [    3.337101] tegra_aotag tegra-aotag.30: shutdown temperature - 110
    [    3.337105] tegra_aotag tegra-aotag.30: AOTAG EN 60
    [    3.337109] tegra_aotag tegra-aotag.30: Probe done [SUCCESS]:0
    [    3.337351] md: raid0 personality registered for level 0
    [    3.343808] usb 1-3: new high-speed USB device number 2 using tegra-xhci
    [    3.350912] device-mapper: uevent: version 1.0.3
    [    3.365252] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
    [    3.379415] Tegra210 cpuidle driver
    [    3.380159] sdhci: Secure Digital Host Controller Interface driver
    [    3.380161] sdhci: Copyright(c) Pierre Ossman
    [    3.380162] sdhci-pltfm: SDHCI platform and OF driver helper
    [    3.380432] mmc0: sdhci_tegra_probe line=5739 runtime pm type=mmc rtpm coupled with clock gate, disable-clock-gate=0
    [    3.380452] sdhci-tegra sdhci-tegra.3: Parent select= pll_p rate=408000000
    [    3.380465] sdhci-tegra sdhci-tegra.3: Parent select= pll_c4_out2 rate=199680000
    [    3.380468] Could not add sdhci-tegra.3 to power domain using device tree
    [    3.400015] sdhci-tegra sdhci-tegra.3: Speedo value 1984
    [    3.400022] sdhci-tegra sdhci-tegra.3: Tuning constraints: nom_mv 1075, boot_mv 1075, min_or_mv 0
    [    3.400106] regulator_get() failed for (sdhci-tegra.3,vqmmc), -19
    [    3.400108] mmc0: no vqmmc regulator found
    [    3.400115] regulator_get() failed for (sdhci-tegra.3,vmmc), -19
    [    3.400117] mmc0: no vmmc regulator found
    [    3.413629] usb 1-3: New USB device found, idVendor=1a40, idProduct=0201
    [    3.413636] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    3.413640] usb 1-3: Product: USB 2.0 Hub [MTT]
    [    3.426349] hub 1-3:1.0: USB hub found
    [    3.432301] mmc0: SDHCI controller on sdhci-tegra.3 [sdhci-tegra.3] using ADMA
    [    3.432526] mmc1: sdhci_tegra_probe line=5739 runtime pm type=mmc rtpm coupled with clock gate, disable-clock-gate=0
    [    3.432540] sdhci-tegra sdhci-tegra.1: Parent select= pll_p rate=408000000
    [    3.432542] Could not add sdhci-tegra.1 to power domain using device tree
    [    3.432858] hub 1-3:1.0: 7 ports detected
    [    3.451389] sdhci-tegra sdhci-tegra.1: Speedo value 1984
    [    3.451396] sdhci-tegra sdhci-tegra.1: Tuning constraints: nom_mv 1075, boot_mv 1075, min_or_mv 0
    [    3.631509] usb 2-1: new SuperSpeed USB device number 2 using tegra-xhci
    [    3.684702] mmc0: BKOPS_EN bit is not set
    [    3.745649] usb 2-1: New USB device found, idVendor=0955, idProduct=09ff
    [    3.745655] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
    [    3.745663] usb 2-1: Product: USB 10/100/1000 LAN
    [    3.745666] usb 2-1: Manufacturer: Nvidia
    [    3.745670] usb 2-1: SerialNumber: 000001000000
    [    3.928048] usb 2-1: reset SuperSpeed USB device number 2 using tegra-xhci
    [    4.074429] usb 1-3.4: new high-speed USB device number 3 using tegra-xhci
    [    4.253455] usb 1-3.4: New USB device found, idVendor=0951, idProduct=1666
    [    4.253461] usb 1-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    4.253465] usb 1-3.4: Product: DataTraveler 3.0
    [    4.253469] usb 1-3.4: Manufacturer: Kingston
    [    4.253472] usb 1-3.4: SerialNumber: 60A44C425294B050498200C7
    [    4.273251] usb-storage 1-3.4:1.0: USB Mass Storage device detected
    [    4.273381] scsi0 : usb-storage 1-3.4:1.0
    [    4.417365] usb 1-3.5: new low-speed USB device number 4 using tegra-xhci
    [    4.489874] usb 1-3.5: New USB device found, idVendor=413c, idProduct=2113
    [    4.489881] usb 1-3.5: New USB device strings: Mfr=0, Product=2, SerialNumber=0
    [    4.489885] usb 1-3.5: Product: Dell KB216 Wired Keyboard
    [    4.490079] usb 1-3.5: ep 0x81 - rounding interval to 128 microframes, ep desc says 192 microframes
    [    4.490109] usb 1-3.5: ep 0x82 - rounding interval to 256 microframes, ep desc says 384 microframes
    [    4.638533] usb 1-3.7: new full-speed USB device number 5 using tegra-xhci
    [    4.690729] r8152 2-1:1.0 eth0: v2.03.3 (2015/01/29)
    [    4.690735] r8152 2-1:1.0 eth0: This product is covered by one or more of the following patents:
    [    4.690735] 		US6,570,884, US6,115,776, and US6,327,625.
    [    4.690735] 
    [    4.787174] usb 1-3.7: New USB device found, idVendor=046d, idProduct=c52b
    [    4.787180] usb 1-3.7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    4.787185] usb 1-3.7: Product: USB Receiver
    [    4.787188] usb 1-3.7: Manufacturer: Logitech
    [    4.866234] mmc0: tap value and tuning window after hw tuning completion ...
    [    4.866240] mmc0: tuning_window[0]: 0xffffffff
    [    4.866245] mmc0: tuning_window[1]: 0xfffffff1
    [    4.866249] mmc0: tuning_window[2]: 0xfffff8ff
    [    4.866252] mmc0: tuning_window[3]: 0x7ffe7fff
    [    4.866256] mmc0: tuning_window[4]: 0x0
    [    4.866260] mmc0: tuning_window[5]: 0x0
    [    4.866263] mmc0: tuning_window[6]: 0x0
    [    4.866266] mmc0: tuning_window[7]: 0x0
    [    4.866270] sdhci: Tap value: 53 | Trim value: 8
    [    4.866273] sdhci: SDMMC Interrupt status: 0x00040000
    [    4.929592] mmc0: switch to HS400 mode is successful
    [    5.009445] mmc0: new HS400 MMC card at address 0001
    [    5.009845] mmcblk0: mmc0:0001 016G32 14.6 GiB 
    [    5.010009] mmcblk0rpmb: mmc0:0001 016G32 partition 3 4.00 MiB
    [    5.049002]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18
    [    5.313532] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
    [    5.635879] tegradc tegradc.1: hdmi: plugged
    [    5.644411] regulator_get() failed for (sdhci-tegra.1,vqmmc), -19
    [    5.654297] mmc1: no vqmmc regulator found
    [    5.662130] regulator_get() failed for (sdhci-tegra.1,vmmc), -19
    [    5.671859] mmc1: no vmmc regulator found
    [    5.712294] mmc1: SDHCI controller on sdhci-tegra.1 [sdhci-tegra.1] using ADMA
    [    5.724167] mmc2: sdhci_tegra_probe line=5739 runtime pm type=mmc rtpm coupled with clock gate, disable-clock-gate=0
    [    5.738587] sdhci-tegra sdhci-tegra.0: Parent select= pll_p rate=408000000
    [    5.749396] Could not add sdhci-tegra.0 to power domain using device tree
    [    5.760703] sdhci-tegra sdhci-tegra.0: Speedo value 1984
    [    5.769841] sdhci-tegra sdhci-tegra.0: Tuning constraints: nom_mv 1075, boot_mv 1075, min_or_mv 0
    [    5.782772] regulator_get() failed for (sdhci-tegra.0,vqmmc), -19
    [    5.792789] mmc2: no vqmmc regulator found
    [    5.800740] regulator_get() failed for (sdhci-tegra.0,vmmc), -19
    [    5.810592] mmc2: no vmmc regulator found
    [    5.827890] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
    [    5.852294] mmc2: SDHCI controller on sdhci-tegra.0 [sdhci-tegra.0] using ADMA
    [    5.863414] gpio wake35 for gpio=201
    [    5.871277] pca9626_led->num: 4 drivers/leds/leds-pca955x.c, pca9626_led_probe, 738
    [    5.882880] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 560, pca9550
    [    5.893443]  null pdata drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 565, pca9550
    [    5.905084] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 567, pca9550
    [    5.915696] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 580, pca9550
    [    5.926257] leds-pca9626 1-0011: leds-pca9626: Using pca9550 0 LED driver at slave address 0x11
    [    5.938904] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 595, pca9550
    [    5.949586] Name: pca9550, addr: 0x11, pca9626_led_probe
    [    5.958943] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 560, pca9551
    [    5.969593]  null pdata drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 565, pca9551
    [    5.981391] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 567, pca9551
    [    5.992174] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 580, pca9551
    [    6.002921] leds-pca9626 1-0012: leds-pca9626: Using pca9551 1 LED driver at slave address 0x12
    [    6.015728] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 595, pca9551
    [    6.026578] Name: pca9551, addr: 0x12, pca9626_led_probe
    [    6.036080] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 560, pca9552
    [    6.046852]  null pdata drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 565, pca9552
    [    6.058677] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 567, pca9552
    [    6.069491] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 580, pca9552
    [    6.080241] leds-pca9626 1-0013: leds-pca9626: Using pca9552 2 LED driver at slave address 0x13
    [    6.093051] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 595, pca9552
    [    6.103847] Name: pca9552, addr: 0x13, pca9626_led_probe
    [    6.113373] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 560, pca9553
    [    6.124193]  null pdata drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 565, pca9553
    [    6.136100] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 567, pca9553
    [    6.146936] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 580, pca9553
    [    6.157711] leds-pca9626 1-0014: leds-pca9626: Using pca9553 3 LED driver at slave address 0x14
    [    6.170545] drivers/leds/leds-pca955x.c, pca9626_i2c_probe, 595, pca9553
    [    6.181389] Name: pca9553, addr: 0x14, pca9626_led_probe
    [    6.190861] drivers/leds/leds-pca955x.c, pca9626_led_probe, 790
    [    6.203190] tegra-se tegra21-se: tegra_se_probe: complete
    [    6.213475] hidraw: raw HID events driver (C) Jiri Kosina
    [    6.227764] input: Dell KB216 Wired Keyboard as /devices/platform/tegra-xhci/usb1/1-3/1-3.5/1-3.5:1.0/input/input0
    [    6.242695] hid-generic 0003:413C:2113.0001: input,hidraw0: USB HID v1.11 Keyboard [Dell KB216 Wired Keyboard] on usb-tegra-xhci-3.5/input0
    [    6.264598] input: Dell KB216 Wired Keyboard as /devices/platform/tegra-xhci/usb1/1-3/1-3.5/1-3.5:1.1/input/input1
    [    6.279653] hid-generic 0003:413C:2113.0002: input,hidraw1: USB HID v1.11 Device [Dell KB216 Wired Keyboard] on usb-tegra-xhci-3.5/input1
    [    6.302911] logitech-djreceiver 0003:046D:C52B.0005: hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-tegra-xhci-3.7/input2
    [    6.320655] usbcore: registered new interface driver usbhid
    [    6.331118] usbhid: USB HID core driver
    [    6.340390] input: Logitech Unifying Device. Wireless PID:4048 as /devices/platform/tegra-xhci/usb1/1-3/1-3.7/1-3.7:1.2/0003:046D:C52B.0005/input/input2
    [    6.359176] tegra_bootloader_debug: Created tegra_bootloader directory
    [    6.359341] logitech-djdevice 0003:046D:C52B.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:4048] on usb-tegra-xhci-3.7:1
    [    6.360212] input: Logitech Unifying Device. Wireless PID:4049 as /devices/platform/tegra-xhci/usb1/1-3/1-3.7/1-3.7:1.2/0003:046D:C52B.0005/input/input3
    [    6.360402] logitech-djdevice 0003:046D:C52B.0007: input,hidraw4: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:4049] on usb-tegra-xhci-3.7:2
    [    6.428643] tegra_bootloader_debug: Created sysfs interface tegra_bootloader_verify_regs in tegra_bootloader directory
    [    6.444920] tegra_bootloader_debug: Created sysfs interface tegra_bootloader_prof in tegra_bootloader directory
    [    6.460957] nvadsp 702ef000.adsp: in probe()...
    [    6.471762] nvadsp 702ef000.adsp: AMC/ARAM initialized.
    [    6.482605] nvadsp 702ef000.adsp: nvadsp_app_module_probe
    [    6.495462] tegra_throttle : init passed
    [    6.505841] cpu-tegra: init EDP limit: 1224 MHz
    [    6.516304] pll_x: not ready for dynamic ramp to 921600000
    [    6.527257] pll_x: not ready for dynamic ramp to 921600000
    [    6.560799] soctherm: prog thresholds
    [    6.570364] soctherm: prog thresholds
    [    6.578493] mmc1: tap value and tuning window after hw tuning completion ...
    [    6.578500] mmc1: tuning_window[0]: 0x1fffffff
    [    6.578505] mmc1: tuning_window[1]: 0xffffffff
    [    6.578509] mmc1: tuning_window[2]: 0xffffffe7
    [    6.578513] mmc1: tuning_window[3]: 0x7ffff1ff
    [    6.578517] mmc1: tuning_window[4]: 0x0
    [    6.578521] mmc1: tuning_window[5]: 0x0
    [    6.578525] mmc1: tuning_window[6]: 0x0
    [    6.578528] mmc1: tuning_window[7]: 0x0
    [    6.578532] sdhci: Tap value: 86 | Trim value: 8
    [    6.578535] sdhci: SDMMC Interrupt status: 0x00040000
    [    6.581930] mmc1: new ultra high speed SDR104 SDIO card at address 0001
    [    6.701640] soctherm: tz:2 not found, skip thresh prog
    [    6.712004] soctherm: prog thresholds
    [    6.720832] soctherm: skipping sensor 4 programming
    [    6.730833] soctherm: skipping sensor 5 programming
    [    6.740831] soctherm: trip_point temp 127500 forced to 127000
    [    6.759748] usbcore: registered new interface driver snd-usb-audio
    [    7.125322] tegra-i2c 7000c000.i2c: no acknowledge from address 0x1b
    [    7.136840] rt5659 0-001b: Device with ID register fdc20000 is not rt5659
    [    7.157326] tegra210-i2s tegra210-i2s.0: Missing prop fsync-width for I2S0
    [    7.170022] tegra210-i2s tegra210-i2s.2: Missing prop fsync-width for I2S2
    [    7.182109] tegra210-i2s tegra210-i2s.3: Missing prop fsync-width for I2S3
    [    7.194272] tegra210-i2s tegra210-i2s.4: Missing prop fsync-width for I2S4
    [    7.210578] OPE platform probe
    [    7.218709] OPE platform probe successful
    [    7.227560] OPE platform probe
    [    7.235536] OPE platform probe successful
    [    7.244390] tegra210_adsp_audio_platform_probe: platform probe started
    [    7.257072] tegra210-adsp adsp_audio.3: Default param-type to BYTE for mp3-dec1
    [    7.269271] sd 0:0:0:0: [sda] 60632064 512-byte logical blocks: (31.0 GB/28.9 GiB)
    [    7.269475] tegra210-adsp adsp_audio.3: Default param-type to BYTE for spkprot
    [    7.269872] tegra210-adsp adsp_audio.3: Default param-type to BYTE for src
    [    7.270164] tegra210-adsp adsp_audio.3: Default param-type to BYTE for aac-dec1
    [    7.270575] tegra210-adsp adsp_audio.3: Default param-type to BYTE for aec
    [    7.271985] tegra210_adsp_audio_platform_probe probe successfull.
    [    7.271985] tegra-snd-t210ref-mobile-rt565x sound.27: Failed to get HP Det GPIO,should be handled by codec
    [    7.333428] tegra210-ape-admaif tegra210-admaif: ASoC: Failed to create codec debugfs directory
    [    7.334876] tegra210-adsp adsp_audio.3: ASoC: Failed to create platform debugfs directory
    [    7.366864] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF1 <-> ADMAIF1 mapping ok
    [    7.367991] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF2 <-> ADMAIF2 mapping ok
    [    7.369100] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF3 <-> ADMAIF3 mapping ok
    [    7.370214] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF4 <-> ADMAIF4 mapping ok
    [    7.371318] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF5 <-> ADMAIF5 mapping ok
    [    7.372488] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF6 <-> ADMAIF6 mapping ok
    [    7.373596] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF7 <-> ADMAIF7 mapping ok
    [    7.374707] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF8 <-> ADMAIF8 mapping ok
    [    7.375820] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF9 <-> ADMAIF9 mapping ok
    [    7.376940] tegra-snd-t210ref-mobile-rt565x sound.27:  ADMAIF10 <-> ADMAIF10 mapping ok
    [    7.465478] tegra-snd-t210ref-mobile-rt565x sound.27:  ADSP-FE1 <-> ADSP PCM1 mapping ok
    [    7.466599] tegra-snd-t210ref-mobile-rt565x sound.27:  ADSP-FE2 <-> ADSP PCM2 mapping ok
    [    7.467623] compress asoc: ADSP-FE3 <-> ADSP COMPR1 mapping ok
    [    7.468634] compress asoc: ADSP-FE4 <-> ADSP COMPR2 mapping ok
    [    7.485792] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no source widget found for x HPO L Playback
    [    7.485798] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x HPO L Playback -> direct -> x Headphone Jack
    [    7.485826] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no source widget found for x HPO R Playback
    [    7.485831] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x HPO R Playback -> direct -> x Headphone Jack
    [    7.485858] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no sink widget found for x MICBIAS1
    [    7.485862] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x Mic Jack -> direct -> x MICBIAS1
    [    7.485889] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no sink widget found for x IN1P
    [    7.485893] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x Mic Jack -> direct -> x IN1P
    [    7.485921] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no sink widget found for x Mic Det Power
    [    7.485925] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x Mic Jack -> direct -> x Mic Det Power
    [    7.485952] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no source widget found for x SPO Playback
    [    7.485957] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x SPO Playback -> direct -> x Int Spk
    [    7.485983] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no sink widget found for x DMIC L1
    [    7.485987] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x Int Mic -> direct -> x DMIC L1
    [    7.486014] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no sink widget found for x DMIC L2
    [    7.486018] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x Int Mic -> direct -> x DMIC L2
    [    7.486044] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no sink widget found for x DMIC R1
    [    7.486048] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x Int Mic -> direct -> x DMIC R1
    [    7.486075] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: no sink widget found for x DMIC R2
    [    7.486079] tegra-snd-t210ref-mobile-rt565x sound.27: ASoC: Failed to add route x Int Mic -> direct -> x DMIC R2
    [    7.493531] i
    

    Try below patch that should be working.

    diff --git a/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-camera-modules.dtsi b/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-camera-modules.dtsi
    index c3f7a74..06a53e7 100644
    --- a/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-camera-modules.dtsi
    +++ b/arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-camera-modules.dtsi
    @@ -161,9 +161,9 @@
                    compatible = "nvidia, tegra-camera-platform";
                    modules {
                            cam_module0: module0 {
    -                               status = "disabled";
    +                               status = "okay";
                                    cam_module0_drivernode0: drivernode0 {
    -                                       status = "disabled";
    +                                       status = "okay";
                                    };
                                    cam_module0_drivernode1: drivernode1 {
                                            status = "disabled";
    

    It works after enabled cam_modules. I really appreciate for your support.

    Three questions:

    1. It confused me, why ov5693 do not need to enable cam_module to support preview.
    2. Are there any available parameters of ov5693 which can be used for AWB/AE/LSC/CC? or there are only some default meaningless values just to keep ISP running.
    3. So *.isp are used to store the calibration data from turning?
    1. 1. OV5693
    root@tegra-ubuntu:/home/ubuntu# v4l2-ctl --list-devices
    VIDIOC_QUERYCAP: failed: Inappropriate ioctl for device
    vi-output-2, ov5693 6-0036 (platform:vi:2):
    	/dev/video0
    	/dev/v4l-subdev0
    
    root@tegra-ubuntu:/home/ubuntu# ps -aux | grep nvcmaera
    root      2191  0.0  0.0   5556   904 pts/4    S+   01:50   0:00 grep --color=auto nvcmaera
    root@tegra-ubuntu:/home/ubuntu# ps -aux | grep nvca
    root      1714  0.0  0.1  37820  5608 ?        Ss   01:48   0:00 /usr/sbin/nvcamera-daemon
    root      2196  0.0  0.0   5556   908 pts/4    S+   01:50   0:00 grep --color=auto nvca
    root@tegra-ubuntu:/home/ubuntu# kill 1714
    root@tegra-ubuntu:/home/ubuntu# export enableCamScfLogs=1
    root@tegra-ubuntu:/home/ubuntu# export enableCamPclLogs=1
    root@tegra-ubuntu:/home/ubuntu# /usr/sbin/nvcamera-daemon&
    [1] 2201
    root@tegra-ubuntu:/home/ubuntu# gst-launch-1.0 nvcamerasrc fpsRange="30.0 30.0" ! 'video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080, format=(string)I420, framerate=(fraction)30/1' ! nvtee ! nvvidconv flip-method=2 ! 'video/x-raw(memory:NVMM), format=(string)I420' ! nvoverlaysink -e
    Setting pipeline to PAUSED ...
    Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingThread 1 getting next capture
    
    Thread 1 is waiting
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    Thread 4 getting next capture
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    
    Thread 4 is waiting
    
    Starting services...
    
    getInstance: s_instance(0x7f991a2e80)
    
    doCreateSensor: create SensorType(gyroscope) sensor(0x7f991a2f80)
    
    doCreateSensor: create SensorType(accelerometer) sensor(0x7f991a32c0)
    
    doCreateSensor: create SensorType(magnetometer) sensor(0x7f991a3350)
    
    doCreateSensor: create SensorType(temperature) sensor(0x7f9921f5f0)
    
    doCreateSensor: create SensorType(proximity) sensor(0x7f992229d0)
    
    doCreateSensor: create SensorType(rotation vector) sensor(0x7f99225db0)
    
    doCreateSensor: create SensorType(linear acceleration) sensor(0x7f99229190)
    
    getInstance: s_instance(0x7f991a2e80)
    
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    Services are started
    
    NvPclSetHotplugCallback: ++++++++++++++++++++++
    ###### Imager: Calibration blob file handling NOT supported in this build ######
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclHwMatchPartNum: Found calibration Part#:P5V27C:"P5V27C"
    NvPclHwGetModuleData: Adding new misc driver v4l2_focuser_stub
    NvPclHwPrintModuleDefinition -- Name: e3326_front_P5V27C
    NvPclHwPrintModuleDefinition -- Position: 0
    NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: ov5693 6-0036
    NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_focuser_stub
    NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclModuleListInitialize: NvPclModule list[0]: e3326_front_P5V27C position0
    NvPclHwScanExternalCameras -- adding video0 to discover list
    NvPclHwScanExternalCameras -- adding video0 to discover list
    initialize: /dev/video0
    getHotplugMonitor: Getting hotplug monitor instance
     initializeHotplug++
     addWatch: Watch added wd='1'
    setHotplugCallback: Registered new callback client hotPlugfunc ++ 
    
    NvPclSetHotplugCallback: ----------------------
    NvPclOpen: ++++++++++++++++++++++
    NvPclStateControllerOpen: Found GUID 0 match at index[0]
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9926d310
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9925c4b0
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f9925c540
    LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16
    CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/e3326_front_P5V27C.isp] 6/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/e3326_front_P5V27C.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/e3326_front_P5V27C.isp] 7/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/e3326_front_P5V27C.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/e3326_front_P5V27C.isp] 8/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/e3326_front_P5V27C.isp]
    LoadOverridesFile: looking for override file [(null)] 9/16
    LoadOverridesFile: looking for override file [(null)] 10/16
    LoadOverridesFile: looking for override file [(null)] 11/16
    LoadOverridesFile: looking for override file [(null)] 12/16
    LoadOverridesFile: looking for override file [(null)] 13/16
    LoadOverridesFile: looking for override file [(null)] 14/16
    LoadOverridesFile: looking for override file [(null)] 15/16
    LoadOverridesFile: looking for override file [(null)] 16/16
    LoadOverridesFile: No override file found.
    NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
    NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
    NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_focuser_stub)
    NvPclCreateDriver: Found a Driver name match (v4l2_focuser_stub)
    NvPclConnectDrivers: hImager was NULL, creating new imager
    NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
    OFDPropertyGetString: could not read property [devnode-bus]
    initialize: ov5693 6-0036
    OFDPropertyGetString: could not read property [use_decibel_gain]
    OFDPropertyGetString: could not read property [use_sensor_mode_id]
    OFDPropertyCopyToLong: could not read property [has-eeprom]
    Control Fuse ID not found
    Control OTP Data not found
    Control Frame Rate not found
    Control Exposure not found
    Sensor_FindCustomCIDs: calculated MaxCoarseDiff 6
    OFDPropertyGetString: could not read property [type]
    Sensor_LoadSubType: Sensor type missing in DT, 502
    OFDPropertyCopyToLong: could not read property [mode0.csi_pixel_bit_depth]
    OFDPropertyCopyToLong: could not read property [mode0.dynamic_pixel_bit_depth]
    OFDPropertyGetString: could not read property [mode0.mode_type]
    Sensor_LoadModeModeType: mode 0: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode0.pixel_phase]
    Sensor_LoadModePixelPhase: mode 0: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode0.x_start]
    OFDPropertyGetString: could not read property [mode0.y_start]
    OFDPropertyGetString: could not read property [mode0.x_end]
    OFDPropertyGetString: could not read property [mode0.y_end]
    OFDPropertyGetString: could not read property [mode0.h_scaling]
    OFDPropertyGetString: could not read property [mode0.v_scaling]
    OFDPropertyCopyToLong: could not read property [mode1.csi_pixel_bit_depth]
    OFDPropertyCopyToLong: could not read property [mode1.dynamic_pixel_bit_depth]
    OFDPropertyGetString: could not read property [mode1.mode_type]
    Sensor_LoadModeModeType: mode 1: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode1.pixel_phase]
    Sensor_LoadModePixelPhase: mode 1: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode1.x_start]
    OFDPropertyGetString: could not read property [mode1.y_start]
    OFDPropertyGetString: could not read property [mode1.x_end]
    OFDPropertyGetString: could not read property [mode1.y_end]
    OFDPropertyGetString: could not read property [mode1.h_scaling]
    OFDPropertyGetString: could not read property [mode1.v_scaling]
    OFDPropertyCopyToLong: could not read property [mode2.csi_pixel_bit_depth]
    OFDPropertyCopyToLong: could not read property [mode2.dynamic_pixel_bit_depth]
    OFDPropertyGetString: could not read property [mode2.mode_type]
    Sensor_LoadModeModeType: mode 2: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode2.pixel_phase]
    Sensor_LoadModePixelPhase: mode 2: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode2.x_start]
    OFDPropertyGetString: could not read property [mode2.y_start]
    OFDPropertyGetString: could not read property [mode2.x_end]
    OFDPropertyGetString: could not read property [mode2.y_end]
    OFDPropertyGetString: could not read property [mode2.h_scaling]
    OFDPropertyGetString: could not read property [mode2.v_scaling]
    NvPclDriver_V4L2_Sensor_Initialize: Loaded Driver: 3 Modes Available--------------
    NvPclInitializeDrivers: v4l2_sensor ------------------
    NvPclInitializeDrivers: v4l2_focuser_stub ++++++++++++++++++
    NvPclDriver_V4L2_Focuser_Stub_Initialize WARNING: No focuser object, allocating for lens
    NvPclDriver_V4L2_Focuser_Stub_Initialize: Loaded focuser static properties--------------
    NvPclInitializeDrivers: NvOdmLensStub ------------------
    NvPclOpen: ----------------------
    populateStaticProperties
    
    populateStaticProperties
    
    sourceRegistry[0] assigned
    
    ispRegistry[0] assigned
    
    Using Source GUID 0
    
    NvPclPowerOn: +++++++++++
    NvPclPowerOn: -----------
    Using ISP A
    
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    No library found, disabling AC plugin.
    
    
    Available Sensor modes : 
    2592 x 1944 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
    2592 x 1458 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
    1280 x 720 FR=120.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    
    NvCameraSrc: Trying To Set Default Camera Resolution. Selected 1920x1080 FrameRate = 30.000000 ...
    
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteMode: Target mode Id(1): Resolution 2592x1458
    Sensor_GetV4LPixelType: pixel type 0x101 invalid
    setActiveBufferMemory: 2
    setActivePixelFormat: 808535890
    INPUT: Width 2592 Height 1944 pixelformat RG10
    INPUT: Width 2592 Height 1458 pixelformat RG10
    Sensor_WriteFrameRate:	INPUT frameLength:1984, frameRate:30.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:1978, expTime:0.033230
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:1984, frameRate:30.001921
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.000000
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:1978, expTime:0.033230
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    (NvOdmDevice) Error IoctlFailed:  (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function streamControl(), line 1136)
    NvPclSettingsApply: Reading PCL settings
    populateStaticProperties
    
    InstructionList:
    
      + GraphSettings
          | SensorMode: 2592x1458 BayerS16BGGR 30.0fps
          | output 0: 1920x1080 BL Y8 420
          | downscaleForPostProcessing
    
      + Instruction List
          | id: 0
          +  0: CCDataSetupStage
              | EstimatedIspOutLatencyFrames: 5
              | NumConcurrentCaptures: 1
              | UnprocessedYuvBufferMask: 0
          +  1: ACSynchronizeStage
          +  2: AeAfApplyStage
          +  3: AcPluginStage
              | operation: opApplyPreCapture
          +  4: AcMergeStage
          +  5: TempBufferAcquireStage
              | Buffer Index: 2
              | BufferRequirements: 2592x1 Pitch NonColor8
          +  6: SensorISPCaptureStage
              | Source GUID: 0
              | Output A Buffer: 0
              | SensorMetadata Buffer: 2
          +  7: StatsBufferAcquireStage
              | Buffer Index: 1
              | BufferRequirements: 640x360 Pitch Y8 420
          +  8: BlitStage
              | Input Buffer: 0
              | Output Buffer: 1
              | Filter: Nearest
              | Transform: None
              | Src Rect: Not used
              | Dst Rect: Not used
          +  9: StatsUpdateStage
              | Outut Meta Buffer: 2
          + 10: BufferReturnStage
              | Output A Buffer: 2
    
          + 11: AcPluginStage
              | operation: opAnalyzePostCapture
          + 12: AfAnalysisStage
          + 13: MonitorStage
          + 14: ExifStage
          + 15: MakerNoteStage
          + 16: BufferReturnStage
              | Output A Buffer: 0
          + 17: MetadataReturnStage
    
    populateStaticProperties
    
    Created fiber 0x7f500008c0 for CC 101
    
    Created fiber 0x7f50000d00 for CC 102
    
    Thread 1 is working on CC 101
    
    CC 101 completed step 0 in fiber 0x7f500008c0
    
    CC 101 processing step 1 in fiber 0x7f500008c0
    
    FiberScheduler: cc 101, fiber 0x7f500008c0 in progress...
    
    Thread 1 getting next capture
    
    Thread 1 is working on CC 102
    
    CC 102 completed step 0 in fiber 0x7f50000d00
    
    CC 102 processing step 1 in fiber 0x7f50000d00
    
    Thread 3 is waiting
    
    cc 101(0) runCount=0 runIspOut=0, latest ccId=0
    populateStaticProperties
    
    Thread 2 is waiting
    
    FiberScheduler: cc 102, fiber 0x7f50000d00 in progress...
    
    Thread 1 getting next capture
    
    FiberScheduler: cc 101, fiber 0x7f500008c0 succeeded async operation
    
    Thread 4 is working on CC 101
    cc 102(1) runCount=1 runIspOut=0, latest ccId=0
    
    Thread 3 is waiting
    
    FiberScheduler: cc 102, fiber 0x7f50000d00 succeeded async operation
    
    NV AE and AfApply algorithms are active.
    
    CC 101 processing step 2 in fiber 0x7f500008c0
    
    1. 2. OV4689
    root@tegra-ubuntu:/home/ubuntu# kill 1619
    root@tegra-ubuntu:/home/ubuntu# export enableCamScfLogs=1
    root@tegra-ubuntu:/home/ubuntu# export enableCamPclLogs=1
    root@tegra-ubuntu:/home/ubuntu# /usr/sbin/nvcamera-daemon&
    [1] 1959
    20' ! nvoverlaysink -e
    Setting pipeline to PAUSED ...
    Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingThread 1 getting next capture
    
    Thread 1 is waiting
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    Thread 3 getting next capture
    
    Thread 4 getting next capture
    
    
    Thread 3 is waiting
    
    Thread 4 is waiting
    
    Starting services...
    
    getInstance: s_instance(0x7f811a2e80)
    
    doCreateSensor: create SensorType(gyroscope) sensor(0x7f811a2f80)
    
    doCreateSensor: create SensorType(accelerometer) sensor(0x7f811a32c0)
    
    doCreateSensor: create SensorType(magnetometer) sensor(0x7f811a3350)
    
    doCreateSensor: create SensorType(temperature) sensor(0x7f8121f5f0)
    
    doCreateSensor: create SensorType(proximity) sensor(0x7f812229d0)
    
    doCreateSensor: create SensorType(rotation vector) sensor(0x7f81225db0)
    
    doCreateSensor: create SensorType(linear acceleration) sensor(0x7f81229190)
    
    getInstance: s_instance(0x7f811a2e80)
    
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    Services are started
    
    NvPclSetHotplugCallback: ++++++++++++++++++++++
    ###### Imager: Calibration blob file handling NOT supported in this build ######
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclHwMatchPartNum: Found calibration Part#:P5V27C:"P5V27C"
    NvPclHwGetModuleData: Adding new misc driver v4l2_focuser_stub
    NvPclHwPrintModuleDefinition -- Name: e3326_front_P5V27C
    NvPclHwPrintModuleDefinition -- Position: 0
    NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: ov5693 6-0036
    NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_focuser_stub
    NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: 
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclModuleListInitialize: NvPclModule list[0]: e3326_front_P5V27C position0
    NvPclHwScanExternalCameras -- adding video0 to discover list
    NvPclHwScanExternalCameras -- adding video0 to discover list
    initialize: /dev/video0
    getHotplugMonitor: Getting hotplug monitor instance
     initializeHotplug++
     addWatch: Watch added wd='1'
    setHotplugCallback: Registered new callback client
    NvPclSetHotplugCallback: ----------------------
     hotPlugfunc ++ 
    NvPclOpen: ++++++++++++++++++++++
    NvPclStateControllerOpen: Found GUID 0 match at index[0]
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f81269f00
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f81252ee0
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f81252f70
    LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16
    CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/e3326_front_P5V27C.isp] 6/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/e3326_front_P5V27C.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/e3326_front_P5V27C.isp] 7/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/e3326_front_P5V27C.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/e3326_front_P5V27C.isp] 8/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/e3326_front_P5V27C.isp]
    LoadOverridesFile: looking for override file [(null)] 9/16
    LoadOverridesFile: looking for override file [(null)] 10/16
    LoadOverridesFile: looking for override file [(null)] 11/16
    LoadOverridesFile: looking for override file [(null)] 12/16
    LoadOverridesFile: looking for override file [(null)] 13/16
    LoadOverridesFile: looking for override file [(null)] 14/16
    LoadOverridesFile: looking for override file [(null)] 15/16
    LoadOverridesFile: looking for override file [(null)] 16/16
    LoadOverridesFile: No override file found.
    NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
    NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
    NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_focuser_stub)
    NvPclCreateDriver: Found a Driver name match (v4l2_focuser_stub)
    NvPclConnectDrivers: hImager was NULL, creating new imager
    NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
    OFDPropertyGetString: could not read property [devnode-bus]
    initialize: ov5693 6-0036
    OFDPropertyGetString: could not read property [use_decibel_gain]
    OFDPropertyGetString: could not read property [use_sensor_mode_id]
    OFDPropertyCopyToLong: could not read property [has-eeprom]
    Control Fuse ID not found
    Control OTP Data not found
    Control Group Hold not found
    Control HDR enable not found
    Control Frame Rate not found
    Control Exposure not found
    Control Coarse Time Short not found
    Control Coarse Time Short not found
    Sensor_FindCustomCIDs: calculated MaxCoarseDiff 6
    OFDPropertyGetString: could not read property [type]
    Sensor_LoadSubType: Sensor type missing in DT, 502
    OFDPropertyCopyToLong: could not read property [mode0.csi_pixel_bit_depth]
    OFDPropertyCopyToLong: could not read property [mode0.dynamic_pixel_bit_depth]
    OFDPropertyGetString: could not read property [mode0.mode_type]
    Sensor_LoadModeModeType: mode 0: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode0.pixel_phase]
    Sensor_LoadModePixelPhase: mode 0: Failed to load pixeltype
    OFDPropertyGetString: could not read property [mode0.x_start]
    OFDPropertyGetString: could not read property [mode0.y_start]
    OFDPropertyGetString: could not read property [mode0.x_end]
    OFDPropertyGetString: could not read property [mode0.y_end]
    OFDPropertyGetString: could not read property [mode0.h_scaling]
    OFDPropertyGetString: could not read property [mode0.v_scaling]
    NvPclDriver_V4L2_Sensor_Initialize: Loaded Driver: 1 Modes Available--------------
    NvPclInitializeDrivers: v4l2_sensor ------------------
    NvPclInitializeDrivers: v4l2_focuser_stub ++++++++++++++++++
    NvPclDriver_V4L2_Focuser_Stub_Initialize WARNING: No focuser object, allocating for lens
    NvPclDriver_V4L2_Focuser_Stub_Initialize: Loaded focuser static properties--------------
    NvPclInitializeDrivers: NvOdmLensStub ------------------
    NvPclOpen: ----------------------
    populateStaticProperties
    
    populateStaticProperties
    
    LSC: LSC surface is not based on full res!
    sourceRegistry[0] assigned
    
    ispRegistry[0] assigned
    
    Using Source GUID 0
    
    NvPclPowerOn: +++++++++++
    NvPclPowerOn: -----------
    Using ISP A
    
    LSC: LSC surface is not based on full res!
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    No library found, disabling AC plugin.
    
    
    Available Sensor modes : 
    1920 x 1080 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    
    NvCameraSrc: Trying To Set Default Camera Resolution. Selected 1920x1080 FrameRate = 15.000000 ...
    
    New clock: GstSystemClock
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteMode: Target mode Id(0): Resolution 1920x1080
    Sensor_GetV4LPixelType: pixel type 0x101 invalid
    setActiveBufferMemory: 2
    setActivePixelFormat: 808535890
    INPUT: Width 1920 Height 1080 pixelformat RG10
    INPUT: Width 1920 Height 1080 pixelformat RG10
    Sensor_WriteFrameRate:	INPUT frameLength:2116, frameRate:30.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:2110, expTime:0.033224
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameRate:0.000000
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:2116, frameRate:30.013264
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.000000
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:2110, expTime:0.033224
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameRate:0.000000
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    populateStaticProperties
    
    InstructionList:
    
      + GraphSettings
          | SensorMode: 1920x1080 BayerS16BGGR 30.0fps
          | output 0: 1920x1080 BL Y8 420
          | downscaleForPostProcessing
    
      + Instruction List
          | id: 0
          +  0: CCDataSetupStage
              | EstimatedIspOutLatencyFrames: 5
              | NumConcurrentCaptures: 1
              | UnprocessedYuvBufferMask: 0
          +  1: ACSynchronizeStage
          +  2: AeAfApplyStage
          +  3: AcPluginStage
              | operation: opApplyPreCapture
          +  4: AcMergeStage
          +  5: TempBufferAcquireStage
              | Buffer Index: 2
              | BufferRequirements: 1920x1 Pitch NonColor8
          +  6: SensorISPCaptureStage
              | Source GUID: 0
              | Output A Buffer: 0
              | SensorMetadata Buffer: 2
          +  7: StatsBufferAcquireStage
              | Buffer Index: 1
              | BufferRequirements: 640x360 Pitch Y8 420
          +  8: BlitStage
              | Input Buffer: 0
              | Output Buffer: 1
              | Filter: Nearest
              | Transform: None
              | Src Rect: Not used
              | Dst Rect: Not used
          +  9: StatsUpdateStage
              | Outut Meta Buffer: 2
          + 10: BufferReturnStage
              | Output A Buffer: 2
    
          + 11: AcPluginStage
              | operation: opAnalyzePostCapture
          + 12: AfAnalysisStage
          + 13: MonitorStage
          + 14: ExifStage
          + 15: MakerNoteStage
          + 16: BufferReturnStage
              | Output A Buffer: 0
          + 17: MetadataReturnStage
    
    populateStaticProperties
    
    Created fiber 0x7f340008c0 for CC 101
    
    Thread 1 is working on CC 101
    
    CC 101 completed step 0 in fiber 0x7f340008c0
    
    CC 101 processing step 1 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 1 getting next capture
    
    Thread 1 is waiting
    
    cc 101(0) runCount=0 runIspOut=0, latest ccId=0
    FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation
    
    Thread 2 is working on CC 101
    
    CC 101 processing step 2 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 2 getting next capture
    
    NV AE and AfApply algorithms are active.
    
    Thread 2 is waiting
    
    Thread 3 is waiting
    
    Thread 4 is waiting
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation
    
    Thread 1 is working on CC 101
    
    CC 101 processing step 3 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation
    
    Thread 2 is waiting
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 1 getting next capture
    
    Thread 1 is working on CC 101
    
    CC 101 processing step 4 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 1 getting next capture
    
    Thread 1 is working on CC 102
    populateStaticProperties
    
    Created fiber 0x7f34000d00 for CC 102
    
    
    CC 102 completed step 0 in fiber 0x7f34000d00
    
    Thread 4 is waiting
    
    Thread 3 is waiting
    
    CC 102 processing step 1 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    cc 102(1) runCount=1 runIspOut=0, latest ccId=0
    Thread 4 is waiting
    
    Thread 1 getting next capture
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation
    
    Thread 1 is working on CC 102
    
    Thread 3 is waiting
    
    NV AE and AfApply algorithms are active.
    
    CC 102 processing step 2 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    Thread 1 getting next capture
    
    Thread 1 is waiting
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation
    
    Thread 4 is working on CC 102
    
    CC 102 processing step 3 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    Thread 4 getting next capture
    
    Thread 4 is waiting
    
    Thread 3 is waiting
    
    Thread 1 is waiting
    
    Thread 2 is waiting
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation
    
    Thread 4 is working on CC 102
    
    CC 102 processing step 4 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    Thread 4 getting next capture
    
    Thread 4 is waiting
    
    Thread 3 is waiting
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation
    
    Thread 2 is working on CC 101
    
    Thread 1 is working on CC 102
    
    CC 101 completed step 5 in fiber 0x7f340008c0
    
    CC 101 processing step 6 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    CC 102 completed step 5 in fiber 0x7f34000d00
    
    CC 102 processing step 6 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    PowerServiceUtils:calculateReqClock: entered
    
    PowerServiceHw:addRequest: table size: before: 0, after:1
    
    PowerServiceHw:debugPrint: Request table for hw[1][0]
    
    PowerServiceHw:debugPrint: req[0]: guID=0, stageID=2
    
    PowerServiceHw:debugPrint: req[0]: inW=1920, inH=1080, inBpp = 10, fps=30
    
    PowerServiceHw:debugPrint: req[0]: outW=0, outH=0, outBpp=0
    
    PowerServiceHw:debugPrint: req[0]: clock=126000000, timeout=450
    
    PowerServiceHw:debugPrint: req[0]: isoBw=0, timeout=450
    
    PowerServiceHw:debugPrint: req[0]: non_isoBw=0, timeout=450
    
    Thread 3 is waiting
    
    PowerServiceHw:addRequest: table size: before: 0, after:1
    
    Thread 1 getting next capture
    
    Thread 4 is waiting
    
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    PowerServiceHw:debugPrint: Request table for hw[0][0]
    NvPclSettingsApply: Applying last settings through PCLThread 1 is waiting
    
    
    PowerServiceHw:debugPrint: req[0]: guID=0, stageID=2
    
    PowerServiceHw:debugPrint: req[0]: inW=1920, inH=1080, inBpp = 10, fps=30
    
    PowerServiceHw:debugPrint: req[0]: outW=0, outH=0, outBpp=0
    
    PowerServiceHw:debugPrint: req[0]: clock=0, timeout=450
    
    PowerServiceHw:debugPrint: req[0]: isoBw=0, timeout=450
    
    PowerServiceHw:debugPrint: req[0]: non_isoBw=0, timeout=450
    
    PowerServiceHw:setClock: PowerServiceHw[1]: requested_clock_Hz=126000000
    
    PowerServiceUtils:calculateReqClock: entered
    
    PowerServiceHw:addRequest: table size: before: 0, after:1
    
    PowerServiceHw:debugPrint: Request table for hw[2][0]
    
    
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteFrameRate:	INPUT frameLength:34960, frameRate:1.816576
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:2110, expTime:0.033224
    PowerServiceHw:debugPrint: req[0]: guID=0, stageID=2
    
    PowerServiceHw:debugPrint: req[0]: inW=1920, inH=1080, inBpp = 10, fps=30
    
    PowerServiceHw:debugPrint: req[0]: outW=1920, outH=1080, outBpp=12
    
    PowerServiceHw:debugPrint: req[0]: clock=126000000, timeout=450
    
    PowerServiceHw:debugPrint: req[0]: isoBw=189000, timeout=450
    
    PowerServiceHw:debugPrint: req[0]: non_isoBw=0, timeout=450
    
    PowerServiceHw:updateRequests: table size: before: 1, after:1
    
    PowerServiceHw:debugPrint: Request table for hw[2][0]
    
    PowerServiceHw:debugPrint: req[0]: guID=0, stageID=2
    
    PowerServiceHw:debugPrint: req[0]: inW=1920, inH=1080, inBpp = 10, fps=30
    
    PowerServiceHw:debugPrint: req[0]: outW=1920, outH=1080, outBpp=12
    
    PowerServiceHw:debugPrint: req[0]: clock=126000000, timeout=444
    
    PowerServiceHw:debugPrint: req[0]: isoBw=189000, timeout=444
    
    PowerServiceHw:debugPrint: req[0]: non_isoBw=0, timeout=444
    
    PowerServiceHw:setClock: PowerServiceHw[2]: requested_clock_Hz=126000000
    
    PowerServiceHwIsp:setLaBw: m_bwVal_Iso=189000 and m_bwVal_NonIso=0
    
    PowerServiceCore:setCameraBw: totalIsoBw=189000
    
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameRate:0.000000
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:34960, frameRate:1.816592
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.000000
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:2110, expTime:0.033224
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameRate:0.000000
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteFrameRate:	INPUT frameLength:34960, frameRate:1.816576
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:2110, expTime:0.033224
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameRate:0.000000
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:34960, frameRate:1.816592
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.000000
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:2110, expTime:0.033224
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameRate:0.000000
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteFrameRate:	INPUT frameLength:4233, frameRate:15.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:2116, expTime:0.033333
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameRate:0.000000
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:4233, frameRate:15.003086
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.000000
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:2116, expTime:0.033319
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameRate:0.000000
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    Created fiber 0x7f34000f20 for CC 103
    
    Thread 2 is working on CC 103
    
    CC 103 completed step 0 in fiber 0x7f34000f20
    
    CC 103 processing step 1 in fiber 0x7f34000f20
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 in progress...
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    populateStaticProperties
    
    cc 103(2) runCount=2 runIspOut=0, latest ccId=0
    Thread 3 is waiting
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 succeeded async operation
    
    Thread 4 is working on CC 103
    
    CC 103 processing step 2 in fiber 0x7f34000f20
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 in progress...
    
    Thread 4 getting next capture
    
    Thread 4 is waiting
    
    Thread 1 is waiting
    
    NV AE and AfApply algorithms are active.
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 succeeded async operation
    
    Thread 2 is working on CC 103
    
    CC 103 processing step 3 in fiber 0x7f34000f20
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 in progress...
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 succeeded async operation
    
    Thread 3 is working on CC 103
    
    1. There’s EEPROM on the e3322 (ov5693) for plugin manager to enable it during the boot time. I believe your HW design not implement the EEPROM.

    2. All the tuning parameter are in the *.isp file. You may need further access permission with NV to get help for this.

    3. Yes the *.isp file is for the tuning process.

    Hi Allen and Shane

    I’m also in a same situation as Allen was.

    I’m using J120 board with imx219 sensor. Corresponding driver and dtsi files for this sensor are also developed.

    And v4l2 streaming is working properly with this sensor on J120.

    When I use nvcamerasrc, It’s not working. I tried multiple Gstreamer + nvcamerasrc commands.

    From the above discussion between you guys, I understood that I have to enable vi port, i2c6 (i2c@546c0000) and cam_modules.

    The "status = “disabled” is already changed to status = “okay” in all vi ports and cam_modules.

    But in J120 i2c6(i2c@546c0000) is not used. So Is it possible to use nvcamerasrc without i2c6 (i2c@546c0000).

    My question is:

    1. To use nvcamerasrc, is it possible Only through i2c6 (i2c@546c0000)?
    2. Is there any other way to get streaming with nvcamerasrc without i2c6 (i2c@546c0000)?

    Hi alamuru
    The i2c bus (i2c@546c0000) is about your HW design. You need to check your sensor is connect to which i2c host.
    The nvcamerasrc not working possible the device tree have problem. You can also reference to below topic.

    https://devtalk.nvidia.com/default/topic/992943

    Hi Shane

    Thank you for the reply.

    I’m still unable to use nvcamerasrc.

    I followed below steps mentioned by you to take log

    Could you list the information of below command
    v4l2-ctl --list-devices
    
    2.
    collect the log after below command.
    
        kill the nvcamera-daemon
        sudo su
        export enableCamScfLogs=1
        export enableCamPclLogs=1
        /usr/sbin/nvcamera-daemon&
        launch the camera by gstreamer
    

    Please see the log and help me correct my mistake.

    v4l2-ctl --list-devices
    VIDIOC_QUERYCAP: failed: Inappropriate ioctl for device
    vi-output-4, imx219 2-001 (platform:vi:4):
    	/dev/video0
    	/dev/v4l-subdev0
    
    root@tegra-ubuntu:/home/ubuntu# gst-launch-1.0 nvcamerasrc sensor-id=0 fpsRange="30.0 30.0" ! 'video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080, format=(string)I420, framerate=(fraction)30/1' ! nvtee ! nvvidconv flip-method=2 ! 'video/x-raw(memory:NVMM), format=(string)I420' ! nvoverlaysink -e
    Setting pipeline to PAUSED ...
    Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingThread 1 getting next capture
    
    Thread 1 is waiting
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    Starting services...
    
    Thread 4 getting next capture
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    Thread 4 is waiting
    
    getInstance: s_instance(0x7f7d1a2e80)
    
    doCreateSensor: create SensorType(gyroscope) sensor(0x7f7d1a2f80)
    
    doCreateSensor: create SensorType(accelerometer) sensor(0x7f7d1a32c0)
    
    doCreateSensor: create SensorType(magnetometer) sensor(0x7f7d1a3350)
    
    doCreateSensor: create SensorType(temperature) sensor(0x7f7d21f5f0)
    
    doCreateSensor: create SensorType(proximity) sensor(0x7f7d2229d0)
    
    doCreateSensor: create SensorType(rotation vector) sensor(0x7f7d225db0)
    
    doCreateSensor: create SensorType(linear acceleration) sensor(0x7f7d229190)
    
    getInstance: s_instance(0x7f7d1a2e80)
    
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    Services are started
    
    NvPclSetHotplugCallback: ++++++++++++++++++++++
    ###### Imager: Calibration blob file handling NOT supported in this build ######
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclHwMatchPartNum: Found calibration Part#:P5V27CCV:"P5V27C"
    NvPclHwGetModuleList: No module data found
    NvPclHwPrintModuleDefinition -- Name: j120_rear_P5V27C
    NvPclHwPrintModuleDefinition -- Position: 0
    NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx219
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclModuleListInitialize: NvPclModule list[0]: j120_rear_P5V27C position0
    NvPclHwScanExternalCameras -- adding video0 to discover list
    NvPclHwScanExternalCameras -- adding video0 to discover list
    initialize: /dev/video0
    getHotplugMonitor: Getting hotplug monitor instance
     initializeHotplug++
     hotPlugfunc ++ 
     addWatch: Watch added wd='1'
    setHotplugCallback: Registered new callback client
    NvPclSetHotplugCallback: ----------------------
    NvPclOpen: ++++++++++++++++++++++
    NvPclStateControllerOpen: Found GUID 0 match at index[0]
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f7d266ba0
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f7d26c730
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f7d26c7c0
    LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16
    CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/j120_rear_P5V27C.isp] 6/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/j120_rear_P5V27C.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/j120_rear_P5V27C.isp] 7/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/j120_rear_P5V27C.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/j120_rear_P5V27C.isp] 8/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/j120_rear_P5V27C.isp]
    LoadOverridesFile: looking for override file [(null)] 9/16
    LoadOverridesFile: looking for override file [(null)] 10/16
    LoadOverridesFile: looking for override file [(null)] 11/16
    LoadOverridesFile: looking for override file [(null)] 12/16
    LoadOverridesFile: looking for override file [(null)] 13/16
    LoadOverridesFile: looking for override file [(null)] 14/16
    LoadOverridesFile: looking for override file [(null)] 15/16
    LoadOverridesFile: looking for override file [(null)] 16/16
    LoadOverridesFile: No override file found.
    NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
    NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
    NvPclConnectDrivers: hImager was NULL, creating new imager
    NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
    OFDPropertyGetString: could not read property [devnode-bus]
    initialize: imx219
    OFDPropertyGetString: could not read property [use_decibel_gain]
    OFDPropertyGetString: could not read property [use_sensor_mode_id]
    OFDPropertyGetString: could not read property [delayed_gain]
    OFDPropertyCopyToLong: could not read property [has-eeprom]
    Control OTP Data not found
    Control Frame Rate not found
    Sensor_CheckDriverVersion: Mixed or missing V4L2 controls!
    Sensor_CheckDriverVersion: Make sure your kernel driver implements either
    Sensor_CheckDriverVersion: V4L2_CID_FRAME_LENGTH + V4L2_CID_COARSE_TIME(_SHORT)
    Sensor_CheckDriverVersion:      or  
    Sensor_CheckDriverVersion: V4L2_CID_FRAME_RATE + V4L2_CID_EXPOSURE
    Sensor_InitializeV4L2Items: Failure ------------
    NvPclDriver_V4L2_Sensor_Initialize: Failure ---------------------
    NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
    NvPclInitializeDrivers: v4l2_sensor ------------------
    NvPclOpen: ----------------------
    NvPclStateControllerRunningInfo: No object found for driver v4l2_sensor.
    SCF: Error BadParameter:  (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function open(), line 121)
    NvPclClose: ++++++++++++++++++++++
    NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f7d266ba0
    NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f7d26c730
    NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0x7f7d26c7c0
    NvPclStateControllerClose: Module j120_rear_P5V27C closed
    NvPclClose: ----------------------
    SCF: Error BadParameter:  (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 516)
    SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 702)
    SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 263)
    SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 422)
    Socket read error. Camera Daemon stopped functioning.....
    gst_nvcamera_open() failed ret=0
    ERROR: Pipeline doesn't want to pause.
    Setting pipeline to NULL ...
    Freeing pipeline ...
    

    This is dmesg log after executing gstreamer + nvcamerasrc pipeline. I have put printk statements in my driver. Enter, Exit, Left are those printk statements.

    [  170.766978] Entered imx219_power_on
    [  170.766986] [350] : drivers/media/i2c/imx219.c : imx219_power_on() ENTER
    [  170.871271] Entered imx219_mclk_enable
    [  170.871366] [318] : drivers/media/i2c/imx219.c : imx219_mclk_enable() ENTER
    [  170.871502] [321] : drivers/media/i2c/imx219.c : imx219_mclk_enable() EXIT
    [  170.871550] Left imx219_mclk_enable
    [  170.879535] [376] : drivers/media/i2c/imx219.c : imx219_power_on() EXIT
    [  170.879589] Left imx219_power_on
    [  170.880754] Entered imx219_power_off
    [  170.880981] [396] : drivers/media/i2c/imx219.c : imx219_power_off() ENTER
    [  170.881390] Entered imx219_mclk_disable
    [  170.881480] [309] : drivers/media/i2c/imx219.c : imx219_mclk_disable() ENTER
    [  170.881537] [311] : drivers/media/i2c/imx219.c : imx219_mclk_disable() EXIT
    [  170.881579] Left imx219_mclk_disable
    [  170.881628] [409] : drivers/media/i2c/imx219.c : imx219_power_off() EXIT
    [  170.881667] Left imx219_power_off
    [  170.883079] Entered imx219_power_on
    [  170.883152] [350] : drivers/media/i2c/imx219.c : imx219_power_on() ENTER
    [  170.990977] Entered imx219_mclk_enable
    [  170.991064] [318] : drivers/media/i2c/imx219.c : imx219_mclk_enable() ENTER
    [  170.991199] [321] : drivers/media/i2c/imx219.c : imx219_mclk_enable() EXIT
    [  170.991246] Left imx219_mclk_enable
    [  170.999230] [376] : drivers/media/i2c/imx219.c : imx219_power_on() EXIT
    [  170.999284] Left imx219_power_on
    [  170.999726] Entered imx219_power_off
    [  170.999791] [396] : drivers/media/i2c/imx219.c : imx219_power_off() ENTER
    [  171.000139] Entered imx219_mclk_disable
    [  171.001629] [309] : drivers/media/i2c/imx219.c : imx219_mclk_disable() ENTER
    [  171.001697] [311] : drivers/media/i2c/imx219.c : imx219_mclk_disable() EXIT
    [  171.001744] Left imx219_mclk_disable
    [  171.001817] [409] : drivers/media/i2c/imx219.c : imx219_power_off() EXIT
    [  171.001858] Left imx219_power_off
    [  171.002928] Entered imx219_power_on
    [  171.003001] [350] : drivers/media/i2c/imx219.c : imx219_power_on() ENTER
    [  171.111008] Entered imx219_mclk_enable
    [  171.111093] [318] : drivers/media/i2c/imx219.c : imx219_mclk_enable() ENTER
    [  171.111230] [321] : drivers/media/i2c/imx219.c : imx219_mclk_enable() EXIT
    [  171.111276] Left imx219_mclk_enable
    [  171.119259] [376] : drivers/media/i2c/imx219.c : imx219_power_on() EXIT
    [  171.119314] Left imx219_power_on
    [  171.119775] Entered imx219_power_off
    [  171.119839] [396] : drivers/media/i2c/imx219.c : imx219_power_off() ENTER
    [  171.120266] Entered imx219_mclk_disable
    [  171.120330] [309] : drivers/media/i2c/imx219.c : imx219_mclk_disable() ENTER
    [  171.120385] [311] : drivers/media/i2c/imx219.c : imx219_mclk_disable() EXIT
    [  171.120426] Left imx219_mclk_disable
    [  171.120475] [409] : drivers/media/i2c/imx219.c : imx219_power_off() EXIT
    [  171.120515] Left imx219_power_off
    [  171.121521] Entered imx219_power_on
    [  171.121601] [350] : drivers/media/i2c/imx219.c : imx219_power_on() ENTER
    [  171.231012] Entered imx219_mclk_enable
    [  171.231105] [318] : drivers/media/i2c/imx219.c : imx219_mclk_enable() ENTER
    [  171.231236] [321] : drivers/media/i2c/imx219.c : imx219_mclk_enable() EXIT
    [  171.231283] Left imx219_mclk_enable
    [  171.239191] [376] : drivers/media/i2c/imx219.c : imx219_power_on() EXIT
    [  171.239263] Left imx219_power_on
    [  171.239778] Entered imx219_power_off
    [  171.239841] [396] : drivers/media/i2c/imx219.c : imx219_power_off() ENTER
    [  171.241404] Entered imx219_mclk_disable
    [  171.241476] [309] : drivers/media/i2c/imx219.c : imx219_mclk_disable() ENTER
    [  171.241537] [311] : drivers/media/i2c/imx219.c : imx219_mclk_disable() EXIT
    [  171.241580] Left imx219_mclk_disable
    [  171.241631] [409] : drivers/media/i2c/imx219.c : imx219_power_off() EXIT
    [  171.241673] Left imx219_power_off
    [  171.311630] nvcamera-daemon[1807]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000006
    [  171.311640] pgd = ffffffc0e57ad000
    [  171.315051] [00000000] *pgd=000000016467d003, *pmd=0000000000000000
    
    [  171.321418] CPU: 3 PID: 1807 Comm: nvcamera-daemon Not tainted 3.10.96 #3
    [  171.321423] task: ffffffc0a0ad7480 ti: ffffffc0a0adc000 task.ti: ffffffc0a0adc000
    [  171.321429] PC is at 0x40322c
    [  171.321433] LR is at 0x403228
    [  171.321436] pc : [<000000000040322c>] lr : [<0000000000403228>] pstate: 60000000
    [  171.321439] sp : 0000007fa693d4a0
    [  171.321442] x29: 0000007fa69419d0 x28: 0000007fa69421e0 
    [  171.321448] x27: 0000000000000001 x26: 0000000000000314 
    [  171.321453] x25: 0000007fa693f510 x24: 0000007fa8491000 
    [  171.321457] x23: 0000007fa693d520 x22: 0000000000000002 
    [  171.321462] x21: 0000007fa693e510 x20: 0000000000000000 
    [  171.321466] x19: 0000007fa693fb30 x18: 0000000000000014 
    [  171.321471] x17: 0000007fa8470fb0 x16: 0000007fa820b488 
    [  171.321475] x15: 0000007fa8e0b000 x14: 7265766972446172 
    [  171.321480] x13: 656d61432f697061 x12: 2f637273206d6f72 
    [  171.321484] x11: 6620676e69746167 x10: 61706f7270282020 
    [  171.321489] x9 : 3a726574656d6172 x8 : 0000000000000040 
    [  171.321493] x7 : 0000007fa0dc04f0 x6 : 0000000000000001 
    [  171.321497] x5 : 0000000000000000 x4 : 0000007fa0000b10 
    [  171.321502] x3 : 0000000000000000 x2 : 0000000000000000 
    [  171.321506] x1 : 0000000000000000 x0 : 0000000000000000 
    
    [  171.321516] Library at 0x40322c: 0x400000 /usr/sbin/nvcamera-daemon
    [  171.327776] Library at 0x403228: 0x400000 /usr/sbin/nvcamera-daemon
    [  171.334216] vdso base = 0x7fa8e09000
    

    Here I’m seeing the errors like
    1.NvPclHwGetModuleList: No module data found
    2.Sensor_CheckDriverVersion: Mixed or missing V4L2 controls!

    This is my dts file

    #include <dt-bindings/media/camera.h>
    #include <dt-bindings/platform/t210/t210.h>
    
    / {
    	host1x {		
    		vi {
    			num-channels = <1>;
    			ports {
    				#address-cells = <1>;
    				#size-cells = <0>;
    				port@0 {
    		           		status = "okay";
    			    		reg = <0>;
    						imx219_vi_in0: endpoint {
    								status = "okay";
    								csi-port = <4>; // CSI EF
    								bus-width = <2>; // 2 lane
    								remote-endpoint = <&imx219_out0>;
    							};
    		        	};
    		    };
    		};
        };
    	
    	/* |CSI Port: EF| |I2C Controller ID:2| |I2C Controller:I2C_3|*/
    	i2c@7000c500 {
    		status = "okay";
    		#address-cells = <1>;
    		#size-cells = <0>;
    
    		clocks = <&tegra_car TEGRA210_CLK_ID_CLK_OUT_3>;
    		clock-names = "mclk";
    		clock-frequency = <24000000>;
    
    		mclk = "cam_mclk1";
    		reset-gpios = <&gpio CAM_EF_PWDN GPIO_ACTIVE_HIGH>;
    
    		imx219_0@1 {
    			compatible = "nvidia,imx219";
    			// I2C device address
    			reg = <0x1>;
    			devnode = "video0";
    
    			/* Physical dimensions of sensor */
    			physical_w = "5.095";
    			physical_h = "4.930";
    
    			/* Sensor Model */
    			sensor_model ="imx219";
    
    			/* Defines number of frames to be dropped by driver internally after applying */
    			/* sensor crop settings. Some sensors send corrupt frames after applying */
    			/* crop co-ordinates */
    			post_crop_frame_drop = "0";
    
    		        mode0 { // IMX219_MODE_3280X2464
    				mclk_khz = "24000";
    				num_lanes = "2";
    				tegra_sinterface = "serial_ef";
    				discontinuous_clk = "no";
    				dpcm_enable = "false";
    				cil_settletime = "0";
    		 
    				active_w = "3280";
    				active_h = "2464";
    				pixel_t = "bayer_bggr";
    				readout_orientation = "90";
    				line_length = "3280";
    				inherent_gain = "1";
    				mclk_multiplier = "6.67";
    				pix_clk_hz = "160000000";
    		    	};
    
    			ports {
    				#address-cells = <1>;
    				#size-cells = <0>;
    				port@0 {
    					reg = <0>;
    					imx219_out0: endpoint {
    						csi-port = <4>;
    						bus-width = <2>;
    						remote-endpoint = <&imx219_vi_in0>;
    					};
    				};
    			};
    		};
    	};
    
    	tegra-camera-platform {
    		compatible = "nvidia, tegra-camera-platform";
    
    		/**
    		* The general guideline for naming badge_info contains 3 parts, and is as follows,
    		* The first part is the camera_board_id for the module; if the module is in a FFD
    		* platform, then use the platform name for this part.
    		* The second part contains the position of the module, ex. “rear” or “front”.
    		* The third part contains the last 6 characters of a part number which is found
    		* in the module's specsheet from the vender.
    		*/
    		modules {
    			module0 {
    				badge = "j120_rear_P5V27C";
    				position = "rear";
    				orientation = "0";
    				status = "okay";
    				drivernode0 {					
    					pcl_id = "v4l2_sensor";
    					devname = "imx219 3-0001";
    					proc-device-tree = "/proc/device-tree/i2c@7000c500/imx219_0@1";
    					status = "okay";
    				};
    			};
    		};
    	};
    };
    

    please guide me. Thanks in advance

    The key point are below error. You need to reference to the ov5693 to check your kernel driver and device tree.

    And there’s no “serial_ef” define only the serial_e and make sure it’s 2 lane or 4 lane.
    For more information you can download the document from http://developer.nvidia.com/embedded/dlc/l4t-documentation-24-2-1 and check the “Sensor Driver Programming Guide” chapter.

    OFDPropertyGetString: could not read property [devnode-bus]
    initialize: sspmipi_EF
    OFDPropertyGetString: could not read property [use_decibel_gain]
    OFDPropertyGetString: could not read property [use_sensor_mode_id]
    OFDPropertyGetString: could not read property [delayed_gain]
    OFDPropertyCopyToLong: could not read property [has-eeprom]
    Control OTP Data not found
    Control Frame Rate not found
    Sensor_CheckDriverVersion: Mixed or missing V4L2 controls!
    Sensor_CheckDriverVersion: Make sure your kernel driver implements either
    Sensor_CheckDriverVersion: V4L2_CID_FRAME_LENGTH + V4L2_CID_COARSE_TIME(_SHORT)
    Sensor_CheckDriverVersion:      or  
    Sensor_CheckDriverVersion: V4L2_CID_FRAME_RATE + V4L2_CID_EXPOSURE
    Sensor_InitializeV4L2Items: Failure ------------
    NvPclDriver_V4L2_Sensor_Initialize: Failure ---------------------
    NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
    NvPclInitializeDrivers: v4l2_sensor ------------------
    

    Hi Shane

    I corrected the serial_ef mistake to serial_e.
    And I also corrected the below error.

    Sensor_CheckDriverVersion: V4L2_CID_FRAME_LENGTH + V4L2_CID_COARSE_TIME(_SHORT)
    Sensor_CheckDriverVersion:      or  
    Sensor_CheckDriverVersion: V4L2_CID_FRAME_RATE + V4L2_CID_EXPOSURE
    

    Streaming is working with gstreamer pipeline after adding mode node in my dtsi file.

    Thank you for the support.

    Hi, Shane

    We have a quasi sensor device that generate CSI output. I modified imx219 driver to receive data for it. We validated it by connect to our CSI RX and display. We are also able to receive raw bayer data by using v4l2-ctl (there are some alternating missing frame though). When I try to using nvcamerasrc to process it through ISP, I got nacamera-daemon crash.
    I enabled logging based on your information, could you take a look and see what might be wrong?
    In particular, I have some questions wrt below settings of sensor mode in dts
    line_length: our csi output resolution is 3840x2160, should the line_length be 3840? I see in ov5693 and imx185/172 example this value is always larger but it not clear to me how do they come up with the number
    pix_clk_hz: my csi hs frequency is 450Mhz, how do I calculate pix_clk_hz based on that? my bayer format is 10bits rggb
    mclk_multiplier: my mclk is default 24Mhz, what should mclk_multiplier be in this case?

    As shown in the nvcamera-daemon log below, although I set frame length as 2160, it shown as different value dependents on the settings I put into the sensor mode in dts. I couldn’t figure out what the relation between my settings and the result frame length. Any help would be really appreciated.

    (gst-plugin-scanner:2436): GStreamer-WARNING **: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstclutter-3.0.so': /usr/lib/aarch64-linux-gnu/libgbm.so.1: undefined symbol: drmGetDevice
    Setting pipeline to PAUSED ...
    Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingThread 1 getting next capture
    
    Thread 2 getting next capture
    
    Thread 1 is waiting
    
    Thread 2 is waiting
    
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    Thread 4 getting next capture
    
    Thread 4 is waiting
    
    Starting services...
    
    getInstance: s_instance(0x7f751a2ec0)
    
    doCreateSensor: create SensorType(gyroscope) sensor(0x7f751a2fc0)
    
    doCreateSensor: create SensorType(accelerometer) sensor(0x7f751a3300)
    
    doCreateSensor: create SensorType(magnetometer) sensor(0x7f751a3390)
    
    doCreateSensor: create SensorType(temperature) sensor(0x7f7521f630)
    
    doCreateSensor: create SensorType(proximity) sensor(0x7f75222a10)
    
    doCreateSensor: create SensorType(rotation vector) sensor(0x7f75225df0)
    
    doCreateSensor: create SensorType(linear acceleration) sensor(0x7f752291d0)
    
    getInstance: s_instance(0x7f751a2ec0)
    
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    Services are started
    
    NvPclSetHotplugCallback: ++++++++++++++++++++++
    ###### Imager: Calibration blob file handling NOT supported in this build ######
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclHwMatchPartNum: Found calibration Part#:4BA815P2, imx219:"A815P2"
    NvPclHwGetModuleList: No module data found
    NvPclHwPrintModuleDefinition -- Name: imx219_bottomleft_A815P2
    NvPclHwPrintModuleDefinition -- Position: 0
    NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_sensor
    NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: imx219 7-0030
    NvPclHwGetModuleList: OFParserListModules Succeeded
    NvPclModuleListInitialize: NvPclModule list[0]: imx219_bottomleft_A815P2 position0
    NvPclHwScanExternalCameras -- adding video0 to discover list
    NvPclHwScanExternalCameras -- adding video0 to discover list
    initialize: /dev/video0
    getHotplugMonitor: Getting hotplug monitor instance
     initializeHotplug++
     hotPlugfunc ++ 
     addWatch: Watch added wd='1'
    setHotplugCallback: Registered new callback client
    NvPclSetHotplugCallback: ----------------------
    NvPclOpen: ++++++++++++++++++++++
    NvPclStateControllerOpen: Found GUID 0 match at index[0]
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f75252f20
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f75252fb0
    NvPclHwInitializeModule: allocate overrides pathname @ 0x7f75253040
    LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16
    CheckOverridesPermissions: cannot stat file [/Calib/camera_override.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/camera_overrides.isp]
    LoadOverridesFile: looking for override file [/data/nvcam/settings/imx219_bottomleft_A815P2.isp] 6/16
    CheckOverridesPermissions: cannot stat file [/data/nvcam/settings/imx219_bottomleft_A815P2.isp]
    LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/imx219_bottomleft_A815P2.isp] 7/16
    CheckOverridesPermissions: cannot stat file [/opt/nvidia/nvcam/settings/imx219_bottomleft_A815P2.isp]
    LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/imx219_bottomleft_A815P2.isp] 8/16
    CheckOverridesPermissions: cannot stat file [/var/nvidia/nvcam/settings/imx219_bottomleft_A815P2.isp]
    LoadOverridesFile: looking for override file [(null)] 9/16
    LoadOverridesFile: looking for override file [(null)] 10/16
    LoadOverridesFile: looking for override file [(null)] 11/16
    LoadOverridesFile: looking for override file [(null)] 12/16
    LoadOverridesFile: looking for override file [(null)] 13/16
    LoadOverridesFile: looking for override file [(null)] 14/16
    LoadOverridesFile: looking for override file [(null)] 15/16
    LoadOverridesFile: looking for override file [(null)] 16/16
    LoadOverridesFile: No override file found.
    NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
    NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
    NvPclConnectDrivers: hImager was NULL, creating new imager
    NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
    OFDPropertyGetString: could not read property [devnode-bus]
    initialize: imx219 7-0030
    OFDPropertyGetString: could not read property [delayed_gain]
    OFDPropertyCopyToLong: could not read property [has-eeprom]
    Control OTP Data not found
    Control Sensor Mode not found
    Control Frame Rate not found
    Control Exposure not found
    Control Coarse Time Short not found
    Control Coarse Time Short not found
    Sensor_FindCustomCIDs: calculated MaxCoarseDiff 4
    Sensor_LoadBinaryBlob: Binary read 0
    OFDPropertyGetString: could not read property [type]
    Sensor_LoadSubType: Sensor type missing in DT, 510
    OFDPropertyCopyToLong: could not read property [mode0.csi_pixel_bit_depth]
    OFDPropertyCopyToLong: could not read property [mode0.embedded_metadata_height]
    OFDPropertyGetString: could not read property [mode0.x_start]
    OFDPropertyGetString: could not read property [mode0.y_start]
    OFDPropertyGetString: could not read property [mode0.x_end]
    OFDPropertyGetString: could not read property [mode0.y_end]
    OFDPropertyGetString: could not read property [mode0.h_scaling]
    OFDPropertyGetString: could not read property [mode0.v_scaling]
    NvPclDriver_V4L2_Sensor_Initialize: Loaded Driver: 1 Modes Available--------------
    NvPclInitializeDrivers: v4l2_sensor ------------------
    NvPclOpen: ----------------------
    populateStaticProperties
    
    populateStaticProperties
    
    sourceRegistry[0] assigned
    
    ispRegistry[0] assigned
    
    Using Source GUID 0
    
    NvPclPowerOn: +++++++++++
    NvPclPowerOn: -----------
    Using ISP A
    
    AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
    
    No library found, disabling AC plugin.
    
    Available Sensor modes : 
    3840 x 2160 FR=15.000000 CF=0xf09208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    
    NvCameraSrc: Trying To Set Default Camera Resolution. Selected 3840x2160 FrameRate = 15.000000 ...
    
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteMode: Target mode Id(0): Resolution 3840x2160
    setActiveBufferMemory: 2
    setActivePixelFormat: 808535890
    INPUT: Width 3840 Height 2160 pixelformat RG10
    Sensor_WriteFrameRate:	INPUT frameLength:2777, frameRate:15.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:2773, expTime:0.066552
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:2777, frameRate:15.004201
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.122018
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:2773, expTime:0.066552
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    populateStaticProperties
    
    InstructionList:
    
      + GraphSettings
          | SensorMode: 3840x2160 BayerS16RGGB 15.0fps
          | output 0: 3840x2160 BL Y8 420
          | downscaleForPostProcessing
    
      + Instruction List
          | id: 0
          +  0: CCDataSetupStage
              | EstimatedIspOutLatencyFrames: 5
              | NumConcurrentCaptures: 1
              | UnprocessedYuvBufferMask: 0
          +  1: ACSynchronizeStage
          +  2: AeAfApplyStage
          +  3: AcPluginStage
              | operation: opApplyPreCapture
          +  4: AcMergeStage
          +  5: TempBufferAcquireStage
              | Buffer Index: 2
              | BufferRequirements: 3840x1 Pitch NonColor8
          +  6: SensorISPCaptureStage
              | Source GUID: 0
              | Output A Buffer: 0
              | SensorMetadata Buffer: 2
          +  7: StatsBufferAcquireStage
              | Buffer Index: 1
              | BufferRequirements: 640x360 Pitch Y8 420
          +  8: BlitStage
              | Input Buffer: 0
              | Output Buffer: 1
              | Filter: Nearest
              | Transform: None
              | Src Rect: Not used
              | Dst Rect: Not used
          +  9: StatsUpdateStage
              | Outut Meta Buffer: 2
          + 10: BufferReturnStage
              | Output A Buffer: 2
    
          + 11: AcPluginStage
              | operation: opAnalyzePostCapture
          + 12: AfAnalysisStage
          + 13: MonitorStage
          + 14: ExifStage
          + 15: MakerNoteStage
          + 16: BufferReturnStage
              | Output A Buffer: 0
          + 17: MetadataReturnStage
    
    Created fiber 0x7f340008c0 for CC 101
    
    Thread 2 is working on CC 101
    
    CC 101 completed step 0 in fiber 0x7f340008c0
    
    populateStaticProperties
    
    CC 101 processing step 1 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    Thread 1 is waiting
    
    cc 101(0) runCount=0 runIspOut=0, latest ccId=0
    FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation
    
    Thread 3 is working on CC 101
    
    CC 101 processing step 2 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    Thread 4 is waiting
    
    NV AE and AfApply algorithms are active.
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation
    
    Thread 2 is working on CC 101
    
    CC 101 processing step 3 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    Thread 1 is waiting
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation
    
    Created fiber 0x7f34000d00 for CC 102
    
    Thread 3 is working on CC 101
    
    CC 101 processing step 4 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 3 getting next capture
    
    Thread 3 is working on CC 102
    
    populateStaticProperties
    
    CC 102 completed step 0 in fiber 0x7f34000d00
    
    CC 102 processing step 1 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    Thread 1 is waiting
    
    Thread 2 is waiting
    
    Thread 4 is waiting
    
    cc 102(1) runCount=1 runIspOut=0, latest ccId=0
    FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation
    
    Thread 3 is working on CC 102
    
    CC 102 processing step 2 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    Thread 1 is waiting
    
    NV AE and AfApply algorithms are active.
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation
    
    Thread 2 is working on CC 102
    
    CC 102 processing step 3 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation
    
    Thread 3 is working on CC 102
    
    CC 102 processing step 4 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    Thread 3 getting next capture
    
    Thread 1 is waiting
    
    Thread 3 is waiting
    
    Thread 4 is waiting
    
    LSC:patch height less than 10FiberScheduler: cc 101, fiber 0x7f340008c0 succeeded async operation
    
    Thread 2 is working on CC 101
    
    CC 101 completed step 5 in fiber 0x7f340008c0
    
    CC 101 processing step 6 in fiber 0x7f340008c0
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 in progress...
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    Thread 1 is waiting
    
    LSC:patch height less than 10PowerServiceUtils:calculateReqClock: entered
    
    PowerServiceHw:addRequest: table size: before: 0, after:1
    
    	request table for VI 0:
    	req[0]: guID=0, stageID=SensorIspCapture
    	req[0]: inW=3840, inH=2160, inBpp = 10, fps=15
    	req[0]: outW=0, outH=0, outBpp=0
    	req[0]: clock=400000000, pixelRate=400000000, timeout=450
    	req[0]: isoBw=0, timeout=450
    	req[0]: non_isoBw=0, timeout=450
    PowerServiceHw:addRequest: table size: before: 0, after:1
    
    	request table for CSI 0:
    	req[0]: guID=0, stageID=SensorIspCapture
    	req[0]: inW=3840, inH=2160, inBpp = 10, fps=15
    	req[0]: outW=0, outH=0, outBpp=0
    	req[0]: clock=0, pixelRate=400000000, timeout=450
    	req[0]: isoBw=0, timeout=450
    	req[0]: non_isoBw=0, timeout=450
    PowerServiceHw:setClock: PowerServiceHw[1]: requested_clock_Hz=400000000
    
    PowerServiceUtils:calculateReqClock: entered
    
    PowerServiceHw:addRequest: table size: before: 0, after:1
    
    	request table for ISP 0:
    	req[0]: guID=0, stageID=SensorIspCapture
    	req[0]: inW=3840, inH=2160, inBpp = 10, fps=15
    	req[0]: outW=3840, outH=2160, outBpp=12
    	req[0]: clock=400000000, pixelRate=400000000, timeout=450
    	req[0]: isoBw=600000, timeout=450
    	req[0]: non_isoBw=0, timeout=450
    PowerServiceHw:updateRequests: table size: before: 1, after:1
    
    	request table for ISP 0:
    	req[0]: guID=0, stageID=SensorIspCapture
    	req[0]: inW=3840, inH=2160, inBpp = 10, fps=15
    	req[0]: outW=3840, outH=2160, outBpp=12
    	req[0]: clock=400000000, pixelRate=400000000, timeout=449
    	req[0]: isoBw=600000, timeout=449
    	req[0]: non_isoBw=0, timeout=449
    PowerServiceHw:setClock: PowerServiceHw[2]: requested_clock_Hz=400000000
    
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteFrameRate:	INPUT frameLength:2777, frameRate:15.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:2773, expTime:0.066552
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:2777, frameRate:15.004201
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.122018
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:2773, expTime:0.066552
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    PowerServiceHwIsp:setLaBw: m_bwVal_Iso=600000 and m_bwVal_NonIso=0
    
    PowerServiceCore:setCameraBw: totalIsoBw=600000
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 succeeded async operation
    
    Thread 3 is working on CC 102
    
    CC 102 completed step 5 in fiber 0x7f34000d00
    
    CC 102 processing step 6 in fiber 0x7f34000d00
    
    FiberScheduler: cc 102, fiber 0x7f34000d00 in progress...
    
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    Thread 4 is waiting
    
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteFrameRate:	INPUT frameLength:2777, frameRate:15.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:2773, expTime:0.066552
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:2777, frameRate:15.004201
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.122018
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:2773, expTime:0.066552
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteFrameRate:	INPUT frameLength:2777, frameRate:15.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:1237, expTime:0.029708
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:2777, frameRate:15.004201
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.122018
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:1237, expTime:0.029688
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    Error: waitCsiFrameStart timeout guid 0
    Error: waitCsiFrameStart Something went wrong with waiting on frame start
    Error: waitCsiFrameStart Something went wrong with waiting on frame start
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteFrameRate:	INPUT frameLength:2777, frameRate:15.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:1237, expTime:0.029708
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:2777, frameRate:15.004201
    Created fiber 0x7f34000f20 for CC 103
    
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.122018
    Thread 2 is working on CC 103
    
    populateStaticProperties
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:1237, expTime:0.029688
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    CC 103 completed step 0 in fiber 0x7f34000f20
    
    CC 103 processing step 1 in fiber 0x7f34000f20
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 in progress...
    
    Thread 2 getting next capture
    
    Thread 2 is waiting
    
    cc 103(2) runCount=2 runIspOut=0, latest ccId=0
    FiberScheduler: cc 103, fiber 0x7f34000f20 succeeded async operation
    
    Thread 3 is working on CC 103
    
    CC 103 processing step 2 in fiber 0x7f34000f20
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 in progress...
    
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    NV AE and AfApply algorithms are active.
    
    Thread 4 is waiting
    
    Thread 1 is waiting
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 succeeded async operation
    
    Thread 2 is working on CC 103
    
    CC 103 processing step 3 in fiber 0x7f34000f20
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 in progress...
    
    Thread 2 getting next capture
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 succeeded async operation
    
    Thread 4 is working on CC 103
    
    CC 103 processing step 4 in fiber 0x7f34000f20
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 in progress...
    
    Thread 4 getting next capture
    
    Thread 4 is waiting
    
    Thread 1 is waiting
    
    FiberScheduler: cc 101, fiber 0x7f340008c0 aborted in async operation
    
    LSC:patch height less than 10FiberScheduler: cc 103, fiber 0x7f34000f20 succeeded async operation
    
    Thread 3 is working on CC 103
    
    Thread 4 is waiting
    
    Thread 2 is waiting
    
    CC 103 completed step 5 in fiber 0x7f34000f20
    
    CC 103 processing step 6 in fiber 0x7f34000f20
    
    FiberScheduler: cc 103, fiber 0x7f34000f20 in progress...
    
    Thread 3 getting next capture
    
    Thread 3 is waiting
    
    PowerServiceCore:handleRequests: timePassed = 1494
    
    Thread 1 is waiting
    
    NvPclSettingsUpdate: Sending Updated Settings through PCL
    NvPclSettingsApply: Applying last settings through PCL
    NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
    Sensor_WriteFrameRate:	INPUT frameLength:2777, frameRate:15.000000
    Sensor_WriteGain:	INPUT gainCtrl:100 analogGain:1.000000
    Sensor_WriteExposure:	INPUT coarseTime:1237, expTime:0.029708
    NvPclDriver_UpdateOutputSettings:	OUTPUT frameLength:2777, frameRate:15.004201
    NvPclDriver_UpdateOutputSettings:	OUTPUT analogGain:1.122018
    NvPclDriver_UpdateOutputSettings:	OUTPUT coarseTime:1237, expTime:0.029688
    NvPclDriver_V4L2_Sensor_Write:-----------------------
    NvPclSettingsApply: Reading PCL settings
    Error: waitCsiFrameStart timeout guid 0
    SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
    Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
    Created fiber 0x7f34001140 for CC 104
    
    Thread 4 is working on CC 104
    
    Fiber 0x7f34001140 is aborting in CC 3
    
    FiberScheduler: cc 104, fiber 0x7f34001140 aborted
    
    populateStaticProperties
    
    launchCC abort cc 105
    
    Created fiber 0x7f75730830 for CC 105
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    FiberScheduler: fiber 0x7f34001140 exiting
    
    Thread 4 getting next capture
    
    disposing CC 104
    
    populateStaticProperties
    
    Thread 4 is working on CC 105
    
    Fiber 0x7f75730830 is aborting in CC 4
    
    FiberScheduler: cc 105, fiber 0x7f75730830 aborted
    
    launchCC abort cc 106
    
    Created fiber 0x7f75737e60 for CC 106
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    Thread 2 is working on CC 106
    
    Fiber 0x7f75737e60 is aborting in CC 4
    
    FiberScheduler: cc 106, fiber 0x7f75737e60 aborted
    
    Thread 1 is waiting
    
    Thread 3 is waiting
    
    FiberScheduler: fiber 0x7f75730830 exiting
    
    Thread 4 getting next capture
    
    disposing CC 105
    
    Thread 3 is waiting
    
    Thread 1 is waiting
    
    populateStaticProperties
    
    launchCC abort cc 107
    
    Created fiber 0x7f75730830 for CC 107
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    populateStaticProperties
    
    FiberScheduler: fiber 0x7f75737e60 exiting
    
    Thread 2 getting next capture
    
    disposing CC 106
    
    launchCC abort cc 108
    
    Thread 2 is working on CC 107
    
    Fiber 0x7f75730830 is aborting in CC 4
    
    FiberScheduler: cc 107, fiber 0x7f75730830 aborted
    Created fiber 0x7f75737ec0 for CC 108
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    
    populateStaticProperties
    
    FiberScheduler: fiber 0x7f75730830 exiting
    
    Thread 1 is working on CC 108
    
    Fiber 0x7f75737ec0 is aborting in CC 4
    
    FiberScheduler: cc 108, fiber 0x7f75737ec0 aborted
    
    Thread 2 getting next capture
    
    disposing CC 107
    
    Thread 2 is waiting
    
    Thread 3 is waiting
    
    Thread 4 is waiting
    
    FiberScheduler: fiber 0x7f75737ec0 exiting
    
    Thread 1 getting next capture
    
    disposing CC 108
    
    Thread 1 is waiting
    
    Thread 3 is waiting
    
    launchCC abort cc 109
    
    Thread 2 is waiting
    
    Created fiber 0x7f75737ec0 for CC 109
    
    Thread 4 is working on CC 109
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    populateStaticProperties
    
    launchCC abort cc 110
    
    Fiber 0x7f75737ec0 is aborting in CC 4
    
    FiberScheduler: cc 109, fiber 0x7f75737ec0 aborted
    
    FiberScheduler: fiber 0x7f75737ec0 exiting
    
    Thread 4 getting next capture
    
    Created fiber 0x7f75737a00 for CC 110
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    disposing CC 109
    
    Thread 1 is working on CC 110
    
    Fiber 0x7f75737a00 is aborting in CC 4
    
    FiberScheduler: cc 110, fiber 0x7f75737a00 aborted
    
    FiberScheduler: fiber 0x7f75737a00 exiting
    
    Thread 1 getting next capture
    
    Thread 1 is waiting
    
    Thread 2 is waiting
    
    Thread 3 is waiting
    
    Thread 4 is waiting
    
    populateStaticProperties
    
    disposing CC 110
    
    launchCC abort cc 111
    
    Created fiber 0x7f757373f0 for CC 111
    
    Thread 1 is working on CC 111
    
    Fiber 0x7f757373f0 is aborting in CC 4
    
    FiberScheduler: cc 111, fiber 0x7f757373f0 aborted
    
    FiberScheduler: fiber 0x7f757373f0 exiting
    
    Thread 1 getting next capture
    
    Thread 1 is waiting
    
    Thread 2 is waiting
    
    Thread 3 is waiting
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    populateStaticProperties
    
    disposing CC 111
    
    launchCC abort cc 112
    
    Created fiber 0x7f75737ec0 for CC 112
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    Thread 4 is working on CC 112
    
    Fiber 0x7f75737ec0 is aborting in CC 4
    
    FiberScheduler: cc 112, fiber 0x7f75737ec0 aborted
    
    populateStaticProperties
    
    launchCC abort cc 113
    
    Created fiber 0x7f757307e0 for CC 113
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    FiberScheduler: fiber 0x7f75737ec0 exiting
    
    Thread 4 getting next capture
    
    disposing CC 112
    
    Thread 4 is working on CC 113
    
    Fiber 0x7f757307e0 is aborting in CC 4
    
    FiberScheduler: cc 113, fiber 0x7f757307e0 aborted
    
    Thread 1 is waiting
    
    populateStaticProperties
    
    launchCC abort cc 114
    
    Created fiber 0x7f75737ec0 for CC 114
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    populateStaticProperties
    
    FiberScheduler: fiber 0x7f757307e0 exiting
    
    Thread 4 getting next capture
    
    disposing CC 113
    
    launchCC abort cc 115
    
    Thread 4 is working on CC 114
    
    Fiber 0x7f75737ec0 is aborting in CC 4
    
    FiberScheduler: cc 114, fiber 0x7f75737ec0 aborted
    
    Created fiber 0x7f75730840 for CC 115
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    populateStaticProperties
    
    FiberScheduler: fiber 0x7f75737ec0 exiting
    
    Thread 4 getting next capture
    
    disposing CC 114
    
    launchCC abort cc 116
    
    Thread 4 is working on CC 115
    
    Fiber 0x7f75730840 is aborting in CC 4
    
    FiberScheduler: cc 115, fiber 0x7f75730840 aborted
    
    Created fiber 0x7f757373f0 for CC 116
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    populateStaticProperties
    
    FiberScheduler: fiber 0x7f75730840 exiting
    
    Thread 4 getting next capture
    
    disposing CC 115
    launchCC abort cc 117
    
    Thread 4 is working on CC 116
    
    Fiber 0x7f757373f0 is aborting in CC 4
    
    FiberScheduler: cc 116, fiber 0x7f757373f0 aborted
    
    Created fiber 0x7f75737a00 for CC 117
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    Thread 1 is working on CC 117
    
    Fiber 0x7f75737a00 is aborting in CC 4
    
    FiberScheduler: cc 117, fiber 0x7f75737a00 aborted
    
    FiberScheduler: fiber 0x7f757373f0 exiting
    
    Thread 4 getting next capture
    
    disposing CC 116
    
    populateStaticProperties
    
    Thread 4 is waiting
    
    Thread 3 is waiting
    
    Thread 2 is waiting
    
    launchCC abort cc 118
    
    Created fiber 0x7f757373f0 for CC 118
    
    Thread 4 is working on CC 118
    
    Fiber 0x7f757373f0 is aborting in CC 4
    
    FiberScheduler: cc 118, fiber 0x7f757373f0 aborted
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    populateStaticProperties
    
    launchCC abort cc 119
    
    Created fiber 0x7f75733ce0 for CC 119
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    populateStaticProperties
    
    Thread 3 is working on CC 119
    
    Fiber 0x7f75733ce0 is aborting in CC 4
    
    FiberScheduler: cc 119, fiber 0x7f75733ce0 aborted
    
    launchCC abort cc 120
    
    Created fiber 0x7f75738d30 for CC 120
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    Thread 2 is working on CC 120
    
    Fiber 0x7f75738d30 is aborting in CC 4
    
    FiberScheduler: cc 120, fiber 0x7f75738d30 aborted
    
    populateStaticProperties
    
    launchCC abort cc 121
    
    Created fiber 0x7f75738340 for CC 121
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    populateStaticProperties
    
    launchCC abort cc 122
    
    Created fiber 0x7f75738700 for CC 122
    
    SCF: Error Timeout:  (propagating from src/api/Session.cpp, function capture(), line 731)
    Socket read error. Camera Daemon stopped functioning.....
    Received error from camera daemon....exiting....
    Got EOS from element "pipeline0".
    Execution ended after 0:00:03.248076708
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    

    @xiaoyongtijee
    Does any syncpt timeout from the kernel message? You may try the discontinuous_clk and make sure mclk_khz, pix_clk_hz, mclk_multiplier is correct. The line_length should not a key if your device are not real sensor and should implement the set_xxx function in the sensor driver.

    mode0 { // IMX219_MODE_3280X2464
    							mclk_khz = "12000";
    							num_lanes = "2";
    							tegra_sinterface = "serial_a";
    							discontinuous_clk = "yes";
    							cil_settletime = "0";
    
    							active_w = "3280";
    							active_h = "2464";
    							pixel_t = "bayer_rggb";
    							readout_orientation = "90";
    							line_length = "3448";
    							inherent_gain = "1";
    							mclk_multiplier = "25";
    							pix_clk_hz = "170000000";
    
    							min_gain_val = "1.0";
    							max_gain_val = "16.0";
    							min_hdr_ratio = "1";
    							max_hdr_ratio = "64";
    							min_framerate = "1.462526";
    							max_framerate = "21";
    							min_exp_time = "13";
    							max_exp_time = "683709";
    						};						};
    

    The device has its own clk and it is the standard 24mhz. I’m not very sure about pix_clk_hz and mcl_multiplier, are they refer to MIPI’s pixel_clk and the multiplier wrt to mclk_khz?
    In the document is says below

    Specifies the sensor pixel clock for calculating the exposure, frame rate, and so forth.
    This value is calculated based on input clock (mclk) and PLL settings from sensor mode table. Please refer to sensor data sheet for how to calculate this value.

    how is this value used to calculate the exposure and frame rate?

    thanks
    Xiaoyong