Imx6qp and CSI0 on L5.x

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Imx6qp and CSI0 on L5.x

跳至解决方案
710 次查看
christophe
Contributor V

Hi everybody,

We have somee trouble to make csi capture work: Imx6qp board, parallel CSI0 capture 8 bits.

We have moved from Linux 4.1.15 to Linux 5.x (5.4 and 5.10). The capture works fine with L4.1.15 and not with L5.x.

 

We wonder why because the board is the same, the driver is the same (ov5640 style in spi), the user application is the same (compiled with L5.x sdk), the dts is the same. We use V4L2 interface.

As we directly monitor imx registers, we can see programmation is correct (the same), but with L5.x, no csi callback occurs:

 

[ 31.646319] In MVC: mxc_v4l_do_ioctl c0445611

[ 31.650693] case VIDIOC_DQBUF

[ 31.653939] In MVC:mxc_v4l_dqueue - wait_event_interruptible_timeout= 0

[ 32.404107] ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

 

 

MACHINE=imx6qpstarlitex DISTRO=fsl-imx-fb source imx-setup-release.sh -b build

 

So, our question: is the simple CSI0 capture still working for imx6qp, under L5.x ?

 

Rgds,

Christophe

标签 (2)
0 项奖励
1 解答
699 次查看
igorpadykov
NXP Employee
NXP Employee

>you assert there's no CSI capture issue with imx6 in L5.x versions.

 

I checked internally, no issues were reported from other customers.

 

Best regards
igor

在原帖中查看解决方案

0 项奖励
3 回复数
701 次查看
christophe
Contributor V

Hi Igor,

We already use Aurora code and we rebuild everything.

So, you assert there's no CSI capture issue with imx6 in L5.x versions. This is the meaning of my question.

Rgds,

Christophe

0 项奖励
700 次查看
igorpadykov
NXP Employee
NXP Employee

>you assert there's no CSI capture issue with imx6 in L5.x versions.

 

I checked internally, no issues were reported from other customers.

 

Best regards
igor

0 项奖励
704 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Christophe

 

>We wonder why because the board is the same, the driver is the same (ov5640 style in spi),
>the user application is the same (compiled with L5.x sdk), the dts is the same.

 

it may be different (drivers, dts, uboot and other software components) in new kernels,

so recommended to rebuild all image from scratch, not use old binaries.

Also may be recommended to try nxp linux from source.codeaurora.org/external/imx/linux-imx repository
https://source.codeaurora.org/external/imx/linux-imx/tree/?h=lf-5.10.y

Documentation:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 项奖励