|
|
板凳

楼主 |
发表于 2016-1-30 11:15:26
|
只看该作者
" f* _7 j7 G# Q# s3 R+ C
4 J; O) ^" G: s% m0 { Y+ w5 q
- G& m& v* o V8 F& s! K) x
看一下,我把环境变量打印出来了,这样配置是对的吗? n( a; \$ H# w& q: C0 s3 ^
7 k' c6 e. d. K* A& Q# {& k& t6 |) h( Y& u* L( O' x
root@tl:/home# ./vpif_mmap_loopback_sd -c 2 -d 0 -w 1 -m 20 \( ^ p0 d* T# W
CAMERA capture1 W( @6 C' t8 G# J8 ]) B. y" \5 d
input_device /dev/video0
& e$ H9 [1 Z& I1 a/ NCamera-Camera' i$ H! i8 M4 b1 {
fmt->fmt.pix.bytesperline(1600),fmt->fmt.pix.sizeimage(960000)
+ f8 x3 w1 u- y* w% q2 Nfmt->fmt.pix.pixelformat(50424752),V4L2_PIX_FMT_YUV422P(50323234),V4L2_PIX_FMT_RGB565(50424752)0 N3 B) f+ p8 C( V
fmt->fmt.pix.bytesperline(1600),fmt->fmt.pix.sizeimage(960000)
* F+ R7 x+ M* b6 Kcapture_buff_info[0].length = 4147200
+ L6 ^1 A# s5 C7 qcapture_buff_info[0].index = 0$ ]! @/ @0 G$ \& a' c3 r1 N" b
capture_buff_info[0].start = 0xb6b40000: z% V3 {/ k* r& Z9 p* V5 V
[ 74.316779] vpif_mmap_loopb: page allocation failure: order:10, mode:0xd0
" P: v8 R" }9 L/ o6 B[ 74.323663] Backtrace:
j2 @0 F+ R3 Z) A( k: m/ u[ 74.333553] [<c000c1a8>] (dump_backtrace+0x0/0x110) from [<c0408194>] (dump_stack+0x18/0x1c)
& g) X+ Z" Y" T[ 74.356223] r6:00000000 r5:000000d0 r4:00000001 r3:200000937 m$ ~2 P) V: f8 @0 Q9 C
[ 74.362055] [<c040817c>] (dump_stack+0x0/0x1c) from [<c005dc50>] (warn_alloc_failed+0xf4/0x118)
) ~8 H) V5 G2 r7 L. ~# @, N7 x[ 74.386451] [<c005db5c>] (warn_alloc_failed+0x0/0x118) from [<c0060764>] (__alloc_pages_nodemask+0x578/0x5d8)' A6 H) F" m8 [7 p2 ?7 n
[ 74.406178] r3:c71fbd1c r2:00000000% k: K& x* q3 F: ^" f' e/ @
[ 74.409822] r7:c05bd478 r6:c71fa000 r5:0000000a r4:000000d09 o1 P( n4 @8 M8 o6 b
[ 74.415828] [<c00601ec>] (__alloc_pages_nodemask+0x0/0x5d8) from [<c000df0c>] (__dma_alloc+0xd8/0x2ec)5 u% u4 d, m( E' U
[ 74.447742] [<c000de34>] (__dma_alloc+0x0/0x2ec) from [<c000e1b0>] (dma_alloc_coherent+0x5c/0x68)
; v" P3 o7 d: W- y4 l[ 74.467181] [<c000e154>] (dma_alloc_coherent+0x0/0x68) from [<c02d5a20>] (__videobuf_mmap_mapper+0xa8/0x180)
# ^; t8 p1 x: K( s9 }[ 74.496167] r7:c7182920 r6:c7ba8d90 r5:c71feee4 r4:c72b69a0
- f, M6 s0 x2 q; g( y: y) _. }[ 74.502044] [<c02d5978>] (__videobuf_mmap_mapper+0x0/0x180) from [<c02d36c4>] (videobuf_mmap_mapper+0xc0/0x110)# l4 {) s7 ^* z- d9 V0 v
[ 74.527223] r8:c708d300 r7:b674b000 r6:c72b69a0 r5:c72b69a0 r4:c7ba8d90( }' H; ^+ p# H' v
[ 74.534166] [<c02d3604>] (videobuf_mmap_mapper+0x0/0x110) from [<c02de0bc>] (vpif_mmap+0x40/0x50)
# D5 M* S) i _5 D, T$ [! X1 H4 n[ 74.556197] r5:c7ba8c00 r4:c72b69a0+ n1 D3 r1 g: w& ]
[ 74.559945] [<c02de07c>] (vpif_mmap+0x0/0x50) from [<c02c55f4>] (v4l2_mmap+0x70/0x90)
Y2 t- L4 R5 G5 p[ 74.587055] r5:c71fe580 r4:c79c2e00
% ?& W t H9 A* N7 _[ 74.590771] [<c02c5584>] (v4l2_mmap+0x0/0x90) from [<c007846c>] (mmap_region+0x268/0x4c0)
* \/ A5 L$ r8 p: |% U. F& z* y7 f[ 74.616153] r6:c71fe580 r5:000000ff r4:c72b69a0 r3:c02c5584
4 V0 K; D/ s$ x& O[ 74.621976] [<c0078204>] (mmap_region+0x0/0x4c0) from [<c007897c>] (do_mmap_pgoff+0x2b8/0x318)
1 k. {0 d; s# V1 p[ 74.646297] [<c00786c4>] (do_mmap_pgoff+0x0/0x318) from [<c0078a74>] (sys_mmap_pgoff+0x98/0xd0)$ o( a' x0 }* N& w
[ 74.655109] [<c00789dc>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
! B! H% }, b: H; f[ 74.688020] Mem-info:
& V4 Y' ^+ w2 N8 F1 p. V' M[ 74.690383] DMA per-cpu:
1 A+ v- `+ S1 P* b[ 74.692955] CPU 0: hi: 18, btch: 3 usd: 17& A4 I# j5 e7 e# x
[ 74.700640] active_anon:3001 inactive_anon:46 isolated_anon:0( Q$ t# o) T$ J9 _3 Y+ U
[ 74.700664] active_file:2684 inactive_file:6310 isolated_file:24) y+ u; d, Q: M: ?' ~# ?
[ 74.700684] unevictable:0 dirty:67 writeback:0 unstable:09 E7 \ ?- U* C+ ~3 Y! ^
[ 74.700700] free:7432 slab_reclaimable:505 slab_unreclaimable:739( Z2 b3 w- g7 ~, R$ c: C$ B
[ 74.700718] mapped:2376 shmem:141 pagetables:143 bounce:0) z1 x7 G3 h3 }+ U2 n, k
[ 74.766255] DMA free:33856kB min:1244kB low:1552kB high:1864kB active_anon:12004kB inactive_anon:188kB active_file:10736kB inactive_file:21200kB unevictable:0kB isolated(anon):0kB isolated(file):20kB present:97280kB mlocked:0kB dirty:268kB writeback:0kB mapped:8372kB shmem:568kB slab_reclaimable:2020kB slab_unreclaimable:2956kB kernel_stack:576kB pagetables:572kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no J7 ]( D0 W0 o6 z& S; p8 k& e
[ 74.846179] lowmem_reserve[]: 0 0 0( z: o" O% m& E0 h( q. G5 j
[ 74.849759] DMA: 760*4kB 461*8kB 239*16kB 158*32kB 92*64kB 43*128kB 21*256kB 6*512kB 7*1024kB 0*2048kB 0*4096kB = 42616kB
7 n' w) ~# N3 C- T3 _, \% D[ 74.871095] 5393 total pagecache pages2 \/ U5 C- {+ ?, o8 u6 U, @
[ 74.874878] 0 pages in swap cache9 ^1 G+ Z( y. @6 ^4 K6 F# }
[ 74.896156] Swap cache stats: add 0, delete 0, find 0/0
- P; }6 V. o+ T/ c* u/ K[ 74.901444] Free swap = 0kB; y# S2 D2 Q4 t4 f
[ 74.904346] Total swap = 0kB ~& l1 I, ~- ~. W; N; I& v
[ 74.946799] 49152 pages of RAM9 {) G4 k& T+ v) c" B7 r
[ 74.949901] 25326 free pages* }# S8 k6 V' E( ~. \9 ~. `
[ 74.952803] 3366 reserved pages0 q( ?9 ~- Q4 ] D/ I( m9 y" R1 N6 a7 H
[ 74.966186] 2124 slab pages. O3 S8 Q4 C8 [& Z, f
[ 74.969063] 7387 pages shared
+ S9 E, F5 p: D3 G7 l' {$ o5 c/ i[ 74.972058] 0 pages swap cached
6 d2 |/ m/ o8 b& ]. D0 ]- [9 l* X[ 74.975243] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed( {5 L! J( {/ V; M5 Q
Cannot mmap = 1 buffer
5 ?. ] u! e' g* d u: XError in opening capture device for channel 0
7 N% S$ h$ W0 S6 L7 @6 O & [1 Y8 d% B. ~
5 u) z! c0 n3 r' L: k4 o这上面是新的错误提示,请再帮我看看是哪里出了问题,谢谢。/ ^; [$ s7 P1 D" G O
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|