Hello Dear Nvidia Community, I am looking for the V4L2 or other other driver command/script that will allow to configure the ISP for specific data type for example YUV or RAW10 and start the grabbing without configuring the sensor via I2C, as the MIPI CSI stream already configured and started in advance.
Is there a way to do that without modifiing existing sensor driver by removing the I2C part ?
may I know what’s the actual use-case?
could you please describe the flow, for example, what’s happening when software stack call s_stream to access the camera stream
I am using a custom camera with an onboard I2C master that configures the image sensor and starts the MIPI, on the jetson nano devkit side I am looking for the solution/command that can receive the preconfigured MIPI stream 1080@30 YUV via CSI-2 port without accessing the I2C, as the sensor already configured externally.
yes, it’s supported.
please consider it as YUV or USB camera. you may using v4l2src or nvv4l2camerasrc to access the camera stream.
here’s sample command-line for reference, $ gst-launch-1.0 nvv4l2camerasrc device=/dev/video1 ! 'video/x-raw(memory:NVMM), format=(string)UYVY, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, interlace-mode=progressive' ! nvvidconv ! nv3dsink -e
or, $ gst-launch-1.0 -v v4l2src device=/dev/video1 ! video/x-raw,framerate=30/1,width=640,height=480 ! xvimagesink
Hello @JerryChang - thank you again for your response and for providing commands.
Few questions:
By using v4l2src and nvv4l2camerasrc will I be able to access the CSI port on nano and leverage the ISP to handle the video stream ot this will bypass ISP?
Who is creating /dev/video1 note in this case in this case, how to configure the CSI bus width and lanes?
Below please find the ilustration of my setup, the custom camera configured externaly from separate microcontroller via I2C, the Jetson nano pysycaly connected only to CSI lines (data and clock).
And finally what is the difference between commands you shared with me and the driver modification approach to remove I2C , that many people are using to send MIPI CSI data from FPGA, in the end in both cases the MIPI stream preconfigured?