IMX6Q mipi 1080p 60 摄像头问题

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6Q mipi 1080p 60 摄像头问题

1,898件の閲覧回数
stevenhuang
Contributor III

移植了一个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? 能否给出详细代码, 非常感谢!

ラベル(1)
タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,599件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

since you use ipu1 csi0, try to set .ipu_id = 1

0 件の賞賛
返信

1,599件の閲覧回数
stevenhuang
Contributor III

my question is how to change the AXI_CLK_ROOT clock。 could you any suggest? thank you very much!

0 件の賞賛
返信

1,599件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

for this clock, you can set bit axi_podf  in the register CCM_CBCDR, for more detailed information, pls refer to the reference manual of imx6q:

https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true 

0 件の賞賛
返信