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

Jump to navigation Jump to search
m (→‎Megi saves the day: Remove excess empty line)
(→‎Megi saves the day: DTS patch is now included in 5.18)
Line 151: Line 151:
</pre>
</pre>


Turns out, the .dts had the wrong ISP connected to the sensor!
Turns out, the .dts had the wrong ISP connected to the sensor! This is fixed in [https://github.com/megous/linux/commit/9afd884f8b36121fb6097e77b6d35fe46ab48ad9 this commit], which is included in kernel version 5.18 or newer.


Apply [https://github.com/megous/linux/commit/9afd884f8b36121fb6097e77b6d35fe46ab48ad9 this commit] ([https://github.com/megous/linux/commit/9afd884f8b36121fb6097e77b6d35fe46ab48ad9.patch patch]) to your kernel tree, rebuild, and reinstall. Now, the following should produce an image (<code>frame.jpg</code>):
With a sufficiently new kernel, the following should produce an image (<code>frame.jpg</code>):


<pre>
<pre>