Dear @Mani and @hipboi,
First of all, thank you both, and here my AIStarVision MIPI adapter v2.1 board pin configuration.
It was configured as @Mani’s instruction, and I can check what media controller connected with ‘media-ctl -p’
⚡ root@linaro-alip ~
> media-ctl -p
Media controller API version 0.1.0
Media device information
------------------------
driver rkisp1
model rkisp1
serial
bus info
hw revision 0x0
driver version 0.0.0
Device topology
- entity 1: rkisp1-isp-subdev (4 pads, 5 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
[fmt:SBGGR10_1X10/800x600 field:none
crop.bounds:(0,0)/800x600
crop:(0,0)/800x600]
<- "rockchip-sy-mipi-dphy":1 [ENABLED]
pad1: Sink
<- "rkisp1-input-params":0 [ENABLED]
pad2: Source
[fmt:YUYV8_2X8/800x600 field:none
crop.bounds:(0,0)/800x600
crop:(0,0)/800x600]
-> "rkisp1_selfpath":0 [ENABLED]
-> "rkisp1_mainpath":0 [ENABLED]
pad3: Source
-> "rkisp1-statistics":0 [ENABLED]
- entity 2: rkisp1_mainpath (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "rkisp1-isp-subdev":2 [ENABLED]
- entity 3: rkisp1_selfpath (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
<- "rkisp1-isp-subdev":2 [ENABLED]
- entity 4: rkisp1-statistics (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video2
pad0: Sink
<- "rkisp1-isp-subdev":3 [ENABLED]
- entity 5: rkisp1-input-params (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video3
pad0: Source
-> "rkisp1-isp-subdev":1 [ENABLED]
- entity 6: rockchip-sy-mipi-dphy (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
[fmt:UYVY8_2X8/1280x960 field:none]
<- "ov5645 2-003c":0 [ENABLED]
pad1: Source
[fmt:UYVY8_2X8/1280x960 field:none]
-> "rkisp1-isp-subdev":0 [ENABLED]
- entity 7: ov5645 2-003c (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev2
pad0: Source
[fmt:UYVY8_2X8/1280x960 field:none
crop:(0,0)/0x0]
-> "rockchip-sy-mipi-dphy":0 [ENABLED]
Then I could capture whole-green image thru YUYV8 in V4L2 testing program.
Is it meaning something wrong color space transform, or still nothing to get from sensor ? I’m not sure.
Is it working right?
There’s many error msgs on kernel debug as like this:
[ 836.040090] rkisp1: MIPI mis error: 0x00800000
[ 836.040532] rkisp1: MIPI mis error: 0x00800000
[ 836.105664] rkisp1: MIPI mis error: 0x00030000
[ 836.108805] rkisp1: MIPI mis error: 0x00100000
[ 848.289640] rkisp1: waiting on event return error 0
[ 848.523080] rkisp1: MIPI mis error: 0x00100000
[ 865.041455] rkisp1: waiting on event return error 0
[ 898.452390] rkisp1: waiting on event return error 0
[ 898.453379] rkisp1: MIPI mis error: 0x00030000
[ 916.374685] rkisp1: waiting on event return error 0
[ 1302.704288] rkisp1: MIPI mis error: 0x00030000
[ 1302.707263] rkisp1: MIPI mis error: 0x00100000
[ 1310.585477] rkisp1: waiting on event return error 0
[ 1348.469345] rkisp1: MIPI mis error: 0x00030000
[ 1348.472300] rkisp1: MIPI mis error: 0x00100000
[ 1355.086646] rkisp1: waiting on event return error 0
[ 1355.327983] rkisp1: MIPI mis error: 0x00030000
[ 1355.330951] rkisp1: MIPI mis error: 0x00100000
[ 1366.974607] rkisp1: waiting on event return error 0
[ 1366.975542] rkisp1: MIPI mis error: 0x00030000
Let me know am I did right way.
Regards, Raph.