AM625: Support for IMX219 Rpi V2.1 with the Beagleplay board

Part Number: AM625

Tool/software:

Hello,

I am working with a BeaglePlay board and an IMX219 camera (Raspberry Pi V2.1 compatible). I have successfully added the relevant DTS and DTBO files for the camera in the /boot/ directory, along with configuring the extlinux.conf file accordingly. The camera is detected under /dev/video0, /dev/video1, /dev/video2, and /dev/video3, but I am encountering issues when attempting to use GStreamer for video capture.

When running the following GStreamer pipeline:
GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/videoX ! videoconvert ! autovideosink

ERROR "Failed to allocate memory."

Additionally, when I attempt to use OpenCV for video capture, I am facing memory allocation issues. I have tried using different video resolutions.

Any suggestions on how to resolve this issue or insights into what might be causing the memory allocation error would be greatly appreciated.

Thank you for your help!

Thanks and Regards

Mohit