嵌入式开发者社区

标题: face_detect双核通信 [打印本页]

作者: robinluo123    时间: 2015-11-2 15:59
标题: face_detect双核通信
root@tl:/face_detect/run# ./run.sh $ M, o/ y9 w" V0 P

) h0 {" ^0 A+ ~% w3 Y: F+ MODULE_NAME=syslink
0 d' f# w, A8 G( z2 R- U5 @2 [1 I5 B+ lsmod
- i  D  t8 k! O0 H) w+ grep syslink. U5 H, Q0 Y* \
+ '[' 0 -ne 0 ']'$ o6 M6 a5 e& {& z% k  K/ S: Q% }/ K
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674! ^! ~* `. Q+ p* V
Attached to slave procId 0.+ A; J5 Z; O# i, o
Loading procId 0.0 o" v  d3 |# q: W' C2 e
Loaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.4 }% H+ y0 l% x2 y1 C; T. D
Started slave procId 0.
/ o9 j5 _5 S  v4 p+ ../host/host_app -qws
& Q8 O% B% x% z0 H2 p[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync4 `+ ~5 B4 I$ V, c6 G: W( D3 T% `! S
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync# d5 V# j3 d0 S' |: A2 J7 `' j
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
- Q% l% c5 J9 M5 Q% V: x[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
! L$ L6 {. _' S6 \! J" a[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
. z5 U  P2 e' h; s, t/ ^/ }[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
4 ?9 n. J( n" s' A$ t$ X; Z[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
1 T! L- t8 d8 F[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync8 P) ^) }2 Y9 q" T' z- D0 l9 m
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
) F/ ]) \/ C  t2 n% V[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
. J! F& b" e0 V3 |3 r[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync! m: g" D) a3 Z/ K, Z8 ]% P# _- Q
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync) {. q/ b% n  f& W% m: D) t# ?
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
2 J9 W9 {' J7 c' `4 \/ i% _- f- y[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync) a: o0 ^/ I  j# k" D
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync& @0 r* K6 J4 ~
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync- J4 @( k- Y* b) l
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 19 G$ U. ~1 a9 j7 x" l1 n9 c2 u
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
% w* E4 W2 {, E7 h  R[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready; b1 J2 I& X( @- H/ V5 e: n) @
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
* E8 T7 w( O5 D) b: Z; OCamera-Camera
( v: y1 C- l+ |[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
% S+ B2 K( p- C! T! o6 |* n' l- H: T[   76.377606] Backtrace: + Y. D, q8 W0 k6 `) J. I! ^* n
[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
  ~+ A$ A7 @/ Z. {+ f- m[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001& z$ Q+ d- X# b0 D5 d, K$ P% L9 r
[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
' i  S% P, d# J9 k[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
) }4 L8 n0 W! \9 S[   76.425768]  r3:00000000 r2:00000000" Z1 ]* M( J! N7 ]
[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
2 r- ^; N  P7 X2 u[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
- e; i" ?7 H+ q* ?[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)6 \; \/ E1 \9 t7 v0 s# [0 M
[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
0 g% u, i9 h# F4 r1 t1 T6 O[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
' N7 Z& U! x' b% Y1 O' q% M2 l[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
& \$ j1 r+ J3 {[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b003 Q; g' p. x" p( i+ c2 @
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50), U* l6 |. m5 {+ B* O  _' s
[   76.507848]  r5:c12d1b00 r4:c1bdec00
8 b7 q$ }" x2 Q; j+ c! W; L[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)) L( g  p/ i# w" E  m5 s
[   76.521828]  r5:c1bffe00 r4:c11133803 f! D) o, s1 A; \$ T0 W# Q. {: r
[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494): B9 P2 |4 c- ?; k2 y
[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000
! |5 p! B% p7 K5 @4 S[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)9 }. H: i5 J3 |0 U
[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)6 {5 h: x) m9 U+ g1 v8 O* X
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
% T4 M7 t$ e& U9 g( O[   76.574327] Mem-info:. L- x# ^* t2 O
[   76.576657] DMA per-cpu:7 P) m  _8 g; @
[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0
  O" U9 T/ U+ B% ]; ~. F; d! _[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:00 t# N- J$ o) c/ W5 s* w5 t
[   76.587198]  active_file:867 inactive_file:896 isolated_file:0/ }3 x4 d7 v6 l3 l) B
[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0
& B) T* Y' I5 z  C[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:7897 G5 n6 _) I5 r$ i6 Z
[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0
  I! n4 `9 o/ B( m[   76.620851] DMA free:1032kB min:720kB low:900kB high:1080kB active_anon:5720kB inactive_anon:140kB active_file:3468kB inactive_file:3584kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32512kB mlocked:0kB dirty:0kB writeback:0kB mapped:5104kB shmem:528kB slab_reclaimable:1144kB slab_unreclaimable:3156kB kernel_stack:536kB pagetables:488kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
1 v/ @& _$ A6 d( d1 p! p[   76.661444] lowmem_reserve[]: 0 0 0; V/ ?. {4 H. U% W& z+ I; k" f. t
[   76.665355] DMA: 81*4kB 8*8kB 1*16kB 1*32kB 0*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1076kB3 O) Q2 j3 x* w& d
[   76.677034] 1884 total pagecache pages* i. B: k# o! S4 u; ~
[   76.680817] 0 pages in swap cache
- n( n5 f% `! D& I0 L7 t[   76.687285] Swap cache stats: add 0, delete 0, find 0/0
7 |3 n+ V( S+ u3 [: Q$ k, B[   76.693996] Free swap  = 0kB
# B$ y. r! B! i/ L  a7 p[   76.696926] Total swap = 0kB
1 _- I; ]+ g5 H0 o' m1 ][   76.701578] 8192 pages of RAM
+ ^0 E# e; s! V* A[   76.707668] 405 free pages( x4 K2 K6 M2 U7 q' J7 W- u1 x/ Q
[   76.710418] 1555 reserved pages
% Z! V& n; G0 A: w+ Q3 O( ~[   76.715882] 838 slab pages
8 s) ^+ ^# [* P" ^$ S[   76.718631] 1851 pages shared4 v. w" f9 {3 A# H! Z! [* y6 l
[   76.721620] 0 pages swap cached
' m; B: x$ e! E0 Z: T[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed) _) _" |% Y0 K! P
Cannot mmap = 0 buffer$ e' x* Q2 e% B$ {- X3 Q+ m7 q6 _
VIDIOC_STREAMON; A9 {2 W) B: j8 H8 g
: Input/output error
2 g7 R; p  o% ^[ERROR|start@capturer.cpp,27] fail to start capture
+ H" X/ m- j+ q& F" [QThread::start: Thread creation error: Resource temporarily unavailable
7 N  N/ Y/ T6 o! l- `[DEBUG|start@playbacker.cpp,25] it's about to start playback
1 d* Y) c% d$ i/ ^. I+ G' c7 ~5 u1 ^( @. l' D  _
用led双核可以,这个demo就不行了,怎么解决啊6 n- w9 L+ A0 V
# k) X4 D; Z  H- n; c

作者: teddy    时间: 2015-11-3 09:14
需要配置vpif的缓存;
" w& g  ]) H5 K1.vpif capture模式选择,vpif_capture_format值:7 o& O3 C) O: H% b" n& `( ]
HDTV:预留
/ S$ \8 F# l; ?0 l' y! X7 ]$ d: F5 ?SDTV: TL5147! f) [+ Z3 C2 T& D( T2 P
RAW:TL2640, Y6 u; P! D4 \1 A  H
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)' o" U7 O+ z- x! S: U6 N" `' i" l
vpif_capture.ch0_bufsize=6144009 ?  e& u0 K7 u
例如:
2 a! d0 h3 x: U8 p) n' QU-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400
; A: ]+ c, n/ \, c说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。- z: y7 _: G5 b
setenv optargs  ${optargs} vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
作者: robinluo123    时间: 2015-11-3 10:22
da850-panel=TL070A
& r4 Z3 E  _8 p2 a# Qemac-mode=mii6 w0 x1 l3 L5 ~2 @- }, k
ethact=DaVinci-EMAC( A! G. Y' Q' G' T- a3 S
ethaddr=16:01:c0:17:45:e5
3 S  g" T% p7 R! O+ j  Vhwconfig=dsp:wake=yes
1 @3 c7 h. s$ B9 S# }" R! lipaddr=10.3.2.99
0 j; U) a' R/ E; U' {0 aloadaddr=0xc0700000* T8 O  \% J' |  [1 B
loadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}% A  V2 n& |. }3 N* M7 a& J, Z
loadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}  p) g* B0 U% Q; C" V3 ^! M
mem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
  ?+ Z% F6 J: D  f9 R" nmmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}8 I' f; l  y. y6 G0 j( g% I
mmcboot=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscr; then echo Loaded bootscript from ${bootscr}; source ${scraddr}; fi; if run loadimage; then echo Booting from mmc${mmcdev} ...; run mmcargs; bootm ${loadaddr}; fi; fi;
2 t: O' w. ~2 c. N( K$ kmmcdev=05 u1 i, H1 q0 b: v
mmcroot=/dev/mmcblk0p2 rw
+ @$ v2 M( D& |  ?' qmmcrootfstype=ext3 rootwait  ?7 `8 E: T0 b8 i9 ]' w
mtddevname=env% O7 f. e& ^& L0 d! d
mtddevnum=0# z3 C6 D6 m. E+ `+ A3 ?
mtdids=nand0=davinci_nand.0/ v$ f2 L7 H! }9 e1 u* i/ T2 M4 ]
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
" i7 Y2 @$ F+ P( I7 d* ]nandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}" N# ~9 w0 A3 g+ ~* A
nandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
9 ~+ Q, l# t8 K) bnandbootpart=kernel, ?. Z- w4 j1 D6 i4 l1 Y' z9 i
nanddev=0
, {2 a3 s: m, X& Bnandroot=ubi0_0 ubi.mtd=4,2048
  b8 [6 D/ ?+ I; Q# _3 ^nandrootfstype=ubifs: P* v2 D- ~+ d
netmask=255.255.255.0
; l8 ^9 K7 w6 C% b5 S8 O+ gnfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
& J5 U# W9 |8 v  H& ]optargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
, o8 h# f0 X* J1 \partition=nand0,0
* w/ q, J3 `2 k0 f1 f, a# W) Qscraddr=0xc0600000
. D* j5 {! e; G" i6 p  y9 Aserverip=10.3.2.175. b! Y# }- `: f% X
spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;8 E. z5 M' ^9 R+ l1 {$ Q' U
spibootaddr=0x100000  p& g7 {: h6 y( V! [, O5 ?2 [1 z* c
spibootsize=0x400000, d- L6 Q  n, S
spidev=0
4 {4 O& C5 c. {# C" ^stderr=serial( w0 ~7 Z! z# v  y
stdin=serial
( C2 N; R$ _4 B. lstdout=serial
8 K: o0 `/ ]' P0 a7 K7 G, b6 ~ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)1 I' M7 c9 x  g+ d
4 n. ^3 ]# U* t$ k2 j  F

4 k( P5 z: W+ r2 C1 {9 M还是不行: X/ M0 ]8 Y( V5 Y; B! b

/ ?( u! \* r: @) Z, g) \6 ?
作者: robinluo123    时间: 2015-11-3 10:23
Started slave procId 0.0 N* m( e% j7 x  f. |
+ ../host/host_app -qws
# L; u1 g; p! k# E/ j[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
9 l" E( S8 @' N  e[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 10 u( V3 d! v+ x6 [; i9 A7 U: G
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready( ~, }2 l% d7 {( a8 D, c5 H4 t
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready* C, x  I3 n1 j* y& q; r+ V- C" d
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready; G( A+ l, {% g! ~
Camera-Camera5 g7 r9 ^' q+ Q$ @' d
[   34.616261] host_app: page allocation failure: order:10, mode:0xd0& y2 K1 E) h. O0 T% C0 U% a
[   34.627157] Backtrace:
1 i) f- B/ A, T" u. m6 ^[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)- W$ [2 B) w( }5 ?/ e
[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:000000018 E6 T" w* L5 O& c. G$ |
[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
* K2 s% v# d- k# E5 @- T; C2 \, T[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)0 |" v/ ?; N- {4 a/ i% z  z5 K7 k
[   34.681238]  r3:00000000 r2:000000007 r- X, t& P% H3 b' L( e
[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
0 ?. {- C9 P, k. ]* n[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
; ]9 u! F' N, t3 C5 n6 h[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)4 F) `! t4 t. `1 M8 B7 {8 `& q  Q9 x
[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)3 E9 v7 }* N1 z* {8 K0 l
[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764- {. K. v: |2 E- e2 S+ j+ H
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
6 o3 v/ [: Z+ ]2 X. O[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
$ I3 s- f8 V6 O2 N! ~7 u[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)* E% z% G& B' P: L: J
[   34.763159]  r5:c12bd688 r4:c1bdec00! M* P- n4 f' M
[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)7 l2 z, c* Y! p! J& e
[   34.777146]  r5:c1bffe00 r4:c1371280
7 A& p3 }0 I8 M5 j[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)* i" o$ r( y- C
[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000
! x" j8 L7 e! {0 y# {[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)$ q1 G- E! ]' e2 l1 E8 q2 w
[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
9 N7 I: d) M" U[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)9 @5 k& b5 d6 m6 ^3 u. q. E3 Z) h
[   34.842578] Mem-info:( J9 ~7 A+ a: P/ D' W+ K
[   34.844908] DMA per-cpu:
4 ~+ w1 J# z% `/ P! `! G/ _; E[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0' C1 V' z" v4 \! I+ U% G
[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0$ }. o4 I+ E. |& a
[   34.852388]  active_file:718 inactive_file:601 isolated_file:0
# R( u0 I5 f" f" z2 ^& Z[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0
5 O" E- H8 `/ s2 x[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815; b1 _: _- {/ `9 Q8 ?
[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:03 K9 m8 v5 h, C/ L
[   34.932674] DMA free:7568kB min:720kB low:900kB high:1080kB active_anon:5756kB inactive_anon:140kB active_file:160kB inactive_file:156kB unevictable:0kB isolated(anon):0kB isolated(file):52kB present:32512kB mlocked:0kB dirty:0kB writeback:0kB mapped:340kB shmem:528kB slab_reclaimable:1156kB slab_unreclaimable:3260kB kernel_stack:536kB pagetables:488kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:13 all_unreclaimable? no
, n2 K; T) ^9 v[   35.023590] lowmem_reserve[]: 0 0 0: _7 n/ e& F! s) O
[   35.027205] DMA: 842*4kB 329*8kB 59*16kB 4*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 7648kB
9 y) x; ]$ r, [[   35.054676] 214 total pagecache pages
1 X  O' N' l& ]2 X- h[   35.058399] 0 pages in swap cache
' |; \2 c/ ?3 ?4 g; C( A# z  R[   35.061743] Swap cache stats: add 0, delete 0, find 0/0. N/ C- b; E" }
[   35.081983] Free swap  = 0kB9 H/ `* L4 P& M& R% J+ U
[   35.085058] Total swap = 0kB
# i7 E8 d4 I9 T1 N[   35.089678] 8192 pages of RAM
- d) D( O2 C  a- ?% X[   35.103088] 2019 free pages4 w, G3 n2 @0 ^, z* @2 U# j" `# J
[   35.105926] 1555 reserved pages
  ~3 v  }) Z& A+ j9 U+ l" O" C[   35.109090] 869 slab pages
$ t0 Q% `8 r( x# ^' h/ h+ K[   35.111813] 161 pages shared
( y& N$ y1 Z, d0 y9 y7 @( @[   35.132854] 0 pages swap cached
/ ~* U$ C/ i; u7 ?4 m[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed3 K4 X" d+ f& J! G
Cannot mmap = 0 buffer7 h1 l' l, N4 k% r/ }- i
VIDIOC_STREAMON' X& |1 Q5 t( u+ \1 i6 }0 ?
: Input/output error& l* }- e* |: l
[ERROR|start@capturer.cpp,27] fail to start capture* H. ]/ ^  R; d$ e9 ?0 P
QThread::start: Thread creation error: Resource temporarily unavailable
5 ]  T/ w% a! K' Q' Q[DEBUG|start@playbacker.cpp,25] it's about to start playback
* Y. z& V# N* C' b$ h" J
作者: teddy    时间: 2015-11-3 11:17
你可能用的是128M的内存,所以可能系统内存不够,你用free看看当前系统内存是不是不够。
作者: robinluo123    时间: 2015-11-3 11:39
root@tl:~/face_detect/run# free; e$ b( A: Q) y
             total       used       free     shared    buffers     cached
' M7 ]" ~% l  V  h: N4 v" i8 C' F0 T1 lMem:         26548      19728       6820          0          0       2884! x6 u. \$ u7 x
-/+ buffers/cache:      16844       9704
7 I0 b9 C1 p/ |+ t4 Y1 w' H: a5 d) {Swap:            0          0          0                              
作者: teddy    时间: 2015-11-3 13:47
内存不够,先关掉一些进程,像matrix-gui,然后在运行你的双核程序。




欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4