face_detect双核通信 - OMAP-L138 - 嵌入式开发者社区 - 51ele.net
设为首页收藏本站
点击跳转“创龙科技服务通”

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 6385|回复: 6
打印 上一主题 下一主题

face_detect双核通信

[复制链接]

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
跳转到指定楼层
楼主
发表于 2015-11-2 15:59:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@tl:/face_detect/run# ./run.sh 2 Y  ?/ m8 A* V% j- e8 E! V1 q3 |) }

: t' _6 D  q  G  g+ K2 K# Y( U+ MODULE_NAME=syslink. S1 `. M/ x+ R& H) D' g/ B" {
+ lsmod
7 u$ f+ C/ j; j+ grep syslink+ `0 v$ ?+ o' H
+ '[' 0 -ne 0 ']'$ u, w, f% m3 y: c1 l. k
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674
+ u: r3 X- l8 V8 G) KAttached to slave procId 0.% w9 M" b2 j& R0 z/ ^: F4 G
Loading procId 0.
$ ~5 ?$ s1 ]' d3 q# G+ WLoaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.7 h- V1 c# ]4 `& x; p
Started slave procId 0.
) q- t7 V: R) E- Y4 D+ ../host/host_app -qws
: I, o, A% d+ T[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync: H! R5 j( M$ X/ v$ J
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
. D7 ]% Q; u9 W9 }' N. C[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
" t& |9 o. w9 a[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
+ f9 s; Q; b" N, y; s: d[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync, l( B" k' e+ o* y
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync" ]3 V! L# B* P# c
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
3 `0 x$ Z% g2 V# B$ Z% k& V, H[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync  g$ N( B- T3 q# _7 O
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync0 v2 Z# j/ |9 O# _4 J4 ~: i* D
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync: S) A2 L/ N% V! i
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync8 f! ~$ i# [' d; Z  L
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync$ c' p0 V  L% f$ g
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
- v/ \2 v" A- m' b1 b: @$ I, O+ E[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync& g. a  ?$ L0 h0 I% G. u% v) d6 _, {
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
( X4 o1 g( s7 K' J7 I- \[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
3 `/ R' K; Y& x( ^* w/ |[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1( c/ O" g" H! ]5 q& y, q
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
" V8 H; B; C1 S4 n! v( F1 t[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready" L! n4 o% P6 c
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready+ c; L( f) g$ D; g7 h& \0 H
Camera-Camera
* w2 f/ c5 J. u9 m; N[   76.366400] host_app: page allocation failure: order:10, mode:0xd0+ R3 p7 U( M. K6 l/ a9 n9 t
[   76.377606] Backtrace: 9 V/ b5 D/ {- p0 i( w: l
[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
* Y. i, a( f" @1 c  D5 A* ?[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:000000010 S( E" ~% H. a
[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
3 G3 @' J, R( i& E1 H[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)% i! r" \( \, A3 u4 k! X3 q
[   76.425768]  r3:00000000 r2:00000000
' r0 O4 c& d9 O1 d/ A0 v) m: z8 `[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000; i: B. m& W: p) {+ _, B- H
[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)* Q* Y$ ^, g. S  t  V
[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68). f  k8 [7 @' j2 K
[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
& J& D( b6 o3 H& A[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
/ X# m5 G3 _( o2 l* w6 G" H* |1 B8 }[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)- Z: E! g0 z6 Z
[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b00
2 X- m3 G+ x  r' i- k: s[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
3 }( c6 E- s0 n  X) T+ }: B[   76.507848]  r5:c12d1b00 r4:c1bdec009 F2 S7 b% Y2 u" I  P" L
[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
# v# H  K1 U: _# w  J& O  i[   76.521828]  r5:c1bffe00 r4:c1113380
3 Y4 O. U) x9 c" K4 j0 o9 }[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)( U4 ~/ |( j2 _0 a+ _4 s" C
[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000
) e, K2 I7 R: H[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)0 s8 H- @. }( C. m2 ?' J
[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)% P9 w7 q' G9 d" A
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
' P: ]7 G6 i. r9 A5 e[   76.574327] Mem-info:: E0 L( i6 W' c/ W0 y
[   76.576657] DMA per-cpu:- A( T& m% X8 T: `! J- b
[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0
5 ~, y6 D2 z& T5 @* b5 O+ _/ E: z; J[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
  R# U2 G: Q  W/ X/ x: _& H[   76.587198]  active_file:867 inactive_file:896 isolated_file:0
9 \+ g4 }' g) r% e' N/ t' S[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0
# G5 ?3 P8 s7 r+ w/ ^[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789
9 @" U# z& @+ ~" x* }[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0
1 a; ~' L4 H* |1 |1 _. C0 c[   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
  k3 g& y( g5 i; T[   76.661444] lowmem_reserve[]: 0 0 0  x  |7 U8 Y3 z
[   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# ]; w  v7 C9 r3 J0 ]; S, I$ e3 M
[   76.677034] 1884 total pagecache pages
8 H: l4 P2 a3 U& k+ P, M6 _6 g  ^[   76.680817] 0 pages in swap cache# k9 j% ?6 p) y# W' i  H) V8 L$ m
[   76.687285] Swap cache stats: add 0, delete 0, find 0/04 M' S6 w+ s% Z, U+ D. |
[   76.693996] Free swap  = 0kB
* S. c( {& U) Q- _" K[   76.696926] Total swap = 0kB
0 E9 m3 l+ U/ @[   76.701578] 8192 pages of RAM9 x, n! i( s5 L% ]# ?
[   76.707668] 405 free pages
) ?' i# y2 a* y6 s8 d; n1 z[   76.710418] 1555 reserved pages  \- Z0 c# C- v% O3 k1 M) a
[   76.715882] 838 slab pages
, d, q4 b4 Q9 O: Z, n3 t[   76.718631] 1851 pages shared6 W- D) M6 x/ f1 {: N8 B
[   76.721620] 0 pages swap cached1 y: G% u( |" }' N9 ^
[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
9 x) @; f. x( L" m- FCannot mmap = 0 buffer! D: h- g  Q+ I7 z
VIDIOC_STREAMON
/ N4 {. v! U% a2 q: Input/output error& Z3 b0 K' U0 Y$ T9 T/ a: q/ q, J  j
[ERROR|start@capturer.cpp,27] fail to start capture
3 p; \! S; |2 m3 rQThread::start: Thread creation error: Resource temporarily unavailable
; v- I3 a8 G3 D$ B% r$ J* R[DEBUG|start@playbacker.cpp,25] it's about to start playback
3 v3 U* M/ r- A
7 k/ x* J: e* b, ^用led双核可以,这个demo就不行了,怎么解决啊- E8 o3 _' V2 b: ^/ J7 r6 V% N4 ^
: }1 n$ g9 i) Z1 ?1 [9 u: r
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
沙发
发表于 2015-11-3 09:14:02 | 只看该作者
需要配置vpif的缓存;
! P/ y1 @# ^$ Y6 y' J+ `, }9 q1.vpif capture模式选择,vpif_capture_format值:
# a! }; Q' |( d1 a0 t8 sHDTV:预留; B1 h! U# v3 k
SDTV: TL5147) W! [' c. L  k7 H- |4 w
RAW:TL2640
# [% r  l! [3 g7 k2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)$ G' I: K6 D1 n1 D6 ]* y, k
vpif_capture.ch0_bufsize=614400
& b% l8 l/ l- O例如:
1 O& \* X7 A, F5 }5 d, L3 LU-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400
5 K7 B+ Q. e9 x说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。
# m5 ^/ ?: O/ B$ ]2 H  c- L setenv optargs  ${optargs} vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
板凳
 楼主| 发表于 2015-11-3 10:22:28 | 只看该作者
da850-panel=TL070A
4 s2 B1 p' U9 X( o( lemac-mode=mii
: {' [, e8 Y/ G+ q' X! yethact=DaVinci-EMAC
" p& c8 g* e' c; O4 ^* {' \ethaddr=16:01:c0:17:45:e5& x& I9 ^% o  _" R9 A. s
hwconfig=dsp:wake=yes7 v: M& J( y. Y1 N$ U, c
ipaddr=10.3.2.99
/ ^; I1 l, {0 F' ~1 {loadaddr=0xc0700000
& U* A; I1 t( @' \; qloadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}) \( ~/ X6 q; L1 C8 O; n
loadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}* X# R( s9 u. n
mem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
+ t5 y- e8 k4 c3 V9 X. F( A0 cmmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}$ [% b# j, w5 M- R7 x
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;
" [( h  Y1 V; j/ @3 Bmmcdev=0+ I' Q4 M7 Y, p" p# A5 r
mmcroot=/dev/mmcblk0p2 rw) E: G  K2 v# K9 B6 c; ]& t
mmcrootfstype=ext3 rootwait
, b) M6 @* [. V: T- d1 r9 T0 Kmtddevname=env
/ w, B" g: k" S" K7 N: R/ Hmtddevnum=0
& e  J2 q3 i+ L6 L& Bmtdids=nand0=davinci_nand.0
- k7 l! [( A4 ^0 i6 `; S! |* umtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
' G5 H$ D3 M2 W( u* ?' {7 l: hnandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
1 g) [# I8 {; v- k' N) W. Vnandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;: {4 X; _" Q* S: e
nandbootpart=kernel
4 `5 y1 }/ I. T. y6 Z, \8 n* O& Jnanddev=0- l& Y% T9 T% d2 f9 g+ Z+ H7 ~( K
nandroot=ubi0_0 ubi.mtd=4,2048, k0 w! M. v* l3 S% K1 l
nandrootfstype=ubifs
5 t& [  y1 V6 K0 n$ l! c+ qnetmask=255.255.255.0
0 A' t1 U9 c  T% I$ \. N# s- [) Onfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw& w+ `7 O2 Q( A! r! `
optargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
5 y. {  q! x: i3 D/ M7 x3 D& Ypartition=nand0,0) |6 A9 |& Q' _* Z
scraddr=0xc06000002 v7 C6 k2 q: I: H
serverip=10.3.2.1754 o: k; J% {2 A* R% r8 M' b
spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
' X! d# ^! ~2 w" y4 \2 N  Uspibootaddr=0x100000/ H, c2 o# H* v% N
spibootsize=0x400000; J8 C; I1 L/ O- T5 {- v4 ]
spidev=0
- u& M2 h# {5 c2 P. i: C& C) rstderr=serial
, ]& l# [7 U- M1 x) b4 mstdin=serial
* d) C6 R- c. f" e/ b& F) Gstdout=serial- Q, ^1 F, w; U0 |
ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)+ k  L$ ^( S" p$ A0 {
" V# |1 X9 U1 o
$ Q) K, C+ Q( h- M, [% n
还是不行
; w0 Z* }0 j- W+ U  d4 L
' B) R) T: Z4 b7 Y
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
地板
 楼主| 发表于 2015-11-3 10:23:08 | 只看该作者
Started slave procId 0.
! g- V  Z- J& g+ ../host/host_app -qws# {/ D% m1 B8 D3 u) @+ g* B
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync0 ]" `) p* Z4 ~* d6 X
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
4 H4 S: A$ j9 t  \+ k[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
  x* [& j9 W1 E4 Q[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready: g, I0 n. P8 i
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
5 K$ G; O' W5 J9 A! F5 a' o3 q' TCamera-Camera
2 G- s9 r) A! d1 x[   34.616261] host_app: page allocation failure: order:10, mode:0xd06 K8 ?+ r& T! n: D1 I
[   34.627157] Backtrace: 9 v' s1 `: b* B& U" K
[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
- V/ J% |9 t9 ]; Q[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
+ \. @$ z% x% v[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
7 k' E  |" `3 L4 l0 h[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
7 g2 j4 f2 p& y5 w+ i1 |[   34.681238]  r3:00000000 r2:00000000
- y' ~! H( O8 J, e/ n" ~[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000; }" U5 R3 ^" J
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
" {: y+ G! H  ]6 z[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)) ^9 C  D, `0 N
[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
! a' C( Q& P+ `[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764
8 }  ?" [% d( _: |$ z[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
2 t; h& E+ ?( e6 p( O0 N  C[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
% M6 T$ T1 D* ~; n  n" M[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
7 ?  c. F( l6 e[   34.763159]  r5:c12bd688 r4:c1bdec00
' m# P9 v1 F- G0 X0 o- A[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)8 U4 s% z: W4 Q
[   34.777146]  r5:c1bffe00 r4:c13712800 Y' K2 l1 y0 y  O* A
[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494): `2 b) z- z$ y. b* m6 s* w
[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:000000000 d% T3 C0 N4 h; n; x- |) P
[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324): K. D" e3 ~+ T3 C$ y
[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)1 {/ w  T; B2 B; }. d) u0 z; q
[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)$ o# F( [' Y* K! H4 s1 q
[   34.842578] Mem-info:
9 c" d9 L/ g& ][   34.844908] DMA per-cpu:
- g$ x/ v4 n6 m' d3 H[   34.847474] CPU    0: hi:    0, btch:   1 usd:   09 T5 ?1 m/ r% U7 I
[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0$ R7 t) N7 W# O/ V  ^7 O
[   34.852388]  active_file:718 inactive_file:601 isolated_file:0! m1 Q( R* R# V2 s6 b, c, A
[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0! o# z- W/ [0 I5 k/ w
[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815
$ x! R- D. k0 Y( f[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0
& |: n, e5 _4 k[   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# P" v! e  C3 z
[   35.023590] lowmem_reserve[]: 0 0 0
3 i1 r3 c5 S( ~; {- ]9 t$ f  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" L% Q' d+ k9 j8 C0 M! q: Q
[   35.054676] 214 total pagecache pages
" I+ B# h/ w7 ]  s: \7 g[   35.058399] 0 pages in swap cache1 q3 F& `' T1 p! ?+ `
[   35.061743] Swap cache stats: add 0, delete 0, find 0/0: k, x  j  Y* h# r/ t- f
[   35.081983] Free swap  = 0kB1 c( n! J+ _8 ^5 L; ~, d3 u
[   35.085058] Total swap = 0kB5 S" N. p2 q1 {5 v
[   35.089678] 8192 pages of RAM, O# i% w9 F1 x& s
[   35.103088] 2019 free pages
' G' `: f& r8 g7 K[   35.105926] 1555 reserved pages
* u5 a9 C7 e$ }* `: V7 Q2 J6 F[   35.109090] 869 slab pages: K. G* ]2 H* |2 k7 W3 ?
[   35.111813] 161 pages shared
; {4 e+ n$ u! y6 \% F, I0 ?) J[   35.132854] 0 pages swap cached4 c5 }8 I* Z$ D1 ?
[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed$ v2 O& `* _' R9 p$ ^' [' {5 `7 t
Cannot mmap = 0 buffer
# [0 K9 a! R. _  {) M( PVIDIOC_STREAMON8 |7 U0 A, N0 G& O/ G, w
: Input/output error
& Y3 C8 f9 j0 w2 X[ERROR|start@capturer.cpp,27] fail to start capture9 P8 E* Q5 [5 M" Q" f
QThread::start: Thread creation error: Resource temporarily unavailable
8 E9 B- T* p" {. j[DEBUG|start@playbacker.cpp,25] it's about to start playback
1 c2 ~  _4 g8 T, a3 L
回复 支持 反对

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
5#
发表于 2015-11-3 11:17:19 | 只看该作者
你可能用的是128M的内存,所以可能系统内存不够,你用free看看当前系统内存是不是不够。
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
6#
 楼主| 发表于 2015-11-3 11:39:18 | 只看该作者
root@tl:~/face_detect/run# free
# l  W/ U3 [- A9 e* @             total       used       free     shared    buffers     cached5 g/ ?% I: ~8 o' V3 b" j# g& B3 k
Mem:         26548      19728       6820          0          0       2884
- R; o+ _  L) ~6 K7 {-/+ buffers/cache:      16844       9704
- o: i6 _+ x" x# w5 [Swap:            0          0          0                              
回复 支持 反对

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
7#
发表于 2015-11-3 13:47:21 | 只看该作者
内存不够,先关掉一些进程,像matrix-gui,然后在运行你的双核程序。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

点击跳转“创龙科技服务通”

QQ|手机版|小黑屋|嵌入式开发者社区 ( 粤ICP备15055271号

GMT+8, 2026-3-1 01:20 , Processed in 0.049210 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

快速回复 返回顶部 返回列表