Hi, i'm beginner of linux, working on imx6q platform, linux kernel is 3.14.28.
For now, i'm geting stuck in debugging on adv7481，which connects to imx6q with mipi interface.
My problem looks like "IPU can't get the CSI data". I choose the default ipu&csi setting, ipu0-csi1.
When i use "cat /dev/video0" command, following error log shows up:
-> "ERROR: v4l2 capture: mxc_v4l_read timeout counter 0"
-> "imx-ipu3 2400000.ipu: Not a CSI channel"
-> "cat: read error: Timer expired"
When i use "gst-launch-1.0 /dev/video1" command, following error log shows up:
-> "ERROR: unrecognized std! 0 (PAL=ff, NTSC=b000"
-> "(gst-launch-1.0:599): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
ERROR: pipeline could not be constructed: no source element for URI "/dev/video1"."
Below is some configs and settings:
In device tree , i cancel the following configs, those has no relationship with debugging adv7481 i thought:
5) pinctrl_ipu1_2(parallel camera setting)
I check the same problem in community, and modify the kernel souce with "0001-Correct-mipi-camera-virtual-channel-setting-in.patch".
I print out the mipi.info para, and mipi regs, it seems like mipi working fine:
====Below is MipiInfo para ====>
mipi_csi2_info.mipi_en = 1
mipi_csi2_info.ipu_id = 0
mipi_csi2_info.csi_id = 1
mipi_csi2_info.v_channel = 0
mipi_csi2_info.lanes = 2
mipi_csi2_info.datatype = 30
<====Above is MipiInfo para ====
====Below is MipiCsi2Regs para ====>
MIPI_CSI_N_LANES = 0x1
MIPI_CSI_PHY_SHUTDOWNZ = 0x1
MIPI_CSI_DPHY_RSTZ = 0x1
MIPI_CSI_CSI2_RESETN = 0x1
MIPI_CSI_PHY_STATE = 0x300
MIPI_CSI_DATA_IDS_1 = 0x0
MIPI_CSI_DATGA_IDS_2 = 0x0
MIPI_CSI_ERR1 = 0x0
MIPI_CSI_ERR2 = 0x0
<====Above is MipiCsi2Regs para ====
I don't know the reason here, is there something missing?
Thanks a lot. : )