Rrkisp issue with CSI camera input. - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Quartz64 (https://forum.pine64.org/forumdisplay.php?fid=166) +--- Forum: Linux on Quartz64 (https://forum.pine64.org/forumdisplay.php?fid=168) +--- Thread: Rrkisp issue with CSI camera input. (/showthread.php?tid=17055) |
Rrkisp issue with CSI camera input. - Randomuser - 07-26-2022 I'm using kernel 4.19 from the repo shared by Shaggy013 user with some modifications in the imx219 camera driver to support extra modes. I have backported the dts from latest RC kernel so mostly everything is working (hw encoding etc.) However the picture I'm getting doesn't look right(very dark, when camera gain is raised it looks very green - other colors are present so it is not un-debayered, but there is an excess of green). It may be simply because I'm getting a raw unprocessed picture, or there is some problem. At the same time I have the following errors. Are those errors perhaps related? Maybe ISP is not doing some image processing? (or perhaps I haven't requested it yet). Either way please let me know what those errors mean if anyone knows. Additionally I get those errors in dmesg: [ 0.886617] imx219 3-0010: driver version: 00.01.02 [ 0.911298] imx219 3-0010: Model ID 0x0219, Lot ID 0x4c2015, Chip ID 0x066e [ 0.912483] iommu: Adding device fdfe0000.rkcif to group 7 [ 0.912540] rkcifhw fdfe0000.rkcif: Linked as a consumer to fdfe0800.iommu [ 0.913203] rkcifhw fdfe0000.rkcif: can't request region for resource [mem 0xfdfe0000-0xfdfe7fff] [ 0.915928] iommu: Adding device fdff0000.rkisp to group 8 [ 0.915984] rkisp_hw fdff0000.rkisp: Linked as a consumer to fdff1a00.iommu [ 0.916183] rkisp_hw fdff0000.rkisp: is_thunderboot: 0 [ 0.916216] rkisp_hw fdff0000.rkisp: max input:0x0@0fps [ 0.916259] rkisp_hw fdff0000.rkisp: can't request region for resource [mem 0xfdff0000-0xfdffffff] [ 0.917220] rkisp rkisp-vir0: rkisp driver version: v01.07.00 [ 0.917639] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized! [ 0.917681] rkisp rkisp-vir0: Entity type for entity rkisp-csi-subdev was not initialized! [ 0.919844] rockchip-csi2-dphy csi2-dphy1: dphy1 matches m01_f_imx219 3-0010:bus type 4 [ 0.920677] rkisp-vir0: Async subdev notifier completed Looking at the dtsi that has those devices(it is included from rk3568.dtsi - I know rk3568 is a different device, but the include statement is the same as in mainline so I assume those dts entries are common to rk3566 and rk3568, but mainline of course doesn't support rkisp etc yet so I'm using rk3568.dtsi from the BSP) it says: (scroll to see the whole thing) Code: rkisp: rkisp@fdff0000 { and for the cif: (scroll to see the whole thing) Code: rkcif: rkcif@fdfe0000 { Also I have no other devices occupying those memory regions. I checked in /proc/ here is the excerpt: Code: fdeb0000-fdeb0fff : rk_rga@fdeb0000 So before I try using rkisp programmatically I would like to find out if I'm having some problem with it? |