Enable OV5645(coral camera) support in dts file.

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

Enable OV5645(coral camera) support in dts file.

818 次查看
sef
Contributor II

I'm new to Yocto so i tried to explain as best i could.

I'm trying to enable ov5645(coral camera) in 5.15.x+fslc(freescale,kirkstone).

Using "imx8mq-phanbell.dts" file. ov5645 is activated in the dts file of Google's source code. I'm trying to patch the current dts file using the sources. Source codes:

https://coral.googlesource.com/linux-imx/+/refs/tags/3-1/arch/arm64/boot/dts/freescale/fsl-imx8mq-ph...
https://coral.googlesource.com/linux-imx/+/refs/tags/3-1/arch/arm64/boot/dts/freescale/fsl-imx8mq.dt...

I'm trying to add patch to dts file to work in Kirkstone version. Current dts files that i am trying to patch:

https://github.com/Freescale/linux-fslc/blob/5.15.x%2Bfslc/arch/arm64/boot/dts/freescale/imx8mq-phan...
https://github.com/Freescale/linux-fslc/blob/5.15.x%2Bfslc/arch/arm64/boot/dts/freescale/imx8mq.dtsi

The patch i added:

https://pastebin.com/7xfG7HvK

Errors and log output :

https://pastebin.com/fuFVbyg8

0 项奖励
回复
1 回复

774 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

Besides migrating the dts file, you have to be sure that you make all the connections for the camara itself MIPI, I2C, SPI as example, and make sure that those are in device tree and not compete with other peripheral in the i.MX. build the bsp with dts and kernel as well.

 

Regards

0 项奖励
回复