AnsweredAssumed Answered

IMX6Q mipi 1080p 60 摄像头问题

Question asked by stevenhuang on Jul 30, 2019
Latest reply on Aug 1, 2019 by Joan Xie

移植了一个1080p 60 的摄像头, 系统版本为3.0.35, 挂在在ipu1 的csi0上, virtual为0, 配置如下:

static struct mipi_csi2_platform_data mipi_csi2_pdata = {
.ipu_id = 0,
.csi_id = 0,
.v_channel = 0,
#if CONFIG_MXC_HDMI_MIPI
.lanes = 4,
#else
.lanes = 2,
#endif
.dphy_clk = "mipi_pllref_clk",
.pixel_clk = "emi_clk",
};

驱动能正常加载,但是在采集数据是报如下错误: 

./mxc_v4l2_capture.out -d /dev/video0

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

VIDIOC_DQBUF failed.

ERROR: v4l2 capture: VIDIOC_QBUF: buffer already queued

 

在下面帖子里面https://community.nxp.com/thread/306542#comment-332646,说到“whe  i set the AXI_CLK_ROOT clock to 528Mhz,(default 264Mhz)”, 请问怎么修改AXI_CLK_ROOT时钟欸528M? 能否给出详细代码, 非常感谢!

Outcomes