I want to acquire bayer data from jetson xavier board and IMX415 camera. I’m using Kernel version 4.9.140, and I haven’t found a way to acquire Bayer data in that version. The example program using CUDA included information about acquiring Bayer data, so when I tried to update it, it failed to boot. Afterwards, I installed the latest version of the kernel and tried to install the IMX415 camera’s device tree and the IMX 415 camera module, but it failed.
Anyway I was wondering if there is a way to get Bayer data while maintaining Kernel version 4.9.140.
the quickest approach is Applications Using V4L2 IOCTL Directly.
for instance, you may examine the sensor format dump by… $ v4l2-ctl -d /dev/video0 --list-formats-ext
please assign the sensor supported formats, and running with v4l2 IOCTL to fetch the raw content, $ v4l2-ctl -d /dev/video0 --set-fmt-video=width=2592,height=1944,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw