superxs 发表于 2024-5-23 10:35:27

RV1126抓取豪威ov02b1b摄像头原图格式不对问题

    大家好, 目前用RV1126平台(内核4.19, SDK是V2.2.4_20211019),移植豪威ov02b1b摄像头驱动,整体流程已经打通,RV1126与ov02b1b摄像头的I2C通信正常,
使用v4l2命令可以抓到raw原图,借助第三方工具打开查看,图片中仅能看到些条纹,不是一张正确的图像,日志中也没有查到明显的报错信息;
    驱动层使用的pix format参数类型为MEDIA_BUS_FMT_SBGGR8_1X8,想请教大家这种情况一般是什么原因造成的?猜测是不是RV1126底层参数不匹配,从而导致没有把摄像头采集的数据正确处理?


摄像头主要参数:
Resolution:1600*1300
Interface: MIPI
MIPI Lane number: 2 lane
MIPI data rate: 800M
Bit: RAW 8
Mode: linear


抓图命令:


v4l2-ctl -d /dev/video0 --set-fmt-video=width=1600,height=1300,pixelformat=BA81 --stream-mmap=3 --stream-skip=1 --stream-to=/oem/test-raw.out --stream-count=1 --stream-poll






内核日志:
Aug4 10:31:17 RV1126_RV1109 user.warn kernel: [ 5475.364057] clk_mipicsi_out2io_fracdiv p_rate(297000000) is low than rate(24000000)*20, use integer or half-div
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367055] videodev: v4l2_open: video0: open (0)
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367120] video0: VIDIOC_QUERYCAP: driver=rkcif, card=rkcif, bus=platform:rkcif_mipi_lvds, version=0x0004136f, capabilities=0x84201000, device_caps=0x04201000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367145] video0: VIDIOC_QUERY_EXT_CTRL: error -25: id=0xc0000000, type=0, name=, min/max=0/0, step=0, default=0, flags=0x00000000, elem_size=0, elems=0, nr_of_dims=0, dims=0,0,0,0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367167] video0: VIDIOC_TRY_EXT_CTRLS: error -25: which=0x0, count=0, error_idx=0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367179] video0: VIDIOC_QUERYCTRL: error -25: id=0x80000000, type=0, name=, min/max=0/0, step=0, default=0, flags=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367193] video0: VIDIOC_G_SELECTION: type=vid-cap, target=0, flags=0x0, wxh=1600x1300, x,y=0,0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367207] video0: VIDIOC_QUERYCAP: driver=rkcif, card=rkcif, bus=platform:rkcif_mipi_lvds, version=0x0004136f, capabilities=0x84201000, device_caps=0x04201000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367463] video0: VIDIOC_QUERY_EXT_CTRL: error -25: id=0xc0000000, type=0, name=, min/max=0/0, step=0, default=0, flags=0x00000000, elem_size=0, elems=0, nr_of_dims=0, dims=0,0,0,0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367480] video0: VIDIOC_QUERYCTRL: error -25: id=0xc0000000, type=0, name=, min/max=0/0, step=0, default=0, flags=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367492] video0: VIDIOC_QUERYCTRL: error -25: id=0x980900, type=0, name=, min/max=0/0, step=0, default=0, flags=0x00000000Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.367996] video0: VIDIOC_G_FMT: type=vid-cap-mplane, width=1600, height=1300, format=GREY, field=none, colorspace=0, num_planes=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.368012] plane 0: bytesperline=1792 sizeimage=2329600
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.368027] rkcif_mipi_lvds: remote fmt: mbus code:0x3001, size:1600x1300, field: 1
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.368055] rkcif_mipi_lvds: C-Plane 0 size: 2329600, Total imagesize: 2329600
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.368069] rkcif_mipi_lvds: rkcif_set_fmt: req(1600, 1300) out(1600, 1300)
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.368078] video0: VIDIOC_S_FMT: type=vid-cap-mplane, width=1600, height=1300, format=BA81, field=none, colorspace=0, num_planes=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.368091] plane 0: bytesperline=1792 sizeimage=2329600
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.368146] video0: VIDIOC_SUBSCRIBE_EVENT: error -25: type=0x2, id=0x0, flags=0x0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.368158] video0: VIDIOC_SUBSCRIBE_EVENT: error -25: type=0x5, id=0x0, flags=0x0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.368168] video0: VIDIOC_G_INPUT: error -25: value=0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.371305] rkcif_mipi_lvds: vid-cap-mplane count 3, size 2379776, extended(1, 1)
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374440] video0: VIDIOC_REQBUFS: count=3, type=vid-cap-mplane, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374481] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap-mplane, flags=0x00002000, field=any, sequence=0, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374499] plane 0: bytesused=0, data_offset=0x00000000, offset/userptr=0x0, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374505] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374520] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap-mplane, flags=0x00002000, field=any, sequence=0, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374533] plane 0: bytesused=0, data_offset=0x00000000, offset/userptr=0x245000, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374538] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374547] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap-mplane, flags=0x00002000, field=any, sequence=0, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374561] plane 0: bytesused=0, data_offset=0x00000000, offset/userptr=0x48a000, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.374565] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.375149] videodev: v4l2_mmap: video0: mmap (0)
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.375875] videodev: v4l2_mmap: video0: mmap (0)
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.376462] videodev: v4l2_mmap: video0: mmap (0)
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.376729] video0: VIDIOC_QBUF: 00:00:00.00000000 index=0, type=vid-cap-mplane, flags=0x00002003, field=any, sequence=0, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.376748] plane 0: bytesused=0, data_offset=0x00000000, offset/userptr=0x0, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.376753] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.376989] video0: VIDIOC_QBUF: 00:00:00.00000000 index=1, type=vid-cap-mplane, flags=0x00002003, field=any, sequence=0, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.377002] plane 0: bytesused=0, data_offset=0x00000000, offset/userptr=0x245000, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.377007] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.377235] video0: VIDIOC_QBUF: 00:00:00.00000000 index=2, type=vid-cap-mplane, flags=0x00002003, field=any, sequence=0, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.377249] plane 0: bytesused=0, data_offset=0x00000000, offset/userptr=0x48a000, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.377254] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.377262] video0: VIDIOC_G_FMT: type=vid-cap-mplane, width=1600, height=1300, format=BA81, field=none, colorspace=0, num_planes=1, flags=0x0, ycbcr_enc=0, quantization=0, xfer_func=0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.377277] plane 0: bytesperline=1792 sizeimage=2329600
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.377407] rkcif_mipi_lvds: stream start streaming, irq_count=
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.377449] rkcif_mipi_lvds: remote fmt: mbus code:0x3001, size:1600x1300, field: 1
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.377463] rkcif_mipi_lvds: rkcif_create_dummy_buf
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.379640] rkcif_mipi_lvds: Allocate dummy buffer, size: 0x00238c00
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.379722] rkcif_mipi_lvds: write reg:0x70012 failed, maybe useless!!!
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.379760] rkcif_mipi_lvds: rkcif_pipeline_set_stream, num_subdevs=3, line
Aug4 10:31:17 RV1126_RV1109 user.err kernel: [ 5475.379781] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream on, src_sd: a65e9b1e, sd_name:rockchip-mipi-dphy-rx
Aug4 10:31:17 RV1126_RV1109 user.err kernel: [ 5475.379793] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream ON
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.379820] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.379834] rockchip-mipi-dphy-rx: data_rate_mbps 800
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.380871] rkcif_mipi_lvds: rkcif_pipeline_set_stream, subdev(rockchip-mipi-csi2), video_dev(rockchip-mipi-csi2), ops(47c9a0aa), ret=0, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.380884] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:1
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.380896] rkcif_mipi_lvds: rkcif_pipeline_set_stream, subdev(rockchip-mipi-dphy-rx), video_dev(rockchip-mipi-dphy-rx), ops(b597ecc0), ret=0, line
Aug4 10:31:17 RV1126_RV1109 user.err kernel: [ 5475.417628] ov02b1b 1-0010: ov02b1b_write_array end=0
Aug4 10:31:17 RV1126_RV1109 user.err kernel: [ 5475.418419] ov02b1b 1-0010: ov02b1b_s_stream,ret=0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.418453] rkcif_mipi_lvds: rkcif_pipeline_set_stream, subdev(m00_f_ov02b1b 1-0010), video_dev(m00_f_ov02b1b 1-0010), ops(1db4b2e9), ret=0, line
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.418483] video0: VIDIOC_STREAMON: type=vid-cap-mplane
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.418565] videodev: v4l2_poll: video0: poll: 00000000
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.418739] rkcif_mipi_lvds: rkcif_irq_pingpong: irq_count:1, mbus->type=4
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.418770] rkcif_mipi_lvds: rkcif_irq_pingpong: intstat:1, lastline=0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.418803] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475316077072, intstat:0x00000001,line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.434448] rkcif_mipi_lvds: rkcif_irq_pingpong: irq_count:2, mbus->type=4
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.434497] rkcif_mipi_lvds: rkcif_irq_pingpong: intstat:100, lastline=0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.434526] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475331799074, intstat:0x00000100,line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.434558] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475331829699, mipi_id=0,streamId:0,frame_idx:0, line_int_cnt:0,line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.434600] rkcif_mipi_lvds: rkcif_update_stream: frame_idx=0, frame_phase=1, is_line_wake_up=0, buf_wake_up_cnt = 1, acvtive_buf=47921632, mipi_id=0, time=5475331862657, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.434633] rkcif_mipi_lvds: rkcif_assign_new_buffer_update:,frame_phase=1, retb=1, curr_buf=47921632, next_buf=8b127a45, time=5475331902324, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.434669] rkcif_mipi_lvds: rkcif_assign_new_buffer_update:,frame_phase=1, buffer=d713d166, addr=0x48a000, curr_buf=d713d166, next_buf=8b127a45, time=5475331935574, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.434696] rkcif_mipi_lvds: rkcif_update_stream: rkcif_assign_new_buffer_pingpong, ret=0, time=5475331970866, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.434722] rkcif_mipi_lvds: timestamp:5475331998574, sequence:0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.435323] rkcif_mipi_lvds: rkcif_irq_pingpong: irq_count:3, mbus->type=4
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.435352] rkcif_mipi_lvds: rkcif_irq_pingpong: intstat:2, lastline=0
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.435378] videodev: v4l2_poll: video0: poll: 00000041
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.435384] rkcif_mipi_lvds: rkcif_irq_pingpong: fs_cnt_in_single_frame:1
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.435397] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475332668824, intstat:0x00000002,line
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.435449] video0: VIDIOC_DQBUF: 01:31:15.00332022 index=0, type=vid-cap-mplane, flags=0x00002001, field=any, sequence=0, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.435481] plane 0: bytesused=2329600, data_offset=0x00000000, offset/userptr=0x0, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.435492] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.436033] video0: VIDIOC_QBUF: 00:00:00.00000000 index=0, type=vid-cap-mplane, flags=0x00002003, field=any, sequence=0, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.436064] plane 0: bytesused=2329600, data_offset=0x00000000, offset/userptr=0x0, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.436074] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.436196] videodev: v4l2_poll: video0: poll: 00000000
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451106] rkcif_mipi_lvds: rkcif_irq_pingpong: irq_count:4, mbus->type=4
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451157] rkcif_mipi_lvds: rkcif_irq_pingpong: intstat:200, lastline=0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451186] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475348459367, intstat:0x00000200,line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451216] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475348487951, mipi_id=0,streamId:0,frame_idx:1, line_int_cnt:0,line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451258] rkcif_mipi_lvds: rkcif_update_stream: frame_idx=1, frame_phase=2, is_line_wake_up=0, buf_wake_up_cnt = 2, acvtive_buf=8b127a45, mipi_id=0, time=5475348520034, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451291] rkcif_mipi_lvds: rkcif_assign_new_buffer_update:,frame_phase=2, retb=1, curr_buf=d713d166, next_buf=8b127a45, time=5475348560284, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451326] rkcif_mipi_lvds: rkcif_assign_new_buffer_update:,frame_phase=2, buffer=47921632, addr=0x0, curr_buf=d713d166, next_buf=47921632, time=5475348594409, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451354] rkcif_mipi_lvds: rkcif_update_stream: rkcif_assign_new_buffer_pingpong, ret=0, time=5475348628534, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451381] rkcif_mipi_lvds: timestamp:5475348657117, sequence:1
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.451965] videodev: v4l2_poll: video0: poll: 00000041
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451972] rkcif_mipi_lvds: rkcif_irq_pingpong: irq_count:5, mbus->type=4
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.451984] rkcif_mipi_lvds: rkcif_irq_pingpong: intstat:1, lastline=0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.452049] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475349319492, intstat:0x00000001,line
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.452052] video0: VIDIOC_DQBUF: 01:31:15.00348680 index=1, type=vid-cap-mplane, flags=0x00002001, field=any, sequence=1, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.452117] plane 0: bytesused=2329600, data_offset=0x00000000, offset/userptr=0x245000, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.452137] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.467620] rkcif_mipi_lvds: rkcif_irq_pingpong: irq_count:6, mbus->type=4
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.467652] rkcif_mipi_lvds: rkcif_irq_pingpong: intstat:100, lastline=0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.467664] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475364942619, intstat:0x00000100,line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.467676] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475364954286, mipi_id=0,streamId:0,frame_idx:2, line_int_cnt:0,line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.467697] rkcif_mipi_lvds: rkcif_update_stream: frame_idx=2, frame_phase=1, is_line_wake_up=0, buf_wake_up_cnt = 3, acvtive_buf=d713d166, mipi_id=0, time=5475364968286, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.467711] rkcif_mipi_lvds: rkcif_assign_new_buffer_update:,frame_phase=1, retb=0, curr_buf=d713d166, next_buf=47921632, time=5475364988119, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.467720] rkcif_mipi_lvds: not active buffer, skip current frame, mipi/lvds stream,line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.467730] rkcif_mipi_lvds: rkcif_update_stream: rkcif_assign_new_buffer_pingpong, ret=0, time=5475365009702, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.467739] rkcif_mipi_lvds: timestamp:5475365019327, sequence:2
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.468504] rkcif_mipi_lvds: rkcif_irq_pingpong: irq_count:7, mbus->type=4
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.468528] rkcif_mipi_lvds: rkcif_irq_pingpong: intstat:2, lastline=0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.468540] rkcif_mipi_lvds: rkcif_irq_pingpong: fs_cnt_in_single_frame:1
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.468549] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475365828119, intstat:0x00000002,line
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.471073] video0: VIDIOC_QBUF: 00:00:00.00000000 index=1, type=vid-cap-mplane, flags=0x00002003, field=any, sequence=0, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.471099] plane 0: bytesused=2329600, data_offset=0x00000000, offset/userptr=0x245000, length=2379776
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.471104] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.471155] rkcif_mipi_lvds: stream start stopping
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.484223] rkcif_mipi_lvds: rkcif_irq_pingpong: irq_count:8, mbus->type=4
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.484282] rkcif_mipi_lvds: rkcif_irq_pingpong: intstat:200, lastline=0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.484316] rkcif_mipi_lvds: rkcif_irq_pingpong info: time=5475381584829, intstat:0x00000200,line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.484493] rkcif_mipi_lvds: rkcif_pipeline_set_stream, num_subdevs=3, line
Aug4 10:31:17 RV1126_RV1109 user.err kernel: [ 5475.484564] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream off, src_sd: a65e9b1e, sd_name:rockchip-mipi-dphy-rx
Aug4 10:31:17 RV1126_RV1109 user.err kernel: [ 5475.484605] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream OFF
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.484644] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.485628] rkcif_mipi_lvds: rkcif_pipeline_set_stream, subdev(rockchip-mipi-csi2), video_dev(rockchip-mipi-csi2), ops(47c9a0aa), ret=0, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.485694] rockchip-mipi-dphy-rx ff4b0000.csi-dphy: stream on:0
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.485755] rkcif_mipi_lvds: rkcif_pipeline_set_stream, subdev(rockchip-mipi-dphy-rx), video_dev(rockchip-mipi-dphy-rx), ops(b597ecc0), ret=0, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.486622] rkcif_mipi_lvds: rkcif_pipeline_set_stream, subdev(m00_f_ov02b1b 1-0010), video_dev(m00_f_ov02b1b 1-0010), ops(1db4b2e9), ret=0, line
Aug4 10:31:17 RV1126_RV1109 user.info kernel: [ 5475.489315] rkcif_mipi_lvds: stream stopping finished
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.489379] video0: VIDIOC_STREAMOFF: type=vid-cap-mplane
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.489520] video0: VIDIOC_STREAMOFF: type=vid-cap-mplane
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.494039] video0: VIDIOC_REQBUFS: count=0, type=vid-cap-mplane, memory=mmap
Aug4 10:31:17 RV1126_RV1109 user.debug kernel: [ 5475.497782] videodev: v4l2_release: video0: release


页: [1]
查看完整版本: RV1126抓取豪威ov02b1b摄像头原图格式不对问题