Firefly开源社区

标题: camera一直加载中,MIPI接口的。请各位大神指教 [打印本页]

作者: jason-qiu    时间: 2017-3-24 11:32
标题: camera一直加载中,MIPI接口的。请各位大神指教
本帖最后由 jason-qiu 于 2017-3-24 13:52 编辑

rk3288方案,camera正常运行,在我们自己的APP里面使用,功能正常。但是当app崩溃,再恢复,camera就不能打开了,提示一直加载中。加载的时候,打开camera的内核打印的信息如下:

<6>[ 2981.913881] rk_iommu ff914000.isp_mmu: (isp_mmu) 6 times left to be disabled
<4>[ 2981.914395] D1:camsys_mrv_iommu_cb(276): map fd 109 ,client fd 105
<4>[ 2981.914395]
<3>[ 2981.914624] rk_iommu ff914000.isp_mmu: rockchip_iommu_detach_device: Detaching IOMMU with pgtable 1eab8000 delayed
<6>[ 2981.915292] rk_iommu ff914000.isp_mmu: (isp_mmu) 4 times left to be disabled
<4>[ 2981.915776] D1:camsys_mrv_clkout_cb(404): camsys_marvin clock out turn off
<3>[ 2981.915991] E:camsys_sysctl_extdev(376): Sysctl 7 failed, because gpio is NULL!
<3>[ 2981.917174] E:camsys_sysctl_extdev(376): Sysctl 9 failed, because gpio is NULL!
<4>[ 2982.988451] D1:camsys_mrv_clkin_cb(374): camsys_marvin clock in turn off
<4>[ 2982.988586] D1:camsys_sysctl_extdev(373): Sysctl 11 success, gpio(78) set 0
<3>[ 2982.988689] E:camsys_sysctl_extdev(376): Sysctl 7 failed, because gpio is NULL!
<3>[ 2982.988787] E:camsys_sysctl_extdev(376): Sysctl 8 failed, because gpio is NULL!
<3>[ 2982.989856] E:camsys_sysctl_extdev(376): Sysctl 9 failed, because gpio is NULL!
<3>[ 2982.989872] E:camsys_sysctl_extdev(376): Sysctl 10 failed, because gpio is NULL!
<4>[ 2982.989924] D1:camsys_irq_disconnect(664): All thread disconnect camsys_marvin irq success!
<4>[ 2982.989944] D1:camsys_mipiphy_clkin_cb(36): camsys_marvin mipi phy clk in turn off
<4>[ 2982.989957] D1:camsys_mipiphy_clkin_cb(36): camsys_marvin mipi phy clk in turn off
<4>[ 2982.989970] D1:camsys_release(763): camsys_marvin(dde64310) is closed
<4>[ 2984.432392] D1:camsys_mipiphy_clkin_cb(34): camsys_marvin mipi phy clk in turn on
<4>[ 2984.432428] D1:camsys_mipiphy_clkin_cb(34): camsys_marvin mipi phy clk in turn on
<4>[ 2984.432444] D1:camsys_open(739): camsys_marvin(dde64310) is opened!
<4>[ 2984.432785] D1:camsys_mrv_clkin_cb(350): camsys_marvin clock(f: 420000000 Hz) in turn on
<4>[ 2984.432804] D1:camsys_rk3288_cfg(267): Isp_SoftRst: 1
<4>[ 2984.432937] D1:camsys_rk3288_cfg(267): Isp_SoftRst: 0
<4>[ 2984.435349] D1:camsys_rk3288_cfg(267): Isp_SoftRst: 0
<3>[ 2984.436214] E:camsys_sysctl_extdev(376): Sysctl 7 failed, because gpio is NULL!
<3>[ 2984.440350] E:camsys_sysctl_extdev(376): Sysctl 9 failed, because gpio is NULL!
<3>[ 2984.440386] E:camsys_sysctl_extdev(376): Sysctl 10 failed, because gpio is NULL!
<3>[ 2984.440869] E:camsys_sysctl_extdev(376): Sysctl 7 failed, because gpio is NULL!
<3>[ 2984.441528] E:camsys_i2c_write(78): i2c write dev(addr:0x36) failed!
<3>[ 2984.443021] E:camsys_sysctl_extdev(376): Sysctl 9 failed, because gpio is NULL!
<4>[ 2984.443108] D1:camsys_mrv_clkout_cb(392): camsys_marvin clock out(rate: 24000000Hz) turn on
<3>[ 2984.443426] E:camsys_sysctl_extdev(376): Sysctl 8 failed, because gpio is NULL!
<3>[ 2984.444530] E:camsys_sysctl_extdev(376): Sysctl 10 failed, because gpio is NULL!
<4>[ 2985.029712] D1:camsys_mrv_iommu_cb(276): map fd 108 ,client fd 104
<4>[ 2985.029712]
<6>[ 2985.029753] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
<4>[ 2985.031767] D1:camsys_mrv_iommu_cb(276): map fd 109 ,client fd 104
<4>[ 2985.031767]
<6>[ 2985.031799] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
<4>[ 2985.033000] D1:camsys_mrv_iommu_cb(276): map fd 110 ,client fd 104
<4>[ 2985.033000]
<6>[ 2985.033029] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
<4>[ 2985.034143] D1:camsys_mrv_iommu_cb(276): map fd 113 ,client fd 104
<4>[ 2985.034143]
<6>[ 2985.034171] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
<4>[ 2985.035157] D1:camsys_rk3288_mipihpy_cfg(104): mipi phy 0 standby!
<3>[ 2985.035180] W:camsys_phy_ops(478): mipiphy->phy_index(-1208126972) != extdev->phy.info.mipi.phy_index(0)!
<4>[ 2985.035398] D1:camsys_rk3288_mipihpy_cfg(219): mipi phy(0) turn on(lane: 0x3  bit_rate: 528Mbps)
<4>[ 2985.041661] D1:camsys_irq_connect(542): Thread(pid: 13128) connect camsys_marvin irq success! mis: 0x5c4 icr: 0x5c8
<4>[ 2985.041767] D1:camsys_irq_connect(542): Thread(pid: 13129) connect camsys_marvin irq success! mis: 0x1500 icr: 0x1504
<4>[ 2986.311413] D1:camsys_irq_disconnect(651): Thread(pid: 13129) disconnect camsys_marvin irq success!
<4>[ 2986.313711] D1:camsys_irq_disconnect(651): Thread(pid: 13128) disconnect camsys_marvin irq success!
<3>[ 2986.318896] W:camsys_irq_wait(611): Thread(pid: 13128) has been disconnect!
<4>[ 2986.359866] D1:camsys_rk3288_mipihpy_cfg(104): mipi phy 0 standby!
<4>[ 2986.360504] D1:camsys_mrv_iommu_cb(276): map fd 113 ,client fd 104
<4>[ 2986.360504]
<6>[ 2986.360698] rk_iommu ff914000.isp_mmu: (isp_mmu) 7 times left to be disabled
<3>[ 2986.360714] rk_iommu ff914000.isp_mmu: rockchip_iommu_detach_device: Detaching IOMMU with pgtable 1eab8000 delayed
<4>[ 2986.361250] D1:camsys_mrv_iommu_cb(276): map fd 110 ,client fd 104
<4>[ 2986.361250]
<6>[ 2986.361446] rk_iommu ff914000.isp_mmu: (isp_mmu) 6 times left to be disabled
<3>[ 2986.361461] rk_iommu ff914000.isp_mmu: rockchip_iommu_detach_device: Detaching IOMMU with pgtable 1eab8000 delayed
<4>[ 2986.361984] D1:camsys_mrv_iommu_cb(276): map fd 109 ,client fd 104
<4>[ 2986.361984]
<6>[ 2986.362191] rk_iommu ff914000.isp_mmu: (isp_mmu) 5 times left to be disabled
<3>[ 2986.362206] rk_iommu ff914000.isp_mmu: rockchip_iommu_detach_device: Detaching IOMMU with pgtable 1eab8000 delayed
<4>[ 2986.362634] D1:camsys_mrv_iommu_cb(276): map fd 108 ,client fd 104
<4>[ 2986.362634]
<6>[ 2986.362811] rk_iommu ff914000.isp_mmu: (isp_mmu) 4 times left to be disabled
<3>[ 2986.362824] rk_iommu ff914000.isp_mmu: rockchip_iommu_detach_device: Detaching IOMMU with pgtable 1eab8000 delayed
<4>[ 2986.363231] D1:camsys_mrv_clkout_cb(404): camsys_marvin clock out turn off
<4>[ 2986.363345] D1:camsys_sysctl_extdev(373): Sysctl 11 success, gpio(78) set 0
<3>[ 2986.363434] E:camsys_sysctl_extdev(376): Sysctl 7 failed, because gpio is NULL!
<3>[ 2986.363522] E:camsys_sysctl_extdev(376): Sysctl 8 failed, because gpio is NULL!
<3>[ 2986.364608] E:camsys_sysctl_extdev(376): Sysctl 9 failed, because gpio is NULL!
<3>[ 2986.364626] E:camsys_sysctl_extdev(376): Sysctl 10 failed, because gpio is NULL!
<4>[ 2986.420326] D1:camsys_mrv_clkin_cb(374): camsys_marvin clock in turn off
<4>[ 2986.420461] D1:camsys_sysctl_extdev(373): Sysctl 11 success, gpio(78) set 0
<3>[ 2986.420556] E:camsys_sysctl_extdev(376): Sysctl 7 failed, because gpio is NULL!
<3>[ 2986.420648] E:camsys_sysctl_extdev(376): Sysctl 8 failed, because gpio is NULL!
<3>[ 2986.421715] E:camsys_sysctl_extdev(376): Sysctl 9 failed, because gpio is NULL!
<3>[ 2986.421730] E:camsys_sysctl_extdev(376): Sysctl 10 failed, because gpio is NULL!
<4>[ 2986.421781] D1:camsys_irq_disconnect(664): All thread disconnect camsys_marvin irq success!
<4>[ 2986.421801] D1:camsys_mipiphy_clkin_cb(36): camsys_marvin mipi phy clk in turn off
<4>[ 2986.421813] D1:camsys_mipiphy_clkin_cb(36): camsys_marvin mipi phy clk in turn off
<4>[ 2986.421827] D1:camsys_release(763): camsys_marvin(dde64310) is closed
作者: leung先森    时间: 2017-3-24 14:30
但从这个log,别人也无法判断吧,至少要加上logcat -s CameraHal 呀




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1