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

MTK6572上camera调试 ISP TIMEOUT

[复制链接]
发表于 2015-6-9 16:28:17 | 显示全部楼层 |阅读模式
在6572平台上面调试camera( d0 W! B: I: i6 i; z% U

" L% x3 }! B8 V2 S遇到isp timeout ( [8 G( c2 i+ p4 N' V% ]

. A# U% [/ S6 B: p: t3 G( J6 U硬件信号都正常!. u6 U& D4 A& O
/ k* L( `8 k$ e" F( C
这是一些LOG

( |& Q: t% C% A9 |) e3 I5 M7 P+ Z+ U5 z$ n9 m
[  133.832039] (0)[1906:PreviewCmdQueTh]K_ISP ERR: Timeout: Clear(1), IrqStatus(0x00000080), WaitStatus(0x00000001), Timeout(2000)
  N/ p6 W* A' u6 F: }& |- |[  133.833471] (0)[1906:PreviewCmdQueTh]K_ISP INF:  +# P1 b0 L6 Y; A) d1 K
[  133.834067] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013000 0000000D
7 R' ]& F& e; U8 g[  133.834914] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013004 01010003 8 v4 P" s4 v8 j% f, V7 I; T3 u
[  133.835700] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013008 00000000 ; y" O# e, i2 M: N& @
[  133.836492] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401300C 00000000 6 k  ?+ u0 j" H  x  H
[  133.837284] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013010 00000481
/ K' K% C/ h5 n: Q2 e& N6 x[  133.838075] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013014 00000000
1 Z2 M! P9 @, B5 E  c[  133.838877] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013018 00000000
# z7 b+ `& s7 s, a+ l[  133.839661] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401301C 00000000 7 ~& E( C( W1 j
[  133.840453] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013020 00000000
1 v# E5 N5 y" Q& g0 v[  133.841245] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013024 00000000
8 W4 N+ Q' d, V6 p! h% |[  133.842084] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013028 00000000 / ^2 `" }; c* y. X* m" c! Y
[  133.842869] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401302C 00000000
+ X% N6 y$ c3 w9 [[  133.843681] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013030 00000000 / A/ g$ [7 ]0 w
[  133.844481] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013034 00000000
; ~* d; v$ J6 }5 n+ w) t$ n: s[  133.845265] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013038 00000000
5 M( C, I& y& n[  133.846057] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401303C 00000000
9 j  ?, W7 ]; L! @( b4 o( c[  133.846849] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013040 01100000
+ M& P* x( R) f! l( U[  133.847640] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013044 00000000
  _  Z/ D( C7 p& E* V. _' }' y[  133.848433] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013048 00000000
! s6 A$ _- U8 N- k% |$ Z[  133.849224] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401304C 00000000 # Q( q6 S7 _# C1 t
[  133.850016] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013050 00008005 6 f! g2 |5 h5 `/ g( V2 o
[  133.850807] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013054 00000000
& ?( _" E0 y/ o8 a[  133.851599] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013058 00000000
( ?% e, F: r( L! v9 k, y[  133.852425] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401305C 00000000 2 p1 x  _* W/ ^
[  133.853210] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013060 00000000
  N! j0 v7 {% S% K[  133.854002] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013064 00000000 3 @$ P! P" ?3 D
[  133.854793] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013068 00000000
9 F' E$ [3 i0 G& E0 j$ I2 r[  133.855585] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401306C 00000000
2 ~9 c% w8 `) x9 s: s* d* h[  133.856377] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013070 20120705
" s) h' ?% |7 L. @[  133.857169] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013074 65720000 % G- @, c, t* x' k3 ]! t* S: P- `
[  133.857961] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013078 00000000 3 Y' j' S/ j+ b5 @# L) ]6 G
[  133.858752] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401307C 00000000
  v) ?, D* A1 @, u: `[  133.859544] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013080 00000000 $ L6 b$ A( J1 i0 `# C0 Z7 r
[  133.860336] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013084 00000002 . T& ^" }+ a/ ~8 @; r# a  t% t5 Y+ b
[  133.861168] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013200 00000000
4 j; M! M9 J" z" S[  133.861954] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013204 00E40000
. G+ @" u6 k5 ~7 K: Z" o2 d2 I[  133.862769] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013208 00000000 % E; z: F- T" {7 K! G
[  133.863554] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401320C 000002EF * W( a6 }4 a3 T
[  133.864345] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013210 000001DF
, K% D& e0 y! b6 X  [9 t( w0 S[  133.865146] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013214 000002F0 3 N  I, Q( Y' w) z6 |
[  133.865931] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013218 08505050 1 ]# `$ r- M6 t
[  133.866723] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401321C 00505000 . R6 u" L+ g! U6 f5 `+ N3 S
[  133.867514] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013220 00000000
  i) M: ?0 ]5 P[  133.868306] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013224 00000000 7 w' \' d6 G+ H6 g
[  133.869098] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013228 FFFF0000
1 X) k" v# ]/ r! U" y1 }' A[  133.869918] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401322C 00000000
; H' U0 n8 z8 E[  133.870703] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013410 00000105 0 P2 ~! M0 @- U, x1 ?: O5 k& _5 Q
[  133.871494] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013414 00001000 6 g: p' Y) ^6 Y$ S' U
[  133.872306] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013418 02F10001
7 V/ b( R- f+ [3 _! p( V! w[  133.873091] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401341C 01E40004
, [" g8 J0 S, z( R6 M& \% c[  133.873882] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013420 01100000 4 L& d4 G3 x7 x* v% U
[  133.874674] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013424 00001430
& J- z; P; S( \. W3 j9 I& L3 f[  133.875465] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013428 00000000 / y( G4 T# w! G0 q+ j+ \4 S
[  133.876257] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401342C 00000000
" w$ R" m* o7 ]$ c$ v[  133.877049] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013430 00000000
' Z$ R8 J+ l/ T0 w3 c/ d3 X0 P1 G[  133.877841] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013434 00000010
; E" v# s. u" F; @8 Q1 C5 k3 |: V[  133.878633] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013438 0FFFFFFF 9 _4 o- r7 Q% [
[  133.879424] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401343C 00000000
$ q* ~) e7 o1 ~[  133.880216] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013440 00000000 & I5 C7 W0 R: o% @; z# n
[  133.881008] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013444 00000000
% w! A, U; K8 j' Z[  133.881817] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013448 02F001E1
$ N9 K* b% I0 w- N% Q[  133.882631] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401344C 00000203
0 z7 Z/ U4 D3 k[  133.883416] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B00 00000000
8 Z3 I7 r8 T6 Q/ G# A[  133.884222] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B04 00000000
( M7 h8 ]5 H6 Q* |( f% b9 B[  133.885007] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B08 00000000
3 q! |# C* s) l  D[  133.885798] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B0C 00000000
" k7 N" E. t( z+ x! @; K+ E[  133.886629] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B10 00000000 7 Q- d( _, H6 M
[  133.887414] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B14 00000000 ; u2 b: c: _1 w6 s! g6 \1 s
[  133.888206] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B18 00000000
" \* v/ n- B$ R7 V7 F3 D: D[  133.888998] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B1C 00000000 7 }" Q, j/ J. O6 i
[  133.889789] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B20 00000000
$ \: x0 B0 o6 U, f! Y[  133.890590] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B24 00000000
" w! e/ c3 T6 a2 y0 W$ z' S" l[  133.891374] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B28 00000000
6 B' [7 T9 G# o8 O[  133.892187] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B2C 00000000 ' L2 D8 `7 f* |7 A7 p
[  133.892972] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B30 00000000
3 V/ F  o9 I. z+ `" p. y[  133.893764] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B34 00000000 " d0 @1 h* ?. R8 ?2 N3 k
[  133.894555] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4013B38 00000000 5 h" q4 |1 i! T
[  133.895362] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014000 0000000D " @" @, W9 U! P& o. {: Y6 i
[  133.896161] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014010 C6DF3280 9 p' H* I  K- E% @& {
[  133.896946] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014014 0000007F : j/ y3 X! k' c4 o1 i
[  133.897737] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014018 00000078 / g: f! |6 v0 z0 N% J, e
[  133.898529] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401401C 00000000
/ N) ^, Q$ h0 y- S( y  h[  133.899321] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014020 8E00C303
. ]- |5 `6 V0 R0 a2 u( j2 j. W[  133.900113] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014024 02F001E0   D1 Y" o/ l$ q/ ^5 S
[  133.900904] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014028 02F001E0 4 e3 Z0 V/ R! F3 H" }# R
[  133.901696] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401402C 02F001E0 2 ~+ ?& Y5 j2 ~- w4 @$ }3 f
[  133.902507] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014030 02F001E0 % x( o: X  X# O9 G" Z& Z) Z
[  133.903292] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014034 FFFFD8F2 ! s3 T" f, A) d3 Y
[  133.904083] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014038 FFFFD8F2 & C5 a  y9 Z5 f; B
[  133.904875] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401403C 00002000
% |5 N) o( N" M# ]# _1 _% m[  133.905667] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014040 90000000 + b) j  d6 i+ d. d
[  133.906458] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014100 00002D80 3 O. q/ U6 K9 n4 v
[  133.907251] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014104 000A0000
' i6 g8 ~# I/ j7 \# S% R[  133.908042] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014108 00000007 0 u* s2 g+ X8 }' N
[  133.908834] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401410C 00000070
; B/ z9 D( c) S1 v# ?0 M[  133.909626] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014110 00000000
' ^0 h* t1 t7 V[  133.910417] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014114 0000000E 8 @3 q7 K2 l2 ?/ I9 k& j- ]" s$ _
[  133.911209] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014118 00040820
& D6 |' P1 z$ |" ][  133.912030] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401411C 20110815 & k4 k5 B% ]5 ]" R
[  133.912853] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014120 00000000 ) I3 Q2 ?, t/ `% ^
[  133.913638] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014124 01010101
8 ?7 s* ]8 P1 p5 x/ t. A8 `[  133.914430] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014128 000000E4
5 t# A3 s& Y# y0 Z[  133.915221] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401412C 00000000
  p: o: ]) J4 C3 J[  133.916013] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014130 01010000
, c- w/ j% w3 o2 d, I[  133.916813] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014134 00000000
3 A7 y' F. N3 v. n[  133.917597] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014138 00000000
% }4 ^$ O9 V) r' e$ V0 F9 Y4 q[  133.918389] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401413C 00000000
# h" Y/ s9 P* \2 |& k$ G[  133.919181] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014200 10000400 , O+ t% s$ z5 ~7 Y: X% t- }& `
[  133.919972] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014204 00000000 , Q6 d' I) Q* Z. `& f
[  133.920765] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014208 00000000
7 w) y& E- K0 @[  133.921584] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401420C 00000000 1 }1 }: z0 d" `' ?& A' d
[  133.922387] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014210 00000000 : N8 `4 G2 n8 u/ g( W8 t) Z
[  133.923172] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014214 00000000 3 }0 L5 Q. W8 k7 V
[  133.923964] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014218 00000000
/ ~& x- M8 [# Q7 Q7 P[  133.924755] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401421C 00000000 + {) W& K+ H( \0 d# ?1 t2 {: _# Y
[  133.925547] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014220 00000000
: J6 O% m0 V7 @) V% J[  133.926339] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014224 00000000
! w. k% m0 a$ o0 \! r[  133.927130] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014228 00000000 1 }' L4 e- z/ ]
[  133.927922] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401422C 00000000
* ~- `8 Z( i- Y9 b9 x- h9 I[  133.928714] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014230 00000000 ' Y, X6 `. Z% Z9 l; q
[  133.929506] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014234 00000001
6 C9 e8 Y- D: n' Y# \/ [[  133.930298] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014238 00000000
0 c2 Q' X) l* K0 d7 g7 @3 U7 I[  133.931089] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401423C 00000000 ) f) l1 P6 o- Q. Z) B& V2 I! V
[  133.931881] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014240 00000000
% x4 L. P2 _9 E+ [' {( z) T- Z[  133.932703] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014300 A0000001 $ W0 L* {0 F9 a/ [8 c
[  133.933489] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014304 00010001 * L$ K0 I9 Y( P4 z3 |
[  133.934280] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014308 00300004 * q- o+ j% ?4 n
[  133.935072] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401430C 00000000 ( K& x! [  a+ _, O2 i: Y
[  133.935863] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014310 00000000
# l" o" i/ O- B+ Y[  133.936655] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014400 00000000
+ {% t5 L' _$ D[  133.937447] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014404 059A0003
* I1 e/ S- X; z# Y) z[  133.938239] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014408 02D0035A
6 i9 b; }4 l& m5 i6 l5 l[  133.939068] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401440C 00850085 8 Q1 Z9 q3 z7 Q8 R
[  133.939853] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014410 00F00106 ( M, l3 |7 Y. o) v+ N
[  133.940644] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014414 00160016
: a; A; ^' I$ O7 ^[  133.941436] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014418 001E0000
5 q5 K( I: L. B- }. c[  133.942256] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401441C 00000000
! I, L4 `) h- G[  133.943041] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014420 00000000 % t; z* V* x8 v) E
[  133.943832] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014424 00000000 8 a2 N) V3 P: z
[  133.944624] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014600 00086360
) J6 @  @& u( {6 P[  133.945416] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014604 00000000
6 Z+ \- m! N1 y[  133.946208] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014608 0000FF00 7 l( F( m. q  V7 Y. \8 z. w
[  133.947000] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401460C 00000000
4 C+ |: [) V( o4 \3 ?, o[  133.947820] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014610 00000000 0 ?" Q! q( q" V3 y; Y0 U. R
[  133.948605] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014614 00000000 - G3 ^5 _; a& u) _
[  133.949396] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014618 00000000 ! G: {3 l) M5 j+ ^- H1 D. p
[  133.950188] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401461C 00000000   e- B/ [+ }2 W7 X+ J9 s
[  133.950980] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014620 00000001
- g  R* ?) w& h  T4 {[  133.951771] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014624 00000001 6 w; ]/ R" F- ~6 {
[  133.952583] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014628 01010101
# G. ?/ k3 k+ T8 k. w4 b  d' [  l3 l[  133.953367] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401462C 00000000
# K( L0 i8 K2 c5 c& v4 |* J0 }[  133.954159] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014630 00000000 : i: F8 y! N5 U3 v7 o' [+ o1 g
[  133.954951] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014634 00000000
3 p  F5 ?& \1 [: R[  133.955743] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014638 00000000
2 L8 q; e+ `% o* C# i( w3 K8 L[  133.956534] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF401463C 00000000
# w- C1 R' G/ v) f; {- g[  133.957326] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014640 00000000
& N& R. U* C* V: t[  133.958118] (0)[1906:PreviewCmdQueTh]K_ISP INF: 0xF4014644 00000000
  y4 ]; s& ^) E" i8 B) X0 V[  133.958909] (0)[1906:PreviewCmdQueTh]K_ISP INF:  -

. x' B! H* y2 l2 l4 d- s9 o1 Q9 s! V5 z
而我看MTK FAQ08102 里这么说
5 g3 Z# o  X/ ?: v5 h$ v" Q2 k+ g6 @& i" Z: l5 K, o" c& J" D& w

4 e/ ~9 v7 ^3 E. k: k
[FAQ08102][Camera Drv]Mt6572黑屏,绿屏,花8 @, c7 ?/ Q8 H5 c) I8 E  ]5 J
屏,卡等问题分析思路  Q! l' A$ Y. [6 o
[DESCRIPTION]
" g; h6 W, r. A# R如果在进入camera的时候,发现有读到ID,可是确黑屏或者绿屏,或者出现一条绿线等,请先将ISP寄存器dump出来做7 N$ T2 Y9 m3 M; ]" b$ n  k  l
第一手分析
$ {+ }$ s* B4 U" }. X; ?- K6 j  i4 E[SOLUTION]* k( ^9 B" }1 R* H2 U
一,ISP寄存器dump出来的方法:
6 |- j% _) L$ a( t   1,直接在进入camera之后通过adb dump,命令“adb shell cat /proc/driver/isp_reg > 'your path' ”# P: e3 s3 g& Q' g& I) x! {9 j
   2,手机有debug机制,遇到数据抓不满的时候会自动dump,在kernel log中搜索“K_ISP +”下面就是dump出来的寄
: C' F$ s  B6 F% s! I4 J) `+ R存器
% w- l1 R  C! z; R二,分析Tg那边的寄存器来排查是sensor的数据有问题还是后端处理有问题:
) }* x. L3 O, |/ V   1,看TG Grab Window的配置:
" p) ], Z' v0 C) P           K_ISP0xF4013418  0x06310001  GRAB PIXEL Start/End+ Q, G. P; f$ V2 f7 c$ \
                                                                          
, b7 C  w2 r" p        
9 e+ t) \" t) G, S0 O           K_ISP0xF401341C 0x02530001  GRAB LineStart/End, L3 M% a* |/ g8 C6 X% |0 c
    2,看Tg的input以及output
8 h; K$ ^% y# C7 L6 F        K_ISP0xF4013440  0x000e5b60  TGOutPutDataNum=Widthx2×Height(此
2 M1 t4 h, e# I/ w处的Width和Height为Grabwindow的配置,对应到driver中的Get Resolution里面的
' T& ^% ?! d) k0 D值)                                  + l: c9 Y, _5 |0 ]9 _: n
         K_ISP0xF4013448 0x06440259  [30:16]Input frame line counter  
" f2 J: n; U9 h* y, k[15:0]Input frame pixel counter
* b: i$ J9 o$ P' K) U; u注意:由于yuv1个pixel是由2个byte组成的,所以宽会等于抓到的byte/2;高是从
& |9 c# V$ B8 H5 C1开始算的,所以会+1+ _6 ?, s; Q0 t  J
如果Grab window配置不对,请检查sensor driver中Getinfo函数中的startx,starty以及GetResolution函数中的% G* N3 r" S$ f2 ?
Width和Height。
; t. A: n1 V$ l  X0 K4 s0 ~Tg In为sensor实际吐出来的数据,如果不对,需要检查sensor的setting,有可能是sensor吐出来的数据量不够或者配
& X- C1 [" V; ^( [' u2 G置错误导致抓不到data;Tg OutPut为实际往后面输出的size,它应该等于GetResolution中的Width×Height×2,注意; D& l: N; e3 _" X. |' U
Tg的GrabWindow不能比TG的Input还要大,否则会抓不满报错

0 e' k# T, \8 {* Q
1 h# R+ f1 V- j5 R我的设备打印出来的 K_ISP0xF4013440 为 0 也就是TGOutPutDataNum等于0 。有可能是什么原因造成的呢?
+ n" D! y/ F; y; Vsensor driver中Getinfo函数中的startx,starty应该怎么设置?

3 r8 \& v4 s, \+ r# o% F9 w9 k
% c1 V; \7 i6 U! m$ j
+ h. A  G$ o" ^4 B- ]. u2 m
匿名
匿名  发表于 2015-6-9 16:28:42
ISP TIMEOUT 是因为BB已经跟CAMERA通讯上了,但是BB等待camera吐数据超时,我遇到过几次,十有八九都是DATA线的问题,72并口有几根线跟MIPI LANE是共用的,检查一下
 楼主| 发表于 2015-6-9 16:29:17 | 显示全部楼层
用别的sensor是没问题的。) B6 W( Y# N% M2 W0 F* q

! W2 p! m& q+ C' \9 g2 a主要是这个错误:
9 e$ D0 j5 t; i/ _- \' s3 e6 mE/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 ) fail2 H8 ^4 a3 i9 [8 l7 z  A  Q) |

) ^. q* M* d  q4 ]& u, |) D' ]' N7 ?/ C9 s& E8 T% O
faq里面这样说
3 f1 ^# V& S5 m* u$ p2,看Tg的input以及output* M1 u  _2 O* D( p: S5 W
        K_ISP0xF4013440  0x000e5b60  TGOutPutDataNum=Widthx2×Height(此1 x1 ^# P5 n0 n$ B7 j) A
处的Width和Height为Grabwindow的配置,对应到driver中的Get Resolution里面的/ x& x$ I  b9 G6 [3 r" W: ~
值)                                 
. v# m3 a: d2 M" I: _         K_ISP0xF4013448 0x06440259  [30:16]Input frame line counter  1 ]- u& e" {* Z0 k2 q) v2 L
[15:0]Input frame pixel counter
/ z  v; e" o7 ~6 I5 o6 J. N注意:由于yuv1个pixel是由2个byte组成的,所以宽会等于抓到的byte/2;高是从
0 u; G/ Q+ ?. n2 V1开始算的,所以会+1
: W% r& A3 d+ c3 y2 K7 l: Y3 J# v, u+ P' S& r9 k
而我的设备里面input是有数据的。但是output没有。
6 y* z+ G( j# N6 _+ Q/ Binput有数据,是不是bb端已经收到数据?能否说明硬件没问题了?
" h* h  [- H8 ~1 b但到了output端就不正常了。不知道为什么???3 E% B  g6 g  y! x% [, W

/ b8 H; c+ S: k: O6 q& S8 ~  [另外我的这个sensor是raw的。我是用mt6572 来接收raw的数据!
 楼主| 发表于 2015-6-9 16:30:27 | 显示全部楼层
72不支持RAW,你不用搞了
( ^/ O5 g( @, g/ d6 a& d6 _( e( R% a) L' N6 b8 B- }  l$ Q. c
1 a, N$ y8 S( b# S9 H$ c0 U
数据本身到底是YUV还是RAW关系不大,两者本身都是一堆二进制数据流而已;
- }4 G! j+ Y. ^4 T  m9 P
% D7 c7 U! Y, Z9 R2 h! D' u. s5 Y我的不是标准的camera。
- j+ i: Y  m8 s7 D+ g5 B( m7 c  L; X& b$ t$ V( [7 C
是一个二维码的定制camera。
- X" ?8 |6 E  o9 [9 h$ w3 U/ }
0 O$ _9 z9 G4 Y* i  Q我只想通过mtk这边收raw数据  j* a! F# k' Q9 b/ W" j6 f( |- T
. P& n3 b) l) H8 ]
然后把收到的raw数据给别的sdk处理就行了。
发表于 2015-6-9 22:55:35 | 显示全部楼层
。。。。。。。。。。。72只支持YUV的sensor大哥
 楼主| 发表于 2015-6-10 17:59:28 | 显示全部楼层
essam 发表于 2015-6-9 22:55 * s/ E/ ?, C/ m; D4 ~  ^
。。。。。。。。。。。72只支持YUV的sensor大哥
1 @0 T& z, w, R+ A1 j
是的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.