How to add & build existing driver from imx source tree to kernel?

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

How to add & build existing driver from imx source tree to kernel?

跳至解决方案
1,647 次查看
autoamp
Contributor III

Hello,

We are planning to interface RPi 5MP camera with our custom iMX8M-Mini board.

Now RPi camera has OV5647 sensor, for which drivers are already available on iMX-own kernal source tree.

We are using yocto-project to build and configure images. Is there any step-by-step guide available that we can follow so we can integrate this driver in kernel-module? 

0 项奖励
1 解答
1,619 次查看
autoamp
Contributor III

Editing kernel .config worked for me.

to be more specific, inside your yocto build dir run.

bitbake linux-imx -c menuconfig

 https://www.yoctoproject.org/docs/1.6.1/kernel-dev/kernel-dev.html#changing-the-configuration 

在原帖中查看解决方案

0 项奖励
4 回复数
1,620 次查看
autoamp
Contributor III

Editing kernel .config worked for me.

to be more specific, inside your yocto build dir run.

bitbake linux-imx -c menuconfig

 https://www.yoctoproject.org/docs/1.6.1/kernel-dev/kernel-dev.html#changing-the-configuration 

0 项奖励
1,638 次查看
joanxie
NXP TechSupport
NXP TechSupport

I send the ov5647 demo source code to you by mail, pls find it

1,087 次查看
BobCastlePeak
Contributor I

joanxie,

I would like to get the ov5647 working on the imx8m plus evk.  do you have demo source code you can share?

0 项奖励
1,634 次查看
autoamp
Contributor III

Hi joanxie,

Thanks.. This should help..

0 项奖励