|
RK3288-reload MIPI 摄像头问题 无图像黑屏
发表于 2017-11-18 16:53:10
浏览:23903
|
回复:13
打印
只看该作者
[复制链接]
楼主
RK3288-reload开发板调试MIPI摄像头打开黑色画面(I2C通信也正常,MIPI0 数据线上通过示波器看也有数据),串口直接输出以及日志记录如下,这是什么情况呢?
[ 67.981763] rk_iommu ff914000.isp_mmu: rockchip_iommu_attach_device: Attached new IOMMU with pgtable 0x1eacb000
[ 67.982304] D1:camsys_mrv_iommu_cb(276): map fd 17 ,client fd 48
[ 67.982304]
[ 67.982330] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
[ 67.982780] D1:camsys_mrv_iommu_cb(276): map fd 19 ,client fd 48
[ 67.982780]
[ 67.982792] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
[ 67.985774] D1:camsys_mrv_iommu_cb(276): map fd 53 ,client fd 48
[ 67.985774]
[ 67.985791] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
[ 67.986266] D1:camsys_rk3288_mipihpy_cfg(104): mipi phy 0 standby!
[ 67.986278] W:camsys_phy_ops(479): mipiphy->phy_index(-1223991276) != extdev->phy.info.mipi.phy_index(0)!
[ 67.986486] D1:camsys_rk3288_mipihpy_cfg(219): mipi phy(0) turn on(lane: 0x1 bit_rate: 528Mbps)
[ 68.052270] D1:camsys_irq_connect(543): Thread(pid: 1476) connect camsys_marvin irq success! mis: 0x5c4 icr: 0x5c8
[ 68.052340] D1:camsys_irq_connect(543): Thread(pid: 1477) connect camsys_marvin irq success! mis: 0x1500 icr: 0x1504
[ 68.057151] rockchip_ion_cma: Fail to allocate(eb000) buffer
[ 68.059334] rockchip_ion_cma: Fail to allocate(eb000) buffer
[ 68.062825] rockchip_ion_cma: Fail to allocate(eb000) buffer
[ 68.066596] rockchip_ion_cma: Fail to allocate(eb000) buffer
============================LOGCAT===============================
130|shell@firefly:/ # logcat -s CameraHal
--------- beginning of system
--------- beginning of main
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
I/CameraHal( 156): camera_device_open(500): camera_device open
D/CameraHal( 156): gCameraHalLogLevel: 0
D/CameraHal( 156): CameraHal(159): it is a isp camera
D/CameraHal( 156): Writetxt(80): /data/rotation_flag open success!
D/CameraHal( 156): Calling process is: /system/bin/mediaserver
E/CameraHal( 156): disconnectCamera(1784): getFocusLimits failed!
E/CameraHal( 156): setupPreview(258): >>>>>>>width_sensor=0,height_sensor=0,preview_w=640,preview_h=480
D/CameraHal( 156): setupPreview(306): isp out put format is YUV420SP.
D/CameraHal( 156): initDefaultParameters(981): ------mHardInfo.mVcmInfo.mVcmDrvName in not NC-----
D/CameraHal( 156): Calling process is: /system/bin/mediaserver
D/CameraHal( 156): enableSensor(213): orientation = 0xb702c0f0 (MPL accel)
D/CameraHal( 156): commandThread(1010): commandThread(1010): receive CMD_PREVIEW_CAPTURE_CANCEL
D/CameraHal( 156): commandThread(1018): commandThread(1018): CMD_PREVIEW_CAPTURE_CANCEL out
D/CameraHal( 156): cancelPicture(588): cancel picture OK.
D/CameraHal( 156): commandThread(938): commandThread(938):receive CMD_PREVIEW_STOP
D/CameraHal( 156): commandThread(959): commandThread(959): CMD_PREVIEW_STOP out
D/CameraHal( 156): stopPreview(389): stop preview OK.
D/CameraHal( 156): camera_device_close(451): camera_device_close
D/CameraHal( 156): disableSensor(237): orientation = 0xb702c0f0 (MPL accel)
D/CameraHal( 156): ~SensorListener(110): Kill looper thread
D/CameraHal( 156): ~SensorListener(122): Kill looper
D/CameraHal( 156): ~SensorListener(128): SensorListener destroyed
D/CameraHal( 156): displayThread(622): displayThread(622): receive CMD_DISPLAY_STOP
D/CameraHal( 156): cameraDisplayBufferDestory(399): cameraDisplayBufferDestory(399): mANativeWindow is NULL, destory is ignore
D/CameraHal( 156): encProcessThread(1632): encProcessThread(1632): receive CMD_ENCPROCESS_EXIT
D/CameraHal( 156): commandThread(1122): commandThread(1122): receive CMD_EXIT
D/CameraHal( 156): ~CameraHal(320): CameraHal destory success
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
I/CameraHal( 156): camera_device_open(500): camera_device open
D/CameraHal( 156): gCameraHalLogLevel: 0
D/CameraHal( 156): CameraHal(159): it is a isp camera
D/CameraHal( 156): Writetxt(80): /data/rotation_flag open success!
D/CameraHal( 156): Calling process is: com.android.camera2
E/CameraHal( 156): disconnectCamera(1784): getFocusLimits failed!
E/CameraHal( 156): setupPreview(258): >>>>>>>width_sensor=0,height_sensor=0,preview_w=640,preview_h=480
D/CameraHal( 156): setupPreview(306): isp out put format is YUV420SP.
E/CameraHal( 156): cameraCreate(137): sensor name OV2685
D/CameraHal( 156): initDefaultParameters(981): ------mHardInfo.mVcmInfo.mVcmDrvName in not NC-----
D/CameraHal( 156): Calling process is: com.android.camera2
D/CameraHal( 156): enableSensor(213): orientation = 0xb702c0f0 (MPL accel)
D/CameraHal( 156): commandThread(1010): commandThread(1010): receive CMD_PREVIEW_CAPTURE_CANCEL
D/CameraHal( 156): commandThread(1018): commandThread(1018): CMD_PREVIEW_CAPTURE_CANCEL out
D/CameraHal( 156): cancelPicture(588): cancel picture OK.
D/CameraHal( 156): commandThread(938): commandThread(938):receive CMD_PREVIEW_STOP
D/CameraHal( 156): commandThread(959): commandThread(959): CMD_PREVIEW_STOP out
D/CameraHal( 156): stopPreview(389): stop preview OK.
D/CameraHal( 156): camera_device_close(451): camera_device_close
D/CameraHal( 156): disableSensor(237): orientation = 0xb702c0f0 (MPL accel)
D/CameraHal( 156): ~SensorListener(110): Kill looper thread
D/CameraHal( 156): ~SensorListener(122): Kill looper
D/CameraHal( 156): ~SensorListener(128): SensorListener destroyed
D/CameraHal( 156): displayThread(622): displayThread(622): receive CMD_DISPLAY_STOP
D/CameraHal( 156): cameraDisplayBufferDestory(399): cameraDisplayBufferDestory(399): mANativeWindow is NULL, destory is ignore
D/CameraHal( 156): encProcessThread(1632): encProcessThread(1632): receive CMD_ENCPROCESS_EXIT
D/CameraHal( 156): commandThread(1122): commandThread(1122): receive CMD_EXIT
D/CameraHal( 156): ~CameraHal(320): CameraHal destory success
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
I/CameraHal( 156): camera_device_open(500): camera_device open
D/CameraHal( 156): gCameraHalLogLevel: 0
D/CameraHal( 156): CameraHal(159): it is a isp camera
D/CameraHal( 156): Writetxt(80): /data/rotation_flag open success!
D/CameraHal( 156): Calling process is: com.android.camera2
E/CameraHal( 156): disconnectCamera(1784): getFocusLimits failed!
E/CameraHal( 156): setupPreview(258): >>>>>>>width_sensor=0,height_sensor=0,preview_w=640,preview_h=480
D/CameraHal( 156): setupPreview(306): isp out put format is YUV420SP.
E/CameraHal( 156): cameraCreate(137): sensor name OV2685
D/CameraHal( 156): initDefaultParameters(981): ------mHardInfo.mVcmInfo.mVcmDrvName in not NC-----
D/CameraHal( 156): Calling process is: com.android.camera2
D/CameraHal( 156): enableSensor(213): orientation = 0xb702c0f0 (MPL accel)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): commandThread(1108): commandThread(1108): receive CMD_AF_CANCEL
D/CameraHal( 156): commandThread(964): commandThread(964):receive CMD_SET_PREVIEW_WINDOW
D/CameraHal( 156): commandThread(980): commandThread(980): CMD_SET_PREVIEW_WINDOW out
D/CameraHal( 156): commandThread(859): commandThread(859):receive CMD_PREVIEW_START
D/CameraHal( 156): stop(1859): m_camDevice->stopPreview success!
E/CameraHal( 156): setupPreview(258): >>>>>>>width_sensor=800,height_sensor=600,preview_w=800,preview_h=600
D/CameraHal( 156): setupPreview(306): isp out put format is YUV420SP.
D/CameraHal( 156): start(1814): m_camDevice->startPreview success
D/CameraHal( 156): displayThread(596): displayThread(596): receive CMD_DISPLAY_START
D/CameraHal( 156): cameraDisplayBufferDestory(399): cameraDisplayBufferDestory(399): mANativeWindow is NULL, destory is ignore
D/CameraHal( 156): commandThread(932): commandThread(932): CMD_PREVIEW_START out
D/CameraHal( 156): commandThread(1108): commandThread(1108): receive CMD_AF_CANCEL
D/CameraHal( 156): commandThread(1010): commandThread(1010): receive CMD_PREVIEW_CAPTURE_CANCEL
D/CameraHal( 156): commandThread(1018): commandThread(1018): CMD_PREVIEW_CAPTURE_CANCEL out
D/CameraHal( 156): cancelPicture(588): cancel picture OK.
D/CameraHal( 156): commandThread(938): commandThread(938):receive CMD_PREVIEW_STOP
D/CameraHal( 156): displayThread(610): displayThread(610): receive CMD_DISPLAY_PAUSE
D/CameraHal( 156): stop(1859): m_camDevice->stopPreview success!
D/CameraHal( 156): commandThread(959): commandThread(959): CMD_PREVIEW_STOP out
D/CameraHal( 156): stopPreview(389): stop preview OK.
D/CameraHal( 156): commandThread(1010): commandThread(1010): receive CMD_PREVIEW_CAPTURE_CANCEL
D/CameraHal( 156): commandThread(1018): commandThread(1018): CMD_PREVIEW_CAPTURE_CANCEL out
D/CameraHal( 156): cancelPicture(588): cancel picture OK.
D/CameraHal( 156): commandThread(938): commandThread(938):receive CMD_PREVIEW_STOP
D/CameraHal( 156): commandThread(959): commandThread(959): CMD_PREVIEW_STOP out
D/CameraHal( 156): stopPreview(389): stop preview OK.
D/CameraHal( 156): commandThread(964): commandThread(964):receive CMD_SET_PREVIEW_WINDOW
D/CameraHal( 156): pauseDisplay(159): pauseDisplay(159): display thread is already stop
D/CameraHal( 156): commandThread(980): commandThread(980): CMD_SET_PREVIEW_WINDOW out
D/CameraHal( 156): camera_device_close(451): camera_device_close
D/CameraHal( 156): disableSensor(237): orientation = 0xb702c0f0 (MPL accel)
D/CameraHal( 156): ~SensorListener(110): Kill looper thread
D/CameraHal( 156): ~SensorListener(122): Kill looper
D/CameraHal( 156): ~SensorListener(128): SensorListener destroyed
D/CameraHal( 156): displayThread(622): displayThread(622): receive CMD_DISPLAY_STOP
D/CameraHal( 156): cameraDisplayBufferDestory(399): cameraDisplayBufferDestory(399): mANativeWindow is NULL, destory is ignore
D/CameraHal( 156): encProcessThread(1632): encProcessThread(1632): receive CMD_ENCPROCESS_EXIT
D/CameraHal( 156): commandThread(1122): commandThread(1122): receive CMD_EXIT
D/CameraHal( 156): ~CameraHal(320): CameraHal destory success
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
I/CameraHal( 156): camera_device_open(500): camera_device open
D/CameraHal( 156): gCameraHalLogLevel: 0
D/CameraHal( 156): CameraHal(159): it is a isp camera
D/CameraHal( 156): Writetxt(80): /data/rotation_flag open success!
D/CameraHal( 156): Calling process is: com.android.camera2
E/CameraHal( 156): disconnectCamera(1784): getFocusLimits failed!
E/CameraHal( 156): setupPreview(258): >>>>>>>width_sensor=0,height_sensor=0,preview_w=640,preview_h=480
D/CameraHal( 156): setupPreview(306): isp out put format is YUV420SP.
E/CameraHal( 156): cameraCreate(137): sensor name OV2685
D/CameraHal( 156): initDefaultParameters(981): ------mHardInfo.mVcmInfo.mVcmDrvName in not NC-----
D/CameraHal( 156): Calling process is: com.android.camera2
D/CameraHal( 156): enableSensor(213): orientation = 0xb702c0f0 (MPL accel)
D/CameraHal( 156): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(1), orientation(0)
D/CameraHal( 156): commandThread(1108): commandThread(1108): receive CMD_AF_CANCEL
D/CameraHal( 156): commandThread(964): commandThread(964):receive CMD_SET_PREVIEW_WINDOW
D/CameraHal( 156): commandThread(980): commandThread(980): CMD_SET_PREVIEW_WINDOW out
D/CameraHal( 156): commandThread(859): commandThread(859):receive CMD_PREVIEW_START
D/CameraHal( 156): stop(1859): m_camDevice->stopPreview success!
E/CameraHal( 156): setupPreview(258): >>>>>>>width_sensor=800,height_sensor=600,preview_w=800,preview_h=600
D/CameraHal( 156): setupPreview(306): isp out put format is YUV420SP.
D/CameraHal( 156): start(1814): m_camDevice->startPreview success
D/CameraHal( 156): displayThread(596): displayThread(596): receive CMD_DISPLAY_START
D/CameraHal( 156): cameraDisplayBufferDestory(399): cameraDisplayBufferDestory(399): mANativeWindow is NULL, destory is ignore
D/CameraHal( 156): commandThread(932): commandThread(932): CMD_PREVIEW_START out
|
|