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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jump to solution
93 Views
Contributor II

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
63 Views
Contributor II

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
3 Replies
64 Views
Contributor II

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
82 Views
NXP TechSupport
NXP TechSupport

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

78 Views
Contributor II

Hi joanxie,

Thanks.. This should help..

0 Kudos