before time i'm using camera driver in LTIB, and now i want to change it to YOCTO. Who can teach me to do that?
There is nothing different in Yocto from the LTIB in driver level. So can you pls specify that what help you want. You want to learn the Yocto or how the way to compile and validate your driver in Yocto.
Our Linux BSP in Yocto is using device trees, LTIB is not. So you need to know how the device tree(dts and dtsi files) pass the parameters to the driver.
You can find this information in the Linux source code's Documentation.
linux-2.6-imx.git - Freescale i.MX Linux Tree (the source code in git.freescale.com)
for example, gpio in device tree, please read fsl-imx-gpio.txt
Moreover, you can read the Linux BSP documentation, and take the camera drivers in Yocto BSP for reference.
Download URL : i.MX 6 / i.MX 7 Series Software and Development Tool|NXP
for example : Linux 4.1.15_2.0.0 BSP & Multimedia Codecs Documentation
Read the following documents first:
1. i.MX_Yocto_Project_User's_Guide.pdf --- To understand the Yocto BSP and How to install the Yocto BSP
2. i.MX_BSP_Porting_Guide.pdf --- Help you to understand how to porting your device in Yocto BSP
3. i.MX_Linux_Reference_Manual.pdf --- Talk about each driver for i.MX in details.
This is a useful page talk about the LTIB vs Bitbake commands
i.MX Yocto Project: ltib versus bitbake
Retrieving data ...