How to display video capture by OS08A20 camera via HDMI(LT8912)?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to display video capture by OS08A20 camera via HDMI(LT8912)?

74件の閲覧回数
kazuhito_morita
Contributor I

Hello,
Could you please tell me how to display video captured by the OS08A20 camera via HDMI(LT8912)?

■ Environment

GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,width=1920,height=1080,format=YUYV" ! videoconvert ! autovideosink

■ Result

0:00:00.083718541 916 0xaaaaf3247f20 ERROR GST_PIPELINE grammar.y:1138:gst_parse_perform_link: could not link v4l2src0 to videoconvert0, neither element can handle caps video/x-raw, width=(int)1920, height=(int)1080, format=(string)YUYV WARNING: erroneous pipeline: could not link v4l2src0 to videoconvert0, neither element can handle caps video/x-raw, width=(int)1920, height=(int)1080, format=(string)YUYV

If any additional information is needed, please let me know.
Thank you in advance!

ラベル(2)
タグ(3)
0 件の賞賛
返信
1 返信

36件の閲覧回数
kazuhito_morita
Contributor I

I tried to capture an image using v4l2-ctl, then the kernel crashed.

■ System Configuration

  • SoC / Board: NXP i.MX95 19x19 EVK (Verdin variant)
  • Linux Kernel: 6.6.23-lts-next-06236-gb586a521770e
  • NXP Yocto BSP: Official NXP BSP (NXP’s Full Reference Image)
  • Camera: OS08A20_MIPI
  • Used device: /dev/video0
  • Device Tree: imx95-19x19-verdin.dtb + imx95-19x19-verdin-lt8912.dtbo + imx95-19x19-verdin-os08a20.dtbo(overlayed)
  • media-ctl version: 6.6.23

■ Problem Description

When I try to start a video capture using the following command, the kernel crashes (Oops) every time.

  v4l2-ctl -d /dev/video0 --stream-mmap=1 --stream-count=1

■ Example Oops/Crash Log

Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
CPU: 1 PID: 691 Comm: v4l2-ctl Not tainted 6.6.23-lts-next-06236-gb586a521770e #1
Hardware name: NXP i.MX95 19X19 board (DT)
pc : formatter_subdev_enable_streams+0xb0/0x22c
...
Call trace:
formatter_subdev_enable_streams+0xb0/0x22c
v4l2_subdev_enable_streams+0xe4/0x268
mxc_isi_crossbar_enable_streams+0x12c/0x1d0
v4l2_subdev_enable_streams+0xe4/0x268
mxc_isi_pipe_enable+0x204/0x2ac
mxc_isi_vb2_start_streaming+0xa0/0xe4
vb2_start_streaming+0x68/0x15c
vb2_core_streamon+0xf8/0x1bc
vb2_streamon+0x18/0x64
mxc_isi_video_streamon+0x28c/0x314
v4l_streamon+0x24/0x30
__video_do_ioctl+0x32c/0x3f8

■ media-ctl device topology (excerpt)

The media graph is active with crossbar/csi/formatter/ISI routing.
(See attached details below. media-ctl.txt)
...

■ Reproduction Details

  • The media graph, Device Tree, and v4l2/fmt settings are configured according to the official NXP documentation.
  • Even when restricting to just one ISI channel (/dev/video0), the Oops always occurs.

■ Questions

  • Is this Oops in formatter_subdev_enable_streams() a known issue in recent NXP BSP or kernel 6.6.x?
  • Is there any BSP update or kernel patch available to address this problem? If so, where can I find it?
  • Are there any recommended workarounds or hints to resolve this and enable video capture?
0 件の賞賛
返信