嵌入式开发者社区

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

作者: robinluo123    时间: 2015-11-2 15:59
标题: face_detect双核通信
root@tl:/face_detect/run# ./run.sh 1 z0 P- K( @! \1 m- i

" T6 h% L/ v+ G0 R+ MODULE_NAME=syslink
+ l8 a8 H1 G$ O7 b6 y+ lsmod
. h5 i* B- g( ~$ v- X4 P& J+ grep syslink3 d# i: o3 p! B* h7 |+ R
+ '[' 0 -ne 0 ']'  i- I" p/ W" L+ m% L( \' a
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe6749 ~, n- p$ Y# y9 \; w
Attached to slave procId 0.; t) r/ z% F' d5 v
Loading procId 0.
( T3 T$ C1 V0 X- I# @, `" I$ kLoaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.8 ?/ i$ ], w) k" O. V; t# m
Started slave procId 0.
! D+ A  d  U" d+ ../host/host_app -qws
9 H4 q+ Z) N' Y) k- ^' p[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync# L" \4 ]% ^+ H8 J
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
/ P! p7 j( ?" d9 M. ?* _% e[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync3 O+ s2 ]7 f; L- L( m2 s
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
+ M0 A* T! J& _! w[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync( p" [  e  b3 r8 ~" t9 X+ J! R
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
3 _% p  p0 e* ?& P* [) }* [0 B[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync+ o* f0 O, z  r# }+ ?+ e9 t: _
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
5 q' x5 y  y& _" G[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync! K. j" G" k5 ^1 D) t: I- r
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
. u+ {2 I, E9 m4 ^5 @$ j. d' h[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync: C0 H7 N9 v7 @- t* a6 @- w
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
: B; h* e0 L: V# d$ b# Q( |7 R[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync4 @- f. V: _* m( H+ O8 F4 H) K% Q
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync6 [" ~) E+ P5 U) o( r8 _* v
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync7 A' \! _, }0 b2 A
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync) B: h6 w  P% s: N/ \0 }1 ?
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
" E; ~; R% ^1 M( ?# `% f7 z# L  G[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
* e8 Q, n# ^/ o' p- i( @[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
% I( g: g% f* ~" H; i* b  ?[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready! G, D- t4 s' E% ?1 o
Camera-Camera* s, ^6 `/ u6 T6 Q) q3 t
[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
" L8 |5 g+ p: ~' V8 c5 Q* \0 `& U[   76.377606] Backtrace:
7 o( [" a; w5 `6 P3 i[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)7 b5 N4 Z) r; |; x3 l+ x) _* z3 V
[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001- `# _- l# t$ {& ?
[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)' F, u" w! u( D0 X0 |+ _  T  ^
[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
' R, Q' F% N4 G; c5 w6 E& P[   76.425768]  r3:00000000 r2:00000000
3 p+ j+ Z+ @1 A, T1 e0 b) m" R[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000; b+ H' A# c9 p& ]
[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)+ ]2 C0 f+ t) W- X3 |; Y( L) Z/ |
[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)( o1 d: h4 u9 X! v# \
[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)) g3 @8 e( }( @( j
[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4/ `! v% A) X& e
[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
0 t$ b+ Q- v0 q% j9 R. H# e[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b004 D( p& P( e6 V! `; ?
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50); ?9 k7 R1 E; D
[   76.507848]  r5:c12d1b00 r4:c1bdec00' F- D) V- ?: g, p/ a, S
[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
9 J6 I' W+ q) X- _% x6 \2 o4 }[   76.521828]  r5:c1bffe00 r4:c1113380, Z0 ?& S" R( T" g0 w
[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)1 [* J% @& R1 R% A2 ~% \
[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000
' I8 n) L7 D! Z* U- }$ k/ r6 n[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)9 M" W( W, L+ L$ k1 o+ a! Z
[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
  q1 a1 Y" Q' p[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
+ M# o% u6 R7 p& h% N1 p) ^[   76.574327] Mem-info:
+ y9 r" ^! y6 h- `" x8 }8 P[   76.576657] DMA per-cpu:: d5 Y, d; B5 F0 h6 ]1 _. ^- ^
[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0% m' q1 E; ?& N2 h+ R# I8 c( x9 R
[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:02 R' j. V* h) a1 n/ f
[   76.587198]  active_file:867 inactive_file:896 isolated_file:02 p: [) r! s- J* W4 \2 r, O! N1 M
[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:07 K( b" u8 Y6 e# v7 q& \
[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789
6 f2 {5 y+ ~! h/ W0 s/ t[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0- F2 u. A$ U6 P/ C7 ]7 x
[   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: M+ ]) J$ `) L  A. `& W- A
[   76.661444] lowmem_reserve[]: 0 0 04 X1 x: Z3 c6 b5 u; d- i1 \
[   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 = 1076kB; q5 `, \0 ?9 H
[   76.677034] 1884 total pagecache pages
7 n" K% [& t" r[   76.680817] 0 pages in swap cache
8 C& }' T+ s# D- ~, u3 t8 |" I# ~# C[   76.687285] Swap cache stats: add 0, delete 0, find 0/0
: s7 r% J  J' z% e$ _' E3 _1 l; V[   76.693996] Free swap  = 0kB/ P* L2 J$ H  P/ f3 B
[   76.696926] Total swap = 0kB
: Q( U( w; F; R: W: M5 L6 ~* V( H; i[   76.701578] 8192 pages of RAM% h6 Q5 G9 ?: g- U" h
[   76.707668] 405 free pages
" E. y: w- l, T[   76.710418] 1555 reserved pages
# B3 |% n' o5 b# y0 f[   76.715882] 838 slab pages
" c! a% Q' ^! u' S( D$ A$ X9 O[   76.718631] 1851 pages shared6 x. E6 M/ G# h
[   76.721620] 0 pages swap cached
$ b8 o' Z* e& F2 \. K6 L[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed' s% v/ C  _- _' c0 j! t! b
Cannot mmap = 0 buffer, Y/ g. L5 t+ v# o; }* Y
VIDIOC_STREAMON* ?/ f) w! v/ O0 _. L/ h9 I
: Input/output error7 u7 Y! o3 F3 u" s, t; E
[ERROR|start@capturer.cpp,27] fail to start capture* f3 _7 y! w, b
QThread::start: Thread creation error: Resource temporarily unavailable
6 |5 n- d2 n' ^8 b[DEBUG|start@playbacker.cpp,25] it's about to start playback
  G, t4 }# |' v$ U& \& q7 x3 Q
" w, ~6 C, n) R, H用led双核可以,这个demo就不行了,怎么解决啊* o3 G# {7 C9 X/ w

  ~1 j% C  R' m: K; s$ E9 c, M
作者: teddy    时间: 2015-11-3 09:14
需要配置vpif的缓存;
1 h$ u; L& j" B! _# g2 {1.vpif capture模式选择,vpif_capture_format值:
0 V3 M1 L! N( h, }+ |/ H5 w7 K8 nHDTV:预留9 r) j' B. j. b7 v7 T, h- ]* z
SDTV: TL5147; f4 K1 S- o" U) t0 S2 r3 h
RAW:TL26409 ~2 f- z! K) G; s7 ^
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)
& D( ~: Q4 E+ a5 evpif_capture.ch0_bufsize=6144008 S( U8 h* i- r/ _# S
例如:
1 b% K% @$ v) _' c3 x8 S( ]U-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400
/ k- U0 v) Q: L) L8 |1 A说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。% e* {) }- @( U2 C( A, F! w* Y
setenv optargs  ${optargs} vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
作者: robinluo123    时间: 2015-11-3 10:22
da850-panel=TL070A
8 _! ?5 V. x# D5 X6 Bemac-mode=mii  }( R$ W+ F& r# L1 {" R, u& L0 D
ethact=DaVinci-EMAC( M) x9 O8 X2 x% z2 m' k1 e
ethaddr=16:01:c0:17:45:e5
+ d, Y4 y+ `' v; p* r' Lhwconfig=dsp:wake=yes
$ a& C# U& ?, F+ Yipaddr=10.3.2.99+ Q; q$ B% N: t% u1 ]  L: C
loadaddr=0xc0700000
. D7 q$ j: C: \0 f% N& a# tloadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}$ h# ~2 X! F1 ]1 z8 q) I% S- O
loadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}$ y& ?) b& X0 B9 a, ]
mem_args=mem=32M@0xc0000000 mem=64M@0xc40000002 i8 ^( G, u" a
mmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}" B; g# `9 o7 _% w/ ]' u. ], o
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;
" f1 Y( L2 ~! W, u' T9 F2 ^( [8 Jmmcdev=0
4 [) B# O# b  p% K4 e4 l+ K6 ammcroot=/dev/mmcblk0p2 rw7 a, h- C/ R2 A7 ~: w
mmcrootfstype=ext3 rootwait
% g( g8 F5 O0 s& O; _; u3 ^mtddevname=env
0 z& n8 M# O" J3 t- Smtddevnum=0+ t8 a# H9 u0 z
mtdids=nand0=davinci_nand.0
! ]9 i8 X: }# T4 h& Q# @) q0 Lmtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)/ C  q  {5 c! ?! g* j5 h' R
nandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}) K% e* N9 l, y. x) j* W
nandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
* @1 N4 Z( L8 d) @& ynandbootpart=kernel4 m; P$ S$ \+ \, `3 x' a+ o* O
nanddev=09 ]. b9 n) a. o+ _8 {% L% |$ {, g
nandroot=ubi0_0 ubi.mtd=4,2048& \3 g5 O% j. l" Y
nandrootfstype=ubifs' ^* j3 e* l; h$ R8 Z
netmask=255.255.255.0
; H+ }3 V1 O  D* e; K  \" f7 e+ [nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
& P3 T% E7 f1 O4 e, f2 P6 Goptargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
- o& j4 n% Z" }' K+ a3 Fpartition=nand0,0
% `1 a& F$ Z4 t; G( u# s5 \7 r4 K4 Zscraddr=0xc06000004 d! [& |/ g9 N( r! h, U
serverip=10.3.2.175
/ m0 z; c/ d/ B$ e3 T- S$ Pspiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
( V; P! n; z' y  ospibootaddr=0x100000
# s  W& ?; \0 Dspibootsize=0x400000
" e. ?- ~# x2 l( z# c6 Zspidev=0
$ M. S% }# g* e: k& O/ g1 zstderr=serial$ j1 Y* g7 m  }- Z
stdin=serial
& P7 ~8 h, L2 ^stdout=serial
7 n  m- E$ _* o& Sver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
! i% h" a9 }0 N& h& C2 B
; t$ b% K9 f/ a; p- S: i1 M. n
& r/ b. v/ b; u- ^# m还是不行
4 j1 p/ [: `9 ?, x4 ?% W
# v" Z6 L' A$ `6 n. m
作者: robinluo123    时间: 2015-11-3 10:23
Started slave procId 0.3 x1 ^' l8 b+ }( n( D0 G2 P; H  V
+ ../host/host_app -qws
+ F( T8 Z4 l: ^* H, W[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
: p- Q/ ^: c: Z& ~& U: i1 n) G[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 11 E; [  h7 }) i# X( y( {, b
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready5 E! l+ @, R0 t+ f6 v6 w0 o  V
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
# o$ G+ A: B  j% H. X[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready. i( V& \; {/ R3 K7 v" F
Camera-Camera" P( C5 s6 D- X4 n
[   34.616261] host_app: page allocation failure: order:10, mode:0xd0
6 W( w7 W0 D7 f# K  d8 w0 E[   34.627157] Backtrace: " L! m/ {2 ]$ Z# F8 c
[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)" |8 N, Q3 ~( g3 r3 W4 D
[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:000000018 f2 c7 G) p) b( O! T
[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
3 U  L3 v* E6 A; ^0 I' e4 J/ E[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)9 I3 T4 u  v* V5 [$ {$ e5 x; w
[   34.681238]  r3:00000000 r2:00000000
$ \, e! u$ A3 f  I[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
- d( f# f* V9 Z( w7 i: y7 y[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
  Y% D2 u* [7 X% ?! ^[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)% I! J8 G" P' y3 L7 G3 s
[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
: v/ T/ }$ \/ J6 G[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764; v- _0 x/ L* x4 V, X, i
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
0 N' L% Y% i2 ~2 W1 s5 `7 ?+ m0 T6 z; Y8 H[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
  `3 j- \& }3 X; H[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)! c2 U: }* X2 r
[   34.763159]  r5:c12bd688 r4:c1bdec00
; r% R! G# r4 V/ p' R[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
) H  _  O, C* x! o[   34.777146]  r5:c1bffe00 r4:c1371280: L+ j" d, Z4 U/ @# W
[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
9 ~! D6 {4 W; N7 u4 D[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000
1 d3 W7 a' @% d[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)6 k5 a* o" ?& |
[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
% A3 b& }; f: y* W$ y* w[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)9 r" d) B5 o5 C/ A
[   34.842578] Mem-info:
& g+ V& F  n5 }) v% X' N; m[   34.844908] DMA per-cpu:
/ a. }; _& Q4 T' [) q0 b  m* o[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0, l$ _6 w! x# X, e5 @3 E
[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0
6 C" N& t6 X% a+ ]$ B) X( _  u[   34.852388]  active_file:718 inactive_file:601 isolated_file:0
' b& u2 D) a9 i5 R; y+ O7 ?) X[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:02 q/ u- w( e8 `
[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815  @, B9 t" a2 o' Y$ ?9 l
[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0
( j2 y- W% d' L+ S  l; O[   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
6 ?! A5 ], H5 y% H& L[   35.023590] lowmem_reserve[]: 0 0 0
" G  x. f! x# E: o4 f[   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
/ Z2 N+ B' k) D[   35.054676] 214 total pagecache pages: G' \% }% C4 F- f% t  i
[   35.058399] 0 pages in swap cache: \: b3 B* Z1 H( W  e
[   35.061743] Swap cache stats: add 0, delete 0, find 0/0* ~* j/ @0 x# Q8 ~7 F2 d
[   35.081983] Free swap  = 0kB
# ^# O; W' x: P[   35.085058] Total swap = 0kB+ R/ d! l3 R' W  F) ^% G& p
[   35.089678] 8192 pages of RAM+ ]  {/ ~9 w# V* e6 @( ?5 a% n
[   35.103088] 2019 free pages
/ ]1 R' D2 X# @" L4 ?[   35.105926] 1555 reserved pages
" m+ l/ q  ~3 a$ w2 E[   35.109090] 869 slab pages
1 T4 l6 l0 e* C- O* h: Z+ V, G[   35.111813] 161 pages shared$ i) o9 M  L; S6 N
[   35.132854] 0 pages swap cached
' D  a4 o/ }* a4 B% E[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed' c9 D9 N. X) ^! J9 w/ I$ ?
Cannot mmap = 0 buffer
% U* u. @( n2 G& W. s) eVIDIOC_STREAMON. z/ f/ Q" n8 q' T; `" ]* J
: Input/output error# R% }0 |* W0 v% D
[ERROR|start@capturer.cpp,27] fail to start capture
$ M7 b9 C: y: J) [* L1 ^( r2 Z7 iQThread::start: Thread creation error: Resource temporarily unavailable
' o; G0 ^$ ]) G[DEBUG|start@playbacker.cpp,25] it's about to start playback, @2 [0 P4 N$ W3 Y5 L

作者: teddy    时间: 2015-11-3 11:17
你可能用的是128M的内存,所以可能系统内存不够,你用free看看当前系统内存是不是不够。
作者: robinluo123    时间: 2015-11-3 11:39
root@tl:~/face_detect/run# free4 N/ z5 \8 I) }2 Q- U6 M+ [7 N# d
             total       used       free     shared    buffers     cached
: A+ o! r. U; s3 \Mem:         26548      19728       6820          0          0       2884
" P# G1 e  v. ]* b" ^0 d: s-/+ buffers/cache:      16844       9704
* c" z" h& V9 [0 W) X4 ^9 aSwap:            0          0          0                              
作者: teddy    时间: 2015-11-3 13:47
内存不够,先关掉一些进程,像matrix-gui,然后在运行你的双核程序。




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