kernel icon indicating copy to clipboard operation
kernel copied to clipboard

rkisp1: MIPI mis error: 0x00010000

Open GeekerFeng opened this issue 5 years ago • 3 comments

run shell v4l2-ctl -d /dev/video0 --set-selection=target=crop,width=640,height=320 --set-fmt-video=width=640,height=320,pixelformat=NV21 --stream-mmap --stream-to=mp.out

when run over start_stream ,an error occurred “rkisp1: MIPI mis error: 0x00010000” and "rkisp1 ff920000.rkisp1: can not get first iq setting in stream on" It is read from the register, but I can't see the detailed register information in the datasheet

log [ 48.103339] ISL79987 4-003d: ========> isl79987_s_power 1371 [ 48.103927] ISL79987 4-003d: ========> isl79987_runtime_resume 1568 [ 48.108656] ISL79987 4-003d: ========> isl79987_get_fmt 1041 [ 48.109490] rkisp1 ff920000.rkisp1: can not get first iq setting in stream on [ 48.112505] ISL79987 4-003d: ========> isl79987_s_stream 1332 [ 48.113070] ISL79987 4-003d: ========> __isl79987_start_stream 1216 [ 48.187377] rkisp1: MIPI mis error: 0x00010000

GeekerFeng avatar Jan 02 '20 01:01 GeekerFeng

Did you ever figure out what was going on?

I can confirm I'm having the same issue with an OV2740 image sensor operating 1920x1080x10-bit RAW @ 60 fps. I'm using 2-lane mode with a 400 MHz clock (800 Mbps transfer rate). I've verified the correct number of lanes and correct frequencies are being output.

[  364.391006] rkisp1: waiting on params stream on event timeout
[  364.391597] rkisp1 ff4a0000.rkisp1: can not get first iq setting in stream on
[  364.392419] rkisp1: MIPI error: err2: 0x00010000[/b]
[  364.394693] rockchip-mipi-dphy-rx ff2f0000.mipi-dphy-rx0: data rate hsfreq range set to 899 mbps
[  364.395541] rockchip-mipi-dphy-rx ff2f0000.mipi-dphy-rx0: enabled 2 lanes for reception
[  364.396334] ov2740 2-0030: __ov2740_start_stream() called
[  364.396898] ov2740 2-0030: ov2740_set_ctrl() V4L2_CID_VBLANK called
[  364.397504] ov2740 2-0030: ov2740_set_ctrl() V4L2_CID_VBLANK=8
[  364.399508] ov2740 2-0030: ov2740_set_ctrl() V4L2_CID_EXPOSURE=1080
[  364.401722] ov2740 2-0030: ov2740_set_ctrl() V4L2_CID_ANALOGUE_GAIN=16
[  364.402412] ov2740 2-0030: ov2740_set_ctrl() V4L2_CID_TEST_PATTERN called
[  364.403109] ov2740 2-0030: Disabling test pattern
select timeout
[  367.410019] rkisp1: waiting on event return error 0
[  367.411561] rockchip-mipi-dphy-rx ff2f0000.mipi-dphy-rx0: disabled reception
[  367.412254] ov2740 2-0030: __ov2740_stop_stream() called
[  367.430933] ov2740 2-0030: ov2740_s_power() called

jaydcarlson avatar Oct 05 '20 16:10 jaydcarlson

It may be a clock problem

GeekerFeng avatar Oct 12 '20 05:10 GeekerFeng

This MIS errors are must belong to your camera driver register configured to different clock base. You need right clock matching with rk3399 ( 40MHz ? ) for MIPI register configuration of camera driver.

rageworx avatar Apr 12 '23 06:04 rageworx