|
rk3288 android5.1移植一个新的ov9734驱动,i2c/mipi波形看着没问题,但是没有图像?
发表于 2018-6-1 15:49:14
浏览:11235
|
回复:7
打印
只看该作者
[复制链接]
楼主
请大牛指导一下,现在我这边发现不了原因所在!!!!!!谢谢
分别为mipi i2c 相机现象
logcat:
shell@firefly:/ $ logcat | grep Cam
D/CameraHal( 159): ParserDVConfig(613): DV_QVGA(qvga) resolution(320x240) fps(30) support(0)
D/CameraHal( 159): ParserDVConfig(625): DV_CIF(cif) resolution(352x288) fps(30) support(0)
D/CameraHal( 159): ParserDVConfig(637): DV_VGA(480p) resolution(640x480) fps(30) support(0)
D/CameraHal( 159): ParserDVConfig(649): DV_480P(480p) resolution(720x480) fps(30) support(0)
D/CameraHal( 159): ParserDVConfig(673): DV_720P(720p) resolution(1280x720) fps(30) support(1)
D/CameraHal( 159): ParserDVConfig(685): DV_1080P(1080p) resolution(1920x1080) fps(30) support(1)
D/CameraHal( 159): number of camdevice (3)
D/CameraHal( 159): now DV size(7)
E/CameraHal( 159): camera_get_number_of_cameras(690): board profiles cam num 3
D/CameraHal( 159): read cam name from xml(/data/camera/media_profiles.xml)
D/CameraHal( 159): videoname0="OV9734" index=0 facing=0 -->
D/CameraHal( 159):
D/CameraHal( 159): videoname1="TC358749XBG" index=2 facing=0 -->
D/CameraHal( 159):
D/CameraHal( 159): media_profiles.xml not have any camera device
D/CameraHal( 159): **************OpenAndRegistOneSensor(968)
D/CameraHal( 159): **************0xb50e0cfd
D/CameraHal( 159): **************OpenAndRegistOneSensor(972)
D/CameraHal( 159): **************OpenAndRegistOneSensor(979)
D/CameraHal( 159): **************RegisterSensorDevice(1143)
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159): CamSys_Head.h Version Check:
D/CameraHal( 159): Kernel camsys_head.h: v0.11.0
D/CameraHal( 159): Kernel camsys_drv : v0.32.0
D/CameraHal( 159): CameraHal camsys_head.h : v0.11.0
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159): Check OV9734 ID: reg: 0x300a val: 0x97 default: 0x97
D/CameraHal( 159): Check OV9734 ID: reg: 0x300b val: 0x34 default: 0x34
D/CameraHal( 159): OpenAndRegistOneSensor(997): sensor xml file name : /etc/OV9734.xml lens name
D/CameraHal( 159): **************OpenAndRegistOneSensor(968)
D/CameraHal( 159): **************0xb50b7355
D/CameraHal( 159): **************OpenAndRegistOneSensor(972)
D/CameraHal( 159): **************OpenAndRegistOneSensor(979)
D/CameraHal( 159): **************RegisterSensorDevice(1143)
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159): CamSys_Head.h Version Check:
D/CameraHal( 159): Kernel camsys_head.h: v0.11.0
D/CameraHal( 159): Kernel camsys_drv : v0.32.0
D/CameraHal( 159): CameraHal camsys_head.h : v0.11.0
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159):
E/CameraHal( 159): WARNING: OV5640 soft reset by i2c failed!, please check follow information:
E/CameraHal( 159): Slave_addr: 0x78 0x0
E/CameraHal( 159): Soft reset reg: 0x3008 val: 0x80
E/CameraHal( 159): Power/PowerDown/Reset/Mclk/I2cBus
E/CameraHal( 159): OV5640 device register failed!
D/CameraHal( 159): **************OpenAndRegistOneSensor(968)
D/CameraHal( 159): **************0xb50d6be1
D/CameraHal( 159): **************OpenAndRegistOneSensor(972)
D/CameraHal( 159): **************OpenAndRegistOneSensor(979)
D/CameraHal( 159): **************RegisterSensorDevice(1143)
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159): CamSys_Head.h Version Check:
D/CameraHal( 159): Kernel camsys_head.h: v0.11.0
D/CameraHal( 159): Kernel camsys_drv : v0.32.0
D/CameraHal( 159): CameraHal camsys_head.h : v0.11.0
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159):
D/CameraHal( 159): Check TC358749XBG ID: reg: 0x0 val: 0x147 default: 0x147
E/CameraHal( 159): camera_get_number_of_cameras(698): load sensor name(OV9734) connect 1
E/CameraHal( 159): camera_get_number_of_cameras(698): load sensor name(OV5640) connect 0
E/CameraHal( 159): camera_get_number_of_cameras(698): load sensor name(TC358749XBG) connect 1
E/CameraHal( 159): camera_get_number_of_cameras(754): Open /dev/video0 failed! strr: No such file or directory
D/CameraHal( 159): camera_get_number_of_cameras(1140): camera_get_number_of_cameras(1140): Current board have 2 cameras attached.
D/CameraHal( 159): camera_get_number_of_cameras(1143): meida_profiles_xml_control time (218567)us
D/MediaProfiles( 165): Delay for CameraHal: 1 s!
D/MediaProfiles( 165): CameraGroupFound(668): media_profiles_id: 0x0
I/CameraManagerGlobal( 610): getCameraService: Reconnecting to camera service
E/CameraManagerGlobal( 610): Camera id 0 has status changed to 0x1
I/CameraService( 159): getCameraCharacteristics: Switching to HAL1 shim implementation...
D/CameraHal( 159): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(180)
E/CameraManagerGlobal( 610): Camera id 1 has status changed to 0x1
D/CameraHal( 159): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(180)
I/CameraClient( 159): Opening camera 0
D/CameraHal( 159): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(180)
I/CameraHal( 159): camera_device_open(500): camera_device open
D/CameraHal( 159): gCameraHalLogLevel: 2
D/CameraHal( 159): CameraHal(133): it is a isp camera
E/CameraManagerGlobal( 610): Camera id 0 has status changed to 0x80000000
D/CameraHal( 159): Calling process is: /system/bin/mediaserver
D/CameraHal_Marvin( 159): HAL-MOCKUP: regmem.base = 0xb3764000,regmem.size = 0x10000!
D/CameraHal( 159): displayThread(833): displayThread(833): display thread pause here...
I/CameraHal_Marvin( 159): HAL-MOCKUP: CamSys power on out ,result = 0
I/CameraHal_Marvin( 159): AF: INFO (enter)
I/CameraHal_Marvin( 159): AF: AfInit: (exit)
E/CameraHal( 159): disconnectCamera(1784): getFocusLimits failed!
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: AfpsResChangeThread (started)
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: openSensor(1015)
I/CameraHal_Marvin( 159): HAL-MOCKUP: CamSys power on out ,result = 0
I/CameraHal_Marvin( 159): HAL-MOCKUP: CamSys power on out ,result = 0
I/CameraHal_Marvin( 159): HAL-MOCKUP: CamSys power on out ,result = 0
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159): CameraHal Version Check:
D/CameraHal_Marvin( 159): CamSys_Head.h version:
D/CameraHal_Marvin( 159): kernel: (0x) v0.b.0
D/CameraHal_Marvin( 159): libisp_siliconimage_isp.so: (0x) v0.b.0
D/CameraHal_Marvin( 159): LibIsp version:
D/CameraHal_Marvin( 159): local: (0x) v1.27.0
D/CameraHal_Marvin( 159): camera.rk30board.so: (0x) v1.27.0
D/CameraHal_Marvin( 159): Sensor ISI version:
D/CameraHal_Marvin( 159): libisp_isi_drv_XXX: (0x) v0.a.0
D/CameraHal_Marvin( 159): libisp_siliconimage_isp.so: (0x) v0.a.0
D/CameraHal_Marvin( 159): Tunning XML version:
D/CameraHal_Marvin( 159): libisp_isi_drv_XXX: (22-May-2018_OUYANG_OV9734_FX288_v1.0)
D/CameraHal_Marvin( 159): Calibdb: (08-Jan-2014_OUYANG_OV9734_sample_01_v1.0)
D/CameraHal_Marvin( 159): sensor name OV9734:
D/CameraHal_Marvin( 159): sensor drv version: (0x) v0.9.0
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159): CAM_API_CAMENGINE: Request 640x480, Exp(>= 0.000000), Fps(>= 15fps)
D/CameraHal_Marvin( 159): CAM_API_CAMENGINE: getPreferedSensorRes is 1280x720@30fps
E/CameraHal( 159): setupPreview(258): >>>>>>>width_sensor=0,height_sensor=0,preview_w=640,preview_h=480
D/CameraHal( 159): setupPreview(306): isp out put format is YUV420SP.
I/CameraHal_Marvin( 159): HAL-MOCKUP: handle 0x1
E/CameraHal_Marvin( 159): HAL-MOCKUP: PHY ADDR (0x10000000),iommu addr (0x10000000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
I/CameraHal_Marvin( 159): HAL-MOCKUP: malloc size(0x151800@0x10000000),block(0xb8d87420) from ion successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: handle 0x2
E/CameraHal_Marvin( 159): HAL-MOCKUP: PHY ADDR (0x10154000),iommu addr (0x10154000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
I/CameraHal_Marvin( 159): HAL-MOCKUP: malloc size(0x151800@0x10154000),block(0xb8d87440) from ion successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: handle 0x3
E/CameraHal_Marvin( 159): HAL-MOCKUP: PHY ADDR (0x102a8000),iommu addr (0x102a8000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
I/CameraHal_Marvin( 159): HAL-MOCKUP: malloc size(0x151800@0x102a8000),block(0xb8d87460) from ion successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: handle 0x4
E/CameraHal_Marvin( 159): HAL-MOCKUP: PHY ADDR (0x103fc000),iommu addr (0x103fc000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
I/CameraHal_Marvin( 159): HAL-MOCKUP: malloc size(0x151800@0x103fc000),block(0xb8d84840) from ion successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: media buffer addr(0@ 0x10000000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: media buffer addr(1@ 0x10154000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: media buffer addr(2@ 0x102a8000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: media buffer addr(3@ 0x103fc000)
E/CameraHal_Marvin( 159): AEC: AecUpdateConfig: Invalid EcmResolution 1280x720P30(0x3c5002d0)!
E/CameraHal_Marvin( 159): AEC: AecConfigure: AecUpdateConfig() failed!
E/CameraHal_Marvin( 159): CAM-ENGINE: CamEngineConfAec: Configuration of AEC failed (6)
E/CameraHal_Marvin( 159): CAM-ENGINE: CamEngineModulesConfigure (configuring AEC failed -> RESULT=6)
E/CameraHal_Marvin( 159): CAM-ENGINE: CamEngineInitCamerIc (configuration of modules failed)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
D/CameraHal_Marvin( 159): HAL-MOCKUP: free ion buffer(phy=0x103fc000) successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
D/CameraHal_Marvin( 159): HAL-MOCKUP: free ion buffer(phy=0x102a8000) successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
D/CameraHal_Marvin( 159): HAL-MOCKUP: free ion buffer(phy=0x10154000) successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
D/CameraHal_Marvin( 159): HAL-MOCKUP: free ion buffer(phy=0x10000000) successful
E/CameraHal_Marvin( 159): CAM_ENGINE_API: CamEngineStart (initializing camerIC failed -> RESULT=6)
E/CameraHal_Marvin( 159): CAM_API_CAMENGINE: setupCamerIC (can't start the cam-engine instance)
E/CameraHal( 159): connectCamera(1723): connectCamera failed!
D/CameraHal( 159): initDefaultParameters(981): ------mHardInfo.mVcmInfo.mVcmDrvName in not NC-----
D/CameraHal( 159): enableSensor(213): orientation = 0xb8dba648 (MPL accel)
W/CameraService( 159): CameraService::connect X (id 0, this pid is 159, name media)
D/CameraHal( 159): put(207): commandCmdQ.put(CMD_PREVIEW_CAPTURE_CANCEL(0x3),CMDARG_UNKNOW(0xb46909ac),0x0,0x0,0x0)
D/CameraHal( 159): get(147): commandCmdQ.get(CMD_PREVIEW_CAPTURE_CANCEL(0x3),CMDARG_UNKNOW(0xb46909ac),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(983): commandThread(983): receive CMD_PREVIEW_CAPTURE_CANCEL
D/CameraHal( 159): put(207): pictureEncThreadQ.put(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb33633cc),0x0,0x0,0x0)
D/CameraHal( 159): get(147): pictureEncThreadQ.get(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb33633cc),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(991): commandThread(991): CMD_PREVIEW_CAPTURE_CANCEL out
D/CameraHal( 159): cancelPicture(561): cancel picture OK.
D/CameraHal( 159): put(207): commandCmdQ.put(CMD_PREVIEW_CAPTURE(0x2),CMDARG_UNKNOW(0xb46909ac),0x0,0x0,0x0)
D/CameraHal( 159): get(147): commandCmdQ.get(CMD_PREVIEW_CAPTURE(0x2),CMDARG_UNKNOW(0xb46909ac),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(911): commandThread(911):receive CMD_PREVIEW_STOP
D/CameraHal( 159): put(207): pictureEncThreadQ.put(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb33633c4),0x0,0x0,0x0)
D/CameraHal( 159): get(147): pictureEncThreadQ.get(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb33633c4),0x0,0x0,0x0)
D/CameraHal( 159): put(207): CamMsgQue.put(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb33633c4),0x0,0x0,0x0)
D/CameraHal( 159): get(147): CamMsgQue.get(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb33633c4),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(932): commandThread(932): CMD_PREVIEW_STOP out
D/CameraHal( 159): stopPreview(362): stop preview OK.
I/CameraClient( 159): Destroying camera 0
D/CameraHal( 159): camera_device_close(451): camera_device_close
D/CameraHal( 159): disableSensor(237): orientation = 0xb8dba648 (MPL accel)
D/CameraHal( 159): ~SensorListener(110): Kill looper thread
D/CameraHal( 159): ~SensorListener(122): Kill looper
D/CameraHal( 159): ~SensorListener(128): SensorListener destroyed
D/CameraHal( 159): put(207): displayCmdQ.put(CMD_DISPLAY_STOP(0x2),CMDARG_UNKNOW(0xb4690908),0x0,0x0,0x0)
D/CameraHal( 159): displayThread(836): displayThread(836): display thread wake up...
D/CameraHal( 159): get(147): displayCmdQ.get(CMD_DISPLAY_STOP(0x2),CMDARG_UNKNOW(0xb4690908),0x0,0x0,0x0)
D/CameraHal( 159): displayThread(622): displayThread(622): receive CMD_DISPLAY_STOP
D/CameraHal( 159): cameraDisplayBufferDestory(399): cameraDisplayBufferDestory(399): mANativeWindow is NULL, destory is ignore
D/CameraHal( 159): put(207): eventThreadQ.put(CMD_UNKNOW(0x3),CMDARG_UNKNOW(0xb469090c),0x0,0x0,0x0)
D/CameraHal( 159): get(147): eventThreadQ.get(CMD_UNKNOW(0x3),CMDARG_UNKNOW(0xb469090c),0x0,0x0,0x0)
D/CameraHal( 159): put(207): pictureEncThreadQ.put(CMD_UNKNOW(0x2),CMDARG_UNKNOW(0xb4690910),0x0,0x0,0x0)
D/CameraHal( 159): get(147): pictureEncThreadQ.get(CMD_UNKNOW(0x2),CMDARG_UNKNOW(0xb4690910),0x0,0x0,0x0)
D/CameraHal( 159): encProcessThread(1632): encProcessThread(1632): receive CMD_ENCPROCESS_EXIT
D/CameraHal( 159): put(207): CamMsgQue.put(CMD_UNKNOW(0x2),CMDARG_UNKNOW(0xb4690910),0x0,0x0,0x0)
D/CameraHal( 159): get(147): CamMsgQue.get(CMD_UNKNOW(0x2),CMDARG_UNKNOW(0xb4690910),0x0,0x0,0x0)
D/CameraHal( 159): put(207): CamMsgQue.put(CMD_UNKNOW(0x9),CMDARG_UNKNOW(0xb4690910),0x0,0x0,0x0)
D/CameraHal( 159): get(147): CamMsgQue.get(CMD_UNKNOW(0x9),CMDARG_UNKNOW(0xb4690910),0x0,0x0,0x0)
I/CameraHal_Marvin( 159): HAL-MOCKUP: CamSys power on out ,result = 0
D/CameraHal_Marvin( 159): CAM_API_CAMENGINE: AfpsResChangeThread (stopping)
I/CameraHal_Marvin( 159): AF: AfStop: (enter)
D/CameraHal_Marvin( 159): AF: AfStop: pAfCtx->state: 1 isn't been stoped!
I/CameraHal_Marvin( 159): AF: AfStop: (exit)
I/CameraHal_Marvin( 159): AF: AfRelease: (enter)
D/CameraHal_Marvin( 159): AF: Receive SOC_AF_CMD_EXIT
I/CameraHal_Marvin( 159): AF: AfRelease: (exit)
I/CameraHal_Marvin( 159): HAL-MOCKUP: CamSys power on out ,result = 0
D/CameraHal( 159): put(207): commandCmdQ.put(CMD_UNKNOW(0xa),CMDARG_UNKNOW(0xb4690950),0x0,0x0,0x0)
D/CameraHal( 159): get(147): commandCmdQ.get(CMD_UNKNOW(0xa),CMDARG_UNKNOW(0xb4690950),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(1095): commandThread(1095): receive CMD_EXIT
D/CameraHal( 159): ~CameraHal(293): CameraHal destory success
W/CameraService( 159): removeClient: clear camera 0, package name media
E/CameraManagerGlobal( 610): Camera id 0 has status changed to 0x1
I/CameraService( 159): getCameraCharacteristics: Switching to HAL1 shim implementation...
D/CameraHal( 159): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_1 facing(0), orientation(0)
D/CameraHal( 159): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_1 facing(0), orientation(0)
I/CameraClient( 159): Opening camera 1
D/CameraHal( 159): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_1 facing(0), orientation(0)
I/CameraHal( 159): camera_device_open(500): camera_device open
D/CameraHal( 159): gCameraHalLogLevel: 2
D/CameraHal( 159): CameraHal(133): it is a isp camera
E/CameraManagerGlobal( 610): Camera id 1 has status changed to 0x80000000
D/CameraHal( 159): Calling process is: /system/bin/mediaserver
D/CameraHal_Marvin( 159): HAL-MOCKUP: regmem.base = 0xb3806000,regmem.size = 0x10000!
I/CameraHal_Marvin( 159): HAL-MOCKUP: CamSys power on out ,result = 0
D/CameraHal( 159): displayThread(833): displayThread(833): display thread pause here...
I/CameraHal_Marvin( 159): AF: INFO (enter)
I/CameraHal_Marvin( 159): AF: AfInit: (exit)
E/CameraHal( 159): disconnectCamera(1784): getFocusLimits failed!
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: AfpsResChangeThread (started)
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: openSensor(1015)
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159): CameraHal Version Check:
D/CameraHal_Marvin( 159): CamSys_Head.h version:
D/CameraHal_Marvin( 159): kernel: (0x) v0.b.0
D/CameraHal_Marvin( 159): libisp_siliconimage_isp.so: (0x) v0.b.0
D/CameraHal_Marvin( 159): LibIsp version:
D/CameraHal_Marvin( 159): local: (0x) v1.27.0
D/CameraHal_Marvin( 159): camera.rk30board.so: (0x) v1.27.0
D/CameraHal_Marvin( 159): Sensor ISI version:
D/CameraHal_Marvin( 159): libisp_isi_drv_XXX: (0x) v0.a.0
D/CameraHal_Marvin( 159): libisp_siliconimage_isp.so: (0x) v0.a.0
D/CameraHal_Marvin( 159): sensor name TC358749XBG:
D/CameraHal_Marvin( 159): sensor drv version: (0x) v0.2.0
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159):
D/CameraHal_Marvin( 159): CAM_API_CAMENGINE: Request 640x480, Exp(>= 0.000000), Fps(>= 15fps)
D/CameraHal_Marvin( 159): CAM_API_CAMENGINE: getPreferedSensorRes is 1280x720@60fps
E/CameraHal( 159): setupPreview(258): >>>>>>>width_sensor=0,height_sensor=0,preview_w=640,preview_h=480
D/CameraHal( 159): setupPreview(306): isp out put format is YUV420SP.
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x0004 is 0x0000d70c instead of 0x00000400
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x0002 is 0x00000000 instead of 0x0000807f
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x0022 is 0x00001302 instead of 0x00000302
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x0014 is 0x00000002 instead of 0x00000000
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x0016 is 0x0000bf05 instead of 0x0000ff05
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x0204 is 0x00000000 instead of 0x01000000
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x0518 is 0x00000000 instead of 0x01000000
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x0500 is 0x00000000 instead of 0x868000a3
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x8502 is 0x00000000 instead of 0x00000001
W/CameraHal_Marvin( 159): ISI: IsiRegDefaultsVerify: @ 0x85d1 is 0x00000000 instead of 0x00000001
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: isSOCSensor this is a soc sensor
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: isSOCSensor this is a soc sensor
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: isSOCSensor this is a soc sensor
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: isSOCSensor this is a soc sensor
I/CameraHal_Marvin( 159): HAL-MOCKUP: handle 0x1
E/CameraHal_Marvin( 159): HAL-MOCKUP: PHY ADDR (0x10000000),iommu addr (0x10000000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
I/CameraHal_Marvin( 159): HAL-MOCKUP: malloc size(0x2fd000@0x10000000),block(0xb8dc1f50) from ion successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: handle 0x2
E/CameraHal_Marvin( 159): HAL-MOCKUP: PHY ADDR (0x102ff000),iommu addr (0x102ff000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
I/CameraHal_Marvin( 159): HAL-MOCKUP: malloc size(0x2fd000@0x102ff000),block(0xb8dc1f70) from ion successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: handle 0x3
E/CameraHal_Marvin( 159): HAL-MOCKUP: PHY ADDR (0x105fe000),iommu addr (0x105fe000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
I/CameraHal_Marvin( 159): HAL-MOCKUP: malloc size(0x2fd000@0x105fe000),block(0xb8dc1f90) from ion successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: handle 0x4
E/CameraHal_Marvin( 159): HAL-MOCKUP: PHY ADDR (0x108fd000),iommu addr (0x108fd000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
I/CameraHal_Marvin( 159): HAL-MOCKUP: malloc size(0x2fd000@0x108fd000),block(0xb8d87288) from ion successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: media buffer addr(0@ 0x10000000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: media buffer addr(1@ 0x102ff000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: media buffer addr(2@ 0x105fe000)
I/CameraHal_Marvin( 159): HAL-MOCKUP: media buffer addr(3@ 0x108fd000)
I/CameraHal_Marvin( 159): AF: AfConfigure: (enter)
I/CameraHal_Marvin( 159): AF: AfSearchInit: (enter)
I/CameraHal_Marvin( 159): AF: AfSearchInit: (exit)
D/CameraHal_Marvin( 159): AF: AfConfigure: pAfCtx->MaxFocus: 0
D/CameraHal_Marvin( 159): AF: AfConfigure: focus-range: 0..0 current: 0
I/CameraHal_Marvin( 159): AF: AfConfigure: (exit)
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: cbCompletion (CAM_ENGINE_CMD_START)
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: restartMipiDrv reset mipi drv,mipi lanenum 4,mipi freq 0x288,devid 0x1000000
E/CameraHal_Marvin( 159): ADPF: AdpfStart: Can't enable CamerIc DPF (8)
E/CameraHal_Marvin( 159): ADPCC: AdpccStart: Can't enable CamerIc DPCC (8)
D/CameraHal_Marvin( 159): AF: AfReset: (enter)
I/CameraHal_Marvin( 159): AF: AfSearchInit: (enter)
I/CameraHal_Marvin( 159): AF: AfSearchInit: (exit)
D/CameraHal_Marvin( 159): AF: AfReset: nPos->index: 0 pos: 0
D/CameraHal_Marvin( 159): AF: AfReset: nPos->index: 1 pos: 0
D/CameraHal_Marvin( 159): AF: AfReset: nPos->index: 2 pos: 0
D/CameraHal_Marvin( 159): AF: AfReset: nPos->index: 3 pos: 0
D/CameraHal_Marvin( 159): AF: AfReset: nPos->index: 4 pos: 0
D/CameraHal_Marvin( 159): AF: AfReset: nPos->index: 5 pos: 0
D/CameraHal_Marvin( 159): AF: AfReset: nPos->index: 6 pos: 0
D/CameraHal_Marvin( 159): AF: AfReset: nPos->index: 7 pos: 0
D/CameraHal_Marvin( 159): AF: AfReset: nPos->index: 8 pos: 0
D/CameraHal_Marvin( 159): AF: AfReset: curpos: 0 maxpos: 0 vcm_movefull_t: 0 ms
D/CameraHal_Marvin( 159): AF: AfReset: (exit)
D/CameraHal_Marvin( 159): AF: AfRegisterEvtQue: (enter)
D/CameraHal_Marvin( 159): AF: AfRegisterEvtQue success!
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: isSOCSensor this is a soc sensor
D/CameraHal( 159): enableSensor(213): orientation = 0xb8dba648 (MPL accel)
W/CameraService( 159): CameraService::connect X (id 1, this pid is 159, name media)
D/CameraHal( 159): put(207): commandCmdQ.put(CMD_PREVIEW_CAPTURE_CANCEL(0x3),CMDARG_UNKNOW(0xb48f49ac),0x0,0x0,0x0)
D/CameraHal( 159): get(147): commandCmdQ.get(CMD_PREVIEW_CAPTURE_CANCEL(0x3),CMDARG_UNKNOW(0xb48f49ac),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(983): commandThread(983): receive CMD_PREVIEW_CAPTURE_CANCEL
D/CameraHal( 159): put(207): pictureEncThreadQ.put(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb256f3cc),0x0,0x0,0x0)
D/CameraHal( 159): get(147): pictureEncThreadQ.get(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb256f3cc),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(991): commandThread(991): CMD_PREVIEW_CAPTURE_CANCEL out
D/CameraHal( 159): cancelPicture(561): cancel picture OK.
D/CameraHal( 159): put(207): commandCmdQ.put(CMD_PREVIEW_CAPTURE(0x2),CMDARG_UNKNOW(0xb48f49ac),0x0,0x0,0x0)
D/CameraHal( 159): get(147): commandCmdQ.get(CMD_PREVIEW_CAPTURE(0x2),CMDARG_UNKNOW(0xb48f49ac),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(911): commandThread(911):receive CMD_PREVIEW_STOP
D/CameraHal( 159): put(207): pictureEncThreadQ.put(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb256f3c4),0x0,0x0,0x0)
D/CameraHal( 159): get(147): pictureEncThreadQ.get(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb256f3c4),0x0,0x0,0x0)
D/CameraHal( 159): put(207): CamMsgQue.put(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb256f3c4),0x0,0x0,0x0)
D/CameraHal( 159): get(147): CamMsgQue.get(CMD_UNKNOW(0x1),CMDARG_UNKNOW(0xb256f3c4),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(932): commandThread(932): CMD_PREVIEW_STOP out
D/CameraHal( 159): stopPreview(362): stop preview OK.
I/CameraClient( 159): Destroying camera 1
D/CameraHal( 159): camera_device_close(451): camera_device_close
D/CameraHal( 159): disableSensor(237): orientation = 0xb8dba648 (MPL accel)
D/CameraHal( 159): ~SensorListener(110): Kill looper thread
D/CameraHal( 159): ~SensorListener(122): Kill looper
D/CameraHal( 159): ~SensorListener(128): SensorListener destroyed
D/CameraHal( 159): put(207): displayCmdQ.put(CMD_DISPLAY_STOP(0x2),CMDARG_UNKNOW(0xb48f4908),0x0,0x0,0x0)
D/CameraHal( 159): displayThread(836): displayThread(836): display thread wake up...
D/CameraHal( 159): get(147): displayCmdQ.get(CMD_DISPLAY_STOP(0x2),CMDARG_UNKNOW(0xb48f4908),0x0,0x0,0x0)
D/CameraHal( 159): displayThread(622): displayThread(622): receive CMD_DISPLAY_STOP
D/CameraHal( 159): cameraDisplayBufferDestory(399): cameraDisplayBufferDestory(399): mANativeWindow is NULL, destory is ignore
D/CameraHal( 159): put(207): eventThreadQ.put(CMD_UNKNOW(0x3),CMDARG_UNKNOW(0xb48f490c),0x0,0x0,0x0)
D/CameraHal( 159): get(147): eventThreadQ.get(CMD_UNKNOW(0x3),CMDARG_UNKNOW(0xb48f490c),0x0,0x0,0x0)
D/CameraHal( 159): put(207): pictureEncThreadQ.put(CMD_UNKNOW(0x2),CMDARG_UNKNOW(0xb48f4910),0x0,0x0,0x0)
D/CameraHal( 159): get(147): pictureEncThreadQ.get(CMD_UNKNOW(0x2),CMDARG_UNKNOW(0xb48f4910),0x0,0x0,0x0)
D/CameraHal( 159): encProcessThread(1632): encProcessThread(1632): receive CMD_ENCPROCESS_EXIT
D/CameraHal( 159): put(207): CamMsgQue.put(CMD_UNKNOW(0x2),CMDARG_UNKNOW(0xb48f4910),0x0,0x0,0x0)
D/CameraHal( 159): get(147): CamMsgQue.get(CMD_UNKNOW(0x2),CMDARG_UNKNOW(0xb48f4910),0x0,0x0,0x0)
D/CameraHal( 159): put(207): CamMsgQue.put(CMD_UNKNOW(0x9),CMDARG_UNKNOW(0xb48f4910),0x0,0x0,0x0)
D/CameraHal( 159): get(147): CamMsgQue.get(CMD_UNKNOW(0x9),CMDARG_UNKNOW(0xb48f4910),0x0,0x0,0x0)
I/CameraHal_Marvin( 159): AF: AfStop: (enter)
D/CameraHal_Marvin( 159): AF: AfStop: pAfCtx->state: 2 isn't been stoped!
I/CameraHal_Marvin( 159): AF: AfStop: (exit)
I/CameraHal_Marvin( 159): AF: AfStop: (enter)
D/CameraHal_Marvin( 159): AF: AfStop: pAfCtx->state: 2 isn't been stoped!
I/CameraHal_Marvin( 159): AF: AfStop: (exit)
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
D/CameraHal_Marvin( 159): HAL-MOCKUP: free ion buffer(phy=0x108fd000) successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
D/CameraHal_Marvin( 159): HAL-MOCKUP: free ion buffer(phy=0x105fe000) successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
D/CameraHal_Marvin( 159): HAL-MOCKUP: free ion buffer(phy=0x102ff000) successful
I/CameraHal_Marvin( 159): HAL-MOCKUP: success
D/CameraHal_Marvin( 159): HAL-MOCKUP: free ion buffer(phy=0x10000000) successful
I/CameraHal_Marvin( 159): CAM_API_CAMENGINE: cbCompletion (CAM_ENGINE_CMD_STOP)
D/CameraHal_Marvin( 159): CAM_API_CAMENGINE: AfpsResChangeThread (stopping)
I/CameraHal_Marvin( 159): AF: AfStop: (enter)
D/CameraHal_Marvin( 159): AF: AfStop: pAfCtx->state: 2 isn't been stoped!
I/CameraHal_Marvin( 159): AF: AfStop: (exit)
I/CameraHal_Marvin( 159): AF: AfRelease: (enter)
D/CameraHal_Marvin( 159): AF: Receive SOC_AF_CMD_EXIT
I/CameraHal_Marvin( 159): AF: AfRelease: (exit)
I/CameraHal_Marvin( 159): HAL-MOCKUP: CamSys power on out ,result = 0
D/CameraHal( 159): put(207): commandCmdQ.put(CMD_UNKNOW(0xa),CMDARG_UNKNOW(0xb48f4950),0x0,0x0,0x0)
D/CameraHal( 159): get(147): commandCmdQ.get(CMD_UNKNOW(0xa),CMDARG_UNKNOW(0xb48f4950),0x0,0x0,0x0)
D/CameraHal( 159): commandThread(1095): commandThread(1095): receive CMD_EXIT
D/CameraHal( 159): ~CameraHal(293): CameraHal destory success
W/CameraService( 159): removeClient: clear camera 1, package name media
E/CameraManagerGlobal( 610): Camera id 1 has status changed to 0x1
D/CameraHal( 159): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(180)
D/CameraHal( 159): camera_get_camera_info(1337): camera_get_camera_info(1337): camera_0 facing(0), orientation(180)
[ 633.635384] D1:camsys_mipiphy_clkin_cb(34): camsys_marvin mipi phy clk in turn on
[ 633.635403] D1:camsys_mipiphy_clkin_cb(34): camsys_marvin mipi phy clk in turn on
[ 633.635413] D1:camsys_open(739): camsys_marvin(ddf70310) is opened!
[ 633.635702] D1:camsys_mrv_clkin_cb(350): camsys_marvin clock(f: 210000000 Hz) in turn on
[ 633.635714] D1:camsys_rk3288_cfg(267): Isp_SoftRst: 1
[ 633.635821] D1:camsys_rk3288_cfg(267): Isp_SoftRst: 0
[ 633.635860] D1:camsys_rk3288_cfg(267): Isp_SoftRst: 0
[ 633.635941] D1:camsys_rk3288_cfg(267): Isp_SoftRst: 1
[ 633.638002] D1:camsys_rk3288_cfg(267): Isp_SoftRst: 0
[ 633.638483] D1:camsys_sysctl_extdev(364): Sysctl 11 success, gpio(11) set 0
[ 633.638581] D1:camsys_sysctl_extdev(360): Sysctl 7 success, gpio(78) set 0
[ 633.638669] D1:camsys_sysctl_extdev(360): Sysctl 8 success, gpio(79) set 0
[ 633.639742] E:camsys_sysctl_extdev(367): Sysctl 9 failed, because gpio is NULL!
[ 633.639754] E:camsys_sysctl_extdev(367): Sysctl 10 failed, because gpio is NULL!
[ 633.639898] D1:camsys_sysctl_extdev(364): Sysctl 11 success, gpio(11) set 0
[ 633.639984] D1:camsys_sysctl_extdev(360): Sysctl 7 success, gpio(78) set 0
[ 633.640067] D1:camsys_sysctl_extdev(360): Sysctl 8 success, gpio(79) set 0
[ 633.641133] E:camsys_sysctl_extdev(367): Sysctl 9 failed, because gpio is NULL!
[ 633.641146] E:camsys_sysctl_extdev(367): Sysctl 10 failed, because gpio is NULL!
[ 633.641213] D1:camsys_mrv_clkout_cb(392): camsys_marvin clock out(rate: 24000000Hz) turn on
[ 633.641309] D1:camsys_sysctl_extdev(360): Sysctl 11 success, gpio(11) set 1
[ 633.641396] D1:camsys_sysctl_extdev(364): Sysctl 7 success, gpio(78) set 1
[ 633.641479] D1:camsys_sysctl_extdev(364): Sysctl 8 success, gpio(79) set 1
[ 633.642551] E:camsys_sysctl_extdev(367): Sysctl 9 failed, because gpio is NULL!
[ 633.642562] E:camsys_sysctl_extdev(367): Sysctl 10 failed, because gpio is NULL!
[ 633.791234] D1:camsys_mrv_iommu_cb(276): map fd 18 ,client fd 47
[ 633.791234]
[ 633.791259] rk_iommu ff914000.isp_mmu: rockchip_iommu_attach_device: Attached new IOMMU with pgtable 0x1eab0000
[ 633.791830] D1:camsys_mrv_iommu_cb(276): map fd 19 ,client fd 47
[ 633.791830]
[ 633.791847] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
[ 633.792471] D1:camsys_mrv_iommu_cb(276): map fd 21 ,client fd 47
[ 633.792471]
[ 633.792490] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
[ 633.793041] D1:camsys_mrv_iommu_cb(276): map fd 22 ,client fd 47
[ 633.793041]
[ 633.793057] rk_iommu ff914000.isp_mmu: (isp_mmu) Already enabled
[ 633.797533] D1:camsys_mrv_iommu_cb(276): map fd 22 ,client fd 47
[ 633.797533]
[ 633.797595] rk_iommu ff914000.isp_mmu: (isp_mmu) 3 times left to be disabled
[ 633.797604] rk_iommu ff914000.isp_mmu: rockchip_iommu_detach_device: Detaching IOMMU with pgtable 1eab0000 delayed
[ 633.797987] D1:camsys_mrv_iommu_cb(276): map fd 21 ,client fd 47
[ 633.797987]
[ 633.798039] rk_iommu ff914000.isp_mmu: (isp_mmu) 2 times left to be disabled
[ 633.798049] rk_iommu ff914000.isp_mmu: rockchip_iommu_detach_device: Detaching IOMMU with pgtable 1eab0000 delayed
[ 633.798351] D1:camsys_mrv_iommu_cb(276): map fd 19 ,client fd 47
[ 633.798351]
[ 633.798402] rk_iommu ff914000.isp_mmu: (isp_mmu) 1 times left to be disabled
[ 633.798410] rk_iommu ff914000.isp_mmu: rockchip_iommu_detach_device: Detaching IOMMU with pgtable 1eab0000 delayed
[ 633.798687] D1:camsys_mrv_iommu_cb(276): map fd 18 ,client fd 47
[ 633.798687]
|
|