关于sdk中camera OV13850设置为4lane无法显示图像的问题,求指教,在线等
<Sensor><SensorName name="OV13850"></SensorName>
<SensorLens name="50013A1"></SensorLens>
<SensorDevID IDname="CAMSYS_DEVID_SENSOR_1B"></SensorDevID>
<SensorHostDevID busnum="CAMSYS_DEVID_MARVIN" ></SensorHostDevID>
<SensorI2cBusNum busnum="3"></SensorI2cBusNum>
<SensorI2cAddrByte byte="2"></SensorI2cAddrByte>
<SensorI2cRate rate="100000"></SensorI2cRate>
<SensorMclk mclk="24000000"></SensorMclk>
<SensorAvdd name="NC" min="0" max="0"></SensorAvdd>
<SensorDovdd name="NC" min="18000000" max="18000000"></SensorDovdd>
<SensorDvdd name="NC" min="0" max="0"></SensorDvdd>
<SensorGpioPwdn ioname="RK30_PIN2_PB6" active="0"></SensorGpioPwdn>
<SensorGpioRst ioname="RK30_PIN2_PB7" active="0"></SensorGpioRst>
<SensorGpioPwen ioname="RK30_PIN0_PB3" active="1"></SensorGpioPwen>
<SensorFacing facing="back"></SensorFacing>
<SensorInterface interface="MIPI"></SensorInterface>
<SensorMirrorFlip mirror="0"></SensorMirrorFlip>
<SensorOrientation orientation="180"></SensorOrientation>
<SensorPowerupSequence seq="1234"></SensorPowerupSequence>
<SensorFovParemeter h="60.0" v="60.0"></SensorFovParemeter>
<SensorAWB_Frame_Skip fps="15"></SensorAWB_Frame_Skip>
<SensorPhy phyMode="CamSys_Phy_Mipi" lane="4"phyIndex="1" sensorFmt="CamSys_Fmt_Raw_10b"></SensorPhy>
</Sensor>
在cam_board_rk3288.xml文件中将mipi lane 设置为4,以实现提高帧率的效果,但是修改为4lane以后图像无法显示,只能显示灰色底面,从Log中也未见任何异常的error,求社区内高手指点迷津,是sdk里面的ov13850的寄存器配置的不对,还是要配置成4lane还需要有其他修改,还是rk3288的开发板硬件不支持4lane? 请问有没有改4lane成功的大牛,帮忙解答一下吧,感激不尽呀{:4_91:} lane=4 可以显示,但亮度变低了 本帖最后由 alice_yuan 于 2018-7-26 11:11 编辑
doudou123 发表于 2018-7-25 17:15
lane=4 可以显示,但亮度变低了
请问你是只改了<SensorPhy phyMode="CamSys_Phy_Mipi" lane="4"phyIndex="1" sensorFmt="CamSys_Fmt_Raw_10b"></SensorPhy>这一个地方吗? 用adb logcat来看日志的话4lane时候未能获取到第一帧数据,以下的3行log中是2lane中有的但是4lane没有的D/CameraHal_Marvin( 1462): ECM:AfpsCurrResolution(0x148406202112x1568@10fps) -> (idx:30x1e8406202112x1568@15fps)
V/CAM_CameraAppUI( 1376): hiding cover via onSurfaceTextureUpdated
D/CameraPerformanceTracker( 1376): First preview frame received
下面我的log看着跟2lane的时候是一样的,就是没有显示:
[ 32.585060] D1:camsys_mrv_clkout_cb(404): camsys_marvin clock out turn off
[ 32.585157] D1:camsys_sysctl_extdev(364): Sysctl 11 success, gpio(11) set 0
[ 32.585248] D1:camsys_sysctl_extdev(360): Sysctl 7 success, gpio(78) set 0
[ 32.585332] D1:camsys_sysctl_extdev(360): Sysctl 8 success, gpio(79) set 0
[ 32.586383] E:camsys_sysctl_extdev(367): Sysctl 9 failed, because gpio is NULL!
[ 32.586392] E:camsys_sysctl_extdev(367): Sysctl 10 failed, because gpio is NULL!
[ 32.586699] D1:camsys_mrv_clkin_cb(374): camsys_marvin clock in turn off
[ 32.586790] D1:camsys_sysctl_extdev(364): Sysctl 11 success, gpio(11) set 0
[ 32.586872] D1:camsys_sysctl_extdev(360): Sysctl 7 success, gpio(78) set 0
[ 32.586952] D1:camsys_sysctl_extdev(360): Sysctl 8 success, gpio(79) set 0
[ 32.588004] E:camsys_sysctl_extdev(367): Sysctl 9 failed, because gpio is NULL!
[ 32.588012] E:camsys_sysctl_extdev(367): Sysctl 10 failed, because gpio is NULL!
[ 32.588043] D1:camsys_irq_disconnect(664): All thread disconnect camsys_marvin irq success!
[ 32.588054] D1:camsys_mipiphy_clkin_cb(36): camsys_marvin mipi phy clk in turn off
[ 32.588061] D1:camsys_mipiphy_clkin_cb(36): camsys_marvin mipi phy clk in turn off
[ 32.588069] D1:camsys_release(763): camsys_marvin(ddf42d10) is closed
[ 32.884232] D1:camsys_mipiphy_clkin_cb(34): camsys_marvin mipi phy clk in turn on
[ 32.884258] D1:camsys_mipiphy_clkin_cb(34): camsys_marvin mipi phy clk in turn on
[ 32.884266] D1:camsys_open(739): camsys_marvin(ddf42d10) is opened!
[ 32.884526] D1:camsys_mrv_clkin_cb(350): camsys_marvin clock(f: 420000000 Hz) in turn on
[ 32.884537] D1:camsys_rk3288_cfg(270): Isp_SoftRst: 1
[ 32.884644] D1:camsys_rk3288_cfg(270): Isp_SoftRst: 0
[ 32.884656] D1:camsys_rk3288_cfg(270): Isp_SoftRst: 0
[ 32.884740] D1:camsys_rk3288_cfg(270): Isp_SoftRst: 1
[ 32.886795] D1:camsys_rk3288_cfg(270): Isp_SoftRst: 0
[ 32.887235] D1:camsys_sysctl_extdev(364): Sysctl 11 success, gpio(11) set 0
[ 32.887326] D1:camsys_sysctl_extdev(360): Sysctl 7 success, gpio(78) set 0
[ 32.887411] D1:camsys_sysctl_extdev(360): Sysctl 8 success, gpio(79) set 0
[ 32.888479] E:camsys_sysctl_extdev(367): Sysctl 9 failed, because gpio is NULL!
[ 32.888491] E:camsys_sysctl_extdev(367): Sysctl 10 failed, because gpio is NULL!
[ 32.888588] D1:camsys_sysctl_extdev(364): Sysctl 11 success, gpio(11) set 0
[ 32.888676] D1:camsys_sysctl_extdev(360): Sysctl 7 success, gpio(78) set 0
[ 32.888764] D1:camsys_sysctl_extdev(360): Sysctl 8 success, gpio(79) set 0
[ 32.889828] E:camsys_sysctl_extdev(367): Sysctl 9 failed, because gpio is NULL!
[ 32.889842] E:camsys_sysctl_extdev(367): Sysctl 10 failed, because gpio is NULL!
[ 32.889886] D1:camsys_mrv_clkout_cb(392): camsys_marvin clock out(rate: 24000000Hz) turn on
[ 32.889996] D1:camsys_sysctl_extdev(360): Sysctl 11 success, gpio(11) set 1
[ 32.890089] D1:camsys_sysctl_extdev(364): Sysctl 7 success, gpio(78) set 1
[ 32.890180] D1:camsys_sysctl_extdev(364): Sysctl 8 success, gpio(79) set 1
[ 32.891246] E:camsys_sysctl_extdev(367): Sysctl 9 failed, because gpio is NULL!
[ 32.891259] E:camsys_sysctl_extdev(367): Sysctl 10 failed, because gpio is NULL!
[ 33.058634] D1:camsys_mrv_iommu_cb(276): map fd 17 ,client fd 45
[ 33.058634]
[ 33.058675] rk_iommu ff914000.isp_mmu: rockchip_iommu_attach_device: Attached new IOMMU with pgtable 0x1eac0000
[ 33.060693] D1:camsys_mrv_iommu_cb(276): map fd 18 ,client fd 45
[ 33.060693]
[ 33.060709] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
[ 33.062662] D1:camsys_mrv_iommu_cb(276): map fd 19 ,client fd 45
[ 33.062662]
[ 33.062676] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
[ 33.069804] D1:camsys_mrv_iommu_cb(276): map fd 25 ,client fd 45
[ 33.069804]
[ 33.069824] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
[ 33.134204] D1:camsys_rk3288_mipihpy_cfg(109): ###### mipi phy 1 standby!
[ 33.134239] W:camsys_phy_ops(478): mipiphy->phy_index(-1207994868) != extdev->phy.info.mipi.phy_index(1)!
[ 33.134487] E:camsys_rk3288_mipihpy_cfg(200): ###### set clock lane(15))
[ 33.134487]
[ 33.134503] D1:camsys_rk3288_mipihpy_cfg(222): mipi phy(1) turn on(lane: 0xfbit_rate: 640Mbps)
[ 33.333873] D1:camsys_irq_connect(542): Thread(pid: 1647) connect camsys_marvin irq success! mis: 0x5c4 icr: 0x5c8
[ 33.333946] D1:camsys_irq_connect(542): Thread(pid: 1648) connect camsys_marvin irq success! mis: 0x1500 icr: 0x1504
doudou123 发表于 2018-7-25 17:15
lane=4 可以显示,但亮度变低了
请问你调4lane显示出图像修改了哪些文件,能分享一下吗? doudou123 发表于 2018-7-25 17:15
lane=4 可以显示,但亮度变低了
请问你调4lane显示出图像修改了哪些文件,能分享一下吗? doudou123 发表于 2018-7-25 17:15
lane=4 可以显示,但亮度变低了
请问你显示出图像4lane修改了哪些文件,能分享一下吗? alice_yuan 发表于 2018-7-26 11:14
请问你显示出图像4lane修改了哪些文件,能分享一下吗?
4lane的问题解决了吗?同求
页:
[1]