嵌入式开发者社区

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

作者: robinluo123    时间: 2015-11-2 15:59
标题: face_detect双核通信
root@tl:/face_detect/run# ./run.sh " ?: z0 k1 l- f$ J2 Q/ V
1 U! w% m, \, ]5 ]
+ MODULE_NAME=syslink
- ?7 ^, t  O# P. _4 B8 `. P& }+ lsmod+ k$ ]! R; Y1 ]" F) Q; v0 i
+ grep syslink3 b7 M  T  r! o( M! b
+ '[' 0 -ne 0 ']', D9 m% L8 A$ t
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe6748 U2 |8 U0 }+ l' V; e( a! Y* V+ s
Attached to slave procId 0.
) _2 c/ C; |; w. D# ^Loading procId 0.  ?3 x3 Y2 a% t% x* v% ?4 Y2 S' d1 F
Loaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.
5 @! L, [: a2 b) p7 x# T$ l, ^Started slave procId 0.3 m1 |& b5 A5 W* `7 o
+ ../host/host_app -qws
" C; ?* q/ g3 K* G[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync$ r. H. R& l0 a, _' ^9 p) m
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync/ s2 u  i3 I8 c5 N( T
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
) H$ M, @' V, k2 h[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
, m" f4 ]& {- ^/ T8 x+ z[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync! b( `  V/ V8 I4 r/ S, N
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
* C4 W9 W) _* P. f/ T, V- @[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
0 ?- u5 U& p& \7 ^8 r8 L! @6 t[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync  \' {% Z3 D% w5 f9 d
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
7 M5 j5 F' u0 h[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync# n. m3 _# t9 Y. \: x
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync! e8 U' T: y) n  _0 u+ A2 E% ?* c
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync. x3 G# G7 I% v" s$ E. p
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
  j: O* n8 ^$ J  d( \% Y[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync8 m$ z  v  S7 T$ m
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync  K/ I6 C: z) y, u: a; O
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
4 n% g4 u' j4 z7 \1 H( D[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
4 ]8 y4 Y8 p6 r5 \/ O% V/ ^4 x; I[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
! y2 \7 |8 Q1 o' n[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
8 \3 ^1 p1 d, {[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
- B/ b- T* Y# ?) F, z2 ]Camera-Camera
& r3 `4 U: P$ |7 V[   76.366400] host_app: page allocation failure: order:10, mode:0xd0, F. P% v) B2 L9 M* K& }
[   76.377606] Backtrace:
8 ?3 g6 D- k! Z4 d3 I3 ~[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)  ~6 e) @7 X+ T$ |; q' w
[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
! B1 n0 o2 V1 K4 E[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
. |. V/ N5 o, ^* E, ^3 x/ r$ ^[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
- M7 G2 m* W2 Y; y1 @8 w[   76.425768]  r3:00000000 r2:00000000
5 r; s1 }( D/ t" b7 k[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
" }: C# w0 W& P$ {, G4 f[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
1 {5 n2 L( [# j3 A, x6 m[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)# \# e2 w# U6 x" r8 s2 M. k
[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
8 R& `( Q, u* ]1 \0 T1 Q8 M6 D[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4% n4 p# A2 ~- s! H7 L
[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
) q6 u- W2 I! V0 l  b9 O* M[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b00% Q* T' _! B# J, B/ `; E
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)$ [( A, z& ~6 ]  p
[   76.507848]  r5:c12d1b00 r4:c1bdec00
' w" J: T0 h* j6 Z" m$ V+ z5 a[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)4 f+ u5 y# O* R4 {' ]
[   76.521828]  r5:c1bffe00 r4:c11133808 ^# p) z. c5 Q, v, Y6 U/ }! t4 C
[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)2 a% k' L; d; w7 n0 [
[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000- U$ L4 b2 b" N
[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
+ J; }8 }3 e" }9 s[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
; @3 L! o5 s, g/ u8 \[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)/ K* I7 K% B" G( F) b# {
[   76.574327] Mem-info:
" K+ `6 L. c# |4 Y$ c[   76.576657] DMA per-cpu:! i6 Z6 J" j9 j3 W& y2 h/ q
[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0
* n" i0 r$ e* |" n0 d; j9 E[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
: g  f; [# P% A, ~; }[   76.587198]  active_file:867 inactive_file:896 isolated_file:0
, U2 D2 a) K6 F, m# I8 `$ {& a[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0
: I7 a6 u% ?! x[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789, a! r# P# P% R# s! D
[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0
, B0 n1 D, ]6 r[   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
  e# E+ @" L; x: W  }6 ^: |[   76.661444] lowmem_reserve[]: 0 0 0
1 h$ }2 D6 b: C1 b. @+ d[   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
2 B! j9 Y8 O& X[   76.677034] 1884 total pagecache pages
$ o) g( Q' P: r* i[   76.680817] 0 pages in swap cache4 [" C  o& \* `2 I6 b
[   76.687285] Swap cache stats: add 0, delete 0, find 0/0
* |9 t1 ]' Y6 Y" b[   76.693996] Free swap  = 0kB
) |/ |4 O6 t. x, ~, j[   76.696926] Total swap = 0kB. c4 p* M' H* n( J! |" i
[   76.701578] 8192 pages of RAM
0 ~. f- r! p, p' u3 L9 Q$ D; \[   76.707668] 405 free pages! L0 n% q% \0 M% q0 e
[   76.710418] 1555 reserved pages0 R( D- t3 y% {# N
[   76.715882] 838 slab pages/ ~/ ^6 j4 Q; f  y1 X8 ]- g+ |$ \
[   76.718631] 1851 pages shared* ~$ T& O% W6 [! f& N4 t
[   76.721620] 0 pages swap cached
+ I5 }  U# m) V, b8 Y[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
8 P8 I$ x4 F. xCannot mmap = 0 buffer6 e- ~2 s1 A3 r4 a2 B
VIDIOC_STREAMON
; r- H$ X' p* ?: Input/output error
; V8 x0 {- V" a$ W) [[ERROR|start@capturer.cpp,27] fail to start capture0 Z: b, N( a$ p) B9 S; V
QThread::start: Thread creation error: Resource temporarily unavailable
" S4 o1 b% H8 r. E; |[DEBUG|start@playbacker.cpp,25] it's about to start playback) d  e* t# {$ Q1 x, D
! ?# ^, R% t/ G6 R1 {- s0 O8 y; h
用led双核可以,这个demo就不行了,怎么解决啊
+ h5 m$ f6 Z  b; b7 Q
! R9 u. b/ w$ T, E8 l! O
作者: teddy    时间: 2015-11-3 09:14
需要配置vpif的缓存;* U' M8 a3 K9 {" t
1.vpif capture模式选择,vpif_capture_format值:2 [+ f  b( d$ V! ]) u
HDTV:预留
9 R8 k) c; C+ E. ]6 eSDTV: TL51475 Q# h9 n+ L  O8 q, p$ A1 @
RAW:TL2640
" G$ g) b" w8 z2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)' a2 A+ M! k( U' x( P- p0 Q
vpif_capture.ch0_bufsize=614400
, c7 f7 ?( F) B6 W, |例如:
) k0 p0 b  W) y$ z8 L6 H# [U-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400
8 q6 m% O( U1 A说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。$ e/ J0 v3 j. c* I& j) i7 L4 Y
setenv optargs  ${optargs} vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
作者: robinluo123    时间: 2015-11-3 10:22
da850-panel=TL070A7 h9 X- l  {. J: z# |. S
emac-mode=mii
0 c3 n7 A% ]/ @, F' x% g* f! R' Tethact=DaVinci-EMAC1 \$ c4 u! W+ I1 R. R
ethaddr=16:01:c0:17:45:e5
/ m- K  i9 h8 T+ Khwconfig=dsp:wake=yes: a# m& U5 E0 E/ f* ~# k
ipaddr=10.3.2.99$ \5 q: L% U) Y
loadaddr=0xc0700000
5 |# f/ j% ?' U! I5 g7 U: f1 yloadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}
: m( V. O% M( ~+ i1 b% yloadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}# c- g/ C6 [  ^8 {
mem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
) k& ~0 z3 [  V9 S" v8 Fmmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
7 c1 P  n! f1 Q9 b* cmmcboot=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;
: X, U& e9 N" b3 C6 m$ [  q# Ummcdev=0
8 a. r9 [& a* x  G: \& Bmmcroot=/dev/mmcblk0p2 rw/ c1 o. w# @2 y- o) s# w! l6 w. ~
mmcrootfstype=ext3 rootwait1 {. D$ a* D+ a& j
mtddevname=env
. x: a- n) {* Bmtddevnum=0% [1 }6 [  ~7 `2 G. p: u, C5 p: x: J
mtdids=nand0=davinci_nand.03 P+ V7 Y; [5 s: X
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
+ J) F+ r9 h2 q1 T. r& Y8 K) u- Znandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
8 j' U# v. K# h7 ]( I" Snandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;0 R2 R6 }$ S+ C( o4 W1 E
nandbootpart=kernel
1 ^+ `' O& F0 I: d1 j) Gnanddev=0+ z; |2 ?2 n& ?& A' g, x) {3 `8 w; u9 d
nandroot=ubi0_0 ubi.mtd=4,2048" k( ~0 K3 R8 p; s
nandrootfstype=ubifs* F% P$ j1 p8 |  S. u8 @1 d1 D9 i
netmask=255.255.255.0; ~) l; K5 H! x$ f% e& t
nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw( K2 ]) ]& x2 g  T0 b+ S# k
optargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
: q* w! g" H4 Y0 Lpartition=nand0,0; l' X& g, Y7 H# L7 P
scraddr=0xc0600000
+ v5 C: U# a$ Jserverip=10.3.2.175
" T  W( Q9 I* F. ~$ G4 d5 Y' \spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;% k2 b, n% R4 ]1 W1 T
spibootaddr=0x100000
* o3 H5 m% W( T& o4 Fspibootsize=0x400000
" B% a6 o! W3 t5 e3 N6 V  bspidev=06 n4 j, F1 Z3 f2 W6 O! T1 n( D5 z1 Q
stderr=serial5 |' p* @* \% l: M5 r) B# z$ d+ e8 [
stdin=serial5 R7 t+ U# D8 F# Z' R  b
stdout=serial
, H" ^/ R& {0 l6 d( B; Sver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15); W  x8 F2 G# n( x

! Z; g: {: Z) c
: W7 A; |- y% E9 r, ]: m3 M9 f; ?还是不行* \1 r- z$ Y: I
( y8 s$ z0 ?/ s

作者: robinluo123    时间: 2015-11-3 10:23
Started slave procId 0.
! \  D  }, ^0 e  G+ ../host/host_app -qws
% c% w* O, O, y+ k5 A# J[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
- Y% ?" O5 q" s7 q* k6 \/ ~& ~[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1: i+ G4 k; g8 E/ M$ e  D
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
1 ]6 t0 k, a# b[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
$ s8 z  i9 f0 h" a, k[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready8 @. j, r( y9 {
Camera-Camera# W% T4 [1 w2 g4 c
[   34.616261] host_app: page allocation failure: order:10, mode:0xd0) P: a4 N8 D* z. s* O
[   34.627157] Backtrace:
/ R# Z9 H2 h" Z+ B( }0 a# p" B[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)# Q' M& O+ d4 w, d( G
[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001! n* K! q+ C: e, a2 e5 ]+ S' [
[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)% {9 l3 t$ h2 a. t! k7 l! P  n5 P
[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)/ n/ r  \0 E2 Q4 S0 l
[   34.681238]  r3:00000000 r2:00000000, ~  b  r. F/ m# Q5 ^
[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:000000006 D9 i7 S7 U* f, P) ^. X9 i
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
* B0 W& D, M" [5 C1 l9 W[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
6 g: `& I6 d1 U/ v9 k3 R  P/ i[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)& K, j- p4 {# E) a* R% {4 V
[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764
% ]3 X  o8 i0 y1 I+ s[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
9 I6 P. K2 Q, ]! k5 h+ ^[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
3 r  g) M$ u! o, D1 Z[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
+ n8 d4 Z$ M, j[   34.763159]  r5:c12bd688 r4:c1bdec00
1 ~4 @) b$ f: [6 C; v3 {& @( A[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)% y7 n# D% X8 S+ @6 g! ^1 q
[   34.777146]  r5:c1bffe00 r4:c1371280
( p2 f' k* j! I" @7 t6 }[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)2 P4 V/ c9 G% i
[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000$ L! E- i3 P! g9 y
[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
; b' @- `/ ?3 N- @( c$ G$ h[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
" |. U% t% Y; L! n; ~[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)2 ?) P3 c7 g/ J- f; ^. y
[   34.842578] Mem-info:
6 j% F" Y7 k4 h' j, r[   34.844908] DMA per-cpu:
3 z/ Y) n: x" ?[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0
, _. ~" f& s- s! p7 w0 U[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0& i) n3 [( m6 B. i3 m7 C  m0 O5 N3 G
[   34.852388]  active_file:718 inactive_file:601 isolated_file:0
! z5 e( E3 _3 w* u+ {[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0
+ p! I. ?; e  k; ?3 E% `[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815
8 d6 t/ Z( Q4 }0 m6 L, |6 \[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0+ }3 P3 w/ F- y
[   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$ K3 T( G+ L6 j. e- Q& J" A
[   35.023590] lowmem_reserve[]: 0 0 0
5 v, w4 }8 F9 n; X[   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
# m5 c2 J! V4 C# m5 W% j- |[   35.054676] 214 total pagecache pages
$ h7 R6 B4 v1 v4 ]+ S  P[   35.058399] 0 pages in swap cache/ W, e- \2 r4 k2 q2 [: T+ ^
[   35.061743] Swap cache stats: add 0, delete 0, find 0/0
) W. k$ B% \2 q6 p  I( B/ w[   35.081983] Free swap  = 0kB
' G4 p2 z; K% \' B( q. r+ }[   35.085058] Total swap = 0kB
% _# r' Z1 K4 B  _/ c6 N7 \$ i/ \[   35.089678] 8192 pages of RAM
2 ~8 R4 V8 B9 m9 F8 I& S[   35.103088] 2019 free pages
" D9 m# N$ ]0 ?; @4 G+ u* G[   35.105926] 1555 reserved pages
) e- Q) W: k: [+ [$ }[   35.109090] 869 slab pages- T3 p, J& A% w& _! n
[   35.111813] 161 pages shared5 q8 q# l( _+ X8 a% \- Q; ~0 Y" j
[   35.132854] 0 pages swap cached- @, K! u* b) c: s
[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
7 Q% k* }  r1 x* @$ p" p. NCannot mmap = 0 buffer
9 s; d& i9 F0 S- BVIDIOC_STREAMON
/ d: k( G0 |7 w$ }0 r; F: Input/output error3 L% H) o5 r9 ?
[ERROR|start@capturer.cpp,27] fail to start capture
; Q- D7 ?/ i6 V. U- ?: lQThread::start: Thread creation error: Resource temporarily unavailable: B: i$ q/ \6 R  @1 }) Q
[DEBUG|start@playbacker.cpp,25] it's about to start playback" t0 H+ m' u; g  u; E: W( B8 O

作者: teddy    时间: 2015-11-3 11:17
你可能用的是128M的内存,所以可能系统内存不够,你用free看看当前系统内存是不是不够。
作者: robinluo123    时间: 2015-11-3 11:39
root@tl:~/face_detect/run# free
" y! N1 H* f$ j) d# N5 o             total       used       free     shared    buffers     cached) n5 G. \7 ?3 K- ]- V) s" J) X4 j+ F
Mem:         26548      19728       6820          0          0       28848 {* Q4 H( A9 |" x
-/+ buffers/cache:      16844       9704
0 {2 I0 q( a! F2 n/ tSwap:            0          0          0                              
作者: teddy    时间: 2015-11-3 13:47
内存不够,先关掉一些进程,像matrix-gui,然后在运行你的双核程序。




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