Hello I am using imx6qsabresd board running with 3.14.28 linux fsl-image-multimedia-full image.
I want to develop toshiba3232pb camera driver kernel module.
So whats the best way to do the same.
Can i use eclipse to develop the same? I can able to debug Helloworld C project. Eclipse is generating .o file.
How to generate .ko from eclipse?
Please refer to the following :
http://magiksys.blogspot.ru/2012/05/develop-linux-kernel-module-using.html
You will need kernel headers (in include), for FSL Yocto Linux directory
is located in
<Yocto build directory>/tmp/work/<machine-poky-linux-gnueabi
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Yuri for the Reply.
I followed the below link and setup Eclipse environment for yocto.
http://www.yoctoproject.org/docs/1.8/dev-manual/dev-manual.html#adt-eclipse
i created example template HelloWorld (Yocto Porject ADT Autotool Project). And i successfully cross-compile it and debug from eclipse also.
And i referred your link.
But instead of including linux src path and variable i just created Yocto Project ADT CMake HelloWorld Project.
But when i build this project i got error "Please make sure that cmake is installed properly on this machine".
So what i am missing?