MIPI error: err2: 0x00010000

I’m trying to get a custom MIPI camera solution going using an OV2740, but I can’t get anything out of the ISP. My image sensor is configured for 1920x1080@10bit RAW, at 60 fps, 2 lanes, 400 MHz (800 Mbps) transfer rate. I’ve tested with 4 lanes at 200 MHz (400 Mbps) with the same problem. I’ve verified the correct number of lanes are outputting at the correct clock rate using an oscilloscope, so I know the PX30’s MIPI PHY should be receiving data, but it seems completely dead.

I tried using gstreamer:

gst-launch-1.0 rkisp device=/dev/video0 io-mode=4 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=60/1 ! kmssink

This produces this output:

[XCORE]:XCAM ERROR rkisp_device.cpp:74: atomisp device (/dev/video0) try subdev format failed
[XCORE]:XCAM ERROR v4l2_device.cpp:618: device(/dev/video0) get dma buf(0) failed
Caught SIGSEGV
exec gdb failed: No such file or directory

I tried testing it with v4l2src instead of rkisp:

gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! kmssink

As well as the qcamera demo and this v4l2-ctl command:

 v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080
,pixelformat=NV12 --stream-mmap=3 --stream-to=/root/raw.out --stream-count=1000
--stream-poll

In any case, I get this output, after enabling (and added) some logging messages:

[  364.391006] rkisp1: waiting on params stream on event timeout
[  364.391597] rkisp1 ff4a0000.rkisp1: can not get first iq setting in stream on
[b][  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
[b]select timeout[/b]
[b][  367.410019] rkisp1: waiting on event return error 0[/b]
[  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

It doesn’t matter if I use /dev/video0 or /dev/video1 (main path or self path). I get the same errors.
What should I be looking at to fix this? I looked at Part1 and Part2 of the TRM, but there doesn’t appear to be any information about the MIPI D-PHY in it, so I don’t know what error code 0x00010000 represents.

I’m using an HTS of 1928 and a VTS of 1088, though the original sample code I received had perplexing HTS/VTS values of 1080 and 1125, respectively. It seems like if it were a timing parameter issue, the ISP would report that, and/or give me a garbled image.

I think maybe I was missing MIPI data for a bit while I was testing the other day. I’m now getting MIPI error: err2: 0x00030000. Same symptoms. I tried reducing my settings to 30 fps with a 400 Mbps (200 MHz) MIPI clock, but it’s still not working.

Any ideas?

XK0-006인증시험은CompTIA사의 인중시험입니다.CompTIA인증사의 시험을 패스한다면 it업계에서의 대우는 달라집니다. 때문에 점점 많은 분들이CompTIA인증XK0-006시험을 응시합니다.하지만 실질적으로XK0-006시험을 패스하시는 분들은 너무 적습니다.전분적인 지식을 터득하면서 완벽한 준비하고 응시하기에는 너무 많은 시간이 필요합니다.하지만 우리KoreaDumps는 이러한 여러분의 시간을 절약해드립니다.

Um Ihre Zertifizierungsprüfungen reibungslos erfolgreich zu meistern, brauchen Sie nur unsere Prüfungsfragen und Antworten zu Databricks Databricks-Certified-Data-Analyst-Associate (Databricks Certified Data Analyst Associate Exam)auswendigzulernen. Viel Erfolg!

SAP持ってきた製品があなたにふさわしくないと感じることはよくありますか? SAPラーニングガイドを使用することに決めた場合、問題に遭遇することは決してないことをお伝えしたいと思います。 私たちの教材は、あなたが期待できないC-BCSSS-2502高品質を持っています。 学習教材のガイダンスで経験を積むと、以前よりもC-BCSSS-2502時間を費やさず、明らかにPositioning SAP Sustainability Solutions as part of SAP Business Suite進歩を感じることができます。また、SAPテストクイズは進歩に役立つことがわかります。

That article was a huge benefit to me. Free NSE4_FGT_AD-7.6 valid exam cram pdf resources—your key to career advancement and salary growth!

JPTestKingはウェブサイトだけでなく、候補者のための専門的な学習ツールとしても使用できます。 最後になりますが、NCA-GENLトレーニング資料の高度な運用システムを使用して、NVIDIAお客様に最速の配信速度を保証するだけでなく、お客様の個人情報を自動的に保護することもできます。 さらに、販売後の専門スタッフが、すべてのお客様に24時間年中無休でNCA-GENL試験NVIDIA Generative AI LLMs問題に関するオンラインアフターサービスを提供します。 そして、NCA-GENL学習ガイドの合格率は99%〜100%です。 NCA-GENL練習準備で認定を取得します。

Thank you for sharing such an insightful and uplifting article! Free Test PSP book test papers—your ticket to promotions and a higher salary!