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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

face_detect双核通信

[复制链接]

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
跳转到指定楼层
楼主
发表于 2015-11-2 15:59:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@tl:/face_detect/run# ./run.sh
2 G0 V6 k( u$ A" a$ v4 F7 X/ W; P" I- r5 Y
+ MODULE_NAME=syslink
$ D8 K! M" F0 \: G1 _' P7 T2 M/ D6 r+ lsmod
, i* N. [" [+ B* z6 g+ grep syslink( k) H1 k; a5 G) \0 J' {& P
+ '[' 0 -ne 0 ']'. l' `, ^3 ^/ Q) Q" T: {
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674! T( g' ]+ E9 \. J6 R. S
Attached to slave procId 0.  L; p2 m$ Y& P! e+ f: j
Loading procId 0.
2 R! \7 m9 g% S7 l" eLoaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0." F3 V7 `5 M' R$ x$ {! F) E' W
Started slave procId 0.
6 N, Y5 Z& a5 E5 [6 W# X2 q+ ../host/host_app -qws
0 O# I6 M+ R( A# _[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
3 j" P8 Q+ A. Q& `[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
+ T, |  P9 M/ z+ q! B[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
/ t8 U; n$ }# R/ w) U5 `6 m/ M[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync6 m' L' U- _6 b$ M
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync4 `2 ?, {& r* u# g1 j7 D3 N& }$ p. }
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
' p9 a' x& h/ f  L6 a[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync% F1 V& y' {; R
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync- t( Y- A0 p: V" }9 h5 J0 v& }
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync+ U6 U' w: a: J# r: ]: H
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync' Y7 F+ c, B" L" Q4 B7 T
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
- k3 ^+ M% S& C[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync& c& Z4 d( z7 f' P7 T
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync' y6 R$ ~4 D. I
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
5 b; @$ D/ K( j  _5 H3 c[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
% h' ~: `- }% [1 F0 t% ][TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync/ v& B; x; o' ^/ S9 s! b
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 19 |/ z# a+ c2 |/ t' U* p
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready# V3 }9 p1 o  g* X0 L* w' E- l! [
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready6 h; A3 U# b9 ]9 M6 z; _) ?9 ]
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready$ Q: `! V+ y0 s; E
Camera-Camera
% {' k% k9 b5 @& z! W" _  i0 Z[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
9 C+ x- w! P5 }[   76.377606] Backtrace:
  A% x) Q* D  r% v2 n[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)* R' @! R4 c# h, f  [+ z
[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
4 d9 n' m' u9 x[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c), d: J7 y* f$ h8 w  M' R% v' ?
[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)9 H2 B  g! ?$ W8 q
[   76.425768]  r3:00000000 r2:000000006 l9 ^: e6 u  f$ k  n
[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
" [  `3 g9 ~8 S  R[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
1 N" v% f! K2 |) p[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)1 F; l1 ^* y  F; ]: u6 [3 {" S+ V
[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
5 f# g) O# J0 b0 b# @" r2 T  E3 H[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
9 Z+ X" r  J! E4 I6 ?  A[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)0 l. l0 l% r  a- y
[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b00
% d" \$ \$ R; G, b: Z[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)3 R3 K/ z2 d, _: F$ N+ h
[   76.507848]  r5:c12d1b00 r4:c1bdec007 b! Q  E4 C  D* L
[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
) {' L0 F4 v& `0 [[   76.521828]  r5:c1bffe00 r4:c1113380
" u( L- S; b- q9 u( o# c, j[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)' u. Y; k6 T9 _# L% R
[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000
! ]4 d( l" N9 w* D8 [5 z[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324); D% S6 f# C# |$ a6 f
[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)" |; r% J3 F" G4 C4 m+ @* j
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
1 y. Q% t; f, Q7 `# s" s) S[   76.574327] Mem-info:7 Z3 o& j5 m1 s# H9 ]3 F- |1 ~
[   76.576657] DMA per-cpu:
# j, _& e: r% O' |* p. i$ J; _+ ?[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0
5 b/ p, ?1 O5 T& f. Y3 ]. V0 }[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
7 `( M% n) S4 g4 z" k[   76.587198]  active_file:867 inactive_file:896 isolated_file:0* o3 W5 B+ }/ g* y! Y
[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0
' d2 O; j# d& ^: A. e[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789
  U" D8 G0 I" z$ C/ Z( Y[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0! e* u* w& d" K% \4 g# v6 m
[   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
; S# R  |5 o: f, M[   76.661444] lowmem_reserve[]: 0 0 0( Q& ?! a5 V4 W& ~
[   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
/ Y; h/ _8 w4 h& D& I[   76.677034] 1884 total pagecache pages; r1 p6 Y7 h& i* l: N& a2 z) p
[   76.680817] 0 pages in swap cache
1 M1 |7 }# p0 ?; l9 G7 J[   76.687285] Swap cache stats: add 0, delete 0, find 0/0. M5 W" X4 I2 ^9 C* w! S4 l
[   76.693996] Free swap  = 0kB
1 ^" k! y  h* {$ `2 \+ G[   76.696926] Total swap = 0kB) |3 A( l) u4 x' v' e
[   76.701578] 8192 pages of RAM, Y2 u' n$ P1 I9 F+ y6 x. M/ d, l
[   76.707668] 405 free pages
- z- p4 I7 ~/ B[   76.710418] 1555 reserved pages. f! O9 x" M! c6 A& h1 p
[   76.715882] 838 slab pages+ O* j  _0 K6 h9 d) a, D. {( o1 v
[   76.718631] 1851 pages shared
6 P! {& x- y0 N! [[   76.721620] 0 pages swap cached) \2 |7 k1 h5 |$ d1 I8 T( @$ ?
[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
3 N. Z% b8 E7 G% G3 g2 c9 W- gCannot mmap = 0 buffer
8 Q- z3 r& n* s3 r/ g. L7 ^0 F( J, lVIDIOC_STREAMON
$ _8 u  y- M% d& |$ v5 s$ X9 h! @: Input/output error
, e, V; B: _; I! g$ V: X[ERROR|start@capturer.cpp,27] fail to start capture
* K: ^. D, K0 Q) @6 |7 u" TQThread::start: Thread creation error: Resource temporarily unavailable
( ^, _: p3 s4 W2 }$ S[DEBUG|start@playbacker.cpp,25] it's about to start playback. E0 `' G* p3 }8 }" \$ W
+ O6 R  ]1 l7 E& V0 _. X
用led双核可以,这个demo就不行了,怎么解决啊( _' j3 P7 F% d
0 H1 d# e  ]" c) n$ D; ^( {+ R
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
沙发
发表于 2015-11-3 09:14:02 | 只看该作者
需要配置vpif的缓存;) a. b! m/ h' {+ b; J$ s$ w
1.vpif capture模式选择,vpif_capture_format值:, W. e0 s) N8 p' T3 q) R5 d1 H( Q
HDTV:预留! ~, x- D4 D% |$ E, f
SDTV: TL5147
7 g+ B6 {  X5 _. yRAW:TL2640" I+ P2 _5 T, J* o& @
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)
& y' r: M3 y# ~) U4 ?9 M3 [  Qvpif_capture.ch0_bufsize=614400
3 b  {5 ]6 M$ a* n7 k$ V/ O$ H# I例如:
$ G2 v+ Q9 s+ G+ N, m4 RU-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400
# x& w* `, A4 v/ d& G( g9 R. b说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。
$ E3 B* ^0 u( U1 X! ?2 p 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=TL070A3 k- H+ x7 _: `) b+ p( |# [- H; K
emac-mode=mii
! ]6 g8 F# n9 e+ ~/ U3 Rethact=DaVinci-EMAC9 R* x5 n2 \% c8 d
ethaddr=16:01:c0:17:45:e5
' z. l# B; P/ H6 |7 _/ Lhwconfig=dsp:wake=yes
. V8 [* U9 H& c0 Q7 K2 P- eipaddr=10.3.2.99
8 B$ w. y  w  {" X# Qloadaddr=0xc07000005 \+ N7 {  J! k8 S# h- l
loadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}' \- m, i+ B4 |: Q. r0 B, v( q3 R$ \0 T
loadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
+ c, u) H2 X5 A( T8 `  N+ Bmem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
* V" P, F. B) Z7 _mmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
8 y0 s: ]3 g; W1 m/ S( pmmcboot=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;4 b) w7 O8 O, W  h2 x* R
mmcdev=08 f  T  S- N! [: S& C% ]- v
mmcroot=/dev/mmcblk0p2 rw
4 ~6 ], \) X/ ?0 wmmcrootfstype=ext3 rootwait
% h2 l' T' y. P' L; Vmtddevname=env
& y; N9 S- _* [! A- e- O: lmtddevnum=00 T+ {8 ]! `2 z- U7 V3 T3 I1 H& m
mtdids=nand0=davinci_nand.02 D! X# {) T) R
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)" W) H. ~  a) i" {3 u. e
nandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
2 P/ R" R6 t: I1 e" `5 I) ]! Gnandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;5 G2 N- {: S3 L7 d" O" i
nandbootpart=kernel
/ M, }; `( T& z4 b, ]% \nanddev=05 [* u$ g" y/ Z; _' M, Q/ A
nandroot=ubi0_0 ubi.mtd=4,2048
8 b/ x- H$ P' w, \nandrootfstype=ubifs! g& Y6 M' m7 j
netmask=255.255.255.0
& C& U2 k% Q1 a. H! ], \nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
' |" F! `5 f0 r1 c0 m  E9 {optargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=6144002 d+ P5 s- y3 _$ j" ^* q
partition=nand0,0* I" s! s2 p% _4 M
scraddr=0xc0600000
# ], G7 m+ X; e) c) ]serverip=10.3.2.1753 r3 e2 _0 E3 @. v
spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;5 r4 a+ @' ^: y& n) a6 U
spibootaddr=0x100000
* l3 @/ \1 Y" Q) J3 W+ K; ?1 vspibootsize=0x4000006 Y6 h4 k/ e$ x8 J
spidev=0
  E( c8 ?# T" S5 \( G% Ystderr=serial
# n  I8 I+ Y7 Z' h( Wstdin=serial  t3 }& L- u0 m$ T! v
stdout=serial" |5 w/ p' ~( l9 U. v1 ^5 w: o& S( p
ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
6 D- \" Y- u1 A, j- {- X$ P3 O9 K9 c3 r0 y

7 y, J2 `4 z% `* B6 A+ N. F# J; D% i还是不行4 _1 Z2 i! t* p

1 r. b) i# M+ B) O) k" {/ ?7 W
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
地板
 楼主| 发表于 2015-11-3 10:23:08 | 只看该作者
Started slave procId 0.4 D) v% _( X$ n8 x" y
+ ../host/host_app -qws9 e' M7 E& @4 _
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync( p. g* H1 p- T6 e3 J" n
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
; G0 z8 x) z! a- y  G[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready- W* P8 G5 h1 ^: `/ S- y2 C+ \
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready+ g( [" }2 F0 N' w; Q* v
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready0 n, B* }5 w! N" b
Camera-Camera
& _6 ]+ ~9 g, \7 Q3 y6 H! j; p8 v[   34.616261] host_app: page allocation failure: order:10, mode:0xd01 S- N2 G( s2 F6 }
[   34.627157] Backtrace: & ~4 Y, E- M! r1 v
[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
1 E4 z8 m2 |* x: v[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
+ ~8 P+ i4 s/ f. \7 y7 v, c- C[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)3 m" B% ]4 l0 t- D
[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)( e# l% K3 v; Y
[   34.681238]  r3:00000000 r2:000000007 Z' \  E+ J, g$ b
[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:000000000 |7 t8 C3 Z9 j; h) \# Y! B
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc). i( G% N8 `5 m$ t# l& W
[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
) v1 n6 P7 X) K5 ~4 N0 \) m[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188): ?& R% Y/ D* ^7 f
[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764, P: i6 T0 R/ k2 }  P
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
6 E5 M# N$ c$ f[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
8 O$ `1 s( U% U9 C+ C$ Q1 h[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
. f$ [+ f; f* Q# _2 Q" t$ s[   34.763159]  r5:c12bd688 r4:c1bdec00
0 V1 m! ]: Q7 Q1 K# |[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)( S. F- k8 E3 L" S
[   34.777146]  r5:c1bffe00 r4:c1371280
2 j# Q* W$ f6 q[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
0 m" L( C2 r" a[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:000000009 q' c: v- c# b" H, }) O
[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
" d0 j& I3 I) G( ]2 ?[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0), V3 h6 w6 A% K. g" w
[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
2 |+ d7 B9 D, C6 k* C5 ~5 j, k+ t[   34.842578] Mem-info:" J; w) w# F: H1 R* f* U; _+ M
[   34.844908] DMA per-cpu:
4 y# K$ x5 r, O[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0
  |6 a& Q5 R/ D0 J, D+ G) w[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0) y# \. i6 S( `5 j. a
[   34.852388]  active_file:718 inactive_file:601 isolated_file:0' H2 _- W, G2 S
[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:01 J: a6 H: t; d) }8 b: W
[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815+ u/ p$ n# B+ g+ L
[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0
# C& ~4 a. ?2 F[   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- o, [3 G9 s- ~  w
[   35.023590] lowmem_reserve[]: 0 0 0
3 |$ b7 V: m1 }6 r0 q3 R6 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
; Y% ^0 }9 D2 i2 n[   35.054676] 214 total pagecache pages
2 p2 B* l! U# P[   35.058399] 0 pages in swap cache
' B* e  J& K- ~% q! g[   35.061743] Swap cache stats: add 0, delete 0, find 0/0* Y1 r5 E: h2 w
[   35.081983] Free swap  = 0kB0 {4 f; J) b! t
[   35.085058] Total swap = 0kB4 f: K3 w) M3 w4 O
[   35.089678] 8192 pages of RAM' ~# k+ \% k7 y! U) A
[   35.103088] 2019 free pages
+ b( y; [/ F5 ]" w0 U: I6 l& e3 |[   35.105926] 1555 reserved pages: b' o9 j! q$ T2 g; p9 o& v' a6 u! P
[   35.109090] 869 slab pages4 L$ w5 y* N3 N2 z8 X( K
[   35.111813] 161 pages shared! M, W& F( B7 x1 F6 G1 ]- b! X2 g4 o2 {
[   35.132854] 0 pages swap cached
- s# D. `3 |5 q* P8 z- W[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed0 b/ r# W7 W; Z
Cannot mmap = 0 buffer1 l: r* H6 V8 h$ I
VIDIOC_STREAMON, i$ E$ A2 v/ R) f5 v; h# r
: Input/output error0 k0 W/ o, N7 [8 y5 R
[ERROR|start@capturer.cpp,27] fail to start capture
! T. v. b& u" O& S  ^; ?. k2 a/ CQThread::start: Thread creation error: Resource temporarily unavailable4 ?/ w3 T& s* z! V" P- P; A
[DEBUG|start@playbacker.cpp,25] it's about to start playback
8 d) q' O  C6 {) A! v
回复 支持 反对

使用道具 举报

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/ t. D2 I( Y9 [% ]( B( k
             total       used       free     shared    buffers     cached! x$ F: |4 S7 g7 g4 x
Mem:         26548      19728       6820          0          0       2884
7 r; ?9 a) L5 s+ L+ _+ D  H$ @-/+ buffers/cache:      16844       9704
; {0 ^# h) _( w9 v3 m: |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-17 06:21 , Processed in 0.049730 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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