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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

face_detect双核通信

[复制链接]

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
跳转到指定楼层
楼主
发表于 2015-11-2 15:59:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@tl:/face_detect/run# ./run.sh 4 H2 Y6 E* Z% f* I4 I% N$ P5 m
8 A# _7 j5 o  A9 W  d; k' h
+ MODULE_NAME=syslink2 M# L, M' A* `' ]: i( ?
+ lsmod
  m( a* a) r: s1 Q) ?! Y1 I  m8 x; r; n+ grep syslink, d; T5 n* x& i
+ '[' 0 -ne 0 ']'  o# S" \( h0 P1 w
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe6743 Y8 c8 d# H0 j2 T
Attached to slave procId 0.
; j' U" _! m$ e' f, M1 I- B, D2 MLoading procId 0.
3 F9 _4 o) v8 C, W7 F4 E/ l+ K* D% \Loaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.- H# O3 @6 G) B- e- e
Started slave procId 0.. Z+ I: o+ \) ?, J% q- D7 Y
+ ../host/host_app -qws1 R* c- M5 ~4 J: r
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync6 M- H* y+ A/ z2 @/ g
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync$ m1 H( P8 U- K$ }7 i9 D! \
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
8 x" d9 o* F! V8 D. e) U6 ?[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
3 p7 l2 a+ ]- u. g  \2 O[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
% v0 K$ j7 D+ }+ q5 Z4 [[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
0 W2 W" y( x0 w+ j  `$ l[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
! Z) T- [" l" x2 q[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
! L" N, ^3 e, z9 b; \- l4 b6 k[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync; z! n- R6 K* S1 O. o. |
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync4 x4 _" h0 Q0 ~, d4 a& r
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
( I( J9 J; @9 z[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
$ Q4 P" X$ X7 r* P[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
$ `2 P* e' |1 m% m2 W$ @, g7 L; e[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync1 B2 b  G  U4 f& X( @4 C' @
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync! r' \5 {! e: V0 G5 s3 Y& H
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync* M% O( d- @" w9 ~, }( h0 p
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1  g5 r$ c. \! K' n
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
! t! Z5 D% t# s5 ]+ E6 k9 _6 {[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready2 [# U. P' A# j( O7 g
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
% s' x: U& v% x" ~& m2 Y9 r+ V  ]Camera-Camera; L( n% ~: z- j- e7 l* [9 d
[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
! i$ [8 o% v; p# \[   76.377606] Backtrace: * n$ q- H2 _0 w7 e5 Z- E
[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)4 X* }( ~* F$ T" g6 ]1 v% y: P
[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
$ o1 C5 x. y: V& D4 V/ v+ O[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
$ A3 c# x! o% v2 u: G[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)9 y" f6 O6 H! @  [9 X6 R7 d; B" N
[   76.425768]  r3:00000000 r2:00000000
! g1 M, |$ k6 X& \6 z" }2 d[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
* }, o; D. U. C! M& `4 L[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
1 g: p* x: W2 N! B/ Y( P! }[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
  W# t$ Q3 o5 s4 s/ m: h! I[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)$ a, d, l- M, a6 J9 c! b* I
[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
- c( y9 M$ ~" P% [: u1 d$ w[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
9 ?2 F" \* Y  O& o: Y5 U[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b000 [- T9 M5 Q; e( p
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
; u& z$ J" @4 E3 V[   76.507848]  r5:c12d1b00 r4:c1bdec00! f! Q: E# |/ }& y1 N
[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)0 O4 S) h( ~" b& b( @2 c  O8 [
[   76.521828]  r5:c1bffe00 r4:c1113380
/ Q9 Y0 V* K0 u0 D' r' Q6 |[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
8 Z1 ~# Q* C7 m6 F[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000
- ]8 a6 d0 k' d8 P' O+ k; i) g( I" q[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)! M4 `  ?" W' w# P1 H* @* J
[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)$ ?+ `. r* P* I' m1 Z( g0 S) T
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)5 c, @) k$ p- q, V3 C) }$ r* E
[   76.574327] Mem-info:0 F- ^* f6 g+ D% c" a
[   76.576657] DMA per-cpu:, f- {, [! T( Z! ?& d
[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0
  d  t; Z+ ^! S# q) g[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
: V$ u4 G! f7 R6 J2 ~[   76.587198]  active_file:867 inactive_file:896 isolated_file:0
) @, F1 J/ ~6 h/ ]. y! `4 l[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0) P: B# U* R! ?! E
[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789
0 T3 A- U/ w! }; t[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0
0 B3 P3 N4 l9 ^[   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
: k: |$ {; \) j( d8 M; T[   76.661444] lowmem_reserve[]: 0 0 0
5 \+ |+ d: z' ?5 W2 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* \7 G. ~8 [8 g% Y
[   76.677034] 1884 total pagecache pages
. ]$ j/ p+ k2 h/ h( C; K! l0 Z[   76.680817] 0 pages in swap cache& s7 o! S) M. L# {" ^- \" M2 L
[   76.687285] Swap cache stats: add 0, delete 0, find 0/0
, E# O: G' {7 {3 d% `[   76.693996] Free swap  = 0kB
" k. X2 e- r% H# I[   76.696926] Total swap = 0kB
3 a" X, {6 a# N[   76.701578] 8192 pages of RAM
+ e- g- S1 t: r6 Y9 q# q[   76.707668] 405 free pages
* v* I) c7 J! }3 D$ [8 Z1 a: Z3 q[   76.710418] 1555 reserved pages
& |! a1 T# Y  D[   76.715882] 838 slab pages+ R% d/ d- c0 R, {( Z
[   76.718631] 1851 pages shared3 i0 K( W: P6 ^" U* E! U" Q2 y0 P8 p
[   76.721620] 0 pages swap cached
/ I* |7 b! F$ o) t3 o7 o7 x[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed- b, `) y0 p) U; ~+ Q
Cannot mmap = 0 buffer
& n& g8 n( m2 q" E2 MVIDIOC_STREAMON" Y/ G8 J& }" L* S( {; p# }- a% o
: Input/output error
" Y+ @6 i( E* D. }) M) ~# m[ERROR|start@capturer.cpp,27] fail to start capture
* T& ~+ v, L; e8 {7 V9 N7 F4 o9 |/ pQThread::start: Thread creation error: Resource temporarily unavailable: N. B$ R/ A0 W1 E3 }) O; q8 ]! ^% i
[DEBUG|start@playbacker.cpp,25] it's about to start playback% D9 W- |- {4 E& a$ \, g( r2 {0 K6 ?

! f! S2 r" B1 F* T$ h* _1 E- h用led双核可以,这个demo就不行了,怎么解决啊. j' ^) X1 p, o2 r. }0 d
2 U* ~' Y* I- T5 x  q$ L
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
沙发
发表于 2015-11-3 09:14:02 | 只看该作者
需要配置vpif的缓存;
) ?5 Z, W8 V# K) ]1.vpif capture模式选择,vpif_capture_format值:
4 `8 I9 s& Q0 s0 X' _HDTV:预留" S% n" A5 e+ z% m; X
SDTV: TL51475 u) W4 \( ]) S$ S# V
RAW:TL26408 r: U( z$ G+ J9 f1 C5 W
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)5 B& P; y% Z: `1 m
vpif_capture.ch0_bufsize=614400) Q+ f7 I) e( u  c9 z8 ~
例如:9 v* b& V; `, x7 z1 l; {
U-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400, H. ~; H4 s" B. m
说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。7 c( ]; V- o5 W: n8 p- d
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' I+ I# g* k: @: ~
emac-mode=mii
/ j. X) ]8 Y0 V9 kethact=DaVinci-EMAC6 G* ~0 \8 }8 B6 @$ O; I( [6 L& _
ethaddr=16:01:c0:17:45:e5
5 l% _" S7 [( `4 e5 h0 q9 e5 whwconfig=dsp:wake=yes. S* y8 h  T1 k" S* Z
ipaddr=10.3.2.99: v/ m$ i" ^4 K9 ?+ H8 {+ j2 Z
loadaddr=0xc0700000; D# B/ k2 G( A6 F4 q; c: u5 k) \
loadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}
' G) Q+ n: _/ V" G) p& D+ W- _3 bloadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}. {9 g! ]* V: y4 l. v/ h
mem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
" n" Q; d9 ^! {! W7 Z% tmmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
* T) T( V6 N& smmcboot=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, Q) S$ _* y/ l1 {1 K
mmcdev=0
2 r- @( H4 W, ?- bmmcroot=/dev/mmcblk0p2 rw7 L+ q% s/ q2 b" Y6 b* D3 Y
mmcrootfstype=ext3 rootwait. u; [0 M# |# r1 ], @
mtddevname=env
2 `9 z. n; A* u1 X* ^3 qmtddevnum=0
3 p3 E; M! C$ B  F0 Lmtdids=nand0=davinci_nand.0  h2 `1 |' W' ?& a) |
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
; D8 k' p2 c6 @) N1 tnandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}1 v- `! {2 q  |; {0 H  m
nandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
. t2 e0 f7 S. `. ~nandbootpart=kernel. H& X8 v3 D8 A
nanddev=0
% ]0 P) t' I; T8 Cnandroot=ubi0_0 ubi.mtd=4,2048
5 M9 P0 r) _& p7 Bnandrootfstype=ubifs; T% E$ k( B5 h: B' C$ u& ]
netmask=255.255.255.0$ u9 u3 |* h9 @) `4 g
nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
6 q. ?- {1 H2 r: a+ {7 o4 Foptargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
* N. j+ O& ^3 r: @" v5 Fpartition=nand0,0% e2 V& c; D  L2 ~: G9 j
scraddr=0xc0600000* m3 W9 q$ o  x- O* [
serverip=10.3.2.1758 {) X) M4 ~2 f! V$ F
spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
. m7 A$ j6 J7 Zspibootaddr=0x100000
* r0 `" I7 D$ Z' _spibootsize=0x400000
% y/ F6 y/ G" Y  ~3 cspidev=0' L' L3 b0 ?' i8 G
stderr=serial: p1 l' y# {3 [9 m; g  e
stdin=serial
2 d2 Y: H& B1 G; a$ g6 M7 Qstdout=serial2 ~! I1 P* m7 ^
ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
+ V# J5 a. l% r0 f0 h& Y
" \/ o) ]# H- ?4 W9 n, I" ]/ \4 V# K3 y+ x0 [& ^, Z# A% [. Q' E
还是不行- C* Q: Q8 x1 I* g2 G

- v+ y5 p& {+ l+ H  L# K
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
地板
 楼主| 发表于 2015-11-3 10:23:08 | 只看该作者
Started slave procId 0.+ `: M9 O6 i. [7 \
+ ../host/host_app -qws
& _, M4 x  B) f: Y[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
8 M3 M7 m6 N1 O/ [  W[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
! p% B# V0 D0 _, X% C[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready+ m1 b. R8 o% k
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
2 u3 I. I% Z6 c7 a[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready2 r0 T, Y# v- j& Q$ F% T
Camera-Camera
+ M6 H2 }5 y( A) R2 M$ W[   34.616261] host_app: page allocation failure: order:10, mode:0xd0
1 M( t' {; {8 y: g[   34.627157] Backtrace:
( ?. @7 Q4 Q2 S: u[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
4 G( m7 U- x2 W, c0 A; ][   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001- l- N3 w" y& X9 L. B
[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)  e" s( I# G+ R, t  _0 o3 Q3 C
[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
, F( t/ Y! y7 h6 ^' d[   34.681238]  r3:00000000 r2:00000000& Y# ?1 L8 j4 G" h
[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000) }/ w! ~3 R' c6 J) b, L
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc); A9 P2 ?' x% L' x! c
[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)' N9 ]  ]8 U. ~) [
[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)0 A' O# F0 w# H
[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764+ T( P" H/ P* Z6 i. t1 L
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)3 V, g( F. m) ~
[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
/ |5 @7 \: h0 C- j4 ][   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
3 \" X% f, V5 H2 z6 H$ g[   34.763159]  r5:c12bd688 r4:c1bdec00
' R: a- ^: M6 w0 o% \; ^+ e[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
7 D. O0 N0 x) W0 ~0 q[   34.777146]  r5:c1bffe00 r4:c1371280/ E( U# E# L% [) i; O
[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)$ T8 M0 l  l" C3 D
[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000
- R* O! X. ^- h0 [; B) K[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
% O/ f* ^5 i; R; V$ V, u[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)- b9 `! V% s4 a' {3 d8 Q  o. L" I7 D
[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
/ a2 K; u" ~- `, w- N6 D' ?[   34.842578] Mem-info:
# q6 z- a, D6 V2 E[   34.844908] DMA per-cpu:
# k0 l- t" I) s# {+ `: Y2 |' M" a/ a[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0
8 v+ f# g/ c- a8 D$ v# D% Q[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0! J. M: i+ g$ j2 g4 ?" n
[   34.852388]  active_file:718 inactive_file:601 isolated_file:0
" e- k3 ^2 l8 C1 P' X[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0; }5 I* n3 ^* Y) t# c8 g8 E* o/ F
[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815
- G$ u3 V# [; b8 r9 W7 }( K: p[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0
5 M0 K( \# G* K. f5 u: w# B3 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
8 W9 h7 R: W/ y& b, ^[   35.023590] lowmem_reserve[]: 0 0 0  R5 B* n# S* J$ a0 ]
[   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) o7 ^) x6 W. }+ O/ o' U8 [
[   35.054676] 214 total pagecache pages8 q2 R9 _; Y9 M& U3 N' J2 V4 f4 g/ l& W
[   35.058399] 0 pages in swap cache$ O1 W  {# y0 ^; S, `: ]: w
[   35.061743] Swap cache stats: add 0, delete 0, find 0/0/ y. v& H3 z+ N1 X( U, A9 ?
[   35.081983] Free swap  = 0kB. W) ^3 H4 {" J5 j3 e
[   35.085058] Total swap = 0kB
6 K" x- d8 p! U- Y) H' T5 @6 D[   35.089678] 8192 pages of RAM
2 o8 ~9 k- D6 W[   35.103088] 2019 free pages
6 p3 d. N; [' y  Z; b[   35.105926] 1555 reserved pages& O9 Y) r; n; X/ I
[   35.109090] 869 slab pages' \; x" }/ i9 @  q  G
[   35.111813] 161 pages shared( E0 {; B1 k5 o5 k3 M$ t
[   35.132854] 0 pages swap cached
4 r1 |8 p5 a# a* ^: o' L6 H, N[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
; t1 w8 U+ p5 kCannot mmap = 0 buffer1 W% P5 Y% W  H! F
VIDIOC_STREAMON1 A& K' N8 h, z) W$ N
: Input/output error8 s5 Z4 o- _( N
[ERROR|start@capturer.cpp,27] fail to start capture
, K5 C8 h% s) ?" U' cQThread::start: Thread creation error: Resource temporarily unavailable
! \0 ~3 j% o9 `" r[DEBUG|start@playbacker.cpp,25] it's about to start playback8 M7 m2 V$ b. h
回复 支持 反对

使用道具 举报

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 ^8 Y/ c. |$ W
             total       used       free     shared    buffers     cached
" {* U3 P' a! F$ a% h. {Mem:         26548      19728       6820          0          0       2884. g9 [; L3 o# T: E; F5 \
-/+ buffers/cache:      16844       9704( _6 l: [/ [2 Y- F! o+ I- h6 ]
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-12-14 19:21 , Processed in 0.044545 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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