Project

General

Profile

OMAP4DucatiCamera » History » Version 10

Denis 'GNUtoo' Carikli, 11/02/2012 07:36 PM

1 1 Denis 'GNUtoo' Carikli
h1. Omap4-tiler-Camera
2 2 Denis 'GNUtoo' Carikli
3
4 1 Denis 'GNUtoo' Carikli
The galaxy Nexus chip has a camera that accesible trough the ducati microcontroller.
5 3 Denis 'GNUtoo' Carikli
6
7 9 Denis 'GNUtoo' Carikli
h2. Plan:
8 10 Denis 'GNUtoo' Carikli
9 9 Denis 'GNUtoo' Carikli
We don't support YV12 in the gralloc and in the software libgl yet.
10
There are several approachs to solve the issue:
11 10 Denis 'GNUtoo' Carikli
12 9 Denis 'GNUtoo' Carikli
h3. Approach 1: Add support for it
13
14
Long and complicated
15
16
h3. Approach 1: Change format:
17
18
The Camera supports the following formats:
19
compile,push, and run the omap4 camera_test program:
20
Here for the back camera:
21
<pre>
22
   Choice: E
23
E
24
E
25
	Supported Cameras: (null)
26
	Supported Picture Sizes: 2592x1944,2592x1728,2592x1458,2048x1536,1600x1200,1280x1024,1152x864,1280x960,640x480,320x240
27
	Supported Picture Formats: yuv420sp,yuv420p,yuv422i-yuyv,rgb565,raw,jpeg
28
	Supported Preview Sizes: 1920x1080,1280x720,960x720,800x480,720x576,720x480,768x576,640x480,320x240,352x288,240x160,176x144,128x96
29
	Supported Preview Formats: yuv420sp,yuv420p,yuv422i-yuyv,yuv420p
30
	Supported Preview Frame Rates: 30,15
31
	Supported Thumbnail Sizes: 640x480,160x120,200x120,320x240,512x384,352x144,176x144,96x96,0x0
32
	Supported Whitebalance Modes: auto,daylight,cloudy-daylight,fluorescent,incandescent,
33
	Supported Effects: none,negative,solarize,sepia,mono,whiteboard,blackboard,aqua,posterize
34
	Supported Scene Modes: auto,action,night,party,sunset
35
	Supported Focus Modes: continuous-video,auto,macro,infinity,infinity,continuous-picture
36
	Supported Antibanding Options: auto,50hz,60hz,off
37
	Supported Flash Modes: off,on,auto,torch
38
	Supported Focus Areas: 10
39
	Focus Distances: Infinity,Infinity,Infinity 
40
</pre>
41
42
h3. Approach 2: Workarround
43 10 Denis 'GNUtoo' Carikli
<pre>
44
replicant-4.0/frameworks/base/libs$ git diff
45
diff --git a/libs/ui/GraphicBufferAllocator.cpp b/libs/ui/GraphicBufferAllocator.cpp
46
index f7c4f4e..766a98f 100644
47
--- a/libs/ui/GraphicBufferAllocator.cpp
48
+++ b/libs/ui/GraphicBufferAllocator.cpp
49
@@ -99,8 +99,8 @@ status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat forma
50
     // we have a h/w allocator and h/w buffer is requested
51
     status_t err; 
52
 
