Difference between revisions of "Talk:PinePhone Pro/IMX258 Camera Debugging"

From PINE64
Jump to navigation Jump to search
Line 6: Line 6:


--[[User:Thelie|Thelie]] ([[User talk:Thelie|talk]]) 10:25, 17 October 2022 (UTC)
--[[User:Thelie|Thelie]] ([[User talk:Thelie|talk]]) 10:25, 17 October 2022 (UTC)
== New rkisp1_csi entity in pipeline ==
It seems that as of July 2022, the kernel treats the CSI in the Pro as a separate media-ctl entity, adding rkisp1_csi to the pipeline.
As far as I can tell, the kernel documentation for rkisp1 has not been updated to reflect this.
I have spent some days learning about how these sorts of things work (no prior experience with csi or media-ctl), and I have linked my sensor to the CSI, and the CSI to the ISP.
After linking, the rest of the media-ctl commands (from the shell script provided for taking pictures) work, but v4l2-ctl reports a broken pipe error when trying to stream to "frame.raw".
Apparently, this can mean that the format is misconfigured for one or more pads.
Can anyone shed some light on this issue? I have tried a few combinations of links and formats and I feel like this knowledge should be out there somewhere...
--[[User:PineMarten|PineMarten]] ([[User talk:PineMarten|talk]]) 10:25, 26 November 2022 (UTC)

Revision as of 01:10, 27 November 2022

Megapixels sefault

After patching some trivial segfaults, […]

Would it be possible to upload a .diff with said patches?

--Thelie (talk) 10:25, 17 October 2022 (UTC)


New rkisp1_csi entity in pipeline

It seems that as of July 2022, the kernel treats the CSI in the Pro as a separate media-ctl entity, adding rkisp1_csi to the pipeline. As far as I can tell, the kernel documentation for rkisp1 has not been updated to reflect this.

I have spent some days learning about how these sorts of things work (no prior experience with csi or media-ctl), and I have linked my sensor to the CSI, and the CSI to the ISP. After linking, the rest of the media-ctl commands (from the shell script provided for taking pictures) work, but v4l2-ctl reports a broken pipe error when trying to stream to "frame.raw". Apparently, this can mean that the format is misconfigured for one or more pads.

Can anyone shed some light on this issue? I have tried a few combinations of links and formats and I feel like this knowledge should be out there somewhere...

--PineMarten (talk) 10:25, 26 November 2022 (UTC)