This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-TDA4VM: stuck in DQBUF

Genius 13655 points
Part Number: SK-TDA4VM

Hello Champs,

sdk:  ti-processor-sdk-linux-j7-evm-08_06_01_02

Camera:imx219

Customer has referenced below document to configure the imx219:In /run/media/mmcblk0p1/uEnv.txt, modify name_overlays=k3-j721e-sk-rpi-cam-imx219.dtbo

https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-edgeai/TDA4VM/08_06_01/exports/docs/devices/TDA4VM/linux/getting_started.html#rpiv2-imx219-raw-sensor:~:text=found%20under%20/boot.-,2.1.4.%20RPiV2(IMX219)%20Raw%20sensor,-RPiV2%20camera%20module

Problem: using v4l2 API ,format:V4L2_PIX_FMT_SRGGB8,width:640,height:480, it prompted: stuck in DQBUF

root@tda4vm-sk:/home# gcc camera.c
root@tda4vm-sk:/home# ./a.out
Open /dev/video2 succeed - 3

Open /dev/v4l-subdev2 succeed

------- VIDIOC_QUERYCAP ----
driver: j721e-csi2rx
card: j721e-csi2rx
bus_info: platform:4500000.ticsi2rx
version: 5.10.162
capabilities: A5200001
Video Capture
Read / Write
Streaming

VIDIOC_S_FMT succeed!
width 640, height 480, size 307200, bytesperline 640, format RGGB

VIDIOC_REQBUFS succeed!

Memory map succeed!

VIDIOC_QBUF succeed!

VIDIOC_STREAMON succeed!

 

1. Is there something missed when configuring the imx210?

2. Does it need to configure the CSI?

3. How to resolve the DQBUF issue?



Thanks
Regards
Shine

  • Hi Shine,

    Do you experience any issues when using IMX219 in the out-of-box Edge AI gallery GUI or when running a python/c++ based demos with the IMX219 yaml file? Your configuration for IMX219 looks correct. Just make sure that you do not delete k3-j721e-edgeai-apps.dtbo in the name_overlays line in the uEnv.txt file.

    Thank you,

    Fabiana