53
-#ifdef MISSING_EGL_PIXEL_FORMAT_YV12
54
-    if (format == HAL_PIXEL_FORMAT_YV12) {
55
+#if 1
56
+    if (format == HAL_PIXEL_FORMAT_YV12 || format == 0x100 ) {
57
        format = HAL_PIXEL_FORMAT_RGBX_8888;
58
     }
59
     if (usage & GRALLOC_USAGE_EXTERNAL_DISP) {
60
diff --git a/media/libstagefright/colorconversion/SoftwareRenderer.cpp b/media/libstagefright/colorconversion/SoftwareRenderer.cpp
61
index 2ce8fa7..559f914 100644
62
--- a/media/libstagefright/colorconversion/SoftwareRenderer.cpp
63
+++ b/media/libstagefright/colorconversion/SoftwareRenderer.cpp
64
@@ -62,7 +62,9 @@ SoftwareRenderer::SoftwareRenderer(
65
     size_t bufWidth, bufHeight;
66
 
67
     switch (mColorFormat) {
68
-#ifndef MISSING_EGL_PIXEL_FORMAT_YV12
69
+
70
+#if 0
71
+       case 0x100:
72
         case OMX_COLOR_FormatYUV420Planar:
73
         case OMX_TI_COLOR_FormatYUV420PackedSemiPlanar:
74
         {
75
</pre>
76 3 Denis 'GNUtoo' Carikli
77
h2. Research
78 4 Denis 'GNUtoo' Carikli
79
Using the camera application produces the following traces:
80
<pre>
81
[...]
82
V/camera  ( 7834): Preview size is 960x720
83
V/MediaProfilesJNI( 7834): native_get_num_image_encoding_quality_levels
84
V/MediaProfilesJNI( 7834): native_get_image_encoding_quality_level
85
V/MediaProfilesJNI( 7834): native_get_image_encoding_quality_level
86
V/MediaProfilesJNI( 7834): native_get_image_encoding_quality_level
87
D/CameraSettings( 7834): Parameters: [antibanding-values=auto,50hz,60hz,off, antibanding=auto, auto-convergence-mode=, auto-convergence=, auto-exposure-lock-supported=true, auto-exposure-lock=false, auto-whitebalance-lock-supported=true, auto-whitebalance-lock=false, brightness=50, camera-mode=0, camera-name=S5K4E1GA, contrast=100, current-iso=100, effect-values=none,negative,solarize,sepia,mono,whiteboard,blackboard,aqua,posterize, effect=none, exif-make=Samsung, exif-model=Galaxy Nexus, exposure-compensation-step=0.1, exposure-compensation=0, exposure-mode-values=auto,night,backlighting,spotlight,sports,snow,beach,aperture,small-aperture,, exposure=auto, flash-mode-values=off,on,auto,torch, flash-mode=auto, focal-length=3.43, focus-distances=Infinity,Infinity,Infinity, focus-mode-values=continuous-video,auto,macro,infinity,infinity,continuous-picture, focus-mode=continuous-picture, gbce=disable, horizontal-view-angle=54.8, ipp-values=off,ldc,nsf,ldc-nsf, ipp=ldc-nsf, iso-mode-values=auto,100,200,400,800, iso=auto, jpeg-quality=95, jpeg-thumbnail-height=120, jpeg-thumbnail-quality=60, jpeg-thumbnail-size-values=640x480,160x120,200x120,320x240,512x384,352x144,176x144,96x96,0x0, jpeg-thumbnail-width=160, manual-convergence-values=, max-exposure-compensation=30, max-framerate=30, max-num-detected-faces-hw=35, max-num-detected-faces-sw=0, max-num-focus-areas=10, max-num-metering-areas=10, max-zoom=60, min-exposure-compensation=-30, min-framerate=15, picture-format-values=yuv420sp,yuv420p,yuv422i-yuyv,rgb565,raw,jpeg, picture-format=jpeg, picture-size-values=2592x1944,2592x1728,2592x1458,2048x1536,1600x1200,1280x1024,1152x864,1280x960,640x480,320x240, picture-size=2592x1944, preview-format-values=yuv420sp,yuv420p,yuv422i-yuyv,yuv420p, preview-format=yuv420sp, preview-fps-range-values=(15000,15000),(15000,30000),(24000,30000), preview-fps-range=15000,30000, preview-frame-rate-values=30,15, preview-frame-rate=30, preview-size-values=1920x1080,1280x720,960x720,800x480,720x576,720x480,768x576,640x480,320x240,352x288,240x160,176x144,128x96, preview-size=960x720, recording-hint=false, s3d-supported=, s3d2d-preview-values=, s3d2d-preview=, saturation=100, scene-mode-values=auto,action,night,party,sunset, scene-mode=auto, sensor-orientation-values=, sensor-orientation=, sharpness=100, smooth-zoom-supported=true, vertical-view-angle=42.5, video-frame-format=OMX_TI_COLOR_FormatYUV420PackedSemiPlanar, video-snapshot-supported=true, video-stabilization-supported=true, video-stabilization=false, whitebalance-values=auto,daylight,cloudy-daylight,fluorescent,incandescent,, whitebalance=auto, zoom-ratios=100,104,107,111,115,119,123,127,132,137,141,146,152,157,162,168,174,180,187,193,200,207,214,222,230,238,246,255,264,273,283,293,303,314,325,336,348,361,373,386,400,414,429,444,459,476,492,510,528,546,566,586,606,628,650,673,696,721,746,773,800, zoom-supported=true, zoom=0]
88
V/camera  ( 7834): startPreview
89
I/CameraHAL( 7751): NULL ANativeWindow passed to setPreviewWindow
90
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706507, pParamStruct = 0x41b5ebd4
91
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
92
D/DOMX    ( 7751): TRACE: Recd. omx message
93
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
94
D/DOMX    ( 7751): EXIT: 
95
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
96
D/DOMX    ( 7751): EXIT: eError: 0
97
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706506, pParamStruct = 0x41b5ebd0
98
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
99
D/DOMX    ( 7751): TRACE: Recd. omx message
100
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
101
D/DOMX    ( 7751): EXIT: 
102
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
103
D/DOMX    ( 7751): EXIT: eError: 0
104
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706548, pParamStruct = 0x41b5ebc8
105
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
106
D/DOMX    ( 7751): TRACE: Recd. omx message
107
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
108
D/DOMX    ( 7751): EXIT: 
109
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
110
D/DOMX    ( 7751): EXIT: eError: 0
111
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706469, pParamStruct = 0x41b5ebd4
112
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
113
D/DOMX    ( 7751): TRACE: Recd. omx message
114
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
115
D/DOMX    ( 7751): EXIT: 
116
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
117
D/DOMX    ( 7751): EXIT: eError: 0
118
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 2130706509, pConfigStruct = 0x41b5ebbc
119
D/DOMX    ( 7751): ENTER: 
120
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
121
D/DOMX    ( 7751): TRACE: Recd. omx message
122
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
123
D/DOMX    ( 7751): EXIT: 
124
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
125
D/DOMX    ( 7751): EXIT: eError: 0
126
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706515, pParamStruct = 0x41b5ebd0
127
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
128
D/DOMX    ( 7751): TRACE: Recd. omx message
129
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
130
D/DOMX    ( 7751): EXIT: 
131
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
132
D/DOMX    ( 7751): EXIT: eError: 0
133
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706514, pParamStruct = 0x41b5ebcc
134
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
135
D/DOMX    ( 7751): TRACE: Recd. omx message
136
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
137
D/DOMX    ( 7751): EXIT: 
138
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
139
D/DOMX    ( 7751): EXIT: eError: 0
140
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440522, pConfigStruct = 0x41b5ebbc
141
D/DOMX    ( 7751): ENTER: 
142
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
143
D/DOMX    ( 7751): TRACE: Recd. omx message
144
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
145
D/DOMX    ( 7751): EXIT: 
146
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
147
D/DOMX    ( 7751): EXIT: eError: 0
148
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440522, pConfigStruct = 0x41b5ebbc
149
D/DOMX    ( 7751): ENTER: 
150
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
151
D/DOMX    ( 7751): TRACE: Recd. omx message
152
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
153
D/DOMX    ( 7751): EXIT: 
154
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
155
D/DOMX    ( 7751): EXIT: eError: 0
156
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
157
D/DOMX    ( 7751): ENTER: 
158
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
159
D/DOMX    ( 7751): TRACE: Recd. omx message
160
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
161
D/DOMX    ( 7751): EXIT: 
162
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
163
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
164
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706522, pParamStruct = 0x41b5eb14
165
I/Process (  189): Sending signal. PID: 7834 SIG: 3
166
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
167
I/dalvikvm( 7834): threadid=3: reacting to signal 3
168
D/DOMX    ( 7751): TRACE: Recd. omx message
169
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
170
D/DOMX    ( 7751): EXIT: 
171
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
172
D/DOMX    ( 7751): EXIT: eError: 0
173
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
174
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
175
D/DOMX    ( 7751): TRACE: Recd. omx message
176
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
177
D/DOMX    ( 7751): EXIT: 
178
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
179
D/DOMX    ( 7751): EXIT: eError: 0
180
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
181
D/DOMX    ( 7751): ENTER: 
182
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
183
D/DOMX    ( 7751): TRACE: Recd. omx message
184
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
185
D/DOMX    ( 7751): EXIT: 
186
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
187
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
188
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x41b5ebc0
189
D/DOMX    ( 7751): ENTER: 
190
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
191
D/DOMX    ( 7751): TRACE: Recd. omx message
192
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
193
D/DOMX    ( 7751): EXIT: 
194
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
195
D/DOMX    ( 7751): EXIT: eError: 0
196
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x41b5ebc0
197
D/DOMX    ( 7751): ENTER: 
198
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
199
D/DOMX    ( 7751): TRACE: Recd. omx message
200
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
201
D/DOMX    ( 7751): EXIT: 
202
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
203
D/DOMX    ( 7751): EXIT: eError: 0
204
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x41b5ebc0
205
D/DOMX    ( 7751): ENTER: 
206
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
207
D/DOMX    ( 7751): TRACE: Recd. omx message
208
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
209
D/DOMX    ( 7751): EXIT: 
210
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
211
D/DOMX    ( 7751): EXIT: eError: 0
212
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
213
D/DOMX    ( 7751): ENTER: 
214
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
215
D/DOMX    ( 7751): TRACE: Recd. omx message
216
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
217
D/DOMX    ( 7751): EXIT: 
218
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
219
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
220
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706522, pParamStruct = 0x41b5eb14
221
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
222
D/DOMX    ( 7751): TRACE: Recd. omx message
223
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
224
D/DOMX    ( 7751): EXIT: 
225
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
226
D/DOMX    ( 7751): EXIT: eError: 0
227
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
228
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
229
D/DOMX    ( 7751): TRACE: Recd. omx message
230
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
231
D/DOMX    ( 7751): EXIT: 
232
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
233
D/DOMX    ( 7751): EXIT: eError: 0
234
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x41b5eb48
235
D/DOMX    ( 7751): ENTER: 
236
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
237
D/DOMX    ( 7751): TRACE: Recd. omx message
238
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
239
D/DOMX    ( 7751): EXIT: 
240
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
241
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
242
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706519, pParamStruct = 0x41b5ebfc
243
D/DOMX    ( 7751): ENTER: 
244
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
245
D/DOMX    ( 7751): TRACE: Recd. omx message
246
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
247
D/DOMX    ( 7751): EXIT: 
248
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
249
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x7f000057
250
I/CameraHAL( 7751): Preview not started. Preview in progress flag set
251
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, eCmd = 2, nParam = 2, pCmdData = 0x0
252
D/DOMX    ( 7751): ENTER: 
253
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SendCommand:644
254
D/DOMX    ( 7751): TRACE: Recd. omx message
255
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
256
D/DOMX    ( 7751): EXIT: 
257
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
258
D/DOMX    ( 7751): EXIT: eError: 0
259
D/DOMX    ( 7751): TRACE: Recd. omx message
260
D/DOMX    ( 7751): ENTER: 
261
D/DOMX    ( 7751): TRACE: 
262
D/DOMX    ( 7751): **__**Got eventhandler from Remote Core succesffuly - values are : **__**
263
D/DOMX    ( 7751): TRACE: hComp :0x154e570,eEvent: 0x0,nData1: 0x2,nData2: 0x2,pEventData: 0x0
264
D/DOMX    ( 7751): TRACE: Just Before Entering Proxy Event handler call
265
D/DOMX    ( 7751): ENTER: hComponent=0x154e570, pCompPrv=0x1556240, eEvent=0x0, nData1=0x2, nData2=0x2, pEventData=0x0
266
D/DOMX    ( 7751): EXIT: eError: 0
267
D/DOMX    ( 7751): EXIT: 
268
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
269
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, eCmd = 0, nParam = 2, pCmdData = 0x0
270
D/DOMX    ( 7751): ENTER: 
271
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SendCommand:644
272
D/DOMX    ( 7751): TRACE: Recd. omx message
273
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
274
D/DOMX    ( 7751): EXIT: 
275
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
276
D/DOMX    ( 7751): EXIT: eError: 0
277
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
278
D/DOMX    ( 7751): TRACE: Recd. omx message
279
D/DOMX    ( 7751): ENTER: 
280
D/DOMX    ( 7751): TRACE: 
281
D/DOMX    ( 7751): **__**Got eventhandler from Remote Core succesffuly - values are : **__**
282
D/DOMX    ( 7751): TRACE: hComp :0x154e570,eEvent: 0x0,nData1: 0x0,nData2: 0x2,pEventData: 0x0
283
D/DOMX    ( 7751): TRACE: Just Before Entering Proxy Event handler call
284
D/DOMX    ( 7751): ENTER: hComponent=0x154e570, pCompPrv=0x1556240, eEvent=0x0, nData1=0x0, nData2=0x2, pEventData=0x0
285
D/DOMX    ( 7751): EXIT: eError: 0
286
D/DOMX    ( 7751): EXIT: 
287
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
288
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, eCmd = 0, nParam = 3, pCmdData = 0x0
289
D/DOMX    ( 7751): ENTER: 
290
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SendCommand:644
291
D/DOMX    ( 7751): TRACE: Recd. omx message
292
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
293
D/DOMX    ( 7751): TRACE: Recd. omx message
294
D/DOMX    ( 7751): ENTER: 
295
D/DOMX    ( 7751): EXIT: 
296
D/DOMX    ( 7751): TRACE: 
297
D/DOMX    ( 7751): **__**Got eventhandler from Remote Core succesffuly - values are : **__**
298
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
299
D/DOMX    ( 7751): TRACE: hComp :0x154e570,eEvent: 0x0,nData1: 0x0,nData2: 0x3,pEventData: 0x0
300
D/DOMX    ( 7751): EXIT: eError: 0
301
D/DOMX    ( 7751): TRACE: Just Before Entering Proxy Event handler call
302
D/DOMX    ( 7751): ENTER: hComponent=0x154e570, pCompPrv=0x1556240, eEvent=0x0, nData1=0x0, nData2=0x3, pEventData=0x0
303
D/DOMX    ( 7751): EXIT: eError: 0
304
D/DOMX    ( 7751): EXIT: 
305
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
306
V/camera  ( 7834): surfaceChanged. w=720. h=960
307
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
308
D/DOMX    ( 7751): ENTER: 
309
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
310
D/DOMX    ( 7751): TRACE: Recd. omx message
311
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
312
D/DOMX    ( 7751): EXIT: 
313
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
314
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
315
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
316
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
317
D/DOMX    ( 7751): TRACE: Recd. omx message
318
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
319
D/DOMX    ( 7751): EXIT: 
320
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
321
D/DOMX    ( 7751): EXIT: eError: 0
322
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
323
D/DOMX    ( 7751): ENTER: 
324
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
325
D/DOMX    ( 7751): TRACE: Recd. omx message
326
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
327
D/DOMX    ( 7751): EXIT: 
328
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
329
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
330
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x413a1b50
331
D/DOMX    ( 7751): ENTER: 
332
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
333
D/DOMX    ( 7751): TRACE: Recd. omx message
334
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
335
D/DOMX    ( 7751): EXIT: 
336
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
337
D/DOMX    ( 7751): EXIT: eError: 0
338
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x413a1b50
339
D/DOMX    ( 7751): ENTER: 
340
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
341
D/DOMX    ( 7751): TRACE: Recd. omx message
342
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
343
D/DOMX    ( 7751): EXIT: 
344
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
345
D/DOMX    ( 7751): EXIT: eError: 0
346
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 117440523, pConfigStruct = 0x413a1b50
347
D/DOMX    ( 7751): ENTER: 
348
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetConfig:564
349
D/DOMX    ( 7751): TRACE: Recd. omx message
350
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
351
D/DOMX    ( 7751): EXIT: 
352
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
353
D/DOMX    ( 7751): EXIT: eError: 0
354
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
355
D/DOMX    ( 7751): ENTER: 
356
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
357
D/DOMX    ( 7751): TRACE: Recd. omx message
358
D/DOMX    ( 7751): EXIT: 
359
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
360
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
361
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
362
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
363
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetParameter:348
364
D/DOMX    ( 7751): TRACE: Recd. omx message
365
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
366
D/DOMX    ( 7751): EXIT: 
367
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
368
D/DOMX    ( 7751): EXIT: eError: 0
369
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 33554433, pParamStruct = 0x413a1ad8
370
D/DOMX    ( 7751): ENTER: 
371
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
372
D/DOMX    ( 7751): TRACE: Recd. omx message
373
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
374
D/DOMX    ( 7751): EXIT: 
375
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
376
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x2000001
377
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nConfigIndex = 2130706541, pConfigStruct = 0x413a1b58
378
D/DOMX    ( 7751): ENTER: 
379
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SetConfig:496
380
D/DOMX    ( 7751): TRACE: Recd. omx message
381
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
382
D/DOMX    ( 7751): EXIT: 
383
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
384
D/DOMX    ( 7751): EXIT: eError: 0
385
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, eCmd = 3, nParam = 2, pCmdData = 0x0
386
D/DOMX    ( 7751): ENTER: 
387
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_SendCommand:644
388
D/DOMX    ( 7751): TRACE: Recd. omx message
389
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
390
D/DOMX    ( 7751): EXIT: 
391
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
392
D/DOMX    ( 7751): EXIT: eError: 0
393
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706545, pParamStruct = 0x413a1ba0
394
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
395
D/DOMX    ( 7751): EXIT: eError: 0
396
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nPortIndex = 0x2, pAppPrivate = 0x0, nSizeBytes = 1142784, pBuffer = 0x154a580
397
D/DOMX    ( 7751): TRACE: In UB, no. of buffers = 0
398
D/DOMX    ( 7751): TRACE: Preparing buffer to Remote Core...
399
D/DOMX    ( 7751): ENTER: 
400
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
401
D/DOMX    ( 7751): TRACE: Recd. omx message
402
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
403
D/DOMX    ( 7751): EXIT: 
404
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
405
D/DOMX    ( 7751): ERROR: [DBG] eError = 0, line 1037
406
D/DOMX    ( 7751): ENTER: 
407
D/DOMX    ( 7751): ENTER: 
408
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
409
D/DOMX    ( 7751): TRACE: Recd. omx message
410
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
411
D/DOMX    ( 7751): EXIT: 
412
D/DOMX    ( 7751): TRACE:  PROXY_UTIL Get Parameter Successful
413
D/DOMX    ( 7751): ENTER: 
414
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
415
D/DOMX    ( 7751): TRACE: Recd. omx message
416
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
417
D/DOMX    ( 7751): EXIT: 
418
D/DOMX    ( 7751): TRACE:  PROXY_UTIL Get Parameter Successful
419
D/DOMX    ( 7751): TRACE: Port Number: 2 :: NumOfLines 720
420
D/DOMX    ( 7751): EXIT: eError: 0
421
D/DOMX    ( 7751): ERROR: [DBG] eError = 0, line 1047
422
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570, pCompPrv = 0x1556240, nParamIndex = 2130706550, pParamStruct = 0x413a1b34
423
D/DOMX    ( 7751): ENTER: 
424
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_GetParameter:419
425
D/DOMX    ( 7751): TRACE: Recd. omx message
426
D/DOMX    ( 7751): TRACE: Waiting for messages from remote core
427
D/DOMX    ( 7751): EXIT: 
428
D/DOMX    ( 7751): TRACE: Corresponding RPC function executed successfully
429
D/DOMX    ( 7751): EXIT: eError: 0 index: 0x7f000076
430
D/DOMX    ( 7751): ERROR: [DBG] eError = 0, line 1116
431
D/DOMX    ( 7751): TRACE: Metadata size = 12332
432
D/DOMX    ( 7751): TRACE: ion_fd=70
433
D/DOMX    ( 7751): TRACE: ION being USED for allocation!!!!! handle = c3e30380, ret =0
434
D/DOMX    ( 7751): ERROR: [DBG] eError = 0, line 1130
435
D/DOMX    ( 7751): TRACE: Metadata buffer ion handle = c3e30380
436
D/DOMX    ( 7751): ENTER: 
437
D/DOMX    ( 7751): TRACE: Marshaling data
438
D/DOMX    ( 7751): TRACE: eMapInfo = 3
439
D/DOMX    ( 7751): TRACE: UV buffer fd= 3141592
440
D/DOMX    ( 7751): TRACE: Metadata buffer = c3e30380
441
D/DOMX    ( 7751): TRACE: About to send packet
442
D/DOMX    ( 7751): TRACE: RPC_sendPacket_sync hCtx->fd_omx=26|nPacketSize=240
443
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync RPC_UseBuffer:1080
444
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync write errno error 22
445
D/DOMX    ( 7751): ERROR: DOMX Write failed 0xffffffff -1
446
D/DOMX    ( 7751): ERROR: failed check:status >= 0 - returning error: 0x81001 - Write failed
447
D/DOMX    ( 7751): EXIT: 
448
D/DOMX    ( 7751): ERROR: RPC function returned error 0x81001
449
D/DOMX    ( 7751): TRACE: Use Buffer Successful
450
D/DOMX    ( 7751): TRACE: Value of pBufHeaderRemote: 0x0 LocalBufferHdr :0x15714e8, LocalBuffer :0x154a580
451
D/DOMX    ( 7751): TRACE: Metadata buffer ion handle given to ion map = c3e30380
452
D/DOMX    ( 7751): TRACE: Updating no. of buffer to 1
453
D/DOMX    ( 7751): ERROR: [DBG] eError = -2147479551, line 1192
454
D/DOMX    ( 7751): EXIT: eError: -2147479551
455
E/CameraHAL( 7751): OMX_UseBuffer-0x80001001
456
E/CameraHAL( 7751): Exiting function UseBuffersPreview because of ret 0 eError=80001001
457
D/DOMX    ( 7751): ENTER: hComponent = 0x154e570
458
E/ion     ( 7751): ioctl -1073460991 failed with code -1: Bad file number
459
F/libc    ( 7751): @@@ ABORTING: INVALID HEAP ADDRESS IN dlfree
460
F/libc    ( 7751): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
461
I/Process (  189): Sending signal. PID: 7834 SIG: 3
462
I/dalvikvm( 7834): threadid=3: reacting to signal 3
463
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
464
I/DEBUG   (  127): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
465
I/DEBUG   (  127): Build fingerprint: 'google/yakju/maguro:4.0.4/IMM76I/330937:user/release-keys'
466
I/DEBUG   (  127): pid: 7751, tid: 7758  >>> /system/bin/mediaserver <<<
467
I/DEBUG   (  127): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
468
I/DEBUG   (  127):  r0 deadbaad  r1 00000001  r2 a0000000  r3 00000000
469
I/DEBUG   (  127):  r4 00000000  r5 00000027  r6 401342f4  r7 401424d4
470
I/DEBUG   (  127):  r8 01571540  r9 40fe1000  10 0155f9a0  fp 01570e5c
471
I/DEBUG   (  127):  ip ffffffff  sp 413a19c0  lr 40115441  pc 40111788  cpsr 600f0030
472
I/DEBUG   (  127):  d0  656c696620646120  d1  373565343531786e
473
I/DEBUG   (  127):  d2  6c202c3135353975  d3  3239313120656e6d
474
I/DEBUG   (  127):  d4  7264487265666675  d5  3137353178303a20
475
I/DEBUG   (  127):  d6  636f4c202c386534  d7  7265666675426c61
476
I/DEBUG   (  127):  d8  0000000000000000  d9  0000000000000000
477
I/DEBUG   (  127):  d10 0000000000000000  d11 0000000000000000
478
I/DEBUG   (  127):  d12 0000000000000000  d13 0000000000000000
479
I/DEBUG   (  127):  d14 0000000000000000  d15 0000000000000000
480
I/DEBUG   (  127):  d16 3f7316d1d399f1e0  d17 3ffd42315763b9eb
481
I/DEBUG   (  127):  d18 4000000000000000  d19 3fc5ee7544e230aa
482
I/DEBUG   (  127):  d20 3f1152f62f5a4167  d21 bebbb7b7df4a3093
483
I/DEBUG   (  127):  d22 3ff0000000000000  d23 3ff316d1d399f1e0
484
I/DEBUG   (  127):  d24 3e66376972bea4d0  d25 3fee147ae0000000
485
I/DEBUG   (  127):  d26 0000000000000000  d27 0000000000000000
486
I/DEBUG   (  127):  d28 0000000000000000  d29 0000000000000000
487
I/DEBUG   (  127):  d30 0000000000000000  d31 0000000000000000
488
I/DEBUG   (  127):  scr 68000010
489
I/DEBUG   (  127): 
490
I/DEBUG   (  127):          #00  pc 00017788  /system/lib/libc.so
491
I/DEBUG   (  127):          #01  pc 00013732  /system/lib/libc.so
492
I/DEBUG   (  127):          #02  pc 00015a70  /system/lib/libc.so (dlfree)
493
I/DEBUG   (  127):          #03  pc 00016100  /system/lib/libc.so (free)
494
I/DEBUG   (  127):          #04  pc 000019e6  /system/lib/libmm_osal.so (TIMM_OSAL_Free)
495
I/DEBUG   (  127):          #05  pc 00006446  /system/lib/libdomx.so (PROXY_ComponentDeInit)
496
I/DEBUG   (  127):          #06  pc 000018ec  /system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so
497
I/DEBUG   (  127):          #07  pc 00001df6  /system/lib/libOMX_Core.so (OMX_FreeHandle)
498
I/DEBUG   (  127):          #08  pc 000284fc  /system/lib/hw/camera.omap4.so (_ZN7android16OMXCameraAdapter24performCleanupAfterErrorEv)
499
I/DEBUG   (  127):          #09  pc 0002b04e  /system/lib/hw/camera.omap4.so (_ZN7android16OMXCameraAdapter17UseBuffersPreviewEPvi)
500
I/DEBUG   (  127):          #10  pc 0002b182  /system/lib/hw/camera.omap4.so (_ZN7android16OMXCameraAdapter10useBuffersENS_13CameraAdapter10CameraModeEPvijj)
501
I/DEBUG   (  127):          #11  pc 00024c4c  /system/lib/hw/camera.omap4.so (_ZN7android17BaseCameraAdapter11sendCommandENS_13CameraAdapter14CameraCommandsEiii)
502
I/DEBUG   (  127):          #12  pc 0001d3d0  /system/lib/hw/camera.omap4.so (_ZN7android9CameraHal12startPreviewEv)
503
I/DEBUG   (  127):          #13  pc 0001d6de  /system/lib/hw/camera.omap4.so (_ZN7android9CameraHal16setPreviewWindowEP18preview_stream_ops)
504
I/DEBUG   (  127):          #14  pc 0001ae80  /system/lib/hw/camera.omap4.so (_Z25camera_set_preview_windowP13camera_deviceP18preview_stream_ops)
505
I/DEBUG   (  127):          #15  pc 000076cc  /system/lib/libcameraservice.so
506
I/DEBUG   (  127):          #16  pc 000091b4  /system/lib/libcameraservice.so (_ZN7android13CameraService6Client16setPreviewWindowERKNS_2spINS_7IBinderEEERKNS2_I13ANativeWindowEE)
507
I/DEBUG   (  127):          #17  pc 000092ea  /system/lib/libcameraservice.so (_ZN7android13CameraService6Client17setPreviewDisplayERKNS_2spINS_7SurfaceEEE)
508
I/DEBUG   (  127):          #18  pc 00013592  /system/lib/libcamera_client.so (_ZN7android8BnCamera10onTransactEjRKNS_6ParcelEPS1_j)
509
I/DEBUG   (  127):          #19  pc 00017f44  /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j)
510
I/DEBUG   (  127):          #20  pc 0001b26e  /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi)
511
I/DEBUG   (  127):          #21  pc 0001b44a  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb)
512
I/DEBUG   (  127):          #22  pc 00020744  /system/lib/libbinder.so
513
I/DEBUG   (  127):          #23  pc 00022a1e  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv)
514
I/DEBUG   (  127):          #24  pc 00023064  /system/lib/libutils.so
515
I/DEBUG   (  127):          #25  pc 00012e2c  /system/lib/libc.so (__thread_entry)
516
I/DEBUG   (  127):          #26  pc 0001295c  /system/lib/libc.so (pthread_create)
517
I/DEBUG   (  127): 
518
I/DEBUG   (  127): code around pc:
519
I/DEBUG   (  127): 40111768 4623b15c 2c006824 e026d1fb b12368db  \.#F$h.,..&..h#.
520
I/DEBUG   (  127): 40111778 21014a17 6011447a 48124798 24002527  .J.!zD.`.G.H'%.$
521
I/DEBUG   (  127): 40111788 f7f47005 2106ef8c e838f7f6 460aa901  .p.....!..8....F
522
I/DEBUG   (  127): 40111798 f04f2006 94015380 94029303 ebe4f7f5  . O..S..........
523
I/DEBUG   (  127): 401117a8 4622a905 f7f52002 f7f4ebee 2106ef78  .."F. ......x..!
524
I/DEBUG   (  127): 
525
I/DEBUG   (  127): code around lr:
526
I/DEBUG   (  127): 40115420 41f0e92d 46804c0c 447c2600 68a56824  -..A.L.F.&|D$h.h
527
I/DEBUG   (  127): 40115430 e0076867 300cf9b5 dd022b00 47c04628  gh.....0.+..(F.G
528
I/DEBUG   (  127): 40115440 35544306 37fff117 6824d5f4 d1ee2c00  .CT5...7..$h.,..
529
I/DEBUG   (  127): 40115450 e8bd4630 bf0081f0 000280be 41f0e92d  0F..........-..A
530
I/DEBUG   (  127): 40115460 fb01b086 9004f602 461f4815 4615460c  .........H.F.F.F
531
I/DEBUG   (  127): 
532
I/DEBUG   (  127): memory map around addr deadbaad:
533
I/DEBUG   (  127): bede2000-bee03000 [stack]
534
I/DEBUG   (  127): (no map for address)
535
I/DEBUG   (  127): ffff0000-ffff1000 [vectors]
536
I/DEBUG   (  127): 
537
I/DEBUG   (  127): stack:
538
I/DEBUG   (  127):     413a1980  00000001  
539
I/DEBUG   (  127):     413a1984  413a19c0  
540
I/DEBUG   (  127):     413a1988  4013d7e0  /system/lib/libc.so
541
I/DEBUG   (  127):     413a198c  0000000c  
542
I/DEBUG   (  127):     413a1990  4013d780  /system/lib/libc.so
543
I/DEBUG   (  127):     413a1994  4013d718  /system/lib/libc.so
544
I/DEBUG   (  127):     413a1998  00000000  
545
I/DEBUG   (  127):     413a199c  40115441  /system/lib/libc.so
546
I/DEBUG   (  127):     413a19a0  00000000  
547
I/DEBUG   (  127):     413a19a4  413a19d4  
548
I/DEBUG   (  127):     413a19a8  401342f4  /system/lib/libc.so
549
I/DEBUG   (  127):     413a19ac  401424d4  
550
I/DEBUG   (  127):     413a19b0  01571540  [heap]
551
I/DEBUG   (  127):     413a19b4  401145ad  /system/lib/libc.so
552
I/DEBUG   (  127):     413a19b8  df0027ad  
553
I/DEBUG   (  127):     413a19bc  00000000  
554
I/DEBUG   (  127): #00 413a19c0  413a19bc  
555
I/DEBUG   (  127):     413a19c4  00000001  
556
I/DEBUG   (  127):     413a19c8  401342d8  /system/lib/libc.so
557
I/DEBUG   (  127):     413a19cc  00000005  
558
I/DEBUG   (  127):     413a19d0  413a19ec  
559
I/DEBUG   (  127):     413a19d4  fffffbdf  
560
I/DEBUG   (  127):     413a19d8  413a19ec  
561
I/DEBUG   (  127):     413a19dc  413a19ec  
562
I/DEBUG   (  127):     413a19e0  401377f4  /system/lib/libc.so
563
I/DEBUG   (  127):     413a19e4  4010d737  /system/lib/libc.so
564
I/DEBUG   (  127): #01 413a19e8  01571560  [heap]
565
I/DEBUG   (  127):     413a19ec  20404040  
566
I/DEBUG   (  127):     413a19f0  524f4241  
567
I/DEBUG   (  127):     413a19f4  474e4954  
568
I/DEBUG   (  127):     413a19f8  4e49203a  
569
I/DEBUG   (  127):     413a19fc  494c4156  
570
I/DEBUG   (  127):     413a1a00  45482044  
571
I/DEBUG   (  127):     413a1a04  41205041  /dev/snd/pcmC0D0p
572
I/DEBUG   (  127):     413a1a08  45524444  
573
I/DEBUG   (  127):     413a1a0c  49205353  
574
I/DEBUG   (  127):     413a1a10  6c64204e  
575
I/DEBUG   (  127):     413a1a14  65657266  
576
I/DEBUG   (  127):     413a1a18  00000000  
577
I/DEBUG   (  127):     413a1a1c  17f80cb3  
578
I/DEBUG   (  127):     413a1a20  00000000  
579
I/DEBUG   (  127):     413a1a24  00000060  
580
I/DEBUG   (  127):     413a1a28  40fa4b13  /system/lib/libdomx.so
581
I/DEBUG   (  127):     413a1a2c  40fa7c7d  /system/lib/libdomx.so
582
I/DEBUG   (  127):     413a1a30  00000020  
583
I/DEBUG   (  127):     413a1a34  40f95340  /system/lib/libmm_osal.so
584
I/DEBUG   (  127):     413a1a38  ffffffff  
585
I/DEBUG   (  127):     413a1a3c  02000001  
586
I/DEBUG   (  127):     413a1a40  000000fb  
587
I/DEBUG   (  127):     413a1a44  401424d4  
588
I/DEBUG   (  127):     413a1a48  01571568  [heap]
589
I/DEBUG   (  127):     413a1a4c  00000000  
590
I/DEBUG   (  127):     413a1a50  00000000  
591
I/DEBUG   (  127):     413a1a54  401424d4  
592
I/DEBUG   (  127):     413a1a58  7f000076  
593
I/DEBUG   (  127):     413a1a5c  4010ec25  /system/lib/libc.so
594
I/DEBUG   (  127):     413a1a60  01571560  [heap]
595
I/DEBUG   (  127):     413a1a64  01571658  [heap]
596
I/DEBUG   (  127):     413a1a68  000000fb  
597
I/DEBUG   (  127):     413a1a6c  401424d4  
598
I/DEBUG   (  127):     413a1a70  01571568  [heap]
599
I/DEBUG   (  127):     413a1a74  00000000  
600
I/DEBUG   (  127):     413a1a78  8060f290  
601
I/DEBUG   (  127):     413a1a7c  401424d4  
602
I/DEBUG   (  127):     413a1a80  00000002  
603
I/DEBUG   (  127):     413a1a84  4010ec25  /system/lib/libc.so
604
I/DEBUG   (  127):     413a1a88  01571560  [heap]
605
I/DEBUG   (  127):     413a1a8c  01571658  [heap]
606
I/DEBUG   (  127):     413a1a90  00006288  
607
I/DEBUG   (  127):     413a1a94  401424d4  
608
I/DEBUG   (  127):     413a1a98  01571568  [heap]
609
I/DEBUG   (  127):     413a1a9c  0157157c  [heap]
610
I/DEBUG   (  127):     413a1aa0  00000002  
611
I/DEBUG   (  127):     413a1aa4  4010fa89  /system/lib/libc.so
612
I/DEBUG   (  127):     413a1aa8  015714e8  [heap]
613
I/DEBUG   (  127):     413a1aac  01571568  [heap]
614
I/DEBUG   (  127):     413a1ab0  80001001  
615
I/DEBUG   (  127):     413a1ab4  00000003  
616
I/DEBUG   (  127):     413a1ab8  00000046  
617
I/DEBUG   (  127):     413a1abc  413a1acc  
618
I/DEBUG   (  127):     413a1ac0  015714e0  [heap]
619
I/DEBUG   (  127):     413a1ac4  01571538  [heap]
620
I/DEBUG   (  127):     413a1ac8  00006308  
621
I/DEBUG   (  127):     413a1acc  401424d4  
622
I/DEBUG   (  127):     413a1ad0  015714e8  [heap]
623
I/DEBUG   (  127):     413a1ad4  40fa8ae1  /system/lib/libdomx.so
624
I/DEBUG   (  127):     413a1ad8  40143280  
625
I/DEBUG   (  127):     413a1adc  4011c8ad  /system/lib/libc.so
626
I/DEBUG   (  127):     413a1ae0  01556240  [heap]
627
I/DEBUG   (  127):     413a1ae4  01556240  [heap]
628
I/DEBUG   (  127):     413a1ae8  00000000  
629
I/DEBUG   (  127):     413a1aec  17f80cb3  
630
I/DEBUG   (  127):     413a1af0  01571538  [heap]
631
I/DEBUG   (  127):     413a1af4  01556240  [heap]
632
I/DEBUG   (  127):     413a1af8  00000000  
633
I/DEBUG   (  127):     413a1afc  4010fa75  /system/lib/libc.so
634
I/Process (  189): Sending signal. PID: 7834 SIG: 3
635
I/dalvikvm( 7834): threadid=3: reacting to signal 3
636
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
637
W/AudioTrack( 7751): obtainBuffer timed out (is the CPU pegged?) 0x154a940 user=00150740, server=0014f800
638
I/Process (  189): Sending signal. PID: 7834 SIG: 3
639
I/dalvikvm( 7834): threadid=3: reacting to signal 3
640
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
641
I/Process (  189): Sending signal. PID: 7834 SIG: 3
642
I/dalvikvm( 7834): threadid=3: reacting to signal 3
643
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
644
W/AudioTrack( 7751): obtainBuffer timed out (is the CPU pegged?) 0x154a940 user=00150740, server=0014f800
645
I/Process (  189): Sending signal. PID: 7834 SIG: 3
646
I/dalvikvm( 7834): threadid=3: reacting to signal 3
647
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
648
I/Process (  189): Sending signal. PID: 7834 SIG: 3
649
I/dalvikvm( 7834): threadid=3: reacting to signal 3
650
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
651
W/AudioTrack( 7751): obtainBuffer timed out (is the CPU pegged?) 0x154a940 user=00150740, server=0014f800
652
I/Process (  189): Sending signal. PID: 7834 SIG: 3
653
I/dalvikvm( 7834): threadid=3: reacting to signal 3
654
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
655
W/AudioSystem(  189): AudioFlinger server died!
656
W/AudioSystem(  189): AudioPolicyService server died!
657
I/ServiceManager(  122): service 'media.audio_flinger' died
658
I/ServiceManager(  122): service 'media.player' died
659
I/ServiceManager(  122): service 'media.camera' died
660
I/ServiceManager(  122): service 'media.audio_policy' died
661
W/IMediaDeathNotifier(  723): media server died
662
E/MediaPlayer(  723): error (100, 0)
663
W/Camera  ( 7834): Camera server died!
664
W/Camera  ( 7834): ICamera died
665
E/MediaPlayer(  723): Error (100,0)
666
E/VanillaMusic(  723): MediaPlayer error: 100 0
667
I/ActivityManager(  189): Displayed com.android.camera/.Camera: +4s446ms
668
D/CameraStorage( 7834): External storage state=mounted
669
I/Thumbnail( 7834): Fail to load bitmap. java.io.FileNotFoundException: /data/data/com.android.camera/files/last_thumb: open failed: ENOENT (No such file or directory)
670
E/Camera  ( 7834): Error 100
671
E/CameraErrorCallback( 7834): Got camera error callback. error=100
672
D/AndroidRuntime( 7834): Shutting down VM
673
W/dalvikvm( 7834): threadid=1: thread exiting with uncaught exception (group=0x40a411f8)
674
I/        ( 7873): ServiceManager: 0x959958
675
E/SRS-Client( 7873): OpenClient_RILD
676
D/SRS-Client( 7873): Unsolicited handler isn't implemented yet!
677
I/AudioFlinger( 7873): Loaded primary audio interface from Tuna audio HW HAL (audio)
678
I/AudioFlinger( 7873): Using 'Tuna audio HW HAL' (audio.primary) as the primary audio interface
679
I/AudioFlinger( 7873): Loaded a2dp audio interface from A2DP Audio HW HAL (audio)
680
I/CameraService( 7873): CameraService started (pid=7873)
681
I/AudioFlinger( 7873): AudioFlinger's thread 0x960400 ready to run
682
I/AudioPolicyService( 7873): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
683
I/Process (  189): Sending signal. PID: 7834 SIG: 3
684
I/dalvikvm( 7834): threadid=3: reacting to signal 3
685
I/dalvikvm( 7834): Wrote stack traces to '/data/anr/traces.txt'
686
E/AudioService(  189): Media server died.
687
E/AudioService(  189): Media server started.
688
W/AudioPolicyManagerBase( 7873): setPhoneState() setting same state 0
689
</pre>
690 5 Denis 'GNUtoo' Carikli
691
The interesting part in all that noise is the following:
692
<pre>
693
D/DOMX    ( 7751): ERROR: [DBG] RPC_sendPacket_sync write errno error 22
694
D/DOMX    ( 7751): ERROR: DOMX Write failed 0xffffffff -1
695
</pre>
696
Basically write fails at:
697
<pre>
698
#define RPC_sendPacket_sync(hCtx, pPacket, nPacketSize, nFxnIdx, pRetPacket, nSize) do { \
699
    DOMX_ERROR("[DBG] RPC_sendPacket_sync %s:%d",__func__,__LINE__); \
700
    status = write(hCtx->fd_omx, pPacket, nPacketSize); \
701 6 Denis 'GNUtoo' Carikli
    if (status == -1){ \
702
        int errsv = errno; \
703
        DOMX_ERROR("[DBG] RPC_sendPacket_sync write errno error %d",errsv); \
704
    } \
705 5 Denis 'GNUtoo' Carikli
    RPC_freePacket(pPacket); \
706
    pPacket = NULL; \
707
    if(status < 0 ) DOMX_ERROR("DOMX Write failed 0x%x %d",status,status); \
708
    RPC_assert(status >= 0, RPC_OMX_ErrorUndefined, "Write failed"); \
709
    eError = TIMM_OSAL_ReadFromPipe(hCtx->pMsgPipe[nFxnIdx], &pRetPacket, \
710
        RPC_MSG_SIZE_FOR_PIPE, (TIMM_OSAL_U32 *)(&nSize), TIMM_OSAL_SUSPEND); \
711
    RPC_assert(eError == TIMM_OSAL_ERR_NONE, eError, \
712
        "Read failed"); \
713
    } while(0)
714
</pre>
715
That means that a normal unix write fails with EINVAL.
716 7 Denis 'GNUtoo' Carikli
Which produces something like that in the kernel when the powervr kernel driver is there but the non-free userland is not.
717
<pre>
718
<6>[  661.167572] PVR_K:(Error): GetHandleStructure: Handle index out of range (1835561824 >= 0) [454, /home/gnutoo/embedded/android/replicant-4.0/kernel/samsung/tuna/drivers/gpu/pvr/handle.c]
719
<6>[  661.167694] PVR_K:(Error): PVRSRVLookupHandle: Error looking up handle (149) [1407, /home/gnutoo/embedded/android/replicant-4.0/kernel/samsung/tuna/drivers/gpu/pvr/handle.c]
720
<6>[  661.167877] PVR_K:(Error): PVRSRVExportFDToIONHandle: Failed to look up MEM_INFO handle [78, /home/gnutoo/embedded/android/replicant-4.0/kernel/samsung/tuna/drivers/gpu/pvr/ion.c]
721
<6>[  664.378570] binder: release 928:1091 transaction 11681 in, still active
722
<6>[  664.378692] binder: send failed reply for transaction 11681 to 1073:1073
723
<3>[  669.935791] omap-rproc omap-rproc.1: rproc_watchdog_isr
724
<6>[  669.936187] omap_rproc_dump_registers: REGISTER DUMP FOR REMOTEPROC ipu
725
<6>[  669.936401] omap_rproc_dump_registers: PC is at 002a5006
726
<6>[  669.936676] omap_rproc_dump_registers: LR is at 002a5007
727
<6>[  669.936859] omap_rproc_dump_registers: pc : [<002a5006>]    lr : [<002a5007>]    psr: 61000000
728
<6>[  669.936889] sp : 806041e8  ip : 806041a8  fp : 802b839c
729
<6>[  669.937438] omap_rproc_dump_registers: r10: 802a5f27  r9 : 0000804f  r8 : 00000000
730
<6>[  669.937622] omap_rproc_dump_registers: r7 : 00000137  r6 : 00000000  r5 : 80604214  r4 : 00254a3c
731
<6>[  669.937927] omap_rproc_dump_registers: r3 : 00000000  r2 : 9f070000  r1 : 00000010  r0 : 00000000
732
<6>[  669.938415] omap_rproc_dump_registers: Flags: nZCv  IRQs on  FIQs on
733
<6>[  669.939636] _event_notify: remoteproc: ipu has crashed
734
</pre>
735 8 Denis 'GNUtoo' Carikli
736
Disabling the pvr driver with:
737
<pre>
738
diff --git a/arch/arm/configs/cyanogenmod_tuna_defconfig b/arch/arm/configs/cyanogenmod_tuna_defconfig
739
index 1a060a2..a9e3990 100644
740
--- a/arch/arm/configs/cyanogenmod_tuna_defconfig
741
+++ b/arch/arm/configs/cyanogenmod_tuna_defconfig
742
@@ -1,6 +1,6 @@
743
 #
744
 # Automatically generated make config: don't edit
745
-# Linux/arm 3.0.34 Kernel Configuration
746
+# Linux/arm 3.0.36 Kernel Configuration
747
 #
748
 CONFIG_ARM=y
749
 CONFIG_HAVE_PWM=y
750
@@ -70,6 +70,7 @@ CONFIG_GENERIC_IRQ_CHIP=y
751
 # RCU Subsystem
752
 #
753
 CONFIG_TREE_PREEMPT_RCU=y
754
+# CONFIG_TINY_RCU is not set
755
 CONFIG_PREEMPT_RCU=y
756
 # CONFIG_RCU_TRACE is not set
757
 CONFIG_RCU_FANOUT=32
758
@@ -583,6 +584,8 @@ CONFIG_INET_DIAG=y
759
 CONFIG_INET_TCP_DIAG=y
760
 # CONFIG_TCP_CONG_ADVANCED is not set
761
 CONFIG_TCP_CONG_CUBIC=y
762
+# CONFIG_DEFAULT_CUBIC is not set
763
+# CONFIG_DEFAULT_RENO is not set
764
 CONFIG_DEFAULT_TCP_CONG="cubic"
765
 # CONFIG_TCP_MD5SIG is not set
766
 CONFIG_IPV6=y
767
@@ -785,6 +788,9 @@ CONFIG_IP6_NF_RAW=y
768
 # CONFIG_BRIDGE_NF_EBTABLES is not set
769
 # CONFIG_IP_DCCP is not set
770
 # CONFIG_IP_SCTP is not set
771
+# CONFIG_SCTP_HMAC_NONE is not set
772
+# CONFIG_SCTP_HMAC_SHA1 is not set
773
+# CONFIG_SCTP_HMAC_MD5 is not set
774
 # CONFIG_RDS is not set
775
 # CONFIG_TIPC is not set
776
 # CONFIG_ATM is not set
777
@@ -917,6 +923,8 @@ CONFIG_CFG80211_DEFAULT_PS=y
778
 # CONFIG_LIB80211 is not set
779
 CONFIG_CFG80211_ALLOW_RECONNECT=y
780
 # CONFIG_MAC80211 is not set
781
+# CONFIG_MAC80211_RC_DEFAULT_PID is not set
782
+# CONFIG_MAC80211_RC_DEFAULT_MINSTREL is not set
783
 # CONFIG_WIMAX is not set
784
 CONFIG_RFKILL=y
785
 CONFIG_RFKILL_PM=y
786
@@ -1204,6 +1212,9 @@ CONFIG_WLAN=y
787
 # CONFIG_USB_NET_RNDIS_WLAN is not set
788
 CONFIG_WIFI_CONTROL_FUNC=y
789
 # CONFIG_ATH_COMMON is not set
790
+# CONFIG_B43LEGACY_DMA_AND_PIO_MODE is not set
791
+# CONFIG_B43LEGACY_DMA_MODE is not set
792
+# CONFIG_B43LEGACY_PIO_MODE is not set
793
 # CONFIG_BCM4329 is not set
794
 CONFIG_BCMDHD=y
795
 CONFIG_BCMDHD_FW_PATH="/system/vendor/firmware/fw_bcmdhd.bin"
796
@@ -1688,24 +1699,13 @@ CONFIG_TILER_ENABLE_USERSPACE=y
797
 # Graphics support
798
 #
799
 # CONFIG_DRM is not set
800
-CONFIG_PVR_SGX=y
801
-CONFIG_PVR_SGXCORE_540=y
802
-CONFIG_PVR_BUILD_RELEASE=y
803
+# CONFIG_PVR_SGX is not set
804
+# CONFIG_PVR_SGXCORE_540 is not set
805
+# CONFIG_PVR_BUILD_RELEASE is not set
806
 # CONFIG_PVR_BUILD_DEBUG is not set
807
-CONFIG_PVR_NEED_PVR_DPF=y
808
-CONFIG_PVR_NEED_PVR_ASSERT=y
809
-CONFIG_PVR_PERCONTEXT_PB=y
810
-CONFIG_PVR_ACTIVE_POWER_MANAGEMENT=y
811
-CONFIG_PVR_ACTIVE_POWER_LATENCY_MS=100
812
-CONFIG_PVR_SGX_LOW_LATENCY_SCHEDULING=y
813
-CONFIG_PVR_USSE_EDM_STATUS_DEBUG=y
814
-CONFIG_PVR_DUMP_MK_TRACE=y
815
-# CONFIG_PVR_PDUMP is not set
816
-CONFIG_PVR_OMAP_DSS2=y
817
 # CONFIG_SGX_DVFS_MODE_NONE is not set
818
 # CONFIG_SGX_DVFS_MODE_LINEAR is not set
819
-CONFIG_SGX_DVFS_MODE_OPTIMIZED=y
820
-CONFIG_SGX_DVFS_IDLE_TIMEOUT=1000
821
+# CONFIG_SGX_DVFS_MODE_OPTIMIZED is not set
822
 CONFIG_ION=y
823
 CONFIG_ION_OMAP=y
824
 # CONFIG_VGASTATE is not set
825
@@ -1734,10 +1734,13 @@ CONFIG_FB_MODE_HELPERS=y
826
 # Frame buffer hardware drivers
827
 #
828
 # CONFIG_FB_S1D13XXX is not set
829
+# CONFIG_FB_CARMINE_DRAM_EVAL is not set
830
+# CONFIG_CARMINE_DRAM_CUSTOM is not set
831
 # CONFIG_FB_TMIO is not set
832
 # CONFIG_FB_UDL is not set
833
 # CONFIG_FB_VIRTUAL is not set
834
 # CONFIG_FB_METRONOME is not set
835
+# CONFIG_FB_MB862XX_PCI_GDC is not set
836
 # CONFIG_FB_BROADSHEET is not set
837
 CONFIG_HDMI_TI_4XXX_IP=y
838
 CONFIG_SII9234=y
839
@@ -1765,7 +1768,6 @@ CONFIG_FB_OMAP2_NUM_FBS=3
840
 CONFIG_PANEL_S6E8AA0=y
841
 # CONFIG_PANEL_TAAL is not set
842
 CONFIG_COLOR_HACK=y
843
-CONFIG_DSSCOMP=y
844
 CONFIG_DSSCOMP_DEBUG_LOG=y
845
 CONFIG_OMAP4_HDCP=y
846
 # CONFIG_OMAP4_HDCP_DEBUG is not set
847
@@ -2094,6 +2096,12 @@ CONFIG_USB_GADGET_SELECTED=y
848
 # CONFIG_USB_GADGET_R8A66597 is not set
849
 # CONFIG_USB_GADGET_PXA_U2O is not set
850
 # CONFIG_USB_GADGET_M66592 is not set
851
+# CONFIG_USB_GADGET_AMD5536UDC is not set
852
+# CONFIG_USB_GADGET_CI13XXX_PCI is not set
853
+# CONFIG_USB_GADGET_NET2280 is not set
854
+# CONFIG_USB_GADGET_GOKU is not set
855
+# CONFIG_USB_GADGET_LANGWELL is not set
856
+# CONFIG_USB_GADGET_EG20T is not set
857
 # CONFIG_USB_GADGET_DUMMY_HCD is not set
858
 CONFIG_USB_GADGET_DUALSPEED=y
859
 # CONFIG_USB_ZERO is not set
860
@@ -2113,6 +2121,9 @@ CONFIG_USB_G_ANDROID=y
861
 # CONFIG_USB_G_MULTI is not set
862
 # CONFIG_USB_G_HID is not set
863
 # CONFIG_USB_G_DBGP is not set
864
+# CONFIG_USB_G_DBGP_PRINTK is not set
865
+# CONFIG_USB_G_DBGP_SERIAL is not set
866
+# CONFIG_USB_G_WEBCAM is not set
867
 
868
 #
869
 # OTG and related infrastructure
870
@@ -2265,9 +2276,15 @@ CONFIG_ANDROID_LOW_MEMORY_KILLER=y
871
 # CONFIG_USB_SERIAL_QUATECH_USB2 is not set
872
 # CONFIG_VT6656 is not set
873
 # CONFIG_IIO is not set
874
+# CONFIG_LIS3L02DQ_BUF_KFIFO is not set
875
+# CONFIG_LIS3L02DQ_BUF_RING_SW is not set
876
+# CONFIG_AD2S1210_GPIO_INPUT is not set
877
+# CONFIG_AD2S1210_GPIO_OUTPUT is not set
878
+# CONFIG_AD2S1210_GPIO_NONE is not set
879
 # CONFIG_XVMALLOC is not set
880
 # CONFIG_ZRAM is not set
881
 # CONFIG_FB_SM7XX is not set
882
+# CONFIG_EASYCAP_SND is not set
883
 CONFIG_MACH_NO_WESTBRIDGE=y
884
 # CONFIG_ATH6K_LEGACY is not set
885
 # CONFIG_USB_ENESTORAGE is not set
886
@@ -2381,6 +2398,10 @@ CONFIG_MISC_FILESYSTEMS=y
887
 # CONFIG_EFS_FS is not set
888
 # CONFIG_YAFFS_FS is not set
889
 # CONFIG_JFFS2_FS is not set
890
+# CONFIG_JFFS2_CMODE_NONE is not set
891
+# CONFIG_JFFS2_CMODE_PRIORITY is not set
892
+# CONFIG_JFFS2_CMODE_SIZE is not set
893
+# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
894
 # CONFIG_LOGFS is not set
895
 # CONFIG_CRAMFS is not set
896
 # CONFIG_SQUASHFS is not set
897
@@ -2390,6 +2411,9 @@ CONFIG_MISC_FILESYSTEMS=y
898
 # CONFIG_HPFS_FS is not set
899
 # CONFIG_QNX4FS_FS is not set
900
 # CONFIG_ROMFS_FS is not set
901
+# CONFIG_ROMFS_BACKED_BY_BLOCK is not set
902
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
903
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
904
 # CONFIG_PSTORE is not set
905
 # CONFIG_SYSV_FS is not set
906
 # CONFIG_UFS_FS is not set
907
@@ -2595,6 +2619,10 @@ CONFIG_SECURITY_MIDDLEWARE_COMPONENT=y
908
 # CONFIG_SMC_KERNEL_CRYPTO is not set
909
 CONFIG_SECURE_TRACE=y
910
 # CONFIG_TF_DRIVER_DEBUG_SUPPORT is not set
911
+# CONFIG_DEFAULT_SECURITY_SELINUX is not set
912
+# CONFIG_DEFAULT_SECURITY_SMACK is not set
913
+# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
914
+# CONFIG_DEFAULT_SECURITY_APPARMOR is not set
915
 CONFIG_DEFAULT_SECURITY_DAC=y
916
 CONFIG_DEFAULT_SECURITY=""
917
 CONFIG_CRYPTO=y
918
</pre>
919
920
Didn't fix it.