[iMX8M EVK] ov5640 mipi driver - Raw8bit , base address switching Change Err.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[iMX8M EVK] ov5640 mipi driver - Raw8bit , base address switching Change Err.

1,339 Views
jhpark_vine
Contributor III

On a i.MX8M EVK ,  i run  below command  to stream a    video   from ov5640 camera  using MIPI CSI2

the streaming  have  Caught SIGSEGV .

why  colorimetry=(string)NULL  displays?   

what is " base address switching Change Err. " ? 

To stream a video with a Raw Bayer Pixel Format - 8 bit  ( "RAWRGB8 (SBGGR8)" )  with ov5640 camera , 

 

1. regarding  SBGGR8 Pixel format ,    mx6s_capture supports "RAWRGB8 (SBGGR8)"  default 

2. in  ov5640_mipi_v2.c  , i  added  MEDIA_BUS_FMT_SBGGR8_1X8  to  ov5640_colour_fmts  

 static const struct ov5640_datafmt ov5640_colour_fmts[] = {

{MEDIA_BUS_FMT_SBGGR8_1X8, V4L2_COLORSPACE_SRGB},

{MEDIA_BUS_FMT_YUYV8_2X8, V4L2_COLORSPACE_JPEG},

}; 

3.  setting RAW BGGR pixel format  at  0x4300 register of  ov5640 

static struct reg_value ov5640_init_setting_30fps_VGA[] = { 

......

{0x300e, 0x45, 0, 0}, {0x302e, 0x08, 0, 0}, { 0x4300, 0x00, 0, 0} /*{0x4300, 0x30, 0, 0} */, 

..... 

}

 

{0x3034, 0x18, 0, 0}, // MIPI mode: 8-bit

{0x4300, 0x00, 0, 0}, // Output data format: RAW BGGR

{0x501F, 0x03, 0, 0}, // ISP Format: ISP RAW (DPC)

============  running logs  from here  ============

#>   /unit_tests/V4L2/mx6s_v4l2_capture.out -d /dev/video0 -ow 640 -oh 480 -m 0 -of zzz4.yuv 

 

 

