i want to use csi2-mipi interface in imx8mplus lpddr4 evk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i want to use csi2-mipi interface in imx8mplus lpddr4 evk

跳至解决方案
502 次查看
srinivas_123
Contributor II

i am using imx8mplus lpddr4 evk, i build the IMXLXYOCTOUG v.LF6.1.55_2.2.0  bsp version.

how to use the CSI2-MIPI interface.it is not detecting. what are the configurations I have to do?

I am using the ov5640 camera, when I connect this camera to the CSI1-MIPI interface, the camera works.

suppose I connect to the CSI2-MIPI  interface, it is not working. what is the reason? if anyone knows please help me out.

Thanks &Regards

Srinivas

0 项奖励
回复
1 解答
421 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @srinivas_123!

Yes, that is correct.
 

You can check the device trees saved on the memory using the next commands:

 

"fatls mmc 1:1" for SD card boot

 

"fatls mmc 2:1" for MMC boot

 

Best Regards!

Chavira

                       

在原帖中查看解决方案

7 回复数
478 次查看
KimberlyCarvajal
Contributor I

Hi Srinivas,

You could first check the CSI2-MIPI node in the device-tree. Check if there is a node for the ov5640 camera for the CSI2-MIPI and the state is set to "okay".

If the ov5640 camera does not have a node in the CSI2-MIPI you can try create it based on the node for the CSI1-MIPI.

 

Regards,

Kimberly Carvajal

Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

0 项奖励
回复
439 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @srinivas_123!

Thank you for contacting NXP Support!

 

For iMX8MP you should set the device tree called "imx8mp-evk-basler-ov5640.dtb" or "imx8mp-evk-os08a20-ov5640.dtb"

https://www.nxp.com/docs/en/release-note/IMX_LINUX_RELEASE_NOTES.pdf

Best Regards!

Chavira

0 项奖励
回复
425 次查看
srinivas_123
Contributor II

set the dtb file means , change  variable fdtfile with file name  you given   fdtfile=imx8mp-evk.dtb .is it correct ?. i attached the uboot file .

thanks and Regards

srinivas

0 项奖励
回复
422 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @srinivas_123!

Yes, that is correct.
 

You can check the device trees saved on the memory using the next commands:

 

"fatls mmc 1:1" for SD card boot

 

"fatls mmc 2:1" for MMC boot

 

Best Regards!

Chavira

                       

378 次查看
srinivas_123
Contributor II
my fdtfile =imx8mp-evk.dtb
after running "fatls mmc 1:1"
it gives lots of dtb files . can you explain whether "imx8mp-evk-basler-ov5640.dtb" or "imx8mp-evk-os08a20-ov5640.dtb" files are read or not . is it required to change fdtfile=imx8mp-evk-basler-ov5640.dtb in uboot file .
0 项奖励
回复
377 次查看
srinivas_123
Contributor II
my fdtfile =imx8mp-evk.dtb
after running "fatls mmc 1:1"
it gives lots of dtb files . can you explain whether "imx8mp-evk-basler-ov5640.dtb" or "imx8mp-evk-os08a20-ov5640.dtb" files are read or not . is it required to change fdtfile=imx8mp-evk-basler-ov5640.dtb in uboot file
Hit any key to stop autoboot: 0
u-boot=>
u-boot=> fatls mmc 1:1
32856576 Image
58151 imx8mp-ab2.dtb
87685 imx8mp-evk-8mic-swpdm.dtb
87100 imx8mp-evk-basler-ov2775.dtb
86771 imx8mp-evk-basler-ov5640.dtb
85910 imx8mp-evk-basler.dtb
86823 imx8mp-evk-dpdk.dtb
66170 imx8mp-evk-dsp.dtb
86745 imx8mp-evk-dual-basler.dtb
86682 imx8mp-evk-dual-os08a20.dtb
86858 imx8mp-evk-dual-ov2775.dtb
86748 imx8mp-evk-ecspi-slave.dtb
86911 imx8mp-evk-flexcan2.dtb
88590 imx8mp-evk-hifiberry-dacplus.dtb
3059 imx8mp-evk-inmate.dtb
88089 imx8mp-evk-iqaudio-dacplus.dtb
88089 imx8mp-evk-iqaudio-dacpro.dtb
86963 imx8mp-evk-it6263-lvds-dual-channel.dtb
86786 imx8mp-evk-jdi-wuxga-lvds-panel.dtb
86991 imx8mp-evk-ndm.dtb
87119 imx8mp-evk-os08a20-ov5640.dtb
85973 imx8mp-evk-os08a20.dtb
87265 imx8mp-evk-ov2775-ov5640.dtb
87380 imx8mp-evk-ov2775.dtb
86911 imx8mp-evk-pcie-ep.dtb
89118 imx8mp-evk-revA3-8mic-revE.dtb
87446 imx8mp-evk-rm67191.dtb
87419 imx8mp-evk-rm67199.dtb
87895 imx8mp-evk-root.dtb
66874 imx8mp-evk-rpmsg-lpv.dtb
66898 imx8mp-evk-rpmsg.dtb
66247 imx8mp-evk-sof-pdm.dtb
66580 imx8mp-evk-sof-wm8960.dtb
86163 imx8mp-evk-spdif-lb.dtb
88743 imx8mp-evk-usdhc1-m2.dtb
86805 imx8mp-evk.dtb
8528 imx8mp_m7_TCM_hello_world.bin
139272 imx8mp_m7_TCM_low_power_wakeword.bin
20704 imx8mp_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin
20096 imx8mp_m7_TCM_rpmsg_lite_str_echo_rtos.bin
56556 imx8mp_m7_TCM_sai_low_power_audio.bin
574328 tee.bin
System Volume Information/
56 .dropbox.device

43 file(s), 1 dir(s)
0 项奖励
回复
372 次查看
srinivas_123
Contributor II
i am connecting 0v5640 camera sensor to CSI2-MIPI interface
0 项奖励
回复