嵌入式开发者社区

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

作者: robinluo123    时间: 2015-11-2 15:59
标题: face_detect双核通信
root@tl:/face_detect/run# ./run.sh
1 B* _4 F- J7 h$ H
7 o2 w3 c3 v- u7 o+ MODULE_NAME=syslink
: D* d/ M5 N$ W" A/ G+ lsmod8 ]$ ]. z% T+ r* c( c1 o  b9 v
+ grep syslink
$ N3 K, q6 L/ H0 Q8 B0 v' U+ '[' 0 -ne 0 ']'# Y; o8 k3 [: N* |& V" C$ D+ H
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674
5 f+ ^! B+ Z+ HAttached to slave procId 0." _+ s. b6 f, R/ ?; _% {  l' F
Loading procId 0.) @  s2 u  J. a3 ^( F4 F8 k. i/ N
Loaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.# k& j) L% ]& @& m7 x& W$ J
Started slave procId 0.
3 i' @5 }( O  ]' ^) g, |& Z+ ../host/host_app -qws0 s  l: N. E. O$ K
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
; [8 O1 |% J6 F# a[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync. e" W- q0 E' B+ W4 _7 E) {% p# \
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync1 V+ n$ u2 v' G) L5 p1 r7 Y
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync% X& e' u9 f! K, Q) o: E* n: c# r
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync( J  ~: h1 \$ J$ }
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync" f. X; ?5 A0 u/ M
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
1 W9 D. d; [& U1 u[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync, n3 f! j' X  \* |  x0 y: i7 p& `
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync' j/ x  w* f# b1 F7 O7 n9 q0 S' h
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
- l' F1 O) o! }3 @9 H, j* V9 i* r[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync  \5 P1 v6 j) I  I% n
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync% a0 q  Z5 t* E# A0 S. H8 c
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync: Z5 c& i' [/ Z9 W6 C
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
- g& \8 N" r. X3 B5 [[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync4 B8 T: v# Z/ Q* _
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
4 h/ y8 P% Z0 F- X  a3 w/ c" t" S  S$ c[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
6 X' g, U; o' K  V" W( @0 F[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready7 S0 W! }+ c, K5 y  x3 R# Y
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready2 z) P' A# n; [, x7 x- i- J$ K
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready1 h( d. P4 G5 q
Camera-Camera
) b+ x0 m" P3 @) @9 |" o[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
* l. l5 ]0 K# W- l$ _[   76.377606] Backtrace:
7 ?) I: k- ^% h/ g& }4 J+ p[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)5 e+ _6 ~  s6 x; a; z8 n
[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001% B( N9 l3 ~) I' m
[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)" K' I' z- G! @' c
[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)) U! m6 n0 l6 Y1 _/ c
[   76.425768]  r3:00000000 r2:00000000/ a2 R4 o! G2 I- e# L
[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
+ y' {* O! r" K5 n9 i5 v' m$ x[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)& O8 Q4 l" I0 t! Q
[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)( w) x0 Y+ `7 h' O4 U9 ^
[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
6 r" I, E3 _% Q; w[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
& x. l/ x5 i+ d9 N[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)! i3 N8 p/ o+ x/ K. q. r% O
[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b00' n) B& |, d5 E9 b8 b
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)" L& I4 |3 n% u+ R; W% p: q( w
[   76.507848]  r5:c12d1b00 r4:c1bdec008 Z) {4 b; i. e" G
[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
* X4 V2 _$ Z+ G( S' `$ M9 x5 l# u[   76.521828]  r5:c1bffe00 r4:c1113380
6 Q7 K. v* q& e$ [$ r/ C+ ?3 S[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)' J- g* F) p+ f% c& C+ L
[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000$ ^! R" s! }. h! l* o
[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)7 n3 h4 P, c9 `4 F
[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)$ B7 t- P( \9 o+ S( J
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
( Y/ ?/ c& }! d& v[   76.574327] Mem-info:1 K4 K. x2 I8 \; r* ^
[   76.576657] DMA per-cpu:
" f! d9 z, H) P$ f* u9 H- N# U* h  p6 v[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0+ q$ S: B, N2 O) }# }  ?" g& Q. n& m
[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
: j, I  p2 b. e3 T) J[   76.587198]  active_file:867 inactive_file:896 isolated_file:0
7 ?* q; H& ^# u1 U: a[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0
& w6 s( T1 \" u% c; s# ^$ n# T[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:7899 H  \/ ?: i  Y; D; y& [
[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0) }& I6 y  r: d7 R  M/ Q* a
[   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
) W$ u1 z8 B& ~( i6 ^; B[   76.661444] lowmem_reserve[]: 0 0 0
. y9 T: l' I1 D% i$ ^9 f7 j) @5 b[   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
& l, \) k0 H' i% m' W7 l# i9 O[   76.677034] 1884 total pagecache pages$ J, i4 {3 D2 A' @' a" q' w5 }% {
[   76.680817] 0 pages in swap cache
$ e% Z! V) ?+ l2 f3 f[   76.687285] Swap cache stats: add 0, delete 0, find 0/0
5 G0 J% h4 F) L6 \1 B4 l[   76.693996] Free swap  = 0kB
5 Q7 y: i6 l$ ^; v/ |  B[   76.696926] Total swap = 0kB
/ B+ Y8 Q  g7 F4 e[   76.701578] 8192 pages of RAM
  }, q1 `  l8 P0 c[   76.707668] 405 free pages! F  F. z- }2 i/ O
[   76.710418] 1555 reserved pages  L2 r' b2 ^+ A: i/ Y% [0 [
[   76.715882] 838 slab pages
* |4 x! w, ?1 R1 b[   76.718631] 1851 pages shared
2 i% U0 v* Z' N1 g3 @[   76.721620] 0 pages swap cached$ a8 [1 P5 o8 ?  z" {) }+ k
[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed/ {! `9 T5 r* p9 b
Cannot mmap = 0 buffer
* N! ]$ U5 m: V# B8 _VIDIOC_STREAMON
4 w8 ?) n% ]/ C& j; H" U: Input/output error7 M. ^' i$ Z/ T
[ERROR|start@capturer.cpp,27] fail to start capture+ l3 Z) |* y/ v
QThread::start: Thread creation error: Resource temporarily unavailable9 l/ F- e. |, ?- w. [2 E! ^, [9 U
[DEBUG|start@playbacker.cpp,25] it's about to start playback
3 O* H$ c* p* }9 j
/ U- q; c; F9 y* q3 H6 T) N8 i用led双核可以,这个demo就不行了,怎么解决啊
# r1 T  Q) v" ^1 U0 L- t2 X6 K4 U
! h( ]; b) q( L' ^/ _' Q2 g
作者: teddy    时间: 2015-11-3 09:14
需要配置vpif的缓存;; N- k7 H8 {. A! p* q
1.vpif capture模式选择,vpif_capture_format值:
' A; L& I  x! pHDTV:预留+ m( r. G) e( _- U: s
SDTV: TL5147
* I6 T6 A! t; P" q% r3 JRAW:TL2640; j6 L+ P8 ~5 y% l
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)' @9 }0 }9 O6 l4 R/ p6 Z/ J& P+ b9 T
vpif_capture.ch0_bufsize=614400
, V3 a; K' I7 I# ~% ~5 c4 _  G例如:
+ U2 V1 u# G9 P3 s& o. Y# x7 R! p4 }0 |U-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=6144001 J( G& d: C; L+ |! C/ C
说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。
7 S/ `. y; \+ P& B! @! D setenv optargs  ${optargs} vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
作者: robinluo123    时间: 2015-11-3 10:22
da850-panel=TL070A
4 P# m6 y1 H# ?emac-mode=mii
$ m& f" ]$ N% N" x$ \3 @% G# \- Zethact=DaVinci-EMAC6 S: |0 P6 ~6 {
ethaddr=16:01:c0:17:45:e5! u3 J5 Y, _3 E$ z
hwconfig=dsp:wake=yes
  _: z1 H- d' S* k$ aipaddr=10.3.2.99  M. T! k& I2 K  o1 n1 D6 j9 V
loadaddr=0xc0700000
7 s  r' n- u' w9 S* Dloadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}4 Y0 P8 C; ^# q* I9 @" P
loadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
$ C7 \' f: N0 S* \- lmem_args=mem=32M@0xc0000000 mem=64M@0xc4000000; L! j/ I& q9 w6 c0 N: N" @$ ]( x. A
mmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
2 Y2 I. D$ o; Q9 ?' W+ c" K% Mmmcboot=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, k/ \# A3 Z  B/ Q. C
mmcdev=0
. O1 f, v" K; c/ \mmcroot=/dev/mmcblk0p2 rw) S$ F: M8 |# k& [( I
mmcrootfstype=ext3 rootwait
- a. n) p5 e( q$ ~mtddevname=env4 m* z; N6 R# Q. F* c3 F4 c8 b
mtddevnum=0
4 I/ P) X7 a0 P& {1 ymtdids=nand0=davinci_nand.0- C, P9 _% D  r1 I! Y2 F) N0 }
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
, s) ^# t! p# i! M) Jnandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}/ T. j5 K* Z0 C. {! o: A
nandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
& B  I9 \: G, j- i; Y) [( gnandbootpart=kernel+ `( L5 i( Y5 B7 I/ a9 o( ]$ e4 |
nanddev=0
1 @1 t' {% x' a. k! E2 B5 N1 v" v7 [nandroot=ubi0_0 ubi.mtd=4,2048* W+ I6 p% S7 n7 `4 |
nandrootfstype=ubifs
/ W( s' Z! G- g% X9 i3 D) snetmask=255.255.255.0
3 u* L; I( q# N% E+ I& h. ~* Mnfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
/ `- _  }& \. Poptargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
& e7 a5 d3 }7 J; d8 fpartition=nand0,0
9 l! u) H- J4 e: \! @# a1 w8 w3 Cscraddr=0xc0600000
# Z# J5 P; Z% V$ W) S/ X' Rserverip=10.3.2.175
( J, r  w& c/ c  J( Aspiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;0 G* L6 t1 Y) ^2 i
spibootaddr=0x100000
" F+ U" c6 x/ z+ F! k8 Hspibootsize=0x400000
) }5 v0 Z2 ~0 x7 ]+ j6 u1 G/ R5 Nspidev=09 U/ J$ N- V: h# m
stderr=serial
, M) r4 Q' m2 N* i' p7 Ostdin=serial. e; x' F3 O( ~; Q
stdout=serial1 N/ }) A# X+ Q# t- p
ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
5 j( u( m# [* W5 h; Z6 {$ k$ e: i& W" v! X" T3 V8 f3 G1 ?

& K3 }% C* |, m- s  F5 {0 l" w/ L, }还是不行, Z5 J  q7 H0 `' c' p- Q

( {! L  a; |' b# F, f. U
作者: robinluo123    时间: 2015-11-3 10:23
Started slave procId 0.& {& \: O$ H( Q3 a
+ ../host/host_app -qws& O  g6 [0 H3 _
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync9 o. p& W( r: M$ [. J% k9 g  J/ m
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 13 p  T; ]3 k; M/ D
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready- L; H, O' ?2 |( u& \* e
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
3 Q+ r6 p% ~0 E$ G$ n  r3 u[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready2 |* v4 G3 W% C
Camera-Camera, f+ W" w! N' U/ `6 J
[   34.616261] host_app: page allocation failure: order:10, mode:0xd0; T& }1 `6 h; C  E; ~
[   34.627157] Backtrace: 3 x  ~- j/ i9 H& p  g1 @
[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
: v9 ^8 n  }, n4 K5 l4 j, K1 I& K[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001( C, J2 r5 }/ a. [5 n
[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)# [; b( S/ f* ^
[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
/ G, b1 o% F( u  t2 q& {[   34.681238]  r3:00000000 r2:00000000
% `& }; H8 T9 l( G& A[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:000000005 y7 V1 Y& n" E! V, @
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
( Y, q9 z" C' q: ], g[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
, s9 D; |! ]& M' N) C4 A[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188). K3 f1 I2 j: n* _, f% S7 e
[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764* T3 U* Z1 K/ n. N/ n
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
9 q3 M# I/ E8 b: R2 |1 S[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd6889 f% c8 l# w! r1 m
[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
9 g9 S4 b5 P/ b! ^( [[   34.763159]  r5:c12bd688 r4:c1bdec009 W) ]# y% i4 J  j  k0 y
[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
& h* U$ A2 F: i9 [3 A- k6 c[   34.777146]  r5:c1bffe00 r4:c1371280
/ f0 f/ W6 o2 e& i, p# Z[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)7 N3 L3 R) n- z
[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:000000005 T& I$ ?, U  K. V
[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
! c# ^" _3 ]  z# U/ g[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
) |% C7 r2 S  e2 P$ b9 O7 I' U' R[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)  o/ b  b- h! I. |  f7 z! l
[   34.842578] Mem-info:
5 ?( e3 t& B; d2 {[   34.844908] DMA per-cpu:
$ g; Z% L* U+ I1 T5 k# z) U0 r& B6 @[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0. l9 H/ x% o  r9 }! f* q! F
[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0: r' ]0 M0 E, h& y' V( ~
[   34.852388]  active_file:718 inactive_file:601 isolated_file:0# v7 G9 l" L! C0 B1 n! l% z/ C
[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0# q, B3 _& ]  ^9 `" N
[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815
9 w) B2 k/ N5 K[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:00 m  g. W. ]+ [" L- }! h
[   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
/ k+ s( k9 q$ a* x& N[   35.023590] lowmem_reserve[]: 0 0 0
  }  Y* \  z5 s) P[   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
$ e' A: h3 U8 p7 c[   35.054676] 214 total pagecache pages. Z5 x, q. A9 e5 M( Z9 |! m
[   35.058399] 0 pages in swap cache" P7 u4 D# ^; l7 v: y
[   35.061743] Swap cache stats: add 0, delete 0, find 0/0
. b: G2 V' A6 K! K[   35.081983] Free swap  = 0kB5 H" p8 Q) U9 n" n4 ^; ~
[   35.085058] Total swap = 0kB
! h  s: A- B4 q! U2 p[   35.089678] 8192 pages of RAM
$ K4 E* V5 V. s[   35.103088] 2019 free pages! z2 o) Q' x$ Q& ^% K# [) e! ]' D
[   35.105926] 1555 reserved pages
6 d$ x  I; ^+ R* f/ b9 E( P[   35.109090] 869 slab pages
5 ?: b& ^& @5 B$ ][   35.111813] 161 pages shared
# f& U: ?/ _. m; b6 y/ r[   35.132854] 0 pages swap cached
, ?! j$ y- @( O. @8 q; d0 J# y[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
, `6 A& ~& j. X; `( \/ ~Cannot mmap = 0 buffer
! r/ r4 c( f8 u7 G; C4 DVIDIOC_STREAMON
4 m+ l6 f9 e* v) J: Input/output error, u! G$ N6 [% {& N
[ERROR|start@capturer.cpp,27] fail to start capture# f4 z- G# \4 \8 f7 s
QThread::start: Thread creation error: Resource temporarily unavailable, e0 f4 w; _7 S
[DEBUG|start@playbacker.cpp,25] it's about to start playback
$ o( v+ k) `7 L. u. l
作者: teddy    时间: 2015-11-3 11:17
你可能用的是128M的内存,所以可能系统内存不够,你用free看看当前系统内存是不是不够。
作者: robinluo123    时间: 2015-11-3 11:39
root@tl:~/face_detect/run# free% v) D+ W8 {8 u( H2 v/ @: f* @
             total       used       free     shared    buffers     cached
8 ]5 G/ r) Y* f: g' D$ GMem:         26548      19728       6820          0          0       2884
; ]# }3 d$ K. Y: y, p-/+ buffers/cache:      16844       9704
0 f9 b7 @" y3 ~& t. M$ {3 ESwap:            0          0          0                              
作者: teddy    时间: 2015-11-3 13:47
内存不够,先关掉一些进程,像matrix-gui,然后在运行你的双核程序。




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