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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,596 Views
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 Kudos
1 Solution
1,568 Views
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 

View solution in original post

0 Kudos
4 Replies
1,569 Views
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 Kudos
1,587 Views
joanxie
NXP TechSupport
NXP TechSupport

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

1,036 Views
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 Kudos
1,583 Views
autoamp
Contributor III

Hi joanxie,

Thanks.. This should help..

0 Kudos