Change driver camera from LTIB to YOCTO

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

Change driver camera from LTIB to YOCTO

837 Views
vongocson
Contributor III

hi everyone

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?

0 Kudos
2 Replies

539 Views
jimmychan
NXP TechSupport
NXP TechSupport

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

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 

0 Kudos

539 Views
vinodmaverickr0
Contributor IV

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.

Thanks,

Vinod

0 Kudos