oot@imx8mqevk:~# [ 361.759601] mx6s-csi 30a90000.csi1_bridge: csi v4l2 busfreq high request.
[ 361.766678] [+] process: mx6s_v4l2_captu
[ 361.770743] [+] [debug] message [F: mx6s_csi_init, ::761]: caller:(v4l2_open+0xa8/0x120)
[ 361.778884] [+] process: mx6s_v4l2_captu
[ 361.782921] [+] [debug] message [F: mx6s_vidioc_querycap, ::1561]: caller:(v4l_querycap+0x68/0xd8)
[ 361.791933] [+] process: mx6s_v4l2_captu
[ 361.795969] [+] [debug] message [F: mx6s_vidioc_s_parm, ::1683]: caller:(v4l_s_parm+0x4c/0x60)
[ 361.804604] [+] process: mx6s_v4l2_captu
[ 361.808640] [+] [debug] message [F: ov5640_s_parm, ::1416]: caller:(mipi_csis_s_parm+0x68/0x88)
[ 361.817358] [+] process: mx6s_v4l2_captu
[ 361.821397] [+] [debug] message [F: ov5640_init_mode, ::1255]: caller:(ov5640_s_parm+0x130/0x168 [ov5640_camera_mipi_v2])
[ 361.835588] [+] process: mx6s_v4l2_captu
[ 361.839640] [+] [debug] message [F: ov5640_download_firmware, ::1044]: caller:(ov5640_init_mode+0x458/0x658 [ov5640_camera_mipi_v2])
[ 361.946404] [+] process: mx6s_v4l2_captu
[ 361.950456] [+] [debug] message [F: ov5640_set_virtual_channel, ::1027]: caller:(ov5640_s_parm+0x130/0x168 [ov5640_camera_mipi_v2])
[ 362.592888] [+] process: mx6s_v4l2_captu
[ 362.596960] [+] [debug] message [F: mx6s_vidioc_enum_fmt_vid_cap, ::1451]: caller:(v4l_enum_fmt+0xb0/0x1c68)
[ 362.606833] [+] process: mx6s_v4l2_captu
[ 362.610875] [+] [debug] message [F: ov5640_enum_mbus_code, ::1556]: caller:(call_enum_mbus_code+0x74/0x98)
[ 362.620599] [+] process: mx6s_v4l2_captu
[ 362.624643] [+] [debug] message [F: mx6s_vidioc_enum_framesizes, ::1699]: caller:(v4l_stub_enum_framesizes+0x3c/0x50)
[ 362.635292] [+] process: mx6s_v4l2_captu
[ 362.639349] [+] [debug] message [F: ov5640_enum_framesizes, ::1574]: caller:(call_enum_frame_size+0x74/0x98)
[ 362.649222] [+] process: mx6s_v4l2_captu
[ 362.653265] [+] [debug] message [F: mx6s_vidioc_s_fmt_vid_cap, ::1522]: caller:(v4l_s_fmt+0x308/0x568)
[ 362.662611] [+] process: mx6s_v4l2_captu
[ 362.666654] [+] [debug] message [F: mx6s_vidioc_try_fmt_vid_cap, ::1486]: caller:(mx6s_vidioc_s_fmt_vid_cap+0x88/0x340)
[ 362.677474] [+] process: mx6s_v4l2_captu
[ 362.681516] [+] [debug] message [F: ov5640_set_fmt, ::1494]: caller:(call_set_fmt+0x74/0x98)
[ 362.689990] [+] process: mx6s_v4l2_captu
[ 362.694032] [+] [debug] message [F: ov5640_set_fmt, ::1510]: caller:(call_set_fmt+0x74/0x98)
[ 362.702510] [+] process: mx6s_v4l2_captu
[ 362.706551] [+] [debug] message [F: ov5640_set_fmt, ::1515]: caller:(call_set_fmt+0x74/0x98)
[ 362.715032] mx6s-csi 30a90000.csi1_bridge: set to pixelformat 'RAWRGB8'
[ 362.721674] [+] process: mx6s_v4l2_captu
[ 362.725725] [+] [debug] message [F: mx6s_configure_csi, ::864]: caller:(v4l_s_fmt+0x308/0x568)
[ 362.734378] [+] process: mx6s_v4l2_captu
[ 362.738414] [+] [debug] message [F: mx6s_vidioc_g_parm, ::1673]: caller:(v4l_g_parm+0x64/0xf0)
[ 362.747076] [+] process: mx6s_v4l2_captu
[ 362.751120] [+] [debug] message [F: ov5640_g_parm, ::1365]: caller:(mipi_csis_g_parm+0x68/0x88)
[ 362.760413] [+] process: mx6s_v4l2_captu
[ 362.764447] [+] [debug] message [F: mx6s_vidioc_reqbufs, ::1390]: caller:(v4l_reqbufs+0x50/0x60)
[ 362.773273] [+] process: mx6s_v4l2_captu
[ 362.777318] [+] [debug] message [F: mx6s_videobuf_setup, ::680]: caller:(vb2_core_reqbufs+0xe4/0x478)
[ 362.786586] mx6s-csi 30a90000.csi1_bridge: count=3, size=0
[ 362.792103] size=307200
[ 362.799437] [+] process: mx6s_v4l2_captu
[ 362.803500] [+] [debug] message [F: mx6s_vidioc_querybuf, ::1402]: caller:(v4l_querybuf+0x4c/0x60)
[ 362.812594] vma start=0xffffb15dc000, size=307200, ret=0
[ 362.818139] [+] process: mx6s_v4l2_captu
[ 362.822182] [+] [debug] message [F: mx6s_vidioc_querybuf, ::1402]: caller:(v4l_querybuf+0x4c/0x60)
[ 362.831180] vma start=0xffffb1591000, size=307200, ret=0
[ 362.836697] [+] process: mx6s_v4l2_captu
[ 362.840740] [+] [debug] message [F: mx6s_vidioc_querybuf, ::1402]: caller:(v4l_querybuf+0x4c/0x60)
[ 362.849766] vma start=0xffffb1546000, size=307200, ret=0
[ 362.855275] [+] process: mx6s_v4l2_captu
[ 362.859312] [+] [debug] message [F: mx6s_vidioc_qbuf, ::1421]: caller:(v4l_qbuf+0x4c/0x60)
[ 362.867602] [+] process: mx6s_v4l2_captu
[ 362.871656] [+] [debug] message [F: mx6s_videobuf_prepare, ::704]: caller:(__buf_prepare+0x15c/0x398)
[ 362.880932] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_prepare (vb=0x000000007744b657) 0x000000005590ef16 0
[ 362.890878] [+] process: mx6s_v4l2_captu
[ 362.894930] [+] [debug] message [F: mx6s_vidioc_qbuf, ::1421]: caller:(v4l_qbuf+0x4c/0x60)
[ 362.903226] [+] process: mx6s_v4l2_captu
[ 362.907278] [+] [debug] message [F: mx6s_videobuf_prepare, ::704]: caller:(__buf_prepare+0x15c/0x398)
[ 362.916531] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_prepare (vb=0x00000000694899d9) 0x000000009cb304c4 0
[ 362.926474] [+] process: mx6s_v4l2_captu
[ 362.930525] [+] [debug] message [F: mx6s_vidioc_qbuf, ::1421]: caller:(v4l_qbuf+0x4c/0x60)
[ 362.938817] [+] process: mx6s_v4l2_captu
[ 362.942868] [+] [debug] message [F: mx6s_videobuf_prepare, ::704]: caller:(__buf_prepare+0x15c/0x398)
[ 362.952120] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_prepare (vb=0x00000000a5d1cf26) 0x000000002c863680 0
[ 362.962089] [+] process: mx6s_v4l2_captu
[ 362.966134] [+] [debug] message [F: mx6s_vidioc_streamon, ::1594]: caller:(v4l_streamon+0x3c/0x50)
[ 362.975133] [+] process: mx6s_v4l2_captu
[ 362.979174] [+] [debug] message [F: mx6s_videobuf_queue, ::739]: caller:(__enqueue_in_driver+0x64/0x180)
[ 362.988696] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_queue (vb=0x000000007744b657) 0x000000005590ef16 307200
[ 362.998915] [+] process: mx6s_v4l2_captu
[ 363.002951] [+] [debug] message [F: mx6s_videobuf_queue, ::739]: caller:(__enqueue_in_driver+0x64/0x180)
[ 363.012472] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_queue (vb=0x00000000694899d9) 0x000000009cb304c4 307200
[ 363.022690] [+] process: mx6s_v4l2_captu
[ 363.026727] [+] [debug] message [F: mx6s_videobuf_queue, ::739]: caller:(__enqueue_in_driver+0x64/0x180)
[ 363.036245] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_queue (vb=0x00000000a5d1cf26) 0x000000002c863680 307200
[ 363.046465] [+] process: mx6s_v4l2_captu
[ 363.050502] [+] [debug] message [F: mx6s_start_streaming, ::933]: caller:(vb2_start_streaming+0x7c/0x1d0)
[ 363.072576] [+] process: mx6s_v4l2_captu
[ 363.076639] [+] [debug] message [F: ov5640_s_stream, ::1683]: caller:(mipi_csi2_s_stream+0x350/0x438)
[ 363.085894] ov5640_mipi 1-003c: s_stream: 1
[ 363.090803] [+] process: mx6s_v4l2_captu
[ 363.094876] [+] [debug] message [F: mx6s_vidioc_dqbuf, ::1433]: caller:(v4l_dqbuf+0x4c/0x60)
[ 363.126127] [+] process: swapper/0
[ 363.129630] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.162682] [+] process: swapper/0
[ 363.166181] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.176354] [+] process: swapper/0
[ 363.179848] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 363.189595] mx6s-csi 30a90000.csi1_bridge: mx6s_csi_frame_done (vb=0x000000007744b657) 0x000000005590ef16 307200
[ 363.199799] [+] process: swapper/0
[ 363.203291] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.205143] [+] process: mx6s_v4l2_captu
[ 363.213464] base address switching Change Err.
[ 363.221980] [+] [debug] message [F: mx6s_vidioc_qbuf, ::1421]: caller:(v4l_qbuf+0x4c/0x60)
[ 363.230281] [+] process: mx6s_v4l2_captu
[ 363.234319] [+] [debug] message [F: mx6s_videobuf_prepare, ::704]: caller:(__buf_prepare+0x15c/0x398)
[ 363.235313] [+] process: swapper/0
[ 363.243578] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_prepare (vb=0x000000007744b657) 0x000000005590ef16 0
[ 363.247025] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.267163] [+] process: mx6s_v4l2_captu
[ 363.271204] [+] [debug] message [F: mx6s_videobuf_queue, ::739]: caller:(__enqueue_in_driver+0x64/0x180)
[ 363.271878] [+] process: swapper/0
[ 363.280726] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_queue (vb=0x000000007744b657) 0x000000005590ef16 307200
[ 363.284171] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.284173] skip frame 0
[ 363.307078] [+] process: mx6s_v4l2_captu
[ 363.308883] [+] process: swapper/0
[ 363.311130] [+] [debug] message [F: mx6s_vidioc_dqbuf, ::1433]: caller:(v4l_dqbuf+0x4c/0x60)
[ 363.314576] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.314580] base address switching Change Err.
[ 363.345009] [+] process: swapper/0
[ 363.348504] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.382096] [+] process: swapper/0
[ 363.385594] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.395767] skip frame 0
[ 363.418142] [+] process: swapper/0
[ 363.421638] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.431813] base address switching Change Err.
[ 363.454708] [+] process: swapper/0
[ 363.458204] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.491772] [+] process: swapper/0
[ 363.495270] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.505443] skip frame 0
[ 363.527840] [+] process: swapper/0
[ 363.531337] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.541512] base address switching Change Err.
[ 363.564920] [+] process: swapper/0
[ 363.568417] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.601479] [+] process: swapper/0
[ 363.604977] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.615149] skip frame 0
[ 363.638037] [+] process: swapper/0
[ 363.641535] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.651709] base address switching Change Err.
[ 363.674596] [+] process: swapper/0
[ 363.678092] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.711186] [+] process: swapper/0
[ 363.714684] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.724856] skip frame 0
[ 363.747744] [+] process: swapper/0
[ 363.751242] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.761417] base address switching Change Err.
[ 363.783799] [+] process: swapper/0
[ 363.787296] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.820863] [+] process: swapper/0
[ 363.824360] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.834532] skip frame 0
[ 363.857451] [+] process: swapper/0
[ 363.860949] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.871124] base address switching Change Err.
[ 363.894009] [+] process: swapper/0
[ 363.897508] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.930568] [+] process: swapper/0
[ 363.934067] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.944238] skip frame 0
[ 363.967127] [+] process: swapper/0
[ 363.970626] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 363.980800] base address switching Change Err.
[ 364.003717] [+] process: swapper/0
[ 364.007215] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.040275] [+] process: swapper/0
[ 364.043773] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.053946] skip frame 0
[ 364.076856] [+] process: swapper/0
[ 364.080352] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.090528] base address switching Change Err.
[ 364.112891] [+] process: swapper/0
[ 364.116387] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.149951] [+] process: swapper/0
[ 364.153449] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.163622] skip frame 0
[ 364.186541] [+] process: swapper/0
[ 364.190039] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.200214] base address switching Change Err.
[ 364.223099] [+] process: swapper/0
[ 364.226598] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.259658] [+] process: swapper/0
[ 364.263157] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.273328] skip frame 0
[ 364.296217] [+] process: swapper/0
[ 364.299715] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.309888] base address switching Change Err.
[ 364.332806] [+] process: swapper/0
[ 364.336305] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.369365] [+] process: swapper/0
[ 364.372863] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.383034] skip frame 0
[ 364.405924] [+] process: swapper/0
[ 364.409422] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.419596] base address switching Change Err.
[ 364.441983] [+] process: swapper/0
[ 364.445480] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.478548] [+] process: swapper/0
[ 364.482046] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.492218] skip frame 0
[ 364.515630] [+] process: swapper/0
[ 364.519128] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.529303] base address switching Change Err.
[ 364.552189] [+] process: swapper/0
[ 364.555686] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.588245] [+] process: swapper/0
[ 364.591742] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.601915] skip frame 0
[ 364.625306] [+] process: swapper/0
[ 364.628803] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.638978] base address switching Change Err.
[ 364.661896] [+] process: swapper/0
[ 364.665394] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.698454] [+] process: swapper/0
[ 364.701953] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.712124] skip frame 0
[ 364.735014] [+] process: swapper/0
[ 364.738512] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.748687] base address switching Change Err.
[ 364.771572] [+] process: swapper/0
[ 364.775070] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.808161] [+] process: swapper/0
[ 364.811660] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.821831] skip frame 0
[ 364.844719] [+] process: swapper/0
[ 364.848218] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.858392] base address switching Change Err.
[ 364.881279] [+] process: swapper/0
[ 364.884777] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.917839] [+] process: swapper/0
[ 364.921338] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.931510] skip frame 0
[ 364.954396] [+] process: swapper/0
[ 364.957894] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 364.968069] base address switching Change Err.
[ 364.990985] [+] process: swapper/0
[ 364.994482] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.027546] [+] process: swapper/0
[ 365.031046] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.041217] skip frame 0
[ 365.064103] [+] process: swapper/0
[ 365.067603] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.077776] base address switching Change Err.
[ 365.100684] [+] process: swapper/0
[ 365.104181] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.137251] [+] process: swapper/0
[ 365.140748] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.150921] skip frame 0
[ 365.173809] [+] process: swapper/0
[ 365.177309] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.187483] base address switching Change Err.
[ 365.210369] [+] process: swapper/0
[ 365.213867] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.246927] [+] process: swapper/0
[ 365.250425] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.260596] skip frame 0
[ 365.283517] [+] process: swapper/0
[ 365.287014] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.297189] base address switching Change Err.
[ 365.319560] [+] process: swapper/0
[ 365.323057] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.356636] [+] process: swapper/0
[ 365.360134] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.370305] skip frame 0
[ 365.393193] [+] process: swapper/0
[ 365.396691] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.406866] base address switching Change Err.
[ 365.429751] [+] process: swapper/0
[ 365.433248] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.465823] [+] process: swapper/0
[ 365.469320] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.479492] skip frame 0
[ 365.502900] [+] process: swapper/0
[ 365.506398] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.516573] base address switching Change Err.
[ 365.539460] [+] process: swapper/0
[ 365.542958] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.576017] [+] process: swapper/0
[ 365.579515] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.589688] skip frame 0
[ 365.612609] [+] process: swapper/0
[ 365.616109] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 365.626284] base address switching Change Err.
[ 365.648860] [+] process: swapper/0
[ 365.652357] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)

 

