face_detect双核通信 - OMAP-L138 - 嵌入式开发者社区 - 51ele.net
设为首页收藏本站

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

face_detect双核通信

[复制链接]

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
跳转到指定楼层
楼主
发表于 2015-11-2 15:59:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@tl:/face_detect/run# ./run.sh 6 b5 [" Q, [; M0 v

6 E: @/ R4 U1 [+ MODULE_NAME=syslink
; J, n: {' w% A8 p6 f, D+ lsmod9 t, Z& e2 J4 ^# Y5 O
+ grep syslink
' t" S$ m4 J$ v- {2 y+ '[' 0 -ne 0 ']'2 `/ g0 @' N5 X& A
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674
+ U7 s  Y9 j& p" C! O9 h* GAttached to slave procId 0.
" U9 S3 }& p& r7 yLoading procId 0.4 `" k% M$ `3 j4 ]; @8 K: o; K
Loaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.9 B3 L9 G5 ^, Z) L) B2 I4 p. g
Started slave procId 0.0 t+ u6 f/ x9 E
+ ../host/host_app -qws* e" @5 F9 X( Z% ~$ v1 ]4 M& G
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
+ ]& z+ O5 d: i0 l[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
" r2 `0 b4 m6 k: d4 t[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync/ k# X1 x, X. b' M4 ^
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync/ z( M5 |) n+ k3 e
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
! a* y1 {$ n0 w) x[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync" c& d1 \# J' r7 f' Q
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync7 X( g% S0 h$ w( z9 V
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync+ _. z! B7 I! d* C0 S) a5 m
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
9 b+ U  a7 M8 S) m/ G4 `8 s. H[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
2 w3 |) a* R7 H0 s[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync( [# [; R' q& j# @' ]8 p# o
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync  q) C! L9 ?! L  c0 t6 x+ {
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
/ w( {( U9 S' ]. a- f, v[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
& U# {  m* F& e& j  Q; g[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
- Z7 Y9 e! ^) L! |, p[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync3 h8 g( L7 l: ]' X0 w) a1 x
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
0 v9 s) m2 ]  B. ?* M* m[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready9 w) N' f  j& Q3 l1 s  ]
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
$ C; X) l7 I2 X% f[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready; ~0 N7 x: e$ i0 c5 [/ `. C4 h8 l
Camera-Camera
$ r, Y+ v1 B  h' k2 ]+ x1 i[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
  h. |7 b4 [) h5 L[   76.377606] Backtrace: ! A8 b2 \. N# ?; t" U  [: i* @
[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
' k" @) ?  W7 N% ~+ F[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
) V! s8 d  E2 W- f  b! ^/ Q[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
8 k% y, T' q/ [8 G6 |" }3 u[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
; m; O1 d5 U& m6 M1 C. ][   76.425768]  r3:00000000 r2:000000008 J9 E, q0 M$ o* F% {5 r: Y1 a. X: A
[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000/ {) |% t  f6 e1 f4 W/ n! T8 F0 i
[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)1 j2 ?$ V" q$ F8 Z- a
[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
3 C  {" p  k! x* J5 n6 O. M[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
' F1 d5 r2 u: m% ~" c1 }[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
  J, X+ L/ h7 @- r6 U: @9 I[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)9 U- I  x0 {6 m# r
[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b009 ^- L% S( N3 G7 l6 L- M4 i
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
/ B) v  M# L) z" {[   76.507848]  r5:c12d1b00 r4:c1bdec00' A6 Y( f; S, V7 A0 y
[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
# e* P: [  q0 u[   76.521828]  r5:c1bffe00 r4:c1113380
: M& e3 [; W0 d7 ^0 Y: M[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
( s8 l+ [2 a% i  K4 _[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000. Y4 i1 \7 A! Z+ t* L9 i
[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324): E- y) @: t) O. z- B
[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)  B& @% v4 Y2 m. A) K, V
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
+ b# k: G& K6 Y8 \8 r[   76.574327] Mem-info:
" u. M4 t1 d. A& l[   76.576657] DMA per-cpu:
5 Y! ]7 J* A3 f9 Z" H* T[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0
8 V$ w* v3 m5 I7 d5 y[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:08 w- |1 q& M  J7 _- s
[   76.587198]  active_file:867 inactive_file:896 isolated_file:0/ p. c6 ?5 k2 G$ }2 x
[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:05 I6 t5 v2 v/ ?/ ^. M! b: d
[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789: M& s+ C& L" Q" D% O
[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0
, U7 O# O7 f1 Y[   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 h  D  }7 }% S% Q' d
[   76.661444] lowmem_reserve[]: 0 0 0
; c) V# t. k& ]& i[   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
( _3 {" d  T+ G' K: W7 f[   76.677034] 1884 total pagecache pages
' ~9 a3 q0 H0 r) u! O[   76.680817] 0 pages in swap cache/ J  z8 J# V6 C+ ^3 J7 k1 g/ M
[   76.687285] Swap cache stats: add 0, delete 0, find 0/0
% [3 B/ q+ O4 X& H- k( [" f* U% q2 _[   76.693996] Free swap  = 0kB% e* p9 o: ?  x& `, B  V
[   76.696926] Total swap = 0kB" C1 v; U- ^+ p9 L# d
[   76.701578] 8192 pages of RAM
/ a' h" g; V. K$ \[   76.707668] 405 free pages  R  f# q; Q7 h5 g& t* b
[   76.710418] 1555 reserved pages
% T. x" Q1 u5 Q/ ~0 i/ o[   76.715882] 838 slab pages
8 t% O+ B- D  H$ E[   76.718631] 1851 pages shared% H% [* n, A9 z( k
[   76.721620] 0 pages swap cached* ]' f6 c2 D4 s
[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
! z4 Y, n$ l& I' hCannot mmap = 0 buffer1 h% o% f: b) C& T! `' J# K) l* T
VIDIOC_STREAMON( ^2 \, p1 k) \& |
: Input/output error
0 C2 K0 F) e8 y[ERROR|start@capturer.cpp,27] fail to start capture
3 F1 P) `9 c: @7 ~& V9 N, F* |QThread::start: Thread creation error: Resource temporarily unavailable
! G/ M! l7 D$ Y0 ?2 J9 T6 q1 n[DEBUG|start@playbacker.cpp,25] it's about to start playback
/ _0 t6 w" u  B& U
8 ^6 U  I; j* f1 j& z+ g* q用led双核可以,这个demo就不行了,怎么解决啊
# |1 B: l' X% a7 k* e* }5 m
/ L. u  A! g, x, f/ c
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
沙发
发表于 2015-11-3 09:14:02 | 只看该作者
需要配置vpif的缓存;
9 p- j* H7 w2 R9 n1.vpif capture模式选择,vpif_capture_format值:
- I( r7 a8 Y5 d/ F2 A( \HDTV:预留) R! ?/ ~; R7 n4 o- M
SDTV: TL5147* Y; e4 V4 Q% h6 m
RAW:TL2640
* {0 ]( F2 i: X: H- ^( }7 e8 \2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)4 ^& I# `. C0 T" _
vpif_capture.ch0_bufsize=614400
2 k! U3 ]0 ?  j: W9 c例如:& D3 ?' J  g3 l+ V. l
U-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400
+ r; k8 `# N* q0 d7 x& q说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。5 x7 Z" g8 _! A+ I  C
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
2 [# I! n; W: }* a  T  hemac-mode=mii
+ S3 x5 J1 ]1 e! }' c6 gethact=DaVinci-EMAC' A  C% T- r) c# f( N7 a: @
ethaddr=16:01:c0:17:45:e5
) E) M6 \- O. q, ihwconfig=dsp:wake=yes- ], ^4 H3 [1 H6 ~7 _
ipaddr=10.3.2.99
  K" L  q- w# G( Oloadaddr=0xc0700000
$ A8 }+ w+ L( s% q% U5 g6 aloadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}
9 D& `: g& E" n# qloadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
9 M. C' w, \3 smem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
" d) {* n/ D! r% w  Z- ]. _5 A1 dmmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
6 Q, X) |" Y+ A1 f  g2 v9 ammcboot=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;% e* o. l: l3 I/ j% A
mmcdev=0
- m3 T" j/ k+ wmmcroot=/dev/mmcblk0p2 rw2 B$ |& h% a& `9 D
mmcrootfstype=ext3 rootwait5 E2 f  a" n' ]# V2 B& k% l. a2 g
mtddevname=env7 k5 o/ R/ }' D+ D. p% B& A7 v
mtddevnum=00 Z' O' t; H* E4 v& u
mtdids=nand0=davinci_nand.0( X" P: {! i& {0 o6 m% c
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
6 j* n' s9 u, O5 H. G$ Rnandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
: b3 E- z# |& o; N7 E/ s7 z1 Onandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
( p4 p. h/ O; H. I6 Enandbootpart=kernel
- k0 \5 v+ H0 ^nanddev=02 ~' X6 @; h2 W8 z8 e* g
nandroot=ubi0_0 ubi.mtd=4,2048
$ R! l: I! Z7 jnandrootfstype=ubifs
8 \" A. H' d) v8 y- h1 P" xnetmask=255.255.255.0
: I8 `; d) h* n% E6 q* s( ]nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
, b; v, ~& x7 d: z: _  moptargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400' k' K/ B: C7 q0 _9 p' `0 x
partition=nand0,0' |3 o$ `+ F1 Y) H: ?
scraddr=0xc0600000
" F  ?8 J$ P- nserverip=10.3.2.175
( e6 o8 Q5 X- I! x9 n! Xspiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
3 j8 b: S: ]. r/ X7 _+ Xspibootaddr=0x100000
. I7 m# y0 I4 D$ ?, p3 nspibootsize=0x400000
( X* C* [3 I$ L3 q( V% Yspidev=0
) O: |: R: }( b4 h& X+ C9 M3 Bstderr=serial, V! |' v+ b# {9 t
stdin=serial+ W" Y" N& h3 l; ~& `* S3 m" e
stdout=serial: F& |3 `& H& t+ U" [* l/ p: P
ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
$ z% R! z& s: _# G8 W- B
7 L/ h3 W6 P+ u) @8 c: w% f% C" L; Z. Q+ |/ _4 t
还是不行0 L# F9 p2 t! M" h( m/ v

( U/ G! S* Y4 a8 E. p" x
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
地板
 楼主| 发表于 2015-11-3 10:23:08 | 只看该作者
Started slave procId 0.
. h+ q  A5 P. H0 H- w/ f  M+ ../host/host_app -qws
3 B4 I6 F; u# M+ |! }0 B- I8 X# s[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync) C8 d& \8 b. B& I. Q
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
2 m, ~3 h. G/ t) i  \: ^; d[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
  z% S: X  t$ A  ?4 e[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
+ E1 ~% f% N* G9 b) A  [. r[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
( I, Z' u( D, y/ WCamera-Camera
! q9 A# p* n7 O. l8 ?$ f[   34.616261] host_app: page allocation failure: order:10, mode:0xd0( l8 O5 K( w- ~
[   34.627157] Backtrace:
9 F5 M# @: P( P[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)% [0 a7 q1 ?; }' G
[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:000000012 l6 B- G' l1 S7 m1 e4 C+ q/ e
[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)* \" t& b2 {/ z9 [: r8 \
[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)# e- L3 k# R+ \: G3 W$ w# R* v
[   34.681238]  r3:00000000 r2:00000000
3 h1 L# T  ?& S9 R" _[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000* j0 H% k' ~( V) F0 x; c
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
2 @# q! L2 U: |/ {: d3 v  O[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
0 C: C; ?0 h, ]% I0 o" H# h/ j[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)/ f; w& Q; l* S0 Q5 v
[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764
- K- D% p  ?. M' D7 ^% c! X( ?[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)  I6 d2 _8 X! \. _$ ]5 V4 f8 ]
[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
! i% l; n3 p; {, x9 n[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)0 k/ b# n6 X5 k: g# k* o, y: g, ~
[   34.763159]  r5:c12bd688 r4:c1bdec005 j  N  A8 a4 z* z" j$ \) D
[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
: g% d& i$ ]1 t# G1 q! [[   34.777146]  r5:c1bffe00 r4:c1371280, `1 q! J2 @; o2 n3 k' j
[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)  m  \7 b% ?, M# [2 w. h6 X
[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:000000000 i! _6 i2 o5 |. C
[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)! ^* r2 f4 X7 d4 Z# e1 ]( b
[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
* ~* y  d, j6 A1 b  |[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)2 {0 |4 G4 a: ]- z6 o. w
[   34.842578] Mem-info:2 k& d5 ^5 P/ a/ I% b9 Z
[   34.844908] DMA per-cpu:* d( R+ o, Z1 j2 ^+ Q
[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0  |/ t& g! k! M: f) w$ N
[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:02 Z4 t, _# Z: k) {; i- }# t0 a
[   34.852388]  active_file:718 inactive_file:601 isolated_file:03 `$ ^% l  \1 |3 q+ ^& K
[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:04 T0 Y! [- A8 h$ `* X" x- x) b
[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815, F- ]( d( h$ ~# {/ T; Q# m/ Q
[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0
& D2 U, g" C) l1 }# e1 g2 v7 U! M2 [- w[   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? no1 F6 j" Q! O9 s8 D0 V
[   35.023590] lowmem_reserve[]: 0 0 03 k1 J& o6 D+ b- d# E3 T4 p( `/ n5 D
[   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
' p: T3 p1 ]3 y[   35.054676] 214 total pagecache pages7 X" j6 Y. [' s
[   35.058399] 0 pages in swap cache
8 t; h9 w9 f% r1 ~- z' |: v[   35.061743] Swap cache stats: add 0, delete 0, find 0/0% @8 w/ H& t+ e1 P' W( G
[   35.081983] Free swap  = 0kB
) C* i  a0 ^- j* p+ t[   35.085058] Total swap = 0kB$ ?* k5 Y" i# q7 w
[   35.089678] 8192 pages of RAM/ q5 f. T0 P6 b9 y  Q
[   35.103088] 2019 free pages
8 ]5 E  r  a1 t[   35.105926] 1555 reserved pages2 `# Y1 p# e' w. L$ l% V) |
[   35.109090] 869 slab pages% S: k; U$ w, _, U2 ]: ]9 c
[   35.111813] 161 pages shared$ `5 x$ A  X6 J/ x# w0 v; _
[   35.132854] 0 pages swap cached/ h- [  t2 f. G# v7 o8 r2 j, `
[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
, @6 L$ W9 g' Y+ o$ {% bCannot mmap = 0 buffer
& a$ C0 {" v. v; a' h) ^VIDIOC_STREAMON& T1 E$ O  s" M+ o# l4 R/ a5 @% \
: Input/output error
  [/ a, y$ [$ L[ERROR|start@capturer.cpp,27] fail to start capture
  N( o# r) N( V, j2 m& iQThread::start: Thread creation error: Resource temporarily unavailable
, Z" z6 e4 I3 n. g3 @( N8 B[DEBUG|start@playbacker.cpp,25] it's about to start playback
3 c& u# h- S/ M( ?$ P2 u% ^
回复 支持 反对

使用道具 举报

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- i( M6 A9 _, k  k( H
             total       used       free     shared    buffers     cached  e) x) w& E0 @
Mem:         26548      19728       6820          0          0       2884
# P$ T6 |. C& W0 d3 l-/+ buffers/cache:      16844       97043 W$ _" c0 I7 q: X/ _8 S7 r
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, 2025-11-30 19:04 , Processed in 0.050793 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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