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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

face_detect双核通信

[复制链接]

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
跳转到指定楼层
楼主
发表于 2015-11-2 15:59:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@tl:/face_detect/run# ./run.sh
& }' r" P9 _; Y2 N9 F  s4 @, _# g5 w, F6 m6 V; f
+ MODULE_NAME=syslink6 h, ?$ k+ Z- S0 Y% T; d: r
+ lsmod# C3 j: O3 i' ~- o& {' P% X
+ grep syslink
) D, g9 n6 L9 i+ '[' 0 -ne 0 ']'  h6 U6 A; w% D9 j% H6 [( e# O0 M
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674. n. q3 F* e5 r8 S
Attached to slave procId 0.; V. w+ w: x/ g1 m' h+ R1 p+ L
Loading procId 0.% T( A0 T) Z) K# h. ?/ D- h
Loaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.
$ ]& N* @$ A' C# s& uStarted slave procId 0.. T% \$ k) Y& M, a/ F2 J
+ ../host/host_app -qws
0 c- W- R! ~* C; w/ Z$ F[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
& t1 e' d* m" v- A& w* k9 z7 `[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
- Q' I* y" Y2 p0 ?$ K7 l[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync- b; Y0 K8 [0 ?) b
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
1 x/ K5 U4 x. h4 Z; N1 k[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
7 p+ u# b0 n: f! @% J* m& _[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync$ W. A- x- }: J) |' L  @' ]( t
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync# T: _% X- O$ X  V3 z' Q& w
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
" H1 ?- a9 C6 x8 X" s) l[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
1 F# |3 X" `8 [- a- g[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
  h% l1 a3 g  B& F[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
' u( p; o' ]) C* T# N2 g6 J[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync' T: c0 n! d* P! r' R% W: ~
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
# \" s2 w* ~& T# d[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync( P. o, z2 y( o+ J& ?
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync( ]2 f& B) t: U% W5 v
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
, _' d1 A) F/ ^  h9 l/ C[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1' Y" W+ o2 C2 v/ G2 [: B3 I4 G
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready# ^2 p7 Q# \3 p5 h6 a- j
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready: G' o0 _: f7 z$ A( V' x
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready$ D8 v& Z: x2 W" \
Camera-Camera
2 B; S. D$ I9 x' p) }' C, @7 z[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
% M! Q4 X  d- C+ G[   76.377606] Backtrace: * x1 ?5 V8 \1 t7 e& e4 b* t( _0 }4 @
[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
# ?2 ]! v* Y& z1 x& x% U[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:000000013 X+ {2 F; l- B5 l2 _
[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)2 N- i2 X' n& o8 q6 H! Y
[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
% z( E9 h7 G* Y6 G0 E9 z9 |3 g. [[   76.425768]  r3:00000000 r2:00000000/ n1 M. [- o/ @7 B; g1 J
[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
0 u6 b& d7 X# `% F# D[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)  c( c; }! W9 C
[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
2 b! X2 m$ t. c; ?) G6 J[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)' d) C* }6 x, j: j5 Y$ Z
[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be41 ?+ O, f, @% L0 r
[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)9 s# W/ z* u6 I  y% x$ E& @: O
[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b001 S+ C" _" Z0 X8 Y! Z0 j; f
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
0 i1 f0 L! U. l3 C[   76.507848]  r5:c12d1b00 r4:c1bdec00" X. A& v8 T8 D; d
[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
/ ?1 P/ r# R1 b0 Q% |0 t; z1 W5 f[   76.521828]  r5:c1bffe00 r4:c1113380: V) k; E) Y9 J3 _- g7 g. G
[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
) \2 K/ |7 e: j2 L[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:000000006 A0 u: p/ G0 f7 V' w
[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)! I) E5 V- Z2 n% k  Z& t1 W' }/ w
[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)% m: ^( G+ ^& C/ X* P+ z) `
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
' c+ V$ |6 X. y[   76.574327] Mem-info:
/ m# h- G5 n. X8 L3 E; s! G( Z( k[   76.576657] DMA per-cpu:
6 w4 V5 ]' G" ~[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0% Z/ N; C) M/ G
[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
0 N5 A: ], i% U) @$ W- k4 t6 y0 ^[   76.587198]  active_file:867 inactive_file:896 isolated_file:0% o0 p" k) Y2 {, \, b$ U" m) I4 @
[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0" {6 S! I& P4 Z6 }' {" H
[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789: j+ |; C7 k: o) R4 X" V
[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0
4 `/ T& }9 O8 ^9 \[   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
5 @. B7 Q' x" \/ D  Z5 m3 f' ][   76.661444] lowmem_reserve[]: 0 0 0
/ D$ h* j: b( k" _! a# X! r6 L4 X[   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
) p% S5 u! L9 x; ][   76.677034] 1884 total pagecache pages$ r/ t4 @0 }* K' m9 V5 ^, V4 ~- v5 D5 B1 A
[   76.680817] 0 pages in swap cache
& D% U& O& K* {0 _* c: U[   76.687285] Swap cache stats: add 0, delete 0, find 0/09 g+ s: U7 g, V0 W- O% e
[   76.693996] Free swap  = 0kB
+ r; i. r9 r" E) L1 \1 W8 e[   76.696926] Total swap = 0kB" q" s2 Q& M5 h! P) w! h
[   76.701578] 8192 pages of RAM
9 ?( f- ^, ?+ ~! m- q5 q  g[   76.707668] 405 free pages* N6 u; S) h4 b0 z1 R6 @3 }" K
[   76.710418] 1555 reserved pages
# w7 y" \  U4 F! l- o[   76.715882] 838 slab pages
; C. {- ^) b& U# D: `1 P[   76.718631] 1851 pages shared
' i6 H" C3 u  `# R8 e2 f8 U[   76.721620] 0 pages swap cached
7 o7 T' Z6 c' H$ |: v[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
' S( A! u1 `1 f; dCannot mmap = 0 buffer
/ N# v  l! _" xVIDIOC_STREAMON
6 S- T8 D8 T! z: Input/output error
. m9 O' t* t3 B[ERROR|start@capturer.cpp,27] fail to start capture
% Y6 X7 Y9 l$ l6 GQThread::start: Thread creation error: Resource temporarily unavailable
" }9 V" A( |2 D) A/ ?, l[DEBUG|start@playbacker.cpp,25] it's about to start playback4 N( M) r, T9 F- b9 V
% [3 y1 V7 n, i
用led双核可以,这个demo就不行了,怎么解决啊8 L4 B$ q3 U2 D  \# u9 T# `2 E" t

6 S7 Z/ ~. A, o7 l. ]1 R: |
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
沙发
发表于 2015-11-3 09:14:02 | 只看该作者
需要配置vpif的缓存;" Q! s" w0 y4 `( K
1.vpif capture模式选择,vpif_capture_format值:
8 r: \+ b2 J( c# {/ _: tHDTV:预留
5 |( B9 v/ K( cSDTV: TL5147" N7 `! M7 B! j/ T
RAW:TL2640! u6 U( \/ J7 y0 r
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)0 i. A) J3 A& o5 n4 W6 I( w
vpif_capture.ch0_bufsize=614400
9 G, d. |7 E6 q0 B8 `例如:% l& F4 Y( h0 |* p& [$ W
U-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400
0 J6 i3 c& I2 B: I# r说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。) p+ N- E, M' A: w
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 U5 o) ?3 H4 h( K$ K
emac-mode=mii2 G  h* h- m5 W8 l; Q9 D% _
ethact=DaVinci-EMAC- j! h( y; j5 }3 X5 ^) x: F) }
ethaddr=16:01:c0:17:45:e5
' K3 S) l0 T* ?& k/ B0 Zhwconfig=dsp:wake=yes
/ @2 O; E, {- D3 X! _; `* ^ipaddr=10.3.2.99
3 {4 b5 [" ]( N8 D; F" R) Floadaddr=0xc0700000
$ J' p) D7 n2 Z% J6 i4 f, Aloadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}
# j$ ]& Q# H- m% Xloadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
$ T# K& ]; c% L+ G8 amem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
8 v/ a2 W4 f: z# d9 I# D5 Rmmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
+ o" A0 u. J, t* U* Zmmcboot=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;' L: M, I- \' ]: j0 u7 \
mmcdev=0
' |: o% g" t! O7 g1 q" N; emmcroot=/dev/mmcblk0p2 rw( v; g9 \2 h& C) z7 B
mmcrootfstype=ext3 rootwait+ j& r* \! @* v5 P  M
mtddevname=env
. E1 b1 Q$ r5 y3 q3 N7 Cmtddevnum=0
& U' X3 l6 A/ I* s7 G' G( _mtdids=nand0=davinci_nand.07 n3 K# C$ t! m
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
- {) D+ Q' G0 T6 B' b, o" S$ Qnandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}- E# H, ^( v- d  f6 ^7 J% z5 s% \
nandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
3 }9 A- A8 j- G* c4 ?nandbootpart=kernel8 V$ u. s6 |+ E9 l; \6 Z7 `: v2 D
nanddev=0# t' Y( j6 M6 S
nandroot=ubi0_0 ubi.mtd=4,2048
9 \) n. ~5 P  G  R' cnandrootfstype=ubifs
$ ^' A. z" _: O, ]/ ?& ?  K1 tnetmask=255.255.255.0
1 s9 |8 C/ ~* \: T1 \nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
3 R8 l2 x6 I6 @" ?optargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=6144005 j4 l0 B$ r5 q4 a/ b, T: L% z5 ]; t
partition=nand0,0
  N; Q0 k( K7 a% r1 T9 W; F1 fscraddr=0xc0600000# ~4 C% ~3 F& E+ j( C; j
serverip=10.3.2.175
8 S' ?0 q, j5 i$ Hspiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;- r( i8 B' U6 y
spibootaddr=0x1000006 G* N! e. m% t. {  I
spibootsize=0x400000, Z* m. o% \/ \) R) O5 K
spidev=0
# X1 h; h) J3 y9 T2 ^6 c6 Ustderr=serial6 X% g& m9 |# }7 @/ i1 K, h2 k' g
stdin=serial
" C8 X/ c2 c8 h* _stdout=serial
: q- g1 _# S+ R! Y, ?, `: over=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
3 g- b6 @' p" g; _  E
! S8 n, G# G% p; B% H1 _; m1 s$ c6 a  W6 I0 e
还是不行
" J& @, P# E; u- ~7 \8 e7 V: w# Q
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
地板
 楼主| 发表于 2015-11-3 10:23:08 | 只看该作者
Started slave procId 0.
% z& K3 ?0 _- m& g# o8 d+ ../host/host_app -qws
( g  n0 R& M, |+ {9 [  m4 X[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync6 E6 A. ]: h% c) |
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 14 d; q: `/ {; G& D0 H% `7 p
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready6 p# o& i4 a/ H  B
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
2 d. S+ b9 I; a% B3 L4 _$ p5 d[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready4 R) v6 P9 c0 O6 t* a2 X9 g4 j
Camera-Camera
( o, a  {& n% x4 ?+ B, ?[   34.616261] host_app: page allocation failure: order:10, mode:0xd0
  y7 q# `9 [. _, A- H5 N[   34.627157] Backtrace:   r! x" N! N- k" N2 r. I2 ]
[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)% J8 i+ b* E3 n3 t/ t* I
[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001- Z1 F: I5 [( U) Q
[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
  `+ F2 j3 ?1 ]9 m( P% z1 j$ `[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)7 C0 D2 l. O( P) B
[   34.681238]  r3:00000000 r2:00000000, n, x+ X& a7 U8 w; Z+ `% V
[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000! u" A% R- g7 B; \& I# w+ T% B
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
  C1 K4 U2 r& \2 @[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
- h* ^; J, z  U+ T3 z  G1 C/ ][   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
' O. |) E, z  k3 a5 S[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764; t% k4 y: B" Z) X9 i! J
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)9 l! G/ [9 I5 X
[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
# m+ ?7 k  T. Y* @) r4 d$ X  K[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)( U% T  F3 d) R8 C; o
[   34.763159]  r5:c12bd688 r4:c1bdec000 k; `- k4 p* E) [/ U3 Y
[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)" Y/ d- |6 r6 {$ M: }" h$ |& I8 x
[   34.777146]  r5:c1bffe00 r4:c1371280
; c) f5 U& S: e# ?" @- a0 I. U6 s[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
  l% `; i5 h2 e[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000* \9 Q1 e; Z8 ]- Z
[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
2 K0 ~4 x2 E: \! b( Z- _; z[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
, g$ t5 {$ ^$ n9 T/ q) H[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)) D! X% @% ]4 J, A3 W  I, s
[   34.842578] Mem-info:7 s7 h) g5 J8 U  `5 M4 \9 q
[   34.844908] DMA per-cpu:9 Z5 a4 |% \& t3 H! m7 r
[   34.847474] CPU    0: hi:    0, btch:   1 usd:   01 m) ?. \5 E* f9 g. Z$ k# m. Y
[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:07 ?. Z( f) o: Y7 S4 S
[   34.852388]  active_file:718 inactive_file:601 isolated_file:0- o* R- K( Y! g% T) A
[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:09 M1 N# ?) [! C9 ?+ y: H; @# _
[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815
* d6 a6 \% {) x+ n7 m* [! k[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0
  }; a) \7 V1 o  i2 [' a[   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& a( o, A2 q$ A$ U7 I2 M
[   35.023590] lowmem_reserve[]: 0 0 05 _. I0 Y+ e9 S* t4 ~5 t7 A! [
[   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
2 w+ h* ~# x' G1 o; C) ][   35.054676] 214 total pagecache pages* ]4 e9 N0 e1 z+ E6 `' W5 e6 f
[   35.058399] 0 pages in swap cache
3 m, ^# I5 j+ c, B. G) Y( X# }[   35.061743] Swap cache stats: add 0, delete 0, find 0/0
0 c/ @  |! K# m9 D9 l6 e[   35.081983] Free swap  = 0kB
5 U/ x. e* ]/ G3 l1 o% i[   35.085058] Total swap = 0kB
. O. y1 E1 L6 e& f1 y[   35.089678] 8192 pages of RAM
+ t" C% I0 _. h1 ^, c[   35.103088] 2019 free pages
$ L' G0 v3 @& i* m( l- B' @  [5 y3 u$ D[   35.105926] 1555 reserved pages
1 x9 s7 ?% e* w[   35.109090] 869 slab pages& `. a5 L2 Y  X. Z9 {  Q6 P
[   35.111813] 161 pages shared  Z; |( X$ v) R0 }0 t, m
[   35.132854] 0 pages swap cached9 G) E& ?6 a% o% o& ~' |% Z
[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed8 s4 C. Z# a6 O, _- s1 {. M
Cannot mmap = 0 buffer
: {/ v3 _% O" lVIDIOC_STREAMON4 ^9 w+ u: E: H! ]3 V- s. z( }9 E
: Input/output error3 m9 P& {! C6 q0 }' r. x5 C
[ERROR|start@capturer.cpp,27] fail to start capture
6 t) b2 r  D( ?2 c+ h5 g% eQThread::start: Thread creation error: Resource temporarily unavailable" q- C, v+ e1 ?3 V6 `
[DEBUG|start@playbacker.cpp,25] it's about to start playback
  s. v) a, n$ O" t# ]1 _
回复 支持 反对

使用道具 举报

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# free9 N" H7 a! z5 {0 N
             total       used       free     shared    buffers     cached
' F% T# G9 u& v7 q9 ]( ZMem:         26548      19728       6820          0          0       28845 J7 Z3 `( g6 C
-/+ buffers/cache:      16844       9704  l; D$ X# D0 m: C$ ]
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:01 , Processed in 0.045675 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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