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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

face_detect双核通信

[复制链接]

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
跳转到指定楼层
楼主
发表于 2015-11-2 15:59:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@tl:/face_detect/run# ./run.sh ' e* ^; T9 B8 j' G5 A' v
# v, ^' m' B2 _! S
+ MODULE_NAME=syslink) C. b5 r- F  E3 X# x1 d- R6 Z
+ lsmod
3 X( K. Z! P  X9 x+ grep syslink! H% d& K4 @7 A- B- M1 L$ Y
+ '[' 0 -ne 0 ']'/ V# y* u: ~. ^6 j4 X" V* t
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe6742 u/ B) Y1 I0 l( t- N
Attached to slave procId 0." p& y5 E, Q4 L9 O' a$ W9 _- {4 x
Loading procId 0.
0 z" P7 d( C' B" J5 tLoaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.
0 m$ e; l# S' LStarted slave procId 0.( ?7 D5 F9 P2 y1 ]& {% y
+ ../host/host_app -qws
0 }! T4 J1 F! q2 [4 [3 ~" W- i/ \[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync% O: S% l3 K! Y( m. o0 S
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
1 G3 D& O& M$ Y; x# W" c[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync- S1 ^6 |! i) \) x2 \4 b9 r
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync1 i% p6 S$ v. L- _7 q7 c; |+ Z6 ^
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
  z$ ^, K+ X. E2 ]9 g# y[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync, ]  _( Z7 O  T5 Q0 p1 @% f% J
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
( P+ L) [; V( R7 O[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
' B! b5 m( a, s. f9 k- m[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync+ v: V( l5 F% S) S0 g: V( |3 t" J
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync8 ^; ^$ F3 u* m8 p% _
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
5 O2 N) {7 U$ w3 W/ o) Y( ]) M[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
$ g- I0 K/ u; ^& O[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync' x! y# }; y" H, X9 F
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync5 m' U5 [) L* D# _; F( t. y! l/ w" O
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync4 k7 M9 N" |' m3 c( ~7 |; Y0 B* B
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync3 ~2 T: d$ W/ z" O
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
. S; p0 ^* |% T( v4 S* O  V[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
5 h  N9 ]! F9 J2 ^/ `# ]6 T9 D[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready% Y2 M3 Q% W+ U' R# w5 ]
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
& m5 ]* m5 R6 h; LCamera-Camera3 F$ j) v9 q7 v
[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
- u" j5 S8 Q+ v, T. Z; V[   76.377606] Backtrace:
+ R  s! J& r) ^9 i1 I: ~- \+ R8 J[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
7 [) }  H" \  [6 c6 \5 J' a1 s- g[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001- F) i, G! f9 C8 \* K3 {0 J  r
[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
3 D! n7 `7 z' o6 E1 y) U; k[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)2 n$ w4 b! d$ |5 `6 t
[   76.425768]  r3:00000000 r2:00000000" v5 a0 Q% O2 o# f
[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
4 H* D5 i1 W# g1 M[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
; O4 U  {6 d3 m! h1 X, c; Q[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
; I' B; p/ d4 h; c[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
- G0 t0 l; [, M* S) h) z  q[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
, D" Z  V; x% g7 p/ H[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)3 o; X7 Q% u3 p8 e3 f1 S6 W  \
[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b00
. T8 Z" Y3 Y  Y) {6 P[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50); e. h; {3 \, Q0 F  `5 \
[   76.507848]  r5:c12d1b00 r4:c1bdec00
( Q+ M/ r! O# e6 F8 `8 P/ W" E9 t[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)* k0 l$ r' i* z) P  M! N* e
[   76.521828]  r5:c1bffe00 r4:c1113380
3 {, u) R: w' g  ][   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
& U; h" L2 k( i% g[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000
8 ^5 T* r1 ^) o/ d; W1 a$ b[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
5 S9 x2 K/ h5 w[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0), _& z- d- s2 `
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
. |9 n! Y$ B- Z7 {5 n% r( t5 B8 A[   76.574327] Mem-info:
  A- l8 p; [' T# T[   76.576657] DMA per-cpu:1 }+ q0 V% W: M9 C* h# t7 r4 Z: w
[   76.579223] CPU    0: hi:    0, btch:   1 usd:   0
; I7 L' Y- {& _[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
% [) X; j5 C3 x3 V! K1 K/ y2 G[   76.587198]  active_file:867 inactive_file:896 isolated_file:0
/ a3 s# e' x. c! l1 Q* F! x# M[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0
- E5 ?2 i  z  V) m6 c[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789
5 \2 a3 P$ T8 Q- ?/ [1 S[   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0! r( j7 ~1 e' I6 \
[   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
; q. [0 j& W/ P$ z9 v, O; f, ~[   76.661444] lowmem_reserve[]: 0 0 0
. @& f2 g- U( y8 a) `! E[   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
" T! ]2 X+ V) P+ H) u9 p[   76.677034] 1884 total pagecache pages" R: N  n) @$ J( R5 l# l
[   76.680817] 0 pages in swap cache
7 b% b6 E) `) Y' K[   76.687285] Swap cache stats: add 0, delete 0, find 0/00 a9 J- Y! |5 i! b" ]) o
[   76.693996] Free swap  = 0kB' q% M" O6 y( U; \* w
[   76.696926] Total swap = 0kB
  A+ O6 `8 G& I5 `4 p1 L[   76.701578] 8192 pages of RAM, ]6 r1 S$ Z, a& b/ J, m4 i$ I
[   76.707668] 405 free pages, e' ~5 K2 [+ {  z2 E1 X
[   76.710418] 1555 reserved pages
9 p4 ?0 f9 a6 \9 W7 N[   76.715882] 838 slab pages
" o: F7 o6 ~  P% n3 K5 g: G! z( J/ _[   76.718631] 1851 pages shared  n7 `, j# H+ V$ s" Y) P$ S
[   76.721620] 0 pages swap cached, q! @! O9 j9 c+ \
[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
* o" _' j1 j) c; H, F0 |; A1 ]Cannot mmap = 0 buffer
& u& w% a- L8 e5 E: E# y- jVIDIOC_STREAMON
. G3 U$ _2 O. W5 D, U: Input/output error6 F, _4 j$ ]& e' {; g6 u" L
[ERROR|start@capturer.cpp,27] fail to start capture* \  Y! ~: q6 ~7 [" M* v
QThread::start: Thread creation error: Resource temporarily unavailable
- U. I& U' q& e& o, d4 {) n[DEBUG|start@playbacker.cpp,25] it's about to start playback/ @; H& j6 J" |0 K& M

9 U# ]( C! `2 G& q# [用led双核可以,这个demo就不行了,怎么解决啊; r7 i- X# ~3 V* O7 S. q! A6 @
  I8 Y8 \; A) D1 x; r
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
沙发
发表于 2015-11-3 09:14:02 | 只看该作者
需要配置vpif的缓存;
. l" s2 Z8 l& j: _" j0 ?7 C3 v7 |1.vpif capture模式选择,vpif_capture_format值:
, e# p6 O6 D$ h; ]( k7 m5 dHDTV:预留
- n0 O: ~. d# o# R, t% }/ `- MSDTV: TL5147+ m6 Z, U2 Q5 S) Z* t) X1 P% b
RAW:TL2640
! U% M: B9 m. c7 x8 |0 ^2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)$ c" E7 T1 Z. u7 ~1 c4 W; M
vpif_capture.ch0_bufsize=614400
7 x9 V! w9 c6 V( X9 H2 f例如:
- ^0 D' X2 P6 [% a5 O' SU-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400  H8 C2 T2 O9 x9 ^0 P
说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。& L$ Z8 @. e* 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
5 `; V6 z) @3 ^0 cemac-mode=mii1 x- y" m% e# `/ F4 g
ethact=DaVinci-EMAC
' ?% @7 p5 b; L  ^2 s4 Zethaddr=16:01:c0:17:45:e52 G2 [# Y( @! L  {' i" ]/ x0 ]
hwconfig=dsp:wake=yes
6 ]7 i$ G& J" ?ipaddr=10.3.2.99
6 J3 _; t# K% A1 `loadaddr=0xc0700000' s4 ]0 g/ G: K, D3 Z1 E2 P% u
loadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}
- k8 |( Y( E4 Q4 p2 hloadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
- t/ E* N* G! W/ g6 e( \2 Wmem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
. h3 t# ]0 d2 t  L+ O' Hmmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
5 Q% {4 d# y( Kmmcboot=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;
$ o: Y! V) X* U3 n& Emmcdev=0
6 ^. \: G5 @1 M1 j4 z6 Pmmcroot=/dev/mmcblk0p2 rw3 ^! G4 d* m+ ^  w  s! W# d; e
mmcrootfstype=ext3 rootwait/ P4 d; E; L. Y! Q
mtddevname=env- J1 f2 G3 V7 \2 B
mtddevnum=0$ B% d; z9 H% u+ N: Z
mtdids=nand0=davinci_nand.0
+ l- P8 b" \2 |/ e8 bmtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
0 S1 Z# u) {5 q" L- h1 b& Y( znandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
9 J7 t0 Q, x6 S) Tnandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
) x* }& }/ p9 L& bnandbootpart=kernel+ U3 g* h0 Y7 Y2 Y
nanddev=0
" _9 _; b! A) M9 |4 Xnandroot=ubi0_0 ubi.mtd=4,2048% l8 ]" n* q& [3 a( F, m
nandrootfstype=ubifs
- m4 a3 X+ |4 t2 Vnetmask=255.255.255.05 a- u, K4 s. l8 N$ Q
nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw
. n- H6 A4 Y$ \1 j/ b) ~- uoptargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400% \* l: G5 ?" S/ x% I& ~) p
partition=nand0,0. t) W' o& n3 Z% _+ l! [0 h. M
scraddr=0xc0600000
# D( P6 X5 x+ E! v' q+ Rserverip=10.3.2.1759 _% p! i& l- ^2 y) M% E) Y' V
spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
- F6 e/ b( K" O, e: M" s; yspibootaddr=0x100000
8 g% B, X1 F0 q6 s# z) Hspibootsize=0x400000  f. k/ p9 ^' M3 W! s, ^
spidev=06 S8 ?; _' l+ {( a
stderr=serial
$ O/ {$ L$ a" t2 a$ V2 _# O+ istdin=serial% o( A! z8 u( l8 t
stdout=serial
& O  [$ \) A( V- I( Xver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)7 ]6 d1 L% x1 x( H  N' `* {( x' ?
/ D" B8 P" B7 D1 `/ A5 t4 g
7 P% W+ R6 g: u- C/ L7 g; O/ c! D
还是不行! |( L% Z$ Y% b2 F( y
  z: L) A8 y& B* g
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
地板
 楼主| 发表于 2015-11-3 10:23:08 | 只看该作者
Started slave procId 0.
, D" k9 s& E0 [. J. `+ ../host/host_app -qws
9 x( C- S% L: P4 G# ~. R[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
" h' e' d  ]& S" D[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
9 H* z" a1 S. a- c7 ~% d- c) T[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
5 Y0 ~. n$ `" _5 n[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
/ O% A) s  c7 F6 J5 h  ^% w, D[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready2 C4 g) Y# ?0 T; S) [! g
Camera-Camera
0 A5 U2 k( F, q0 h[   34.616261] host_app: page allocation failure: order:10, mode:0xd01 W! t9 B% B( I% z! e" y
[   34.627157] Backtrace:
3 Q% w5 v/ B' n( i5 B  X[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)% e( ^& Z3 e& P. B0 j4 A: B6 ^1 T
[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
9 [+ y6 @8 N+ n; |[   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)7 H+ x& O3 g5 o2 t, Y; g& r* p: @" r
[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
' w" E9 t6 L4 C8 R. q8 X4 H[   34.681238]  r3:00000000 r2:00000000
9 b+ G7 C. f& u" v: l  J[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
+ u  B4 ]. b( H" }9 L2 j[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)  F) j- V9 A  r9 O' r0 O
[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68); s% z$ R" n* ?3 z
[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)6 h" K0 P( J# N! v' L! m* O1 X
[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c13717646 R& l% s3 w( R7 ^
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
4 h2 y5 [, p$ F[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
, u  Z* E: R6 m; o' f7 l$ [[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)% y& g  h6 B' q" e+ ?
[   34.763159]  r5:c12bd688 r4:c1bdec00: `2 {/ j* b# t. a& ?1 w
[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)6 l/ C- _4 l. X( [
[   34.777146]  r5:c1bffe00 r4:c1371280
1 y9 a( `* ?& d# l3 s9 ~0 M[   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)) n: }4 x6 L; X( G
[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000' c% V. t, C' C) J9 I
[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
) e+ n5 h7 i4 _6 G[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
2 L$ s6 Z+ L2 G( B[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)* T2 c( s% e( _/ c: A0 f6 x2 ^
[   34.842578] Mem-info:8 R" P: Y3 j6 U+ W. c
[   34.844908] DMA per-cpu:3 g* Z8 D, R; m8 X6 b
[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0- I1 F) t# M7 ?5 o4 t
[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0
- ^9 |# Z4 f0 l5 {$ ~+ G) H( D[   34.852388]  active_file:718 inactive_file:601 isolated_file:0
$ [/ y0 z$ Y% u+ `5 ?: E) e[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0
8 X1 g. G  {! W[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:8155 D! o/ J4 X% h8 b+ n' h
[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0/ f3 a- G! h; a+ J) C: d; [
[   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
" r! u! D5 l* ~( p5 N[   35.023590] lowmem_reserve[]: 0 0 0& o9 z; o6 {, F! q; m
[   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 = 7648kB2 d+ [* M' Q) D6 m- e" e7 G! O
[   35.054676] 214 total pagecache pages! `. G+ {# c0 ^% X8 Q' t
[   35.058399] 0 pages in swap cache: r. a! q! ^1 P; ~* B
[   35.061743] Swap cache stats: add 0, delete 0, find 0/0
0 B: c4 H' m8 P5 o. `[   35.081983] Free swap  = 0kB
; O2 T1 v7 i0 A: a+ s" h2 `[   35.085058] Total swap = 0kB1 C% U4 F# ]+ s
[   35.089678] 8192 pages of RAM/ Y2 E+ Z3 C$ r$ R
[   35.103088] 2019 free pages. ]( L* P- l% H* `& V. X* v
[   35.105926] 1555 reserved pages0 P2 l* F1 j! y$ i
[   35.109090] 869 slab pages, i1 R7 f' E& {- Y* n& P
[   35.111813] 161 pages shared
) r# \) j# H3 Q; a8 q6 o: V[   35.132854] 0 pages swap cached! u4 R2 k4 m" s9 p' q1 ]  p
[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed4 }; Q! D( r5 l, U5 r0 E; q# r* G
Cannot mmap = 0 buffer. K. u4 w: M+ h: z: q2 P/ e2 t7 l
VIDIOC_STREAMON
  M& o# t+ W4 `7 G8 d$ n  q& n: Input/output error
( ~, F' P- X# _8 k[ERROR|start@capturer.cpp,27] fail to start capture5 n; [! v1 x" m2 u2 r* l3 W
QThread::start: Thread creation error: Resource temporarily unavailable" k" p( Z; U0 R9 w' w: I- P
[DEBUG|start@playbacker.cpp,25] it's about to start playback
; r% C4 ~- j3 E0 ]  G4 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' h& \! w; G, |; l! s7 ]' m
             total       used       free     shared    buffers     cached
8 T# x* D1 ^7 g' ]Mem:         26548      19728       6820          0          0       2884! ?! e3 {! ^2 P8 V, d9 d8 A. h
-/+ buffers/cache:      16844       9704
6 _9 Z8 a* C; f% E1 R) iSwap:            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-4-30 10:26 , Processed in 0.043555 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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