嵌入式开发者社区

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

作者: robinluo123    时间: 2015-11-2 15:59
标题: face_detect双核通信
root@tl:/face_detect/run# ./run.sh 0 d: x* K1 v) G/ e" ?

. d* M3 B3 r5 E: s# F+ MODULE_NAME=syslink1 w3 h0 a1 v: j3 T: I
+ lsmod
% G7 E0 ~9 E! D% T: f3 M! q+ grep syslink, M0 b% T' Y3 c; n
+ '[' 0 -ne 0 ']'
; S; p2 m8 N1 }9 ^+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674# ^/ m. D7 y- ^( i
Attached to slave procId 0.0 L. I5 c1 G) y1 ]
Loading procId 0.
! Z: f9 T2 F9 t- v- mLoaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.
0 ^0 L7 u  l; cStarted slave procId 0.6 J* B1 i! l( O. N' P/ q* J5 `
+ ../host/host_app -qws# u+ s5 A7 Z  ?
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
% M% f, ]* @: W) w9 U7 t( q$ q+ {4 o[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
+ @9 U: o7 `+ G. @1 `[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
: Z7 l! b0 j! F4 e, ~- {# r# c" r[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync& z- v6 l7 z, o% p
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync/ b5 j9 R- N* I% c4 P; N3 {- F4 W
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
& D/ d* Y) j. B4 }% S' D4 G[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
1 u/ I' R6 ?7 s1 V[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
: d. K" Z6 h2 U' n[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
7 f7 _- Q/ v3 v8 X[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
1 V! {0 M0 |8 L+ I& c) }[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync& M; H) m+ T  E8 L- p# l
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync3 h/ N4 t! k$ v* B: v% t. L- ^
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
: \* D- L! J( {[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync' |( U5 o* S# U$ S
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
0 r) W) T# ]/ B9 E. w[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync% h, t$ e' F- K& T, o1 v/ k; c
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
4 e+ j$ K1 g; A: A9 E[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
/ Q: @* r( _) n7 n" J: k, c; }[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
8 M% w7 W) `" m0 n$ X# \3 b+ Q+ G[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready7 G# z& d& z8 _; O3 v
Camera-Camera
' m5 Y8 G- s+ c& Q+ v[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
: ]& v9 V0 S) ]  e4 P/ H& y[   76.377606] Backtrace: * \/ |$ f! F* k9 d( z$ U- T! v
[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
3 d7 r7 z$ [. @# Z* ]* F- p! r8 H3 q[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001" `% Y7 x( U) j$ ~
[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)9 b% V2 h% d/ }
[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
; i3 ?$ H) B1 k! d% L: a) Q[   76.425768]  r3:00000000 r2:00000000& [8 i' V, C3 B& L7 M  _
[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000% c6 p( g* K% v( I& B% p! q
[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
+ X/ f( J. c2 L! h; h/ _& O* R[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)( u5 w4 n6 d& o! S
[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)  u: }8 q! g% c6 T" A/ |) g
[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4% S. b# A, w( t2 Y4 b. f
[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
! S' p! T0 i2 `1 b1 }' R. z[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b00+ K  z9 e" M7 u' _% t0 A4 V4 T
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)+ s/ p) C0 I# \4 {6 o! a, c! m
[   76.507848]  r5:c12d1b00 r4:c1bdec00
! Q( Q/ Q+ R% P9 `[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
% ~# h$ W% _7 ?( j0 v[   76.521828]  r5:c1bffe00 r4:c1113380% `9 q2 S! A9 p+ K
[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494). y1 W% p- i( b: ?, ^
[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000
  r" M" Y8 \1 \2 j1 h$ H* p) [, f[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
# Y; d- ?1 ]$ A* C6 F! q[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)2 \4 Q- V6 f& A8 H* l! @
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)* ~' @. v- W, k
[   76.574327] Mem-info:* |5 u" H- u2 ~0 ~; r8 C6 b
[   76.576657] DMA per-cpu:
% ]# ^7 ]0 _) u6 @5 {7 T& C[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0. N2 |0 K1 `( x9 H8 k( F+ |+ i- t
[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0# c8 t' E. l. F/ g. j8 I
[   76.587198]  active_file:867 inactive_file:896 isolated_file:0' v/ @6 H" n: a/ [
[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0, u2 Q$ \/ i6 ?& q/ h# m
[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789
" k& g7 h. B% U/ l[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0
/ I/ S) s4 ]" [9 E6 ?: r* y) s[   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? no2 A8 ?3 F* y& E! m7 t
[   76.661444] lowmem_reserve[]: 0 0 0" r! [: ]+ C5 x" e# J1 M' ^
[   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 = 1076kB2 f  U; C: Y/ Q/ R
[   76.677034] 1884 total pagecache pages: U" k4 ?, b5 \. I  T+ p- K
[   76.680817] 0 pages in swap cache2 g6 ^- z/ c2 F6 n
[   76.687285] Swap cache stats: add 0, delete 0, find 0/0
  J6 [  }+ j+ H( g[   76.693996] Free swap  = 0kB
3 j% z8 i! K6 y/ ~( J[   76.696926] Total swap = 0kB& x/ B/ e7 C4 Q9 u, C3 R  J
[   76.701578] 8192 pages of RAM' H; }1 ^* ~' E4 ~' f# D- Y
[   76.707668] 405 free pages9 h/ M# F, q9 K
[   76.710418] 1555 reserved pages- C& G' V! ~- |; x' @# X* _
[   76.715882] 838 slab pages
) G; U1 _1 z1 [' K# h% A  h  c& y[   76.718631] 1851 pages shared
4 ]; U0 }0 i- v# D, w% F[   76.721620] 0 pages swap cached# F! W. U( H% g  G* J8 G
[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
" R4 u7 r# D# j& u: X1 f/ i( ACannot mmap = 0 buffer
7 d/ ^9 c# {/ W" I+ UVIDIOC_STREAMON6 u# h0 I, ?5 r9 z6 \" e
: Input/output error) N% u: Q& y* K3 T2 P0 {
[ERROR|start@capturer.cpp,27] fail to start capture
, ?8 H2 ^9 s$ g* ~. V$ eQThread::start: Thread creation error: Resource temporarily unavailable1 ^5 E- K) M" \% p$ r
[DEBUG|start@playbacker.cpp,25] it's about to start playback
$ L9 N- a6 P. Q$ \) R4 N: S; t$ x+ `1 r/ A4 [* u( O
用led双核可以,这个demo就不行了,怎么解决啊
9 c8 |: k  Q' S# Y; E) M4 S1 D6 s2 I) q

作者: teddy    时间: 2015-11-3 09:14
需要配置vpif的缓存;
* Y8 p, u) U/ M9 B" q1.vpif capture模式选择,vpif_capture_format值:1 Z$ c6 D& P9 I7 h
HDTV:预留; s7 c$ s5 [$ j# C( ]- n  |
SDTV: TL51470 a! h" S6 U3 H- }' N! F
RAW:TL2640# E6 r4 v) h+ e; P1 `7 e3 B
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)
7 k# d/ X. k  s5 d7 m5 \vpif_capture.ch0_bufsize=614400
) y- C' M3 f1 q( R2 e8 w8 r8 x例如:; `8 Y% b! s# B& J" y1 F( D" Z5 I( a. [
U-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400! ^/ K- J: O" e9 A# M
说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。7 I. ]$ W( O, l$ P- f' Y
setenv optargs  ${optargs} vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
作者: robinluo123    时间: 2015-11-3 10:22
da850-panel=TL070A6 e* J& z: c$ |: ~. h
emac-mode=mii* G# X  t& ^4 O" x9 H- ?5 M
ethact=DaVinci-EMAC1 b7 I' M; L3 `( A2 B8 j9 l
ethaddr=16:01:c0:17:45:e5
  o, a8 G7 w, _- q4 uhwconfig=dsp:wake=yes
9 i, e- \5 c; x  o3 vipaddr=10.3.2.99* B7 Z% K5 Y4 m
loadaddr=0xc07000005 C8 Q* A* u  u& N- W9 u' t
loadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}
& N5 G/ o) _5 T2 y7 p' rloadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
3 S( v3 }# K1 e+ Y/ dmem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
( b+ h6 a7 N9 Kmmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
6 o- G. D4 H1 @# @) r1 ~8 ymmcboot=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;# }( }6 ?$ f' Z
mmcdev=06 r- m9 N. S% O& {& n6 k% L
mmcroot=/dev/mmcblk0p2 rw9 J1 q. D$ w6 Z3 e3 n
mmcrootfstype=ext3 rootwait: J8 G+ e8 n: k; z2 c
mtddevname=env& d0 U9 N0 v( n" Q1 }: X, k( p
mtddevnum=0
' t5 H5 R  k  x( cmtdids=nand0=davinci_nand.09 q# ?+ v1 {  y! J
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
$ F! Z0 `0 C" A; `nandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
" O, ]$ d8 B4 p- c/ u& O) z7 ^nandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;. d1 i8 R8 G5 V0 i) M% ^7 v
nandbootpart=kernel& s9 T1 t! D2 e% m7 {3 M
nanddev=0
# u: V: u4 H% B# [7 Y5 L% k# Bnandroot=ubi0_0 ubi.mtd=4,20481 @, L5 e: p' S: `  G: p- H  V" ?; Q
nandrootfstype=ubifs5 N6 L+ C5 d# z. ?4 k$ T
netmask=255.255.255.0( Y; C5 E. Q8 ~% y: F' c% h: f  c
nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
5 P0 {. c9 i4 f. D+ Z2 p, Z% noptargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
$ y% E! I* S" w/ A9 c+ W, ?- ]partition=nand0,0- u( U9 r1 r- Q3 u: j/ E9 C* H
scraddr=0xc0600000, f6 k  D  a* ~) j/ f3 j9 m9 J
serverip=10.3.2.175
7 b) e/ C; C: N) N7 Kspiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
8 v$ D0 q) r6 J7 }( w0 Q5 }2 e0 \spibootaddr=0x100000
5 L. Y! _% U) R2 X, |spibootsize=0x400000
0 F3 G  f/ V& L5 lspidev=06 Y/ `: ^1 P& A2 c& z/ \
stderr=serial
# V3 e4 I1 e3 n& o' s* g$ fstdin=serial' i  N% o5 ?8 R- b) X& |- X
stdout=serial1 ^4 _% Y) c; O! b) Y- E
ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)5 U* Z% o! d0 Y
7 H; _/ s+ V  {& m) q+ G" l6 x
9 N: L4 I% Y7 U6 O( d1 q4 s
还是不行
3 J% y- w5 q! y- L& F6 X5 }, d4 P- u2 l2 f% t% x" f

作者: robinluo123    时间: 2015-11-3 10:23
Started slave procId 0.+ T% X( s( s, Q
+ ../host/host_app -qws
0 X  I6 s4 V1 ^7 ][TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
# V: Q1 Q' D, Q! F- t6 m, m[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 16 A3 m' Z$ e' O+ h- M8 T: V
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready. r: R  S) n( ?6 |& E
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready* n/ |! M% Z0 O- E. N+ j4 Z
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
! K& m3 ?# d+ wCamera-Camera0 a4 z# d, s! T
[   34.616261] host_app: page allocation failure: order:10, mode:0xd0
/ t  Y' t* v7 p! m3 u# f9 b4 C5 a* {, S[   34.627157] Backtrace:
' C  ?2 o- u' u* O% {- v[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)2 Q/ q4 u  l2 c6 C! g. f" e8 T  T
[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:000000010 q' j1 N2 F3 m' S
[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c). u0 F, d, [1 T( W- h3 a
[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)5 ~3 `+ \% ?; i9 B% }; Q9 y# V7 \
[   34.681238]  r3:00000000 r2:00000000! e, n& d2 B. o' N  }! z
[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
, \5 Q$ A4 A2 u- w) \( [[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
: k5 O1 }$ g. {3 I[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68), e; x: E9 W2 q$ ~: L
[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
9 @( `. a0 b! d& F2 l[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c13717640 x9 l0 X- o- k4 [" n+ E( l- ]
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
3 Z* h) ~: l, C2 W/ I[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688+ e0 `, H* h9 H
[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)  V5 }$ l' ~/ m0 r0 i, V, w
[   34.763159]  r5:c12bd688 r4:c1bdec00
+ B" @3 S- Y& M[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
0 f% w* L1 f# d" K; `5 u, z2 q& A[   34.777146]  r5:c1bffe00 r4:c1371280% v8 Z) M# D2 K, A4 u( U
[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
0 w; V* ?. O! `) d6 S+ w4 w[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:000000004 x- J) f! k  U4 ]1 W
[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
; Z( Z# _# j& q' X& j[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
- `- y( K' T! {[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)1 x' s9 f2 W! ^3 @0 W3 B
[   34.842578] Mem-info:- A( M% j! ?* @0 p. y
[   34.844908] DMA per-cpu:$ |& V- q6 r1 t7 P$ }7 \# C
[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0
4 p- R* n7 w' C! x: p! K[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0
' [+ n3 b# h: h# f* h+ p4 D[   34.852388]  active_file:718 inactive_file:601 isolated_file:0: I+ F/ w: k0 T) ]3 S
[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0
! v4 d, ~# K, H$ N. I  p/ {[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815
/ \' O" C5 O+ |6 L3 \/ h, m[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0  z- m% _  N. G0 c1 Q" 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? no2 {- @1 l; j3 i5 k, v. ]6 Z
[   35.023590] lowmem_reserve[]: 0 0 0
; x5 j( V, z5 r$ x9 C[   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+ |3 M, O2 [( C# ~2 K: ^# n& t5 c
[   35.054676] 214 total pagecache pages
- x& _! q6 O, L$ c2 C0 T[   35.058399] 0 pages in swap cache
$ G7 g' O. G1 N9 Z' B[   35.061743] Swap cache stats: add 0, delete 0, find 0/0
0 T5 G& U4 J  N6 r( ?* p[   35.081983] Free swap  = 0kB1 @+ f$ B6 X, ]
[   35.085058] Total swap = 0kB/ B( e. F1 w7 G5 O* y( J2 L1 w- ~
[   35.089678] 8192 pages of RAM
# c" p) F0 i6 S# x3 R[   35.103088] 2019 free pages
7 q$ G" H, o* Q( V[   35.105926] 1555 reserved pages
* E) X" p2 h( B7 r+ W[   35.109090] 869 slab pages: q9 P( N. y* A
[   35.111813] 161 pages shared
. _5 J9 q* j1 \5 m1 q' f[   35.132854] 0 pages swap cached
% h$ X, B$ z( P0 a% x  N. d+ G" ~+ F[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
4 e0 L6 H3 n7 v6 b' @1 d. e. t! jCannot mmap = 0 buffer
+ y4 B0 g8 _8 A) X4 _4 _7 L' RVIDIOC_STREAMON& m  Q% r1 y" l0 b7 y
: Input/output error
& S9 T3 W4 a8 V[ERROR|start@capturer.cpp,27] fail to start capture1 ]: O3 j" G8 r% |# ^
QThread::start: Thread creation error: Resource temporarily unavailable) s! [( [9 d+ i% A* h1 j
[DEBUG|start@playbacker.cpp,25] it's about to start playback
) d. T6 w5 Q  I6 Z3 r; J
作者: teddy    时间: 2015-11-3 11:17
你可能用的是128M的内存,所以可能系统内存不够,你用free看看当前系统内存是不是不够。
作者: robinluo123    时间: 2015-11-3 11:39
root@tl:~/face_detect/run# free
  B8 y. {2 L5 \- X' s- D* I, u0 o             total       used       free     shared    buffers     cached
+ s: y/ f  X* F$ UMem:         26548      19728       6820          0          0       2884
7 _, e# V8 E# w5 b5 \. r-/+ buffers/cache:      16844       9704( B. M) T5 f( R, l) N# Z( q
Swap:            0          0          0                              
作者: teddy    时间: 2015-11-3 13:47
内存不够,先关掉一些进程,像matrix-gui,然后在运行你的双核程序。




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