我现在移植android5.1
板子原来在android4.4.2上都已经跑通,板子应该没问题。
logcat打印如下:
打开照相机软件:
W/AudioTrack( 472): AUDIO_OUTPUT_FLAG_FAST denied by client
I/ActivityManager( 472): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] **=0x10200000 cmp=com.android.camera2/com.android.camera.CameraLauncher bnds=[162,289][250,377] (has extras)} from uid 10010 on display 0
I/audio_hw_primary( 200): start_output_stream... -1249269568, device 2
W/audio_hw_primary( 200): card 0, port 0 device 0x2
W/audio_hw_primary( 200): rate 44100, channel 2 period_size 0xc0
V/WindowManager( 472): addAppToken: AppWindowToken{c717c4d token=Token{3bfd5fe4 ActivityRecord{238c777 u0 com.android.camera2/com.android.camera.CameraLauncher t4}}} to stack=1 task=4 at 0
V/WindowManager( 472): Adding window Window{2322c77c u0 Starting com.android.camera2} at 2 of 7 (after Window{d1f4d53 u0 com.android.launcher/com.android.launcher2.Launcher})
I/ActivityManager( 472): Waited long enough for: ServiceRecord{fb1ef24 u0 com.android.calendar/.alerts.InitAlarmsService}
I/CameraManagerGlobal( 1542): getCameraService: Reconnecting to camera service
I/art ( 1542): Background partial concurrent mark sweep GC freed 261(17KB) AllocSpace objects, 0(0B) LOS objects, 58% free, 728KB/1752KB, paused 5.059ms total 32.870ms
I/CameraService( 200): getCameraCharacteristics: Switching to HAL1 shim implementation...
I/CameraService( 200): getCameraCharacteristics: Switching to HAL1 shim implementation...
W/AudioFlinger( 200): acquireAudioSessionId() unknown client 1542 for session 17
W/AudioFlinger( 200): acquireAudioSessionId() unknown client 1542 for session 18
I/Camera2ClientBase( 200): Camera 1: Opened. Client: com.android.camera2 (PID 1542, UID 10029)
I/FslCameraHAL( 200): camera_device open: 1
I/FslCameraHAL( 200): --camera_get_number_of_cameras-------------1-----------------------
E/FslCameraHAL( 200): -------------------------------camera service provided cameraid out of bounds, cameraid = 1, num supported = 2
I/FslCameraHAL( 200): DeviceAdapter: Create ov564x csi device
I/FslCameraHAL( 200): SupportedPictureSizes: 640 x 480
I/FslCameraHAL( 200): SupportedPictureSizes: 320 x 240
I/FslCameraHAL( 200): SupportedPictureSizes: 720 x 480
I/FslCameraHAL( 200): SupportedPictureSizes: 720 x 576
I/FslCameraHAL( 200): SupportedPictureSizes: 1280 x 720
I/FslCameraHAL( 200): SupportedPictureSizes: 2592 x 1944
I/FslCameraHAL( 200): SupportedPictureSizes: 1024 x 768
I/FslCameraHAL( 200): SupportedPreviewSizes: 1920 x 1080
I/FslCameraHAL( 200): SupportedPreviewSizes: 320 x 240
I/FslCameraHAL( 200): SupportedPreviewSizes: 720 x 480
I/FslCameraHAL( 200): SupportedPreviewSizes: 720 x 576
I/FslCameraHAL( 200): SupportedPreviewSizes: 1280 x 720
I/FslCameraHAL( 200): SupportedPreviewSizes: 640 x 480
I/FslCameraHAL( 200): SupportedPreviewSizes: 176 x 144
I/FslCameraHAL( 200): SupportedPreviewSizes: 1024 x 768
I/FslCameraHAL( 200): FrameDuration is 33331760, 30000000000
I/FslCameraHAL( 200): mMaxWidth:2592, mMaxHeight:1944
I/FslCameraHAL( 200): ov5640Mipi, mFocalLength:3.370000, mPhysicalWidth:3.628800, mPhysicalHeight 2.721600
E/FslCameraHAL( 200): cpu num 4
W/Camera2-Parameters( 200): buildFastInfo: Camera 1: activeArraySize is missing xmin/ymin!
I/Camera2-Parameters( 200): Camera 1: Disabling ZSL mode
I/FslCameraHAL( 200): RequestManager release...
I/FslCameraHAL( 200): RequestManager release end...
I/FslCameraHAL( 200): RequestManager release...
I/FslCameraHAL( 200): RequestManager release end...
I/Camera2ClientBase( 200): Camera 0: Opened. Client: com.android.camera2 (PID 1542, UID 10029)
I/FslCameraHAL( 200): camera_device open: 0
I/FslCameraHAL( 200): --camera_get_number_of_cameras-------------1-----------------------
E/FslCameraHAL( 200): -------------------------------camera service provided cameraid out of bounds, cameraid = 0, num supported = 2
I/FslCameraHAL( 200): DeviceAdapter: Create ov5640 csi device
I/FslCameraHAL( 200): SupportedPictureSizes: 640 x 480
I/FslCameraHAL( 200): SupportedPictureSizes: 320 x 240
I/FslCameraHAL( 200): SupportedPictureSizes: 720 x 480
I/FslCameraHAL( 200): SupportedPictureSizes: 720 x 576
I/FslCameraHAL( 200): SupportedPictureSizes: 1280 x 720
I/FslCameraHAL( 200): SupportedPictureSizes: 2592 x 1944
I/FslCameraHAL( 200): SupportedPictureSizes: 1024 x 768
I/FslCameraHAL( 200): SupportedPreviewSizes: 1280 x 720
I/FslCameraHAL( 200): SupportedPreviewSizes: 320 x 240
I/FslCameraHAL( 200): SupportedPreviewSizes: 720 x 480
I/FslCameraHAL( 200): SupportedPreviewSizes: 720 x 576
I/FslCameraHAL( 200): SupportedPreviewSizes: 640 x 480
I/FslCameraHAL( 200): SupportedPreviewSizes: 176 x 144
I/FslCameraHAL( 200): FrameDuration is 33331760, 30000000000
I/FslCameraHAL( 200): mMaxWidth:2592, mMaxHeight:1944
I/FslCameraHAL( 200): ov5640Csi, mFocalLength:3.370000, mPhysicalWidth:3.628800, mPhysicalHeight 2.721600
E/FslCameraHAL( 200): cpu num 4
W/Camera2-Parameters( 200): buildFastInfo: Camera 0: activeArraySize is missing xmin/ymin!
I/Camera2-Parameters( 200): Camera 0: Disabling ZSL mode
I/Camera2Client( 200): Camera 1: Closed
I/Camera2ClientBase( 200): Closed Camera 1. Client was: com.android.camera2 (PID 1542, UID 10029)
I/FslCameraHAL( 200): RequestManager release...
I/FslCameraHAL( 200): RequestManager release end...
I/FslCameraHAL( 200): RequestManager release...
I/FslCameraHAL( 200): RequestManager release end...
I/Camera2Client( 200): Camera 0: Closed
I/Camera2ClientBase( 200): Closed Camera 0. Client was: com.android.camera2 (PID 1542, UID 10029)
D/NuPlayerDriver( 200): reset(0xb5873e80)
D/NuPlayerDriver( 200): notifyResetComplete(0xb5873e80)
D/NuPlayerDriver( 200): reset(0xb59a3160)
D/NuPlayerDriver( 200): notifyResetComplete(0xb59a3160)
I/art ( 1542): Background sticky concurrent mark sweep GC freed 68(9KB) AllocSpace objects, 0(0B) LOS objects, 6% free, 1629KB/1752KB, paused 5.682ms total 19.445ms
I/CameraService( 200): getCameraCharacteristics: Switching to HAL1 shim implementation...
I/CameraService( 200): getCameraCharacteristics: Switching to HAL1 shim implementation...
D/NuPlayerDriver( 200): start(0xb59a3700)
I/GenericSource( 200): start
D/NuPlayerDriver( 200): reset(0xb59a3700)
W/ALooperRoster( 200): failed to deliver message. Target handler 102 registered, but object gone.
D/NuPlayerDriver( 200): notifyResetComplete(0xb59a3700)
V/NFC ( 1542): this device does not have NFC support
D/ ( 472): AccelSensor enable 1 , handle 0 ,mEnabled 2
E/SensorService( 472): Error activating sensor 0 (Operation not permitted)
I/CAM2PORT_AndCam2AgntImp( 1542): Opening camera index 0 (id 0) with camera2 API
I/CameraManager( 1542): Using legacy camera HAL.
W/AudioFlinger( 200): acquireAudioSessionId() unknown client 1542 for session 19
D/NuPlayerDriver( 200): start(0xb5873f40)
I/GenericSource( 200): start
W/AudioFlinger( 200): acquireAudioSessionId() unknown client 1542 for session 20
I/Camera2ClientBase( 200): Camera 0: Opened. Client: com.android.camera2 (PID 1542, UID 10029)
I/FslCameraHAL( 200): camera_device open: 0
I/FslCameraHAL( 200): --camera_get_number_of_cameras-------------1-----------------------
E/FslCameraHAL( 200): -------------------------------camera service provided cameraid out of bounds, cameraid = 0, num supported = 2
I/FslCameraHAL( 200): DeviceAdapter: Create ov5640 csi device
D/NuPlayerDriver( 200): reset(0xb5873f40)
D/NuPlayerDriver( 200): notifyResetComplete(0xb5873f40)
D/NuPlayerDriver( 200): start(0xb59a3700)
I/GenericSource( 200): start
D/NuPlayerDriver( 200): reset(0xb59a3700)
D/NuPlayerDriver( 200): notifyResetComplete(0xb59a3700)
W/audio_hw_primary( 200): do_out_standby... -1249269568
I/FslCameraHAL( 200): SupportedPictureSizes: 640 x 480
I/FslCameraHAL( 200): SupportedPictureSizes: 320 x 240
I/FslCameraHAL( 200): SupportedPictureSizes: 720 x 480
I/FslCameraHAL( 200): SupportedPictureSizes: 720 x 576
I/FslCameraHAL( 200): SupportedPictureSizes: 1280 x 720
I/FslCameraHAL( 200): SupportedPictureSizes: 2592 x 1944
I/FslCameraHAL( 200): SupportedPictureSizes: 1024 x 768
I/FslCameraHAL( 200): SupportedPreviewSizes: 1280 x 720
I/FslCameraHAL( 200): SupportedPreviewSizes: 320 x 240
I/FslCameraHAL( 200): SupportedPreviewSizes: 720 x 480
I/FslCameraHAL( 200): SupportedPreviewSizes: 720 x 576
I/FslCameraHAL( 200): SupportedPreviewSizes: 640 x 480
I/FslCameraHAL( 200): SupportedPreviewSizes: 176 x 144
I/FslCameraHAL( 200): FrameDuration is 33331760, 30000000000
I/FslCameraHAL( 200): mMaxWidth:2592, mMaxHeight:1944
I/FslCameraHAL( 200): ov5640Csi, mFocalLength:3.370000, mPhysicalWidth:3.628800, mPhysicalHeight 2.721600
E/FslCameraHAL( 200): cpu num 4
W/Camera2-Parameters( 200): buildFastInfo: Camera 0: activeArraySize is missing xmin/ymin!
I/Camera2-Parameters( 200): Camera 0: Disabling ZSL mode
D/ ( 472): AccelSensor enable 1 , handle 0 ,mEnabled 3
E/SensorService( 472): Error activating sensor 0 (Operation not permitted)
D/ ( 472): AccelSensor enable 1 , handle 1 ,mEnabled 3
D/ ( 472): MagSensor mEnabled 1, OrientaionSensor mEnabled 0
E/SensorService( 472): Error activating sensor 1 (Operation not permitted)
D/OpenGLRenderer( 1542): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
I/imx6.gralloc( 1542): open gpu gralloc module!
D/Atlas ( 1542): Validating map...
V/WindowManager( 472): Adding window Window{6703380 u0 com.android.camera2/com.android.camera.CameraLauncher} at 2 of 8 (before Window{2322c77c u0 Starting com.android.camera2})
I/OpenGLRenderer( 1542): Initialized EGL, version 1.4
D/OpenGLRenderer( 1542): Enabling debug mode 0
E/BufferQueueProducer( 191): [com.android.camera2/com.android.camera.CameraLauncher] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
W/CAM2PORT_CamAgnt( 1542): Unsupported settings in applySettings()
I/CAM_PhotoModule( 1542): onCameraAvailable
W/CAM2PORT_CamAgnt( 1542): Unsupported settings in applySettings()
W/CAM_PhotoModule( 1542): startPreview: surfaceTexture is not ready.
W/CAM2PORT_CamAgnt( 1542): Unsupported settings in applySettings()
W/CAM_IndicatorIconCtrlr( 1542): Trying to sync a pano indicator that is not initialized.
W/ResourceType( 1542): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 1542): Failure retrieving resources for com.android.gallery3d: Resource ID #0x0
I/CAM_PhotoModule( 1542): onPreviewUIReady
I/CAM_PhotoModule( 1542): startPreview
I/CameraDeviceState( 1542): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 1542): Configure outputs: 2 surfaces configured.
D/Camera ( 1542): app passed NULL surface
I/RequestThread-0( 1542): configureOutputs - set take picture size to 2592x1944
I/art ( 1542): Background sticky concurrent mark sweep GC freed 4880(195KB) AllocSpace objects, 0(0B) LOS objects, 7% free, 2MB/2MB, paused 7.665ms total 35.134ms
E/BufferQueueProducer( 1542): [unnamed-1542-0] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
I/FslCameraHAL( 200): DEBUG(CreateDefaultRequest): making template (1)
I/FslCameraHAL( 200): DEBUG(CreateDefaultRequest): making template (3)
I/CameraDeviceState( 1542): Legacy camera service transitioning to state IDLE
I/RequestQueue( 1542): Repeating capture request set.
W/LegacyRequestMapper( 1542): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
V/WindowManager( 472): Adding window Window{ddc35fe u0 com.android.camera2/com.android.camera.CameraLauncher} at 3 of 9 (before Window{2322c77c u0 Starting com.android.camera2})
W/LegacyRequestMapper( 1542): Only received metering rectangles with weight 0.
W/LegacyRequestMapper( 1542): convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported
I/RequestQueue( 1542): Repeating capture request cancelled.
I/RequestQueue( 1542): Repeating capture request set.
W/PathParser( 1542): Points are too far apart 4.000000596046461
I/FslCameraHAL( 200): RequestManager allocateStream...
I/FslCameraHAL( 200): allocateStream preview stream, w:640, h:480, fmt:0x22
I/FslCameraHAL( 200): actual format 0x103
I/FslCameraHAL( 200): RequestManager allocateStream end...
I/imx6.gralloc( 200): open gpu gralloc module!
I/FslCameraHAL( 200): RequestManager registerStreamBuffers stream id:0
I/FslCameraHAL( 200): registerBuffers total 5 buffer
I/FslCameraHAL( 200): CameraFrame::initialize, i 0, phyAddr 0x2470d000, mBufHandle 0xb5894800
I/FslCameraHAL( 200): CameraFrame::initialize, i 1, phyAddr 0x2479c000, mBufHandle 0xb5894500
I/FslCameraHAL( 200): CameraFrame::initialize, i 2, phyAddr 0x25524000, mBufHandle 0xb5894980
I/FslCameraHAL( 200): CameraFrame::initialize, i 3, phyAddr 0x25594800, mBufHandle 0xb5894a40
I/FslCameraHAL( 200): CameraFrame::initialize, i 4, phyAddr 0x25605000, mBufHandle 0xb5894b00
I/FslCameraHAL( 200): RequestManager registerStreamBuffers end...
I/FslCameraHAL( 200): RequestManager allocateStream...
I/FslCameraHAL( 200): allocateStream jpeg stream, w:2592, h:1944, fmt:0x21
I/FslCameraHAL( 200): actual format 0x103
I/FslCameraHAL( 200): RequestManager allocateStream end...
I/FslCameraHAL( 200): RequestManager registerStreamBuffers stream id:3
I/FslCameraHAL( 200): RequestManager registerStreamBuffers end...
I/FslCameraHAL( 200): notify_request_queue_not_empty running
I/FslCameraHAL( 200): dispatchRequest running
I/FslCameraHAL( 200): handleRequest running
I/FslCameraHAL( 200): PreviewStream configure running
I/FslCameraHAL( 200): pixel format: 0x3231564e
I/FslCameraHAL( 200): Width * Height 640 x 480 format 0x3231564e, fps: 30
E/BufferQueueProducer( 191): [com.android.camera2/com.android.camera.CameraLauncher] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
W/InputMethodManager( 1542): Ignoring onBind: cur seq=3, given seq=2
I/ActivityManager( 472): Displayed com.android.camera2/com.android.camera.CameraLauncher: +4s42ms
I/FslCameraHAL( 200): PreviewStream start running
I/FslCameraHAL( 200): StreamAdapter start running
I/FslCameraHAL( 200): stream thread received STREAM_START command
I/FslCameraHAL( 200): Created device thread
I/CameraDeviceState( 1542): Legacy camera service transitioning to state CAPTURING
D/CameraPerformanceTracker( 1542): First preview frame received
W/LegacyRequestMapper( 1542): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
W/LegacyRequestMapper( 1542): Only received metering rectangles with weight 0.
W/LegacyRequestMapper( 1542): convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported
W/AudioTrack( 472): AUDIO_OUTPUT_FLAG_FAST denied by client
I/RequestQueue( 1542): Repeating capture request cancelled.
I/RequestQueue( 1542): Repeating capture request set.
I/audio_hw_primary( 200): start_output_stream... -1249269568, device 2
W/audio_hw_primary( 200): card 0, port 0 device 0x2
W/audio_hw_primary( 200): rate 44100, channel 2 period_size 0xc0
W/LegacyRequestMapper( 1542): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
W/LegacyRequestMapper( 1542): Only received metering rectangles with weight 0.
W/LegacyRequestMapper( 1542): convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported
W/audio_hw_primary( 200): do_out_standby... -1249269568
D/InitAlarmsService( 1414): Clearing and rescheduling alarms.
|
|