[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CADf4wU-h45AH4hBXKh_0v46nDFm9SUWhCLuJxNFKY2k5a7P_+g@mail.gmail.com>
Date: Tue, 27 May 2025 10:48:56 +0530
From: hiren vadukul <vadukulhiren09@...il.com>
To: linux-kernel@...r.kernel.org
Subject: OV5695 Camera Bring-Up Issue on i.MX8ULP – Half Image Black
Hello,
I'm Hiren, currently working on bringing up the OV5695 camera on the
i.MX8ULP board. Currently, I’m able to capture 10-bit raw images at
1920x1080 resolution. However, when I open the image in a viewer, the right
half appears completely black.
Below, I’ve provided the kernel version, the commands to link the camera
with the ISI and CSI pipelines, and the dumped image for reference.
*kernel version:- Linux nxp-imx 6.12.3*
*Command:- $ media-ctl -p*
Media controller API version 6.12.3
Media device information
------------------------
driver mxc-isi
model FSL Capture Media Device
serial
bus info platform:2dac0000.isi
hw revision 0x0
driver version 6.12.3
Device topology
- entity 1: crossbar (3 pads, 3 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
routes:
0/0 -> 2/0 [ACTIVE]
pad0: SINK,MUST_CONNECT
[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none
colorspace:raw quantization:full-range]
<- "imx8mq-mipi-csi2 2daf0000.csi":1 [ENABLED,IMMUTABLE]
pad1: SINK,MUST_CONNECT
<- "mxc_isi.output":0 [ENABLED,IMMUTABLE]
pad2: SOURCE
[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none
colorspace:raw quantization:full-range]
-> "mxc_isi.0":0 [ENABLED,IMMUTABLE]
- entity 5: mxc_isi.0 (2 pads, 2 links, 0 routes)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: SINK
[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none
colorspace:raw quantization:full-range
compose.bounds:(0,0)/1920x1080
compose:(0,0)/1920x1080]
<- "crossbar":2 [ENABLED,IMMUTABLE]
pad1: SOURCE
[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none
colorspace:raw quantization:full-range
crop.bounds:(0,0)/1920x1080
crop:(0,0)/1920x1080]
-> "mxc_isi.0.capture":0 [ENABLED,IMMUTABLE]
- entity 8: mxc_isi.0.capture (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: SINK
<- "mxc_isi.0":1 [ENABLED,IMMUTABLE]
- entity 16: mxc_isi.output (1 pad, 1 link)
type Node subtype V4L flags 0
pad0: SOURCE
-> "crossbar":1 [ENABLED,IMMUTABLE]
- entity 23: imx8mq-mipi-csi2 2daf0000.csi (2 pads, 2 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
routes:
0/0 -> 1/0 [ACTIVE]
pad0: SINK,MUST_CONNECT
[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none
colorspace:raw quantization:full-range]
<- "ov5695 7-0036":0 [ENABLED,IMMUTABLE]
pad1: SOURCE,MUST_CONNECT
[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none
colorspace:raw quantization:full-range]
-> "crossbar":0 [ENABLED,IMMUTABLE]
- entity 28: ov5695 7-0036 (1 pad, 1 link, 0 routes)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev3
pad0: SOURCE
[stream:0 fmt:SBGGR10_1X10/1920x1080 field:none]
-> "imx8mq-mipi-csi2 2daf0000.csi":0 [ENABLED,IMMUTABLE]
*Command:- v4l2-ctl -d /dev/video0 --all *Driver Info:
Driver name : mxc-isi
Card type : mxc-isi-cap
Bus info : platform:2dac0000.isi
Driver version : 6.12.3
Capabilities : 0xa4201000
Video Capture Multiplanar
I/O MC
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x24201000
Video Capture Multiplanar
I/O MC
Streaming
Extended Pix Format
Media Driver Info:
Driver name : mxc-isi
Model : FSL Capture Media Device
Serial :
Bus info : platform:2dac0000.isi
Media version : 6.12.3
Hardware revision: 0x00000000 (0)
Driver version : 6.12.3
Interface Info:
ID : 0x0300000a
Type : V4L Video
Entity Info:
ID : 0x00000008 (8)
Name : mxc_isi.0.capture
Function : V4L2 I/O
Pad 0x01000009 : 0: Sink
Link 0x0200000c: from remote pad 0x1000007 of entity 'mxc_isi.0'
(Video Pixel Formatter): Data, Enabled, Immutable
Priority: 2
Video input : 0 (mxc_isi.0.capture: ok)
Format Video Capture Multiplanar:
Width/Height : 1920/1080
Pixel Format : 'BG10' (10-bit Bayer BGBG/GRGR)
Field : None
Number of planes : 1
Flags : set-csc
Colorspace : sRGB
Transfer Function : sRGB
YCbCr/HSV Encoding: ITU-R 601
Quantization : Full Range
Plane 0 :
Bytes per Line : 3840
Size Image : 4147200
User Controls
horizontal_flip 0x00980914 (bool) : default=0 value=0
vertical_flip 0x00980915 (bool) : default=0 value=0
alpha_component 0x00980929 (int) : min=0 max=255 step=1
default=0 value=0
Please let me know if you need any additional information. I look forward
to your feedback. Thank you.
Best Regards,
Hiren Vadukul
Content of type "text/html" skipped
Download attachment "Half_image.raw" of type "image/x-panasonic-rw" (4147200 bytes)
Powered by blists - more mailing lists