We are trying to configure the Xavier C-PHY port to receive C-PHY from a C-PHY generator connected to the AGX-Xavier camera connector J509. We have measured the C-PHY signal output using an oscilloscope and verified the presence of data output.
To test the configuration, we have generated a C-PHY image using a generator and created a “dummy” driver from an imx Sony sensor (which bypasses the i2c configuration).
In the device tree, we have modified/set the following fields:
bus-width = <3>,
num_lanes = “3”, and
phy_mode = “CPHY”.
However, when running argus_camera, we are not getting any data.
FWIW I am using jetpack-4.6
We would like to know the possible causes for this issue and any other steps we should take, such as specific commands to execute or logs to check.
please also refer to Topic 241898 and apply kernel patch to configure CPHY mode by device tree instead of hardcode values.
so, is the port binding correct? are you now able to register video node to linux kernel?
please try to verify the port binding result, as following. $ sudo media-ctl -p -d /dev/media0
please share capture pipeline you’re using, you may also share the kernel logs for reference,
thanks
please try using V4L2 IOCTL to narrow down the issue, because it’s sometime more challenge to enable camera stream via Argus pipeline.
for example, $ v4l2-ctl -d /dev/video0 --set-fmt-video=width=3840,height=1928,pixelformat=RG12 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100
regarding to your attach logs, I saw there’s i2c timeout from 0x28, could you please confirm that’s nothing to do with the camera?
also, it looks you connected camera to CSI directly, do you still need virtual channel?
you’ve another camera node, imx324_csi_out1 that’s using CSI-A also, please also disable this node for testing.