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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

face_detect双核通信

[复制链接]

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
跳转到指定楼层
楼主
发表于 2015-11-2 15:59:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@tl:/face_detect/run# ./run.sh
1 b6 K8 U; A2 L$ Q* |7 j/ P' d8 I
+ MODULE_NAME=syslink
# ]/ l  J0 F7 j8 r% P  \+ lsmod1 v4 J" R) e2 {# e* Z
+ grep syslink( g6 \1 W6 D, i7 u* ?8 _8 t; N
+ '[' 0 -ne 0 ']'8 q) x3 {8 J: p1 y. i) o9 Q
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674
% [" ?% I9 M2 I( ~  J/ V% @( KAttached to slave procId 0.  o3 ]! s5 A4 u! [- Z8 e
Loading procId 0.8 h1 Q+ r* y* \0 o/ Y& M9 m/ b
Loaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.% [! J+ r: l7 \- k
Started slave procId 0.+ w; q+ w% u& c+ Y  \
+ ../host/host_app -qws
: t; R6 V. L! V( V! y3 d[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync9 o6 ^! H9 S* C* z$ j7 L9 j
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync8 G1 f. \( \3 P' t, O9 u; y) g
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync+ a" F" g5 F! ?' T
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
' n* F; M' `6 P) s[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
9 E$ B2 t6 ?( A; E% _9 N[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync( [# d* s2 t: H5 X' ?! }
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
1 h* P7 x% d* d" d, Q' Z[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
. f. C5 g9 l) X' {. L' s5 \. L[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
/ k$ V- T% ?# O3 u[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
: |0 |) W6 D- j: i3 ?[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
% P. E+ f2 @6 c+ B[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
9 k' Y0 n" R# U8 b& m1 T1 ]% F[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync7 y" d* v, S% _
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync$ S. d9 f5 C: o5 F: p7 G
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync0 w" P6 h) z1 S4 o
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync6 j  M# [; A5 c9 T
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
; X! J9 Z5 V7 c3 z, q# ?[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
) _# [* W! T( R9 K[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
# t1 Y' M: w( d& O' j. T) h) s5 f[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
' X' N1 _/ O: [Camera-Camera* L0 X$ G" J# c. P" V
[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
8 N) X( ]4 v) I/ ?8 B[   76.377606] Backtrace: + A1 T$ {3 \8 }; ^: \
[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
. v4 e% d, l% Y$ e[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001) j  \$ y7 j1 H( s" I
[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)* E- O) V- a: E
[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
! o6 y, a$ d1 a9 m2 l[   76.425768]  r3:00000000 r2:00000000) P8 ]0 S& \- V* [2 O- p
[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
9 I2 ?$ P1 E! Q, W8 f[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
1 K1 L$ m7 L2 {3 {/ E( s$ E[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
" l, I3 M% K7 g  V" X2 _[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)1 X; Z1 V2 J2 E; j+ L: @
[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4! V& f7 H* H# t+ s* m
[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
4 H& P" e+ [9 b[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b00+ o' y6 |1 o) L# d0 E- G. g8 G
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
* q/ ]& M6 r" B+ G# c, V[   76.507848]  r5:c12d1b00 r4:c1bdec00
# z- g* [2 c( F. c5 c1 ?[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
5 z# {. V& Q; p+ J+ n[   76.521828]  r5:c1bffe00 r4:c1113380( [, L3 C! {' f+ Y
[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
9 p" A! K$ B8 p; y( B: {8 o[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000
& l/ o3 F% k' K) n) Q8 ^+ K[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
6 ~9 @$ ^; C9 [[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
' h7 N0 Q  ~, w- X! t- i! T[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
/ o/ i9 l: }/ i, E; _! u[   76.574327] Mem-info:
- ^. U" _  Q0 T! }) M1 E0 r[   76.576657] DMA per-cpu:, h( d- [# `: Z- b- @
[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0
; p$ K, e- M/ |[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
! A$ d  N) E* x" y  W/ U  C[   76.587198]  active_file:867 inactive_file:896 isolated_file:0
6 i4 Y* w& x0 T3 c: w[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0
- ^6 G' G$ A; s" W[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789
2 W( e) V. |/ z/ [  r) J2 J5 ?7 m[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0
+ T* \: j& }- ~1 ?0 J+ t[   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# X2 K0 h4 b( ?5 c  @. _
[   76.661444] lowmem_reserve[]: 0 0 01 D) j" Z- |: H: V
[   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
/ b# D- i# @; e  z[   76.677034] 1884 total pagecache pages
7 N) j6 |- [, D% G! x& {6 A3 K[   76.680817] 0 pages in swap cache( X3 A0 H/ B2 t+ A: O
[   76.687285] Swap cache stats: add 0, delete 0, find 0/0
* Q$ }: d) {# x[   76.693996] Free swap  = 0kB8 K) M9 R  C* K  Y
[   76.696926] Total swap = 0kB
+ `$ s- J! U- b4 G[   76.701578] 8192 pages of RAM4 t/ w7 d) ~6 G2 m( W# J
[   76.707668] 405 free pages. q( f* b3 p9 e1 u
[   76.710418] 1555 reserved pages, f+ }* @3 F  W* }/ Z2 r  G6 k
[   76.715882] 838 slab pages
3 V: F$ B6 D9 k) E3 R[   76.718631] 1851 pages shared& v2 |1 a$ ?+ z3 Z3 ?+ K
[   76.721620] 0 pages swap cached. p3 S0 q3 q4 I/ f4 O
[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
6 u1 ]1 M5 U! q0 _) ~' R( ICannot mmap = 0 buffer$ _. s  L  w/ n0 w
VIDIOC_STREAMON
! z6 K: x0 H8 b: Input/output error! Y4 y+ }6 n$ [' `, r
[ERROR|start@capturer.cpp,27] fail to start capture
, y1 o. v) k: V2 a+ F3 aQThread::start: Thread creation error: Resource temporarily unavailable
) `. [& b1 R/ h0 F1 `6 z- {6 E[DEBUG|start@playbacker.cpp,25] it's about to start playback
/ N, Z, \& h+ X( }/ h' t6 H- y# c0 e4 X3 S
用led双核可以,这个demo就不行了,怎么解决啊
& ~# k8 b$ l2 z! p7 E* ^3 _8 X
' i1 P+ [9 U8 A2 m8 S
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
沙发
发表于 2015-11-3 09:14:02 | 只看该作者
需要配置vpif的缓存;: D$ _7 e% ]6 v. w) f0 Z0 I
1.vpif capture模式选择,vpif_capture_format值:" @* m* a: o& t% f. q
HDTV:预留% x6 X5 d9 E8 G/ {2 i0 G8 D
SDTV: TL5147
: N3 y/ C1 ^" w6 n6 ^! f! mRAW:TL26400 d* m+ m8 I, G4 w
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)
9 k# n# p+ v1 q5 P: {+ ^: ovpif_capture.ch0_bufsize=6144001 M% H& K4 A% w9 @0 M
例如:
) g, }. G% z0 X) bU-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400: L2 M$ Z/ a7 E  j; ?
说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。* ~4 Q/ _8 @. p3 X
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) F* X# C# r+ G. @9 U
emac-mode=mii, B8 l0 F7 f. Y7 }" y6 e* u
ethact=DaVinci-EMAC/ o  U; J2 X; J5 j( j
ethaddr=16:01:c0:17:45:e5" |& V+ m" k) L" N
hwconfig=dsp:wake=yes
) @* _) O; Z+ ?! m" ^& Q- M* f2 z1 cipaddr=10.3.2.99
: O: J/ y+ b& w$ z' [+ }! s; Floadaddr=0xc0700000* M( C3 w+ Q2 I) E9 I
loadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}# |* h6 G7 U2 r% {
loadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
5 L1 m% _+ X9 I+ d1 b9 u8 omem_args=mem=32M@0xc0000000 mem=64M@0xc4000000: F2 f2 F# d; ~/ J- i. ^
mmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
' l/ M* u# E: m! c3 G' _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;
0 Z! ]( b; h, R# N2 cmmcdev=0
! e# D  }  q' d. G4 nmmcroot=/dev/mmcblk0p2 rw
* |9 [  s/ @; \0 bmmcrootfstype=ext3 rootwait
& q, q7 d1 p9 @1 R- nmtddevname=env
+ T: P. f4 V0 s: umtddevnum=0
' I+ n4 G0 Z+ ^- r) ]3 K5 ?. imtdids=nand0=davinci_nand.0
# ?. y0 g' a9 E" B( smtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
% x* B, U5 b6 qnandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
" v" Y/ q6 e# b% M) M$ Vnandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
, U( ^' t8 [: V- ?/ R& @nandbootpart=kernel6 b+ ]1 \6 Y* g) q: d  y- e
nanddev=0
% _# B. F7 n+ A' H' [nandroot=ubi0_0 ubi.mtd=4,2048$ w: ], P5 Y& [. D9 V
nandrootfstype=ubifs
( f( p( n" u3 Rnetmask=255.255.255.0
  g' z, i% J& i! \( e- Bnfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
( @. L6 U1 X$ ]3 noptargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
5 l& D' |/ c* X; ~: x; n% W9 x: Ppartition=nand0,0
" C0 k4 a# r6 M. `2 ]2 U4 Gscraddr=0xc0600000, h; p, ~8 |! c8 k0 q" U
serverip=10.3.2.175
* D- c4 r/ ]9 D+ jspiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
. R& q4 g# i  Y. Uspibootaddr=0x100000
- |" D0 _% D9 P1 d+ [. E: \0 aspibootsize=0x400000
2 n8 E$ |) m4 F4 I2 L. vspidev=0
6 g( U7 ~/ A% i4 l* z) Jstderr=serial$ p( ~* w; e3 b# Q' i
stdin=serial
- |3 |( i" n) T; e/ J  {stdout=serial. u2 \& S; u+ A! ^1 }+ ^
ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
% }) `# S" L, k3 q0 G
+ z2 f6 `8 J/ N- u2 n  l
, @- c8 ~: P( |; {- X还是不行
3 g4 y7 i- p" [* ~$ k9 s' ^! ~! S2 P& Q, `, l
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
地板
 楼主| 发表于 2015-11-3 10:23:08 | 只看该作者
Started slave procId 0.
( j5 h, O; \* p5 w% z! Z+ ../host/host_app -qws! d/ t( I, X6 a' v$ [, I; w; y
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync) _8 j, Q8 o# X& B6 ?2 K" y" f
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 17 N' C0 k6 D; ^6 [
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready% z7 ?( \3 ~7 o+ O2 K. R) U! t
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready7 r  p: l, C( Y6 y1 X4 M0 K$ n! e
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready2 W0 w2 d) Q; j  `5 N6 L/ C
Camera-Camera! d5 U  O( A) T0 C* y
[   34.616261] host_app: page allocation failure: order:10, mode:0xd03 a0 R7 _* u4 \
[   34.627157] Backtrace:
' K5 |. ?! R" D& U# h[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)3 {+ k8 `; T% N8 }0 N* y3 S
[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
3 i( Y9 ]$ D- E9 d; g/ s[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
/ y5 H: Y  z, z1 f% M' B[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
6 ~$ V( P' w8 T$ T6 G" I7 Y[   34.681238]  r3:00000000 r2:000000003 q3 I1 n& v$ s% o2 c# H( ^. @" }0 q( ^
[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000$ O, e' }) d- B6 \$ g
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc). J& j/ E! f/ Z! T
[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
- \* i& m( |3 s  o( u[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
& x1 q3 g' a/ S' _+ S) p3 p1 g2 n' [& f. q[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764# _$ i( x, z6 r$ G. S( e0 P
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
/ e+ n, U4 s' G[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
$ P/ H0 \/ G+ i  X[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
2 \' V, |, {) ]  Z. M[   34.763159]  r5:c12bd688 r4:c1bdec00* k2 V. P, y, n$ I9 D* ?
[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
/ u8 I0 @7 p" c1 r6 n[   34.777146]  r5:c1bffe00 r4:c1371280- {# m1 A2 _$ K5 x! Q
[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)  u5 I8 Z. |, l* L9 q) K
[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000
& b7 b1 H2 Q. U$ _/ D3 T4 d  j[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
* g- K+ C! Y- N6 Z- i0 m[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
4 z6 K9 W) g) j# `; s- Q[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)( y, i8 `. g  M2 j( r
[   34.842578] Mem-info:
  e- C( t9 X* U4 R* D3 ]' z7 x[   34.844908] DMA per-cpu:
! v' r- w9 i6 x[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0
# o  S0 ~2 R! Q2 T$ O! O[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0
8 t: r# }, i( u6 S) `[   34.852388]  active_file:718 inactive_file:601 isolated_file:0- ^4 M) h3 Z# d" c+ x0 z
[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0
$ o3 }5 @4 \5 q% o[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815
2 K, n: O8 [8 D4 k, ][   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0. t; h# b( ?. P: 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? no
8 J9 w1 V$ O+ y' @[   35.023590] lowmem_reserve[]: 0 0 0
' ~4 k8 ?" N5 A9 m! e[   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$ b* G& G; z, p/ P) e
[   35.054676] 214 total pagecache pages
/ `# C0 z# A7 E[   35.058399] 0 pages in swap cache0 r; u; T/ B% D5 T
[   35.061743] Swap cache stats: add 0, delete 0, find 0/0
$ T% ^' G; E* v4 N4 N  v" Q[   35.081983] Free swap  = 0kB: N, t) U) j8 k) r8 |2 s0 q
[   35.085058] Total swap = 0kB7 j  }8 o  e9 E" y
[   35.089678] 8192 pages of RAM
. \* Z( ^8 y& x! a[   35.103088] 2019 free pages
1 W) B" r" s+ `[   35.105926] 1555 reserved pages
! l, G0 j6 d7 J( X' z[   35.109090] 869 slab pages
7 E" W% Y/ Y/ ^1 p  y[   35.111813] 161 pages shared8 h5 R4 D% \( k6 l% ?" C0 F' ]
[   35.132854] 0 pages swap cached
5 G4 E7 j: M: X6 k% P1 s: Z[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
  B2 T( m$ E" L) oCannot mmap = 0 buffer% o5 `4 Y" N( a5 s. ?) J) X& Q
VIDIOC_STREAMON: N4 X& X4 A+ f* }$ Q2 s
: Input/output error$ k0 Y+ c- W+ k# M+ ?
[ERROR|start@capturer.cpp,27] fail to start capture, `6 m# I" F- c) ?) i& o1 i
QThread::start: Thread creation error: Resource temporarily unavailable) y  p1 b" y2 K: w, v- m
[DEBUG|start@playbacker.cpp,25] it's about to start playback/ W5 r. f2 J" k0 O# 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
/ {3 i. y1 O2 O* Q             total       used       free     shared    buffers     cached
* `* n3 N! }3 C  n4 N: g# wMem:         26548      19728       6820          0          0       2884
; H2 ~, Q) w# j+ H2 e* q1 z  q  h-/+ buffers/cache:      16844       9704
9 U! e, T6 Z2 r0 f! m- }' r0 vSwap:            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-10-16 13:52 , Processed in 0.045115 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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