============= another log  ===============

#> gst-launch-1.0 -v v4l2src ! "video/x-bayer,format=bggr,width=1280,height=720,framerate=30/1" ! bayer2rgb ! videoconvert ! autovideosink sync=false 

 

Setting pipeline to PAUSED ...
[ 1235.057657] [+] process: v4l2src0:src
Pipeline is live and does not nee[ 1235.061468] [+] [debug] message [F: mx6s_vidioc_enum_fmt_vid_cap, ::1436]: caller:(v4l_enum_fmt+0xb0/0x1c68)
[ 1235.074140] [+] process: v4l2src0:src
d PREROLL ...
Setting pipeline t[ 1235.077921] [+] [debug] message [F: ov5640_enum_mbus_code, ::1540]: caller:(call_enum_mbus_code+0x74/0x98)
o PLAYING ...
New clock: GstSyst[ 1235.090469] [+] process: v4l2src0:src
emClock
[ 1235.097047] [+] [debug] message [F: mx6s_vidioc_enum_fmt_vid_cap, ::1436]: caller:(v4l_enum_fmt+0xb0/0x1c68)
[ 1235.107650] [+] process: v4l2src0:src
[ 1235.111425] [+] [debug] message [F: ov5640_enum_mbus_code, ::1540]: caller:(call_enum_mbus_code+0x74/0x98)
[ 1235.121118] [+] process: v4l2src0:src
[ 1235.124918] [+] [debug] message [F: mx6s_vidioc_enum_fmt_vid_cap, ::1436]: caller:(v4l_enum_fmt+0xb0/0x1c68)
[ 1235.137070] [+] process: v4l2src0:src
[ 1235.140859] [+] [debug] message [F: mx6s_vidioc_try_fmt_vid_cap, ::1471]: caller:(v4l_try_fmt+0x28c/0x558)
[ 1235.150559] [+] process: v4l2src0:src
[ 1235.154343] [+] [debug] message [F: ov5640_set_fmt, ::1481]: caller:(call_set_fmt+0x74/0x98)
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = vi[ 1235.168203] [+] process: v4l2src0:src
deo/x-bayer, format=(string)bggr,[ 1235.172478] [+] [debug] message [F: mx6s_vidioc_try_fmt_vid_cap, ::1471]: caller:(mx6s_vidioc_s_fmt_vid_cap+0x3c/0x288)
[ 1235.186111] [+] process: v4l2src0:src
width=(int)1280, height=(int)720[ 1235.189892] [+] [debug] message [F: ov5640_set_fmt, ::1481]: caller:(call_set_fmt+0x74/0x98)
, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)NULL, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-bayer, format=(string)bggr, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)NULL, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstBayer2RGB:bayer2rgb0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx, colorimetry=(string)NULL
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx, colorimetry=(string)NULL
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx, colorimetry=(string)NULL
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstWaylandSink:autovideosink0-actual-sink-wayland.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx, colorimetry=(string)NULL
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx, colorimetry=(string)NULL
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)BGRx, colorimetry=(string)NULL
/GstPipeline:pipeline0/GstBayer2RGB:bayer2rgb0.GstPad:sink: caps = video/x-bayer, format=(string)bggr, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)NULL, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-bayer, format=(string)bggr, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)NULL, interlace-mode=(string)progressive
Caught SIGSEGV
#0 0x0000ffffbc64c72c in __GI___poll (fds=0x3afc2e10, nfds=2,
#1 0x0000ffffbc76dd60 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x0000ffffbc76e188 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0x0000ffffbc9055fc in gst_bus_poll () from /usr/lib/libgstreamer-1.0.so.0
#4 0x0000000000404858 in ?? ()
#5 0x00000000004036a0 in ?? ()
#6 0x0000ffffbc5ab3ac in __libc_start_main (main=0x4032c0, argc=12,
#7 0x0000000000403d38 in ?? ()
Spinning. Please run 'gdb gst-launch-1.0 664' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

 

