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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

face_detect双核通信

[复制链接]

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
跳转到指定楼层
楼主
发表于 2015-11-2 15:59:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@tl:/face_detect/run# ./run.sh
  e: x: v5 X) o$ n' o
5 h; C: x, _" y+ L3 X7 H+ MODULE_NAME=syslink
$ A# G: m: c  N8 R' m) A6 n3 Q; i+ lsmod
/ J5 z- }: _# N; ?4 Q+ grep syslink
, I; c- H6 y( i% i/ o8 i$ f# u+ '[' 0 -ne 0 ']'1 @& _/ j# n! N8 M9 C1 z& G0 D" y! N
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674
7 L$ i% a/ a- `" {9 O* SAttached to slave procId 0.+ L3 T+ i$ S$ y3 S
Loading procId 0.
  O$ b/ @/ q) w/ s' GLoaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.
& S# i4 w# c9 j' J1 S. U- ?6 `Started slave procId 0.8 b* \* i! P, ?; B; s
+ ../host/host_app -qws
4 f5 }/ H  b( e4 E- F. I7 \% ][TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync: s4 L, m- N  L3 D1 o) e
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync" j7 _" m/ T, b( U. y+ i' c
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
( g+ |) R0 p2 ]7 C0 L7 j[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync9 v) H' Q/ W( y5 h
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync" @; N1 d6 j* [5 w/ u
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync/ T3 f4 }$ I2 e/ N: R* }+ ]3 Q
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
+ J8 ?4 Q  }  C3 y[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
5 H" A8 y- V# l) H+ }[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
2 n/ x- c: G, \& w  m[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync, E  d  h# `( e0 |3 c3 d
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync7 W- s* T* x, |1 h
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
% j- I! p' P8 Y% `[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync: _  Y' Y+ _, U- T
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
; B; n2 g* Y$ W6 I0 n9 z# ~[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
& f* x9 _! a% r7 a' |  P* ^/ i* K. ?. z, J[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync2 ~/ z) g9 R% z2 t0 b
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 16 c# ^& }& {8 p6 p8 \8 r5 \
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready2 G. Z4 b( Y9 v/ }+ i$ W% W* H: O
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
9 g8 ^, `4 h$ Z: m[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
, J3 X6 O& r: G2 FCamera-Camera$ z" C4 M- R, i$ |  N
[   76.366400] host_app: page allocation failure: order:10, mode:0xd0: S, g$ s& Q- R1 R; }3 s
[   76.377606] Backtrace: ! l  L1 J9 h2 w5 Z: R5 J3 h0 p
[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)# P' a% p: Z' g1 V2 \* H
[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
# O: C, ~4 t! ]4 H4 `0 n[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
2 K0 L6 }! Q; T) R[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)6 h* l  y' I" r
[   76.425768]  r3:00000000 r2:00000000- ?9 Y% |1 ~0 x5 e) A2 R* x
[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
* ^+ X. m/ E5 L" [[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc): u7 b- Z: s3 v! q$ y
[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68). ^7 n/ s! ^: t! i7 C0 M
[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)$ x: j) g$ R3 }
[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
- g' z$ b: |- ^[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
8 N) v9 d  I1 C[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b00
/ q, P) h2 J, R) t% ~% g# ~2 E( x[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
1 I' O$ _! ]! \  J8 f[   76.507848]  r5:c12d1b00 r4:c1bdec00! `" `, ^; P. U7 v
[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)+ d! c) p# d5 I$ Y% l1 v+ X; |
[   76.521828]  r5:c1bffe00 r4:c1113380! t& ^. y! x3 U% F  v: |: n6 e
[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)! J$ {5 J0 O( a, P# N; b
[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000, U6 f0 g6 _# @! P! V
[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
. M  R% b4 O, w: G  |, k1 N$ R  a3 s[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)5 y" x" J: @5 U2 T, E& `  ^* V
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
& D- V: L" G6 R! u" I' `+ {3 Q[   76.574327] Mem-info:
7 v1 T4 e/ D3 s# w$ V7 u[   76.576657] DMA per-cpu:
6 G9 l4 N" }7 [4 O, S[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0
1 G7 P8 d: H& ^$ ]8 O$ r+ i[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
8 B( o( `$ y& X[   76.587198]  active_file:867 inactive_file:896 isolated_file:02 K; N+ _; w, p, d
[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:02 v5 y4 r; {) j) W4 l" b3 {
[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:7892 `' ~, q( L! ?. K
[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0; g5 z+ [0 Q$ M( U4 H' ~
[   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
6 r* O7 g! {- u6 x[   76.661444] lowmem_reserve[]: 0 0 0
  e! ^7 W: u2 m, i- d/ ^, Z! u[   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 = 1076kB7 x) a, o3 l. L; }( B5 L0 j
[   76.677034] 1884 total pagecache pages2 z0 g$ I' C1 N: _  n% s
[   76.680817] 0 pages in swap cache
% L7 H6 V* U# ~( p  s7 F, C[   76.687285] Swap cache stats: add 0, delete 0, find 0/0* n: D: {8 v$ z+ k5 ~+ Q
[   76.693996] Free swap  = 0kB
% v% r: z& j! r9 x* l; |( X7 A4 m[   76.696926] Total swap = 0kB
' k% Y2 S0 ]# v+ {9 V& h[   76.701578] 8192 pages of RAM& }6 ~$ M: E4 ?+ F
[   76.707668] 405 free pages* p  m' f7 G( d, }1 y2 z' n( Q$ p
[   76.710418] 1555 reserved pages6 m6 T* X, N* \. Z( ?) P# t
[   76.715882] 838 slab pages. ^5 q* v. w( D6 t4 }/ i1 c1 B6 M4 @
[   76.718631] 1851 pages shared
! p; t, t8 `' ^0 e[   76.721620] 0 pages swap cached
' i8 D0 z4 B  z3 d& E3 C, W[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed  p" n- {' a5 h9 G: h
Cannot mmap = 0 buffer
7 |5 Q! \& ]: f: t( i$ H4 gVIDIOC_STREAMON9 D9 `: ~* }  m% O" j4 {
: Input/output error
' u3 ?/ h0 _5 h3 n$ M) j[ERROR|start@capturer.cpp,27] fail to start capture2 f" h3 A9 |1 T  k1 }, V5 L
QThread::start: Thread creation error: Resource temporarily unavailable" C- B) \; }! T0 h) [. h( h5 v
[DEBUG|start@playbacker.cpp,25] it's about to start playback$ U- U6 x% [/ J- a9 j

9 K: |$ O- U2 F# j8 n* u$ a用led双核可以,这个demo就不行了,怎么解决啊
# H( t, B7 A6 M7 ~" C/ i
9 k2 E4 F3 O8 D& X- O; M$ ^' _
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
沙发
发表于 2015-11-3 09:14:02 | 只看该作者
需要配置vpif的缓存;
' d* V- k% d& r6 `: i1.vpif capture模式选择,vpif_capture_format值:
9 D7 E7 i( z: A4 c/ \& p! sHDTV:预留
/ y; B9 F* t" Z# m6 K/ gSDTV: TL5147
; K% d3 {, c4 T7 o  WRAW:TL2640
$ w5 t! d3 M* g9 X( G2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)
& t3 {* X- L9 E2 p' Nvpif_capture.ch0_bufsize=614400# d# w- g4 ^+ y3 |
例如:) ~1 j- B% u8 S4 V
U-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400; k5 G. h, t/ _: `7 [' ?- }
说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。: T* K; x8 m5 u' [
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
% n4 n. i7 E: W& c! y/ iemac-mode=mii
! S% |4 _4 h% Z1 x; O. f& hethact=DaVinci-EMAC
$ U% e0 S( }: G1 _7 n2 D  bethaddr=16:01:c0:17:45:e5, T8 N$ g( z& X0 q' O
hwconfig=dsp:wake=yes' a9 u1 d- H# y% B# ?) V8 [
ipaddr=10.3.2.99
( ~$ O7 z, j5 g, B2 c3 c) i$ k: wloadaddr=0xc0700000
% X3 f/ S6 S9 l1 {loadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}
7 G6 j3 M' R4 J: [" M# W% `" Qloadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
+ c1 o+ P. }1 V- v: `" }8 Emem_args=mem=32M@0xc0000000 mem=64M@0xc4000000, Z) N3 q- J3 R
mmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}6 f+ y8 G# q- H2 ~4 `# e3 l7 n
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;
, w* X1 h+ ]4 d- H. \! vmmcdev=0
1 X6 I% F4 J/ T! a3 Z$ g: v- k3 Tmmcroot=/dev/mmcblk0p2 rw$ f) [% t( g( T8 b2 ?; f
mmcrootfstype=ext3 rootwait
( e; L/ H. S4 Y+ `1 Bmtddevname=env9 W! b& Q2 ~7 Q+ S2 |  X0 k, T# K3 i
mtddevnum=0
3 G5 ~. G; A8 z6 }, ~( f" umtdids=nand0=davinci_nand.0
0 H0 }5 k6 }& w0 ?1 J1 Y3 v- amtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
+ y& }& B9 \6 Z) B: n( Pnandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
: Z. K! E7 N+ B9 W3 R% cnandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
" q/ l5 b: c- b$ Qnandbootpart=kernel
$ W8 y( @; E2 S$ ]. i3 h2 qnanddev=04 W6 }# Y( R& b" ^  y# L
nandroot=ubi0_0 ubi.mtd=4,2048( \" }' M7 l( g6 u6 c1 e. K# n
nandrootfstype=ubifs4 G6 t/ P6 C0 J
netmask=255.255.255.0
6 b1 G' q- v+ R8 rnfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
6 R0 @5 r, H* g3 L, _7 Koptargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
+ B6 ^8 t* w0 ?2 ]partition=nand0,0: x2 b* T: N# }9 p8 g7 b7 S
scraddr=0xc06000006 \2 x* W- T6 @# I( K, h/ n
serverip=10.3.2.175  A1 Z8 K& N5 e4 o" D, A' F
spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
3 z9 D: Z. Y8 t# Jspibootaddr=0x100000
( J3 B; _" M3 s; K2 F" Rspibootsize=0x400000% L8 g6 L3 a/ o8 z# S. J9 V
spidev=06 G7 w" L. K, H2 O9 l5 y6 ^/ H; p
stderr=serial
9 K% ~4 `* T) h. z$ H. b6 @stdin=serial/ w1 g/ V9 o4 `- N
stdout=serial
7 I# x" f  @% {* S. Y' W/ ]ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
2 |3 u2 G, e4 }3 j
  |. v! M  W  o' {0 I# m/ X: N, C* u1 Y1 f% u
还是不行
9 q8 q0 H2 I* L4 J/ e0 R6 F9 n0 i: m1 Q; k5 [5 i' y1 g
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
地板
 楼主| 发表于 2015-11-3 10:23:08 | 只看该作者
Started slave procId 0.
  S4 @: \6 U. p7 T# s6 t8 |, o3 {+ ../host/host_app -qws
1 ?" U9 n1 Z7 |4 Y/ s; V[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
$ T+ @8 X1 K1 Q# S3 G) M: G7 Z[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
8 H) G/ e1 f3 Z7 b! P3 x/ l0 y[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
8 @( x: L0 Q+ P! ][DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
1 w7 ^. q7 i) L  c2 z[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready  i, I4 m1 w' b/ \. l
Camera-Camera
# q) y9 a' j) a4 B$ m  M[   34.616261] host_app: page allocation failure: order:10, mode:0xd0
+ r6 f9 S& y: Q5 V[   34.627157] Backtrace: 7 m: G, d- R7 }; x5 s
[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
% _3 v5 ~, E3 _  I5 H& V5 A, i[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
4 d2 n5 @) v4 A0 P5 b  b/ r2 p[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
- x' ^6 k# X2 j. ^0 J4 H1 E[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
" N! L) ]* I9 |+ v) k! V" t[   34.681238]  r3:00000000 r2:00000000
: Q. V* G5 O1 y, Y$ Y5 T9 p[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000( e0 u: w# t% U- f, K
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
2 f4 W, B& o/ e' ~! W9 d[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)/ o6 [2 G2 H- ~# V' x
[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)4 c# W1 u+ k1 ~
[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c13717641 i4 k1 Q! D1 g; a4 q
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
9 o; [  _. R5 x[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688. e# n/ Z" N+ n" O
[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)1 j1 G  D3 p$ v6 o% F1 y- V0 c6 Q* y
[   34.763159]  r5:c12bd688 r4:c1bdec00
1 T- ]9 S# V4 Y% d6 |[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)9 ]0 ?* x3 W& R6 m0 Q: }- s; |
[   34.777146]  r5:c1bffe00 r4:c1371280  P: v; J" E$ X; |0 ~# r, F. v: {
[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)4 e6 g) n; {2 l  a" d2 y) F& J
[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000
" p( b5 m& a& j! B( ^& |% r[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)4 N+ m9 v6 Q9 Q
[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)6 O% D; Q( m9 j2 F% e
[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
+ [$ w5 l1 T3 j2 ?7 V3 V' j. I[   34.842578] Mem-info:; P, _4 j! Y6 T. ]$ d. c
[   34.844908] DMA per-cpu:
/ b. _7 A) q( u; v' j, z+ E" |[   34.847474] CPU    0: hi:    0, btch:   1 usd:   06 r# ?' h# `2 U1 P8 r
[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:05 _3 R$ ?' ]$ W
[   34.852388]  active_file:718 inactive_file:601 isolated_file:04 m0 `6 u8 [6 S- U, s: {6 @9 e- t
[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0
9 Q  `# y8 s- O' i: _$ r0 n[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:8156 ^* x+ \( W5 A2 o0 A7 T7 F9 @, E9 |# j
[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0. ?2 p; z  N# M& [! Z$ 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- v% J7 X1 h  s
[   35.023590] lowmem_reserve[]: 0 0 0
' I  x, W. B) v' c' 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
* V8 q* H" ~# i+ L[   35.054676] 214 total pagecache pages
5 v) h. k* f/ u" v* \2 ~8 A( k[   35.058399] 0 pages in swap cache0 H) {5 t  S2 t/ W% ]
[   35.061743] Swap cache stats: add 0, delete 0, find 0/01 }: t2 Y$ ~- B0 k& _/ C& z3 G
[   35.081983] Free swap  = 0kB3 _3 ~1 \0 t4 H1 w8 Q% z  e0 {8 c& ]
[   35.085058] Total swap = 0kB
5 x$ D/ p6 G3 d) d  ]+ _[   35.089678] 8192 pages of RAM) Y  ~7 p) J- n& {
[   35.103088] 2019 free pages9 J% k: J/ N' s8 S
[   35.105926] 1555 reserved pages: o) Y4 @7 z& q5 E
[   35.109090] 869 slab pages
& G. q& r' R) Z" I( x0 ?5 a[   35.111813] 161 pages shared+ e) @' U: W* s$ Q
[   35.132854] 0 pages swap cached
4 X0 O  O$ z& m; [$ H[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed& {2 C: H4 o( O: j6 a6 p
Cannot mmap = 0 buffer
. x1 ?2 @% N: t  v; iVIDIOC_STREAMON" `$ g2 y& Y# ]+ q
: Input/output error1 I1 T0 h& G" C" q
[ERROR|start@capturer.cpp,27] fail to start capture
; c, H+ A7 b: AQThread::start: Thread creation error: Resource temporarily unavailable- w* w0 {! y- J5 Y: G
[DEBUG|start@playbacker.cpp,25] it's about to start playback
  @7 d& {2 }4 w9 A/ q$ y
回复 支持 反对

使用道具 举报

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
+ W4 V+ _1 k( T2 R( u- Y  l7 i( v! y4 o             total       used       free     shared    buffers     cached* x1 ?3 ^% I6 H; p
Mem:         26548      19728       6820          0          0       2884
6 S) q* r  d7 g-/+ buffers/cache:      16844       9704
# U% D5 N* U8 y6 a$ f( ~+ rSwap:            0          0          0                              
回复 支持 反对

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
7#
发表于 2015-11-3 13:47:21 | 只看该作者
内存不够,先关掉一些进程,像matrix-gui,然后在运行你的双核程序。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|嵌入式开发者社区 ( 粤ICP备15055271号

GMT+8, 2024-5-10 12:57 , Processed in 0.045168 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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