查看: 12793|回复: 5
收起左侧

MTK6572上camera调试 ISP TIMEOUT

[复制链接]
发表于 2015-6-9 16:28:17 | 显示全部楼层 |阅读模式
在6572平台上面调试camera
0 _% y  Y4 E/ j! }% e* m6 [2 h: g" B2 `, w
遇到isp timeout : ]9 v9 Y4 o; r9 `$ J
/ v! t) T. Z! Z) O9 G3 I
硬件信号都正常!$ K' i" t' b( S1 F: d2 j

: C0 e3 u- l% Z4 P! M" o这是一些LOG
) q  n1 B8 u  Q

; ]& d" [# I) q
[  133.832039] (0)[1906:PreviewCmdQueTh]K_ISP ERR: Timeout: Clear(1), IrqStatus(0x00000080), WaitStatus(0x00000001), Timeout(2000)) h& i0 W* e/ W4 G+ Y$ ]- R( J! Q
[  133.833471] (0)[1906:PreviewCmdQueTh]K_ISP INF:  +9 X/ h6 ~) A; @3 }% h. q% h  U4 W
[  133.834067] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013000 0000000D
; E7 j2 X6 q9 U. d& L, ]3 ~[  133.834914] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013004 01010003
' z$ N/ B# L/ d: F( m[  133.835700] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013008 00000000
2 w8 b2 V0 t  F; c9 p, x[  133.836492] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401300C 00000000 - H1 p1 B5 P- b9 }  b& {
[  133.837284] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013010 00000481
! Y' d% w: ?+ o2 T+ d[  133.838075] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013014 00000000 # ?: o0 P% C4 e) a) B3 ?$ }
[  133.838877] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013018 00000000 + i+ |* {, J4 I1 d% ~
[  133.839661] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401301C 00000000 # R0 a4 V" @- N+ s
[  133.840453] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013020 00000000 7 X1 _) T) j+ A6 q
[  133.841245] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013024 00000000
$ x! I+ G; j; w& K) C[  133.842084] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013028 00000000 # |% X: w/ }* v+ `& Q9 s
[  133.842869] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401302C 00000000 8 @, G) K$ Y; H- B
[  133.843681] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013030 00000000 2 X' {0 ~) A/ W/ v, b# m" i9 ]1 k
[  133.844481] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013034 00000000 8 L1 w/ C. M; P2 O" g
[  133.845265] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013038 00000000
8 B; b8 t& H% w' o6 R7 D+ i* \[  133.846057] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401303C 00000000
& E8 r* d$ k' C8 O5 Q! p/ F( ?/ s9 v. S[  133.846849] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013040 01100000
1 @& y% d# m. W[  133.847640] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013044 00000000 + g" V  n+ O) N: g
[  133.848433] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013048 00000000
( Z9 s# g) z8 d  ]: R% [- Q[  133.849224] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401304C 00000000 - v. y. W& x5 Z0 g) N- i
[  133.850016] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013050 00008005 3 g; r6 j8 B1 @& O9 o
[  133.850807] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013054 00000000 $ B- k0 z$ D4 i) |: P7 M( u' [
[  133.851599] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013058 00000000
7 l$ N( N4 S" j: y  E$ u[  133.852425] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401305C 00000000
" C: f/ l  U/ K% W# m! w[  133.853210] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013060 00000000
* j: z/ E  U: ]' u- p" s' p$ |[  133.854002] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013064 00000000 # t! _( i6 |1 ~$ \
[  133.854793] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013068 00000000 5 l( x! a% f0 a5 p
[  133.855585] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401306C 00000000 $ J4 q, g  A4 \$ i, G
[  133.856377] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013070 20120705 ! i) J6 g- C7 C3 I$ `2 `: p
[  133.857169] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013074 65720000
- j$ X. L3 i6 E: M[  133.857961] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013078 00000000 ; p  x; G- N6 Q  Q( W# J& Y+ I
[  133.858752] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401307C 00000000
# ?0 t  `$ a' T: y! v( Q$ P[  133.859544] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013080 00000000 & n: K8 U! t% C' C2 L$ V
[  133.860336] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013084 00000002
" W: y3 ^0 O2 k$ s. g[  133.861168] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013200 00000000 3 H5 ]+ p4 P) b
[  133.861954] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013204 00E40000
; H1 D' j  w$ Q  K[  133.862769] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013208 00000000
2 }% n7 P8 A5 i) b3 l; j" f; _& z[  133.863554] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401320C 000002EF 2 E- I' s, f0 |! J6 y1 S  E& `3 ~) Q
[  133.864345] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013210 000001DF , J! i9 l! T, Q* F* {% x
[  133.865146] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013214 000002F0 / ]( P+ ]9 M) {9 s7 Q
[  133.865931] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013218 08505050
+ c% E7 {  R  S- E4 P4 y[  133.866723] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401321C 00505000
% q, V% f& x- @1 b[  133.867514] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013220 00000000
" ?4 b! G1 `8 J% M. k7 y* K9 T[  133.868306] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013224 00000000 , ]% y8 P" ?7 p3 Z
[  133.869098] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013228 FFFF0000 1 E. o& ~6 F  }( C. O9 r& c
[  133.869918] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401322C 00000000
) ^& y( A$ ~& U3 I- }% k' |[  133.870703] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013410 00000105
3 N- Q0 [  s7 R[  133.871494] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013414 00001000 $ z% R3 P* k0 e+ X
[  133.872306] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013418 02F10001 * n4 V7 v4 x( D4 q3 m3 h. [
[  133.873091] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401341C 01E40004 + A+ ?3 Y( S/ F; [% y% Q; e, G
[  133.873882] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013420 01100000
8 {% t# s. f( P7 b2 X6 x5 H1 A[  133.874674] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013424 00001430 - F0 \2 h% L2 H$ f
[  133.875465] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013428 00000000
2 y! q# f2 P" h2 }1 a" O6 l[  133.876257] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401342C 00000000
0 A. s& r5 }. S5 e% F/ R9 H[  133.877049] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013430 00000000
+ t8 F# M" f+ ]& J7 S! \  Y* I[  133.877841] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013434 00000010 ( l. F5 l+ P$ @! L1 N
[  133.878633] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013438 0FFFFFFF 9 w1 }5 w: `& W
[  133.879424] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401343C 00000000 - f% _, x: D+ F5 c
[  133.880216] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013440 00000000 7 @: l- R) ~5 _: N
[  133.881008] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013444 00000000
! a( L8 f. w: |- a! i: L1 j[  133.881817] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013448 02F001E1 ; s% i. m/ C2 w; J5 ~
[  133.882631] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401344C 00000203
- R3 J2 y4 M: \4 Z$ i[  133.883416] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B00 00000000 $ P) L% b, y, T$ Q/ J
[  133.884222] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B04 00000000
3 J0 `7 w, \& ?: F- y5 [0 W5 @[  133.885007] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B08 00000000 ) S) n2 s( _4 M& G7 V3 u
[  133.885798] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B0C 00000000
( S; J' k4 }% {4 M0 Z[  133.886629] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B10 00000000 & X4 N, B* k( |; ^1 Z# e$ g$ _
[  133.887414] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B14 00000000 6 Y6 a% K# m6 y6 L0 `* G$ H
[  133.888206] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B18 00000000
4 x1 g5 C; I% s. c' k4 p9 }[  133.888998] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B1C 00000000
) n4 ?/ Y/ c# _) s. h[  133.889789] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B20 00000000   }. @/ [# Z( P: L( \
[  133.890590] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B24 00000000
1 D* w: t' w- w/ A[  133.891374] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B28 00000000
: f/ ]  u$ A2 s- `) t[  133.892187] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B2C 00000000
. W# e" w8 J' f" [2 b( y[  133.892972] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B30 00000000
- ?, y% Z" V7 p6 w1 s; m& a[  133.893764] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B34 00000000
1 s! X  ~1 j' L" G0 `) k[  133.894555] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B38 00000000
4 w! o8 C8 D2 e5 O+ v[  133.895362] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014000 0000000D - ]( W5 ~7 F" |% Q3 p, d
[  133.896161] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014010 C6DF3280 2 F7 h: ~2 N3 ?2 m- }4 z; f) p
[  133.896946] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014014 0000007F + S) p* j2 i$ w
[  133.897737] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014018 00000078
7 a5 E# r. I% Z$ p" ?! d[  133.898529] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401401C 00000000 - r/ c1 q5 r2 K7 B# X2 q/ j
[  133.899321] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014020 8E00C303 * _" ?. \8 |/ m/ k& K# K
[  133.900113] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014024 02F001E0
% D' V8 v: K& F% f[  133.900904] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014028 02F001E0
7 w  Z" \, m% A' J* V9 R[  133.901696] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401402C 02F001E0 4 y) [  @  x, b9 k; }& ?% G8 \
[  133.902507] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014030 02F001E0
) ?2 a6 h6 C) |0 s[  133.903292] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014034 FFFFD8F2
6 U9 \; w; o' q" t[  133.904083] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014038 FFFFD8F2 & `8 M6 }$ G% ?
[  133.904875] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401403C 00002000 2 U" W( _# e5 X  X* `0 C
[  133.905667] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014040 90000000
- N" K$ N' b2 o* w[  133.906458] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014100 00002D80
9 Q$ R) \. k0 X[  133.907251] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014104 000A0000 " ^/ L+ p# z! }; \: Q
[  133.908042] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014108 00000007
. h: G. _: V, u; ?' K3 ?[  133.908834] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401410C 00000070 ' W. F, C  Y9 n/ A4 a: u
[  133.909626] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014110 00000000
* E8 m7 `- ~5 q% {* K! d[  133.910417] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014114 0000000E
6 o6 h6 Z7 m0 k9 n[  133.911209] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014118 00040820
9 W1 P( f- y+ K[  133.912030] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401411C 20110815 " N' U* s' b1 H
[  133.912853] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014120 00000000 $ ]3 g9 w  L& ~; i& \& D5 W2 @" ^
[  133.913638] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014124 01010101
/ I6 o! b( u% H& x$ N. A[  133.914430] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014128 000000E4
3 n8 I  Z- c8 w, y0 E. }# V2 {3 S[  133.915221] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401412C 00000000
% D) i# \  M, \+ M: z" e( D# H* b[  133.916013] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014130 01010000 8 h  Z: n6 [  V8 a% W+ ^& ]; l
[  133.916813] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014134 00000000 ! v; }) d4 f$ f; z
[  133.917597] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014138 00000000 2 v! ?! p: w0 \* M
[  133.918389] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401413C 00000000 0 x8 L$ q; O' h/ W& x' Z5 n
[  133.919181] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014200 10000400 ( j  [8 l3 V+ @
[  133.919972] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014204 00000000 ' K% h8 r5 t3 y$ g( G. d1 |+ J
[  133.920765] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014208 00000000 * T# k. C& K5 v5 k. h7 d" }8 _1 ^/ p
[  133.921584] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401420C 00000000
' U- X5 a2 Q6 ^[  133.922387] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014210 00000000 3 p; p6 I$ b4 ?. F3 a( E5 }
[  133.923172] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014214 00000000
- k* V) F2 e2 u$ o3 [( L[  133.923964] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014218 00000000
3 \' k+ _0 x) {2 }! L: a2 j[  133.924755] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401421C 00000000 5 }. D4 w% s: W# D8 A+ d! q8 h
[  133.925547] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014220 00000000
: t: O  F7 n9 E: @; L[  133.926339] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014224 00000000 # U$ Q9 t4 h* k% {: v
[  133.927130] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014228 00000000 ; l2 X/ d, V/ w  U8 l
[  133.927922] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401422C 00000000
8 a" o# \' y4 M- C; W[  133.928714] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014230 00000000
/ [* ^- j) k8 a, m[  133.929506] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014234 00000001   [2 K  G1 ^0 u9 l
[  133.930298] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014238 00000000 7 l  |2 @9 X. P
[  133.931089] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401423C 00000000
1 E8 v& a4 |. ~3 U8 m! `[  133.931881] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014240 00000000
. s" ]# [1 b2 G  n$ g* _[  133.932703] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014300 A0000001
2 }9 H* W( c1 z5 X  u" \4 K( ?4 b6 w5 p[  133.933489] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014304 00010001
. N/ [5 _& r* L  q1 {[  133.934280] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014308 00300004 ' e; e% v" f3 c+ V
[  133.935072] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401430C 00000000 ! V: n, \; z1 A. T  _; N- e/ L
[  133.935863] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014310 00000000
' j" d" H' v% G. C[  133.936655] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014400 00000000
* r- Y& t0 U7 z0 s& s8 d[  133.937447] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014404 059A0003
; `2 @" x7 A; ]5 d2 W7 Q( c[  133.938239] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014408 02D0035A # N% a& @' m/ p4 ^8 s6 C) M& a! X* k
[  133.939068] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401440C 00850085 $ L) Y  J! l. t. T4 @
[  133.939853] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014410 00F00106 4 ?: }1 i1 L3 J# q! v+ \2 S" ]& P" t
[  133.940644] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014414 00160016 8 O: Q; k6 X5 g& n% o* S
[  133.941436] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014418 001E0000
0 y/ W" M5 q0 a  O' h; z[  133.942256] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401441C 00000000 . p. Q* ?- l) j# W
[  133.943041] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014420 00000000 + X* D& e) t5 ?& ~; ^
[  133.943832] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014424 00000000 % e6 O+ j9 y' }
[  133.944624] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014600 00086360
! U& i/ v( A( V  O3 m3 [[  133.945416] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014604 00000000 : Y, d* ~2 v3 {( @( ?
[  133.946208] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014608 0000FF00 % ?# |: c- s/ t% O" d& y" ~
[  133.947000] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401460C 00000000
- C  O) q( H1 m/ p9 x" H[  133.947820] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014610 00000000
6 w! q' O( t" N[  133.948605] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014614 00000000 4 U) Y! J! N8 L' e- x# b6 A
[  133.949396] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014618 00000000
2 f0 D2 w3 p1 l+ y# G# z[  133.950188] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401461C 00000000
! w, x( @' O9 W! q[  133.950980] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014620 00000001
; F% h" g! \$ A' m6 o[  133.951771] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014624 00000001
7 `0 Q) W+ [6 F[  133.952583] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014628 01010101
* L  ^' [6 l* n' D, A. f[  133.953367] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401462C 00000000 . X- B) b9 T% C& K. L7 R
[  133.954159] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014630 00000000
9 I6 ~: T  |& S[  133.954951] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014634 00000000 * T( @$ p8 T& L- a" `$ T
[  133.955743] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014638 00000000 5 w( X0 \  q, t9 _8 A
[  133.956534] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401463C 00000000 # }+ \% c3 a) U' Z$ D: t$ K
[  133.957326] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014640 00000000
( ?' ?) V/ [, d1 N% R* [[  133.958118] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014644 00000000
4 n! @  d! @- M" o( U[  133.958909] (0)[1906:PreviewCmdQueTh]K_ISP INF:  -

) x( w- R) l% C  ?7 y. h
4 ?" @! E8 g, G( _2 P, z而我看MTK FAQ08102 里这么说
3 L/ U( p! U: |  m* y& O7 O0 B: w$ j" u5 l7 _
. \, b% t$ r0 B: g
[FAQ08102][Camera Drv]Mt6572黑屏,绿屏,花
( w) ^; o* b- g* b8 J' I! D屏,卡等问题分析思路
+ l& a7 w1 O- r  Q6 W[DESCRIPTION]: b9 U: m7 c* q: h
如果在进入camera的时候,发现有读到ID,可是确黑屏或者绿屏,或者出现一条绿线等,请先将ISP寄存器dump出来做7 Z# x' _+ S4 N$ B& t7 A
第一手分析
$ h' ^. C' T: o; ]% f2 Q1 N[SOLUTION]
  Q! ^& i2 v* ?  x一,ISP寄存器dump出来的方法:
( A$ V  H. ~& u5 q" i/ z1 H2 C   1,直接在进入camera之后通过adb dump,命令“adb shell cat /proc/driver/isp_reg > 'your path' ”1 l8 |+ q% f  u4 U
   2,手机有debug机制,遇到数据抓不满的时候会自动dump,在kernel log中搜索“K_ISP +”下面就是dump出来的寄/ ^" ^/ t7 c: K- V( O7 N
存器
; O, O: s- x# n; D二,分析Tg那边的寄存器来排查是sensor的数据有问题还是后端处理有问题:  v7 j2 n  J. Q- B. ~! F
   1,看TG Grab Window的配置:4 A+ s4 Y$ x6 d0 j# U
           K_ISP0xF4013418  0x06310001  GRAB PIXEL Start/End1 W9 ?6 m: r3 [1 |1 [. k0 V' {7 L1 s
                                                                          - p. |" E5 X( k+ Y4 k6 V& o
        
9 _& `7 |8 W) r! m9 O, @7 z           K_ISP0xF401341C 0x02530001  GRAB LineStart/End
9 H( F" ?7 ]7 ^' Y# J/ [    2,看Tg的input以及output
) z) T0 E9 S5 {0 i+ }) J- s8 ^        K_ISP0xF4013440  0x000e5b60  TGOutPutDataNum=Widthx2×Height(此6 D( n, N0 o4 \4 R+ X4 ^" I# k1 X
处的Width和Height为Grabwindow的配置,对应到driver中的Get Resolution里面的5 Y* @" \) B* j/ m2 F6 N7 k
值)                                  ) \6 d, S1 Y6 T, C' l
         K_ISP0xF4013448 0x06440259  [30:16]Input frame line counter  
# J; j  g$ a. S" b5 R[15:0]Input frame pixel counter ( g! u9 n' O7 s4 @+ R8 f; U
注意:由于yuv1个pixel是由2个byte组成的,所以宽会等于抓到的byte/2;高是从0 F& E* E) l) M. B- `8 Q1 V  O& f: V
1开始算的,所以会+12 Q( X( H) `0 u- D, \8 f7 `
如果Grab window配置不对,请检查sensor driver中Getinfo函数中的startx,starty以及GetResolution函数中的" n9 G: N4 y3 s- j6 x) o
Width和Height。
& u+ r; \/ f- b1 B: J# gTg In为sensor实际吐出来的数据,如果不对,需要检查sensor的setting,有可能是sensor吐出来的数据量不够或者配  D4 e" X- T& _' F& j5 U
置错误导致抓不到data;Tg OutPut为实际往后面输出的size,它应该等于GetResolution中的Width×Height×2,注意
8 H7 ], _! F+ t  i0 u" G$ a7 ATg的GrabWindow不能比TG的Input还要大,否则会抓不满报错

9 a: v. i5 b0 J* t$ b5 {0 f: j
8 ?3 L# I# Y/ L! a2 D/ S我的设备打印出来的 K_ISP0xF4013440 为 0 也就是TGOutPutDataNum等于0 。有可能是什么原因造成的呢?( T4 `1 u4 ^- F% L/ c
sensor driver中Getinfo函数中的startx,starty应该怎么设置?

( c" z, t. H" P) F1 L' E
" d7 R3 R$ o( ~0 h& Z& l4 l/ v) l5 N; p8 ~; R4 [* G4 s. S1 |3 A) X
匿名
匿名  发表于 2015-6-9 16:28:42
ISP TIMEOUT 是因为BB已经跟CAMERA通讯上了,但是BB等待camera吐数据超时,我遇到过几次,十有八九都是DATA线的问题,72并口有几根线跟MIPI LANE是共用的,检查一下
 楼主| 发表于 2015-6-9 16:29:17 | 显示全部楼层
用别的sensor是没问题的。6 M5 ~  U$ X3 P: B* r* E% }1 o$ M

8 w1 g, N2 {. b  \# h& G主要是这个错误:8 u5 j2 h& O+ b! p, q( n" J1 M; R, e: ]
E/IspDrv  (  141): IspDrv[mediatek/platform/mt6572/hardware/camera/core/drv/isp/isp_drv.cpp, waitBufReady, line1139] ERROR: waitIrq( ISP_DRV_INT_PASS1_TG1_DON_ST ) fail& Q; C* l" @5 z' h1 t, d- h, o
, S: f% V: j* [# `# @

, U0 `- m% {9 I( [+ g6 \faq里面这样说* r8 e. H& n/ y( c+ y, U7 v+ U
2,看Tg的input以及output, C/ B7 P7 y. l( s  q% f5 x
        K_ISP0xF4013440  0x000e5b60  TGOutPutDataNum=Widthx2×Height(此; }- V9 b' X) F% l2 H, y% H  O
处的Width和Height为Grabwindow的配置,对应到driver中的Get Resolution里面的
6 w: ^, t* I- G- H$ L值)                                  " c& j8 {* q2 ]6 q/ T, D7 v- g
         K_ISP0xF4013448 0x06440259  [30:16]Input frame line counter  , m0 b. a  X* q. E" k  d# C. S4 F8 p1 `
[15:0]Input frame pixel counter
4 k0 U- @1 |3 {! F, U注意:由于yuv1个pixel是由2个byte组成的,所以宽会等于抓到的byte/2;高是从! C  ]- z/ s8 g/ C* }; {6 _9 \
1开始算的,所以会+1( @+ e* H% k! P0 [) m/ i  D5 L$ ^9 H

( m8 \1 U# R* l' J% `9 Q而我的设备里面input是有数据的。但是output没有。
5 K$ J/ U$ n  Y" C4 V; xinput有数据,是不是bb端已经收到数据?能否说明硬件没问题了?
8 }# `& g5 N, a* w但到了output端就不正常了。不知道为什么???
4 c: {$ S' ?9 S4 }- c5 \/ w7 Q3 J2 ~
另外我的这个sensor是raw的。我是用mt6572 来接收raw的数据!
 楼主| 发表于 2015-6-9 16:30:27 | 显示全部楼层
72不支持RAW,你不用搞了* F, T# C0 v7 H- k* H$ q

9 g/ \8 @) Z& E/ s" F. y5 B; _# X9 O7 F9 A/ L) @$ ?$ j
数据本身到底是YUV还是RAW关系不大,两者本身都是一堆二进制数据流而已;% p  W3 F$ a1 y) i! `
/ v* G7 f" j9 s1 [
我的不是标准的camera。
! j" Y. A/ X) c; u& q
! Y1 ?2 P2 Y6 l9 J) ?! t; }! J( I是一个二维码的定制camera。$ o5 {; }' m+ d4 f

( {' c* F, h4 b* @3 V: t( j我只想通过mtk这边收raw数据8 i0 g' e, W# n5 C- y, g: Y9 m

. _. J  T, M( f2 U然后把收到的raw数据给别的sdk处理就行了。
发表于 2015-6-9 22:55:35 | 显示全部楼层
。。。。。。。。。。。72只支持YUV的sensor大哥
 楼主| 发表于 2015-6-10 17:59:28 | 显示全部楼层
essam 发表于 2015-6-9 22:55 ! h  \1 }7 Y  ?8 K8 `6 j  H
。。。。。。。。。。。72只支持YUV的sensor大哥
; K8 J0 a8 O5 A) U& i7 X
是的72平台只支持 YUV
高级模式
B Color Image Link Quote Code Smilies @朋友 |上传

本版积分规则

在线客服

客服电话

欢迎来电咨询

188-9985 8350

微信关注

手机APP程序:
扫码下载访问

微信公众平台:
摄像头之家公众号

微信小程序:
摄像头小程序

返回顶部

QQ|站点统计|小黑屋|手机版|Archiver|摄像头模组论坛网-摄像头方案网CCM99 ( 粤ICP备18155214号 )

Powered by Discuz! X3.4 Licensed© 2001-2013 Comsenz Inc.