when i run  a following  command  

it works  good  without error . 

#>  gst-launch-1.0 -v v4l2src ! "video/x-raw, width=1280,height=720,framerate=30/1" ! videoconvert ! autovideosink sync=false  

 

Setting pipeline to PAUSED ...
Pipeline is live and does not nee[ 2188.359725] [+] process: v4l2src0:src
d PREROLL ...
[ 2188.366249] [+] [debug] message [F: mx6s_vidioc_enum_fmt_vid_cap, ::1436]: caller:(v4l_enum_fmt+0xb0/0x1c68)
Setting pipeline to PLAYING ...
[ 2188.377352] [+] process: v4l2src0:src
New clock: GstSystemClock[ 2188.383971] [+] [debug] message [F: ov5640_enum_mbus_code, ::1540]: caller:(call_enum_mbus_code+0x74/0x98)

[ 2188.395809] [+] process: v4l2src0:src
[ 2188.399712] [+] [debug] message [F: mx6s_vidioc_enum_fmt_vid_cap, ::1436]: caller:(v4l_enum_fmt+0xb0/0x1c68)
[ 2188.409592] [+] process: v4l2src0:src
[ 2188.413394] [+] [debug] message [F: ov5640_enum_mbus_code, ::1540]: caller:(call_enum_mbus_code+0x74/0x98)
[ 2188.423116] [+] process: v4l2src0:src
[ 2188.426889] [+] [debug] message [F: mx6s_vidioc_enum_fmt_vid_cap, ::1436]: caller:(v4l_enum_fmt+0xb0/0x1c68)
[ 2188.438915] [+] process: v4l2src0:src
[ 2188.442694] [+] [debug] message [F: mx6s_vidioc_try_fmt_vid_cap, ::1471]: caller:(v4l_try_fmt+0x28c/0x558)
[ 2188.452374] [+] process: v4l2src0:src
[ 2188.456151] [+] [debug] message [F: ov5640_set_fmt, ::1481]: caller:(call_set_fmt+0x74/0x98)
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = vi[ 2188.467941] [+] process: v4l2src0:src
deo/x-raw, width=(int)1280, heigh[ 2188.474292] [+] [debug] message [F: mx6s_vidioc_try_fmt_vid_cap, ::1471]: caller:(mx6s_vidioc_s_fmt_vid_cap+0x3c/0x288)
t=(int)720, framerate=(fraction)3[ 2188.487943] [+] process: v4l2src0:src
0/1, format=(string)YUY2, pixel-a[ 2188.494558] [+] [debug] message [F: ov5640_set_fmt, ::1481]: caller:(call_set_fmt+0x74/0x98)
spect-ratio=(fraction)1/1, colori[ 2188.505889] [+] process: v4l2src0:src
metry=(string)bt709, interlace-mo[ 2188.512503] [+] [debug] message [F: mx6s_vidioc_g_parm, ::1653]: caller:(v4l_g_parm+0x64/0xf0)
de=(string)progressive
/GstPipel[ 2188.523957] [+] process: v4l2src0:src
[ 2188.530555] [+] [debug] message [F: ov5640_g_parm, ::1352]: caller:(mipi_csis_g_parm+0x68/0x88)
[ 2188.539281] [+] process: v4l2src0:src
[ 2188.543076] [+] [debug] message [F: mx6s_vidioc_s_parm, ::1663]: caller:(v4l_s_parm+0x4c/0x60)
[ 2188.551716] [+] process: v4l2src0:src
[ 2188.555494] [+] [debug] message [F: ov5640_s_parm, ::1403]: caller:(mipi_csis_s_parm+0x68/0x88)
ine:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, format=(string)YUY2, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, format=(string)YUY2, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, format=(string)YUY2, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstWaylandSink:autovideosink0-actual-sink-wayland.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, format=(string)YUY2, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, format=(string)YUY2, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, format=(string)YUY2, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction)30/1, format=(string)YUY2, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, interlace-mode=(string)progressive
[ 2189.382482] ov5640_mipi 1-003c: s_stream: 1
[ 2189.547982] skip frame 0
[ 2189.647984] skip frame 0
[ 2189.747986] skip frame 0
[ 2189.847989] skip frame 0
[ 2189.947989] skip frame 0
[ 2190.047994] skip frame 0
[ 2190.148027] skip frame 0
[ 2190.248030] skip frame 0
[ 2190.348030] skip frame 0
[ 2190.448035] skip frame 0
[ 2190.548037] skip frame 0
[ 2190.648040] skip frame 0
[ 2190.748043] skip frame 0
[ 2190.848045] skip frame 0
[ 2190.948048] skip frame 0
[ 2191.047554] skip frame 0
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:02.739872400
Setting pipeline to PAUSED ...

 

 

 

0 Kudos
Reply
3 Replies

1,313 Views
jhpark_vine
Contributor III

 ==  for YUYV ,  Streaming ,  running OK !!!!! =======

#>   /unit_tests/V4L2/mx6s_v4l2_capture.out -d /dev/video0 -ow 640 -oh 480 -m 0 -of zzz4.yuv 

root@imx8mqevk:~# [ 1387.198737] mx6s-csi 30a90000.csi1_bridge: csi v4l2 busfreq high request.
[ 1387.205573] [+] process: mx6s_v4l2_captu
[ 1387.209631] [+] [debug] message [F: mx6s_csi_init, ::761]: caller:(v4l2_open+0xa8/0x120)
[ 1387.217798] [+] process: mx6s_v4l2_captu
[ 1387.221846] [+] [debug] message [F: mx6s_vidioc_querycap, ::1561]: caller:(v4l_querycap+0x68/0xd8)
[ 1387.230920] [+] process: mx6s_v4l2_captu
[ 1387.234963] [+] [debug] message [F: mx6s_vidioc_s_parm, ::1683]: caller:(v4l_s_parm+0x4c/0x60)
[ 1387.243751] [+] process: mx6s_v4l2_captu
[ 1387.247833] [+] [debug] message [F: ov5640_s_parm, ::1416]: caller:(mipi_csis_s_parm+0x68/0x88)
[ 1387.256572] [+] process: mx6s_v4l2_captu
[ 1387.260620] [+] [debug] message [F: ov5640_init_mode, ::1255]: caller:(ov5640_s_parm+0x130/0x168 [ov5640_camera_mipi_v2])
[ 1387.274368] [+] process: mx6s_v4l2_captu
[ 1387.278409] [+] [debug] message [F: ov5640_download_firmware, ::1044]: caller:(ov5640_init_mode+0x458/0x658 [ov5640_camera_mipi_v2])
[ 1387.363255] [+] process: mx6s_v4l2_captu
[ 1387.367331] [+] [debug] message [F: ov5640_set_virtual_channel, ::1027]: caller:(ov5640_s_parm+0x130/0x168 [ov5640_camera_mipi_v2])
[ 1388.001262] [+] process: mx6s_v4l2_captu
[ 1388.005308] [+] [debug] message [F: mx6s_vidioc_enum_fmt_vid_cap, ::1451]: caller:(v4l_enum_fmt+0xb0/0x1c68)
[ 1388.015162] [+] process: mx6s_v4l2_captu
[ 1388.019217] [+] [debug] message [F: ov5640_enum_mbus_code, ::1556]: caller:(call_enum_mbus_code+0x74/0x98)
[ 1388.028950] [+] process: mx6s_v4l2_captu
[ 1388.033034] [+] [debug] message [F: mx6s_vidioc_enum_framesizes, ::1699]: caller:(v4l_stub_enum_framesizes+0x3c/0x50)
[ 1388.043689] [+] process: mx6s_v4l2_captu
[ 1388.047728] [+] [debug] message [F: ov5640_enum_framesizes, ::1574]: caller:(call_enum_frame_size+0x74/0x98)
[ 1388.057601] [+] process: mx6s_v4l2_captu
[ 1388.061644] [+] [debug] message [F: mx6s_vidioc_s_fmt_vid_cap, ::1522]: caller:(v4l_s_fmt+0x308/0x568)
[ 1388.070994] [+] process: mx6s_v4l2_captu
[ 1388.075077] [+] [debug] message [F: mx6s_vidioc_try_fmt_vid_cap, ::1486]: caller:(mx6s_vidioc_s_fmt_vid_cap+0x88/0x340)
[ 1388.085901] [+] process: mx6s_v4l2_captu
[ 1388.089944] [+] [debug] message [F: ov5640_set_fmt, ::1494]: caller:(call_set_fmt+0x74/0x98)
[ 1388.098420] [+] process: mx6s_v4l2_captu
[ 1388.102462] [+] [debug] message [F: ov5640_set_fmt, ::1510]: caller:(call_set_fmt+0x74/0x98)
[ 1388.110938] [+] process: mx6s_v4l2_captu
[ 1388.114980] [+] [debug] message [F: ov5640_set_fmt, ::1515]: caller:(call_set_fmt+0x74/0x98)
[ 1388.123477] mx6s-csi 30a90000.csi1_bridge: set to pixelformat 'YUYV-16'
[ 1388.130123] [+] process: mx6s_v4l2_captu
[ 1388.134175] [+] [debug] message [F: mx6s_configure_csi, ::864]: caller:(v4l_s_fmt+0x308/0x568)
[ 1388.142825] [+] process: mx6s_v4l2_captu
[ 1388.146862] [+] [debug] message [F: mx6s_vidioc_g_parm, ::1673]: caller:(v4l_g_parm+0x64/0xf0)
[ 1388.155513] [+] process: mx6s_v4l2_captu
[ 1388.159582] [+] [debug] message [F: ov5640_g_parm, ::1365]: caller:(mipi_csis_g_parm+0x68/0x88)
[ 1388.168861] [+] process: mx6s_v4l2_captu
[ 1388.172917] [+] [debug] message [F: mx6s_vidioc_reqbufs, ::1390]: caller:(v4l_reqbufs+0x50/0x60)
[ 1388.181747] [+] process: mx6s_v4l2_captu
[ 1388.185815] [+] [debug] message [F: mx6s_videobuf_setup, ::680]: caller:(vb2_core_reqbufs+0xe4/0x478)
[ 1388.195077] mx6s-csi 30a90000.csi1_bridge: count=3, size=0
[ 1388.200595] size=614400
[ 1388.208497] [+] process: mx6s_v4l2_captu
[ 1388.212698] [+] [debug] message [F: mx6s_vidioc_querybuf, ::1402]: caller:(v4l_querybuf+0x4c/0x60)
[ 1388.221850] vma start=0xffffb69b1000, size=614400, ret=0
[ 1388.227564] [+] process: mx6s_v4l2_captu
[ 1388.231616] [+] [debug] message [F: mx6s_vidioc_querybuf, ::1402]: caller:(v4l_querybuf+0x4c/0x60)
[ 1388.240612] vma start=0xffffb691b000, size=614400, ret=0
[ 1388.246291] [+] process: mx6s_v4l2_captu
[ 1388.250336] [+] [debug] message [F: mx6s_vidioc_querybuf, ::1402]: caller:(v4l_querybuf+0x4c/0x60)
[ 1388.259349] vma start=0xffffb6885000, size=614400, ret=0
[ 1388.265022] [+] process: mx6s_v4l2_captu
[ 1388.269061] [+] [debug] message [F: mx6s_vidioc_qbuf, ::1421]: caller:(v4l_qbuf+0x4c/0x60)
[ 1388.277367] [+] process: mx6s_v4l2_captu
[ 1388.281412] [+] [debug] message [F: mx6s_videobuf_prepare, ::704]: caller:(__buf_prepare+0x15c/0x398)
[ 1388.290680] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_prepare (vb=0x0000000069f3ad5e) 0x000000002c863680 0
[ 1388.300629] [+] process: mx6s_v4l2_captu
[ 1388.304669] [+] [debug] message [F: mx6s_vidioc_qbuf, ::1421]: caller:(v4l_qbuf+0x4c/0x60)
[ 1388.312971] [+] process: mx6s_v4l2_captu
[ 1388.317063] [+] [debug] message [F: mx6s_videobuf_prepare, ::704]: caller:(__buf_prepare+0x15c/0x398)
[ 1388.326311] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_prepare (vb=0x00000000385d197d) 0x0000000098df15e9 0
[ 1388.336284] [+] process: mx6s_v4l2_captu
[ 1388.340328] [+] [debug] message [F: mx6s_vidioc_qbuf, ::1421]: caller:(v4l_qbuf+0x4c/0x60)
[ 1388.348713] [+] process: mx6s_v4l2_captu
[ 1388.352768] [+] [debug] message [F: mx6s_videobuf_prepare, ::704]: caller:(__buf_prepare+0x15c/0x398)
[ 1388.362035] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_prepare (vb=0x00000000446ff7f5) 0x00000000491d0bee 0
[ 1388.371980] [+] process: mx6s_v4l2_captu
[ 1388.376019] [+] [debug] message [F: mx6s_vidioc_streamon, ::1594]: caller:(v4l_streamon+0x3c/0x50)
[ 1388.385017] [+] process: mx6s_v4l2_captu
[ 1388.389059] [+] [debug] message [F: mx6s_videobuf_queue, ::739]: caller:(__enqueue_in_driver+0x64/0x180)
[ 1388.398582] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_queue (vb=0x0000000069f3ad5e) 0x000000002c863680 614400
[ 1388.408800] [+] process: mx6s_v4l2_captu
[ 1388.412836] [+] [debug] message [F: mx6s_videobuf_queue, ::739]: caller:(__enqueue_in_driver+0x64/0x180)
[ 1388.422357] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_queue (vb=0x00000000385d197d) 0x0000000098df15e9 614400
[ 1388.432576] [+] process: mx6s_v4l2_captu
[ 1388.436615] [+] [debug] message [F: mx6s_videobuf_queue, ::739]: caller:(__enqueue_in_driver+0x64/0x180)
[ 1388.446149] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_queue (vb=0x00000000446ff7f5) 0x00000000491d0bee 614400
[ 1388.456369] [+] process: mx6s_v4l2_captu
[ 1388.460407] [+] [debug] message [F: mx6s_start_streaming, ::933]: caller:(vb2_start_streaming+0x7c/0x1d0)
[ 1388.480670] [+] process: mx6s_v4l2_captu
[ 1388.484734] [+] [debug] message [F: ov5640_s_stream, ::1683]: caller:(mipi_csi2_s_stream+0x350/0x438)
[ 1388.493995] ov5640_mipi 1-003c: s_stream: 1
[ 1388.498896] [+] process: mx6s_v4l2_captu
[ 1388.502951] [+] [debug] message [F: mx6s_vidioc_dqbuf, ::1433]: caller:(v4l_dqbuf+0x4c/0x60)
[ 1388.511414] [+] process: mx6s_v4l2_captu
[ 1388.511425] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.547001] [+] process: swapper/0
[ 1388.550501] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.580371] [+] process: swapper/0
[ 1388.583870] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.594043] [+] process: swapper/0
[ 1388.597534] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1388.607281] mx6s-csi 30a90000.csi1_bridge: mx6s_csi_frame_done (vb=0x0000000069f3ad5e) 0x000000002c863680 614400
[ 1388.617474] [+] process: swapper/0
[ 1388.620966] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.631137] [+] process: swapper/0
[ 1388.634625] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1388.644366] mx6s-csi 30a90000.csi1_bridge: mx6s_csi_frame_done (vb=0x00000000385d197d) 0x0000000098df15e9 614400
[ 1388.654551] [+] process: swapper/0
[ 1388.658042] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.668213] [+] process: swapper/0
[ 1388.671701] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1388.681441] mx6s-csi 30a90000.csi1_bridge: mx6s_csi_frame_done (vb=0x00000000446ff7f5) 0x00000000491d0bee 614400
[ 1388.691640] [+] process: swapper/0
[ 1388.695131] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.705301] [+] process: swapper/0
[ 1388.708789] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1388.726130] [+] process: swapper/0
[ 1388.728031] [+] process: mx6s_v4l2_captu
[ 1388.729633] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.729638] [+] process: swapper/0
[ 1388.733677] [+] [debug] message [F: mx6s_vidioc_qbuf, ::1421]: caller:(v4l_qbuf+0x4c/0x60)
[ 1388.743815] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1388.743840] [+] process: swapper/0
[ 1388.743845] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.762690] [+] process: swapper/0
[ 1388.765886] [+] process: mx6s_v4l2_captu
[ 1388.768838] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.768840] [+] process: swapper/0
[ 1388.768845] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1388.799750] [+] process: swapper/0
[ 1388.800790] [+] [debug] message [F: mx6s_videobuf_prepare, ::704]: caller:(__buf_prepare+0x15c/0x398)
[ 1388.809979] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.809981] [+] process: swapper/0
[ 1388.809986] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1388.835821] [+] process: swapper/0
[ 1388.836451] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_prepare (vb=0x0000000069f3ad5e) 0x000000002c863680 0
[ 1388.846145] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.846148] [+] process: swapper/0
[ 1388.846152] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1388.872387] [+] process: swapper/0
[ 1388.873321] [+] process: mx6s_v4l2_captu
[ 1388.883013] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.883016] [+] process: swapper/0
[ 1388.883020] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1388.909453] [+] process: swapper/0
[ 1388.914499] [+] [debug] message [F: mx6s_videobuf_queue, ::739]: caller:(__enqueue_in_driver+0x64/0x180)
[ 1388.917450] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.917453] [+] process: swapper/0
[ 1388.926933] mx6s-csi 30a90000.csi1_bridge: mx6s_videobuf_queue (vb=0x0000000069f3ad5e) 0x000000002c863680 614400
[ 1388.937097] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1388.945519] [+] process: swapper/0
[ 1388.964028] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1388.974198] [+] process: swapper/0
[ 1388.977687] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1388.987455] [+] process: swapper/0
[ 1388.990946] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.001116] [+] process: swapper/0
[ 1389.004604] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1389.014471] [+] process: mx6s_v4l2_captu
[ 1389.018527] [+] [debug] message [F: mx6s_vidioc_dqbuf, ::1433]: caller:(v4l_dqbuf+0x4c/0x60)
[ 1389.018650] [+] process: swapper/0
[ 1389.030453] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.036299] [+] process: mx6s_v4l2_captu
[ 1389.040623] [+] process: swapper/0
[ 1389.040629] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1389.055215] [+] process: swapper/0
[ 1389.061376] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.071547] [+] process: swapper/0
[ 1389.075035] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1389.084833] [+] [debug] message [F: mx6s_vidioc_qbuf, ::1421]: caller:(v4l_qbuf+0x4c/0x60)
[ 1389.093118] [+] process: mx6s_v4l2_captu
[ 1389.093124] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.093126] [+] process: mx6s_v4l2_captu
[ 1389.093130] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1389.093142] mx6s-csi 30a90000.csi1_bridge: mx6s_csi_frame_done (vb=0x0000000069f3ad5e) 0x000000002c863680 614400
[ 1389.097160] [+] process: mx6s_v4l2_captu
[ 1389.097166] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.131335] [+] process: mx6s_v4l2_captu
[ 1389.131341] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.131343] [+] process: mx6s_v4l2_captu
[ 1389.131347] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1389.135357] [+] process: mx6s_v4l2_captu
[ 1389.135362] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.173514] [+] process: mx6s_v4l2_captu
[ 1389.173519] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.173521] [+] process: mx6s_v4l2_captu
[ 1389.173525] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1389.201922] [+] process: mx6s_v4l2_captu
[ 1389.201928] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.201930] [+] process: mx6s_v4l2_captu
[ 1389.201934] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1389.205962] [+] process: mx6s_v4l2_captu
[ 1389.205968] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.243675] [+] process: mx6s_v4l2_captu
[ 1389.243681] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.243683] [+] process: mx6s_v4l2_captu
[ 1389.243687] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1389.276099] [+] process: mx6s_v4l2_captu
[ 1389.276104] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.276106] [+] process: mx6s_v4l2_captu
[ 1389.276110] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1389.285867] [+] process: mx6s_v4l2_captu
[ 1389.285873] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.313836] [+] process: mx6s_v4l2_captu
[ 1389.313842] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.313844] [+] process: mx6s_v4l2_captu
[ 1389.313848] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1389.317858] [+] process: mx6s_v4l2_captu
[ 1389.317862] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.356003] [+] process: mx6s_v4l2_captu
[ 1389.356009] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.356011] [+] process: mx6s_v4l2_captu
[ 1389.356015] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1389.384416] [+] process: mx6s_v4l2_captu
[ 1389.384422] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.384424] [+] process: mx6s_v4l2_captu
[ 1389.384428] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1389.388455] [+] process: mx6s_v4l2_captu
[ 1389.388460] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.426162] [+] process: mx6s_v4l2_captu
[ 1389.426167] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.426169] [+] process: mx6s_v4l2_captu
[ 1389.426174] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1f4/0x224)
[ 1389.458578] [+] process: mx6s_v4l2_captu
[ 1389.458583] [+] [debug] message [F: mx6s_csi_irq_handler, ::1137]: caller:(__handle_irq_event_percpu+0x78/0x2c0)
[ 1389.458585] [+] process: mx6s_v4l2_captu
[ 1389.458589] [+] [debug] message [F: mx6s_csi_frame_done, ::1053]: caller:(mx6s_csi_irq_handler+0x1b4/0x224)
[ 1389.468347] [+] process: mx6s_v4l2_captu

 

0 Kudos
Reply

1,125 Views
joanxie
NXP TechSupport
NXP TechSupport

The CSI module supports so-called double buffer mode, in which it can store two consecutive frames into different frame buffers, CSI DMA engine switches the base address of the frame buffers after completing the frame transfer. The BASEADDR_SWITCH_EN bit enables these alternate methods, and the BASEADDR_SWITCH_SEL bit selects between them. When using base address switching enable, BASEADDR_CHHANGE_ERROR bit of CSIx_CSISR will be 1 when switching occur before DMA complete.

 

0 Kudos
Reply

1,075 Views
jhpark_vine
Contributor III

Hi. Joanxie. 

Can you pinpoint a  solution to solve the  Base Change address Problem  ?   

How do we know DMA transfer job finished?

 

Thanks. 

0 Kudos
Reply