嵌入式开发者社区
标题:
face_detect双核通信
[打印本页]
作者:
robinluo123
时间:
2015-11-2 15:59
标题:
face_detect双核通信
root@tl:/face_detect/run# ./run.sh
3 g' N: n$ ?' O! w0 v7 q. X
) B R. O( k( y( {; a2 h
+ MODULE_NAME=syslink
; o% F2 Z' b) W3 b; a$ B) K
+ lsmod
. N8 o+ _1 M4 ]# e8 P/ [
+ grep syslink
3 {9 Q2 A* n V9 U# L5 V
+ '[' 0 -ne 0 ']'
5 v5 s6 Y/ P. e& ?9 r
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674
2 v6 G) m& r3 J. M2 b9 p) M
Attached to slave procId 0.
/ ?/ Q$ F. m3 B+ p; c5 G
Loading procId 0.
q& I) [9 [$ o7 v+ @! g! N
Loaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.
5 ^" i! U; V1 H+ x) _2 o7 F
Started slave procId 0.
8 {6 g8 R4 @) n2 n( c! p! D
+ ../host/host_app -qws
: `4 g3 ^- e5 W
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
: ~1 A$ }) M! p) [9 t" j$ m
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
* H Y7 N/ W8 F. g2 j
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
9 |1 K% g- J! N) d6 H
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
2 R2 e$ D6 c3 w X2 g. C1 h
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
2 O8 U: b' }+ ~
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
: L3 y' r8 U0 A. a: A
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
! g% G% J2 n7 `9 |1 c/ R2 J
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
# N- W6 L* k9 h% r7 U& q g, s
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
9 x( T9 S- G" @. {+ k' h
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
5 u# B L: ~- L# A. ^
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
3 W9 _. P6 [- I
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
2 y* h- J' C' ~0 D
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
9 R# z& W- h, a& }
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
& @2 [; M- ^- L6 ?
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
! B1 N* D. Y/ ?" Q
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
8 G" u/ o' c4 n( n3 b$ u
[DEBUG|
resource_sync_wait@resource_sync.c
,86] wait resource 1
$ u, w& E* l6 B( \
[DEBUG|
resource_sync_event_handle@resource_sync.c
,45] resource 0 had ready
6 ]8 V: H( ]2 E
[DEBUG|
resource_sync_event_handle@resource_sync.c
,45] resource 1 had ready
/ P( C/ M" y+ A: p8 o
[DEBUG|
resource_sync_post@resource_sync.c
,96] post resource 2 had ready
1 m) t5 a4 o, U) \9 k% m: N3 N: E
Camera-Camera
3 Y( g, Q `4 f) Y2 Z
[ 76.366400] host_app: page allocation failure: order:10, mode:0xd0
0 K6 I6 d% ^) d+ G
[ 76.377606] Backtrace:
# L& _! b: V* f: a$ g' r7 U
[ 76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
- l2 u" p2 K8 ?, d
[ 76.397060] r7:00000000 r6:0000000a r5:000000d0 r4:00000001
! ^9 J3 V! n# u. d
[ 76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
) O# J3 g) a5 L( r9 l
[ 76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
* U& A4 W$ s- ?* O: R5 N/ c- w
[ 76.425768] r3:00000000 r2:00000000
4 {+ W3 x# n5 y7 {, x
[ 76.429410] r7:00000040 r6:00000035 r5:000000d0 r4:00000000
" M. N T7 C$ x$ L- S* _
[ 76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
4 C. @ i! r. y# ` \! Z
[ 76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
2 A5 }6 B2 M. q5 L3 i% y
[ 76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
" f4 ^" @" Y: g! v' X
[ 76.470521] r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
. H3 @1 Q) B# u
[ 76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
; d2 K) }, R# \. l1 {, \9 f: c. O, O
[ 76.489213] r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b00
! ~5 U- Z. s! ~1 U5 z" l
[ 76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
) O1 A7 ?/ T0 N: _% E
[ 76.507848] r5:c12d1b00 r4:c1bdec00
( B0 i! d# }8 N
[ 76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
/ Z/ V. L/ \" A. O/ Q: Q
[ 76.521828] r5:c1bffe00 r4:c1113380
5 q0 V/ |2 p% ^% `% u& B
[ 76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
4 P4 Z& f1 }0 \
[ 76.536792] r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000
5 ]& J9 d) `% [% r7 K+ Y
[ 76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
3 O8 \/ M0 F7 `0 l7 i
[ 76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
1 I, z3 O7 L7 F% L3 B
[ 76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
. ~9 m. o7 U: y* `' T
[ 76.574327] Mem-info:
4 d3 S( ?* E1 J( G( h
[ 76.576657] DMA per-cpu:
* k/ }, ?& D9 F2 i
[ 76.579223] CPU 0: hi: 0, btch: 1 usd: 0
# H4 w6 D7 O+ N5 ~( C0 l" U
[ 76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0
; t: S* o0 L: C9 M! K" T4 G. J
[ 76.587198] active_file:867 inactive_file:896 isolated_file:0
4 d, J. r& F. Q8 p+ G5 [+ R
[ 76.587216] unevictable:0 dirty:0 writeback:0 unstable:0
" _6 n: m! j! ^7 ~
[ 76.587232] free:258 slab_reclaimable:286 slab_unreclaimable:789
# x% P8 n7 c. J* m* X6 U
[ 76.587251] mapped:1276 shmem:132 pagetables:122 bounce:0
! @. h: T& a+ K: Z/ b
[ 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
; _- Y5 Q" G9 n6 P0 @6 }6 A7 k
[ 76.661444] lowmem_reserve[]: 0 0 0
. F3 Y. O6 O" y! k( A
[ 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
/ ?8 n0 G* u q; Y a2 e0 k; g' V+ i
[ 76.677034] 1884 total pagecache pages
y$ f; }' ~" @7 ~! P; H
[ 76.680817] 0 pages in swap cache
& z- m2 F/ f( w, J* R
[ 76.687285] Swap cache stats: add 0, delete 0, find 0/0
9 _" u$ T; X& l( p7 R& q5 D) ?& s3 [
[ 76.693996] Free swap = 0kB
x# v& K' l( `, ^
[ 76.696926] Total swap = 0kB
5 r# Z' [; m* Z! k/ L9 n; T& l) n$ r
[ 76.701578] 8192 pages of RAM
) e, R7 m+ r8 m2 x3 U8 Z% n" p
[ 76.707668] 405 free pages
. e* m& s: j! |& q6 u$ b# s. _7 r$ @
[ 76.710418] 1555 reserved pages
' b; Q$ T* Q# z2 `; U
[ 76.715882] 838 slab pages
& c+ V# d/ c2 M6 t! j' F, ~
[ 76.718631] 1851 pages shared
- Y) M3 i3 T7 F* f7 V$ P
[ 76.721620] 0 pages swap cached
( j- o8 n+ j0 l- _
[ 76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
4 D V2 y1 y4 \( V8 Z* p& ?4 T* H4 s
Cannot mmap = 0 buffer
* ^- }+ _ ?3 {! m. e$ |: y
VIDIOC_STREAMON
1 ^& V* @3 O: h$ ~( i
: Input/output error
0 q% A$ N0 L+ N- `4 Z0 f1 n5 |
[ERROR|
start@capturer.cpp
,27] fail to start capture
# v# f# O. A4 x7 w5 |
QThread::start: Thread creation error: Resource temporarily unavailable
( N, L- O; w- |
[DEBUG|
start@playbacker.cpp
,25] it's about to start playback
" M9 R7 u; I2 R1 s" {
/ Y7 N* h! f1 z( W9 f. j( l
用led双核可以,这个demo就不行了,怎么解决啊
) Z" _! l( P5 C0 U0 U
. Y1 v/ r+ o% f) u4 m4 n
作者:
teddy
时间:
2015-11-3 09:14
需要配置vpif的缓存;
4 z' O) c5 s+ A$ ]8 t9 T: N) a: ~
1.vpif capture模式选择,vpif_capture_format值:
" F: _' b# y, F7 ^6 @
HDTV:预留
( L" H, [, t/ J3 n6 I0 O
SDTV: TL5147
6 C. B0 R* u; p- r8 M0 K* s- z( M
RAW:TL2640
4 Q1 z6 {5 K" n
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)
' o5 U7 C4 y, H2 e9 {$ V6 R
vpif_capture.ch0_bufsize=614400
2 C% b4 ~' f/ }
例如:
% Q3 e( |/ z5 A l: k, s8 y' L$ e
U-Boot > setenv optargs ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400
% M$ A- V% I$ w. F1 A
说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。
6 a& Q! o" Z6 v4 [7 F8 g O& h
setenv optargs ${optargs} vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
作者:
robinluo123
时间:
2015-11-3 10:22
da850-panel=TL070A
# F' ]1 j3 A4 D6 H# H1 \
emac-mode=mii
8 Y. W4 s4 o) w4 X
ethact=DaVinci-EMAC
4 g7 s R$ Q1 K! s0 t1 c' y3 [8 _
ethaddr=16:01:c0:17:45:e5
* n* o4 Y6 u8 S* J+ p
hwconfig=dsp:wake=yes
5 Q. f' W1 x2 v. _1 e3 O' J
ipaddr=10.3.2.99
% g# ^, W+ P' m1 q
loadaddr=0xc0700000
# s5 \- t1 K0 r1 ] y; A9 V$ M
loadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}
* B$ U0 A1 M3 d' @/ z2 g
loadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
$ d% c) e5 D* i, |( M7 r; B
mem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
j! ^3 b7 Z. M% I! W8 P
mmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
* x" g0 y8 ^) W3 k
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;
H* }6 ]7 ] p6 V5 l! Y
mmcdev=0
8 s: U1 C7 W+ K" H) x/ h6 E( C
mmcroot=/dev/mmcblk0p2 rw
) A4 Y; q8 g+ j; e' ?1 v* A' B, B1 T
mmcrootfstype=ext3 rootwait
$ Y0 R, m: a2 k0 k2 {2 N
mtddevname=env
+ i6 S0 v2 D+ k/ R$ A
mtddevnum=0
8 O) W# M# s$ a/ N2 ~
mtdids=nand0=davinci_nand.0
7 G" X$ g& o) n5 `
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
4 C1 l; D9 [0 c% j5 P
nandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
9 a5 n5 `, z8 x% O/ F6 F
nandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
3 k2 c) I, O4 Q
nandbootpart=kernel
9 ?. ^6 S7 `0 Q
nanddev=0
. G3 j5 b8 z( r6 d0 l
nandroot=ubi0_0 ubi.mtd=4,2048
& k0 B! B. h/ k: m c' |
nandrootfstype=ubifs
9 O( j" G$ r' Q6 [' F% \, Z
netmask=255.255.255.0
' U. k- y- i: K
nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}
{nfspath},nolock rw
: \+ }# T5 V# n; Z7 w
optargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
. ]7 m2 G$ K! y+ m
partition=nand0,0
6 d) G% s1 b- z
scraddr=0xc0600000
7 h, @" o! n k8 \ H) h% d
serverip=10.3.2.175
6 y% s8 `2 p1 k3 E2 e3 {
spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
- M; C( r9 ]- B! N
spibootaddr=0x100000
2 m+ O" L$ Y# P9 @' g8 v
spibootsize=0x400000
1 i. O. V( S, e$ t. i0 B# U
spidev=0
' O& O/ h% c* L
stderr=serial
/ }. F: I( `3 H9 l2 y8 L y9 C7 \, P
stdin=serial
' [6 \( o( w" a: w% b
stdout=serial
. Q6 X/ r. [& t- ~! }: Z! l
ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
, s) j4 b1 r2 P8 q. m
& Q" D0 F; Y' W7 n
" z5 R) z+ ]. Q/ P* i
还是不行
3 f: T9 I6 G& G3 \& c
5 _' s" M$ }5 O# n4 n
作者:
robinluo123
时间:
2015-11-3 10:23
Started slave procId 0.
, K8 A2 R. I& r# p9 X; q. F
+ ../host/host_app -qws
& X2 y$ J, m& k4 Q" ~' S
[TRACE|
resource_sync_pair_wait@resource_sync.c
,68] try sync
2 c: X0 {" ]( E* e/ e; F; c( o2 e
[DEBUG|
resource_sync_wait@resource_sync.c
,86] wait resource 1
: x8 ]" d1 G7 f% e
[DEBUG|
resource_sync_event_handle@resource_sync.c
,45] resource 0 had ready
* u, ^+ _" i' X+ _- g$ W8 L
[DEBUG|
resource_sync_event_handle@resource_sync.c
,45] resource 1 had ready
; E7 `+ j3 d5 X( Z0 }
[DEBUG|
resource_sync_post@resource_sync.c
,96] post resource 2 had ready
5 u( x. C4 A' ]2 w! e
Camera-Camera
: ]1 V/ Q& Z* g
[ 34.616261] host_app: page allocation failure: order:10, mode:0xd0
+ o0 t3 F! O" X/ `% h/ t
[ 34.627157] Backtrace:
" x4 f) W) v! b, V. }+ o3 _. u
[ 34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
6 Z- ]+ l, _ @! _! A5 X
[ 34.652340] r7:00000000 r6:0000000a r5:000000d0 r4:00000001
! v' X/ f- Q3 _ p% D
[ 34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
; ~5 o' O# E4 B7 o( a% I
[ 34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
y1 @6 a+ \$ ^; ?6 S: i
[ 34.681238] r3:00000000 r2:00000000
8 C; G# C- y# Y q3 @/ f& r
[ 34.685216] r7:00000040 r6:00000035 r5:000000d0 r4:00000000
6 | }: N3 D% F; c& L
[ 34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
G$ e! P' G8 m8 U
[ 34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
2 v5 P; e. {* c. m8 o
[ 34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
$ J+ m4 I! p& K2 V3 U
[ 34.726242] r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c1371764
# u+ s+ M' m+ R
[ 34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
0 Q' h4 X9 a; d) j3 h
[ 34.744717] r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
- M, n$ D1 q1 b2 {/ v, T) k
[ 34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
, A: E6 d& i) M7 Y
[ 34.763159] r5:c12bd688 r4:c1bdec00
4 O" G& _( b5 B$ N! R
[ 34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
: _! p2 e# t$ V3 }4 R" t
[ 34.777146] r5:c1bffe00 r4:c1371280
' g8 F7 X% p0 d8 F
[ 34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
+ e% o- Y8 I% {# G4 k A+ w
[ 34.791444] r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000
; M8 g/ g: \, M! f) ?% w. X
[ 34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
% M2 C4 W: m0 R, f6 S7 Z7 h
[ 34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
: J0 h6 J3 @ C1 o6 T! d/ d1 c9 z
[ 34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
# p9 i+ d0 p# j: k4 {+ a1 C
[ 34.842578] Mem-info:
2 i3 j" b* J7 N. e1 B5 ]
[ 34.844908] DMA per-cpu:
3 ?% G6 L! W* y5 D
[ 34.847474] CPU 0: hi: 0, btch: 1 usd: 0
7 U0 P0 x. Z7 c
[ 34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0
( m, l0 j; x' w! Q; Z) K* \: M
[ 34.852388] active_file:718 inactive_file:601 isolated_file:0
; r6 l: O, J+ Z5 }- S }
[ 34.852404] unevictable:0 dirty:0 writeback:0 unstable:0
+ w+ C O5 c. X4 Q! ?7 ?; G5 W
[ 34.852420] free:665 slab_reclaimable:289 slab_unreclaimable:815
0 {' C' J2 L% L1 y
[ 34.852437] mapped:1087 shmem:132 pagetables:122 bounce:0
1 Y4 ~/ y+ ~; z3 O/ T9 n- z$ G5 i5 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
1 n3 a0 p( [+ L& ^4 w
[ 35.023590] lowmem_reserve[]: 0 0 0
+ H3 E0 w, ?0 }( x
[ 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 p9 B+ G; j. T* y
[ 35.054676] 214 total pagecache pages
4 z( w% S, I) p" S
[ 35.058399] 0 pages in swap cache
" j; d" g% k6 |9 a" e0 R
[ 35.061743] Swap cache stats: add 0, delete 0, find 0/0
4 f/ ^1 D! d/ x
[ 35.081983] Free swap = 0kB
4 ^. O1 V6 w) `& W4 ?: ]" ], | M1 }
[ 35.085058] Total swap = 0kB
" J0 ]) g8 G3 h* I$ ?3 B! k
[ 35.089678] 8192 pages of RAM
$ Q6 I5 }0 |- H6 m/ t" N& j
[ 35.103088] 2019 free pages
7 i0 h5 d1 Z% X9 [5 ]# J- [8 G
[ 35.105926] 1555 reserved pages
/ e. }3 k% o' G8 D
[ 35.109090] 869 slab pages
6 n6 P8 B1 m/ O! ~6 v. k1 z, Q* \
[ 35.111813] 161 pages shared
# A; h. d: R" Z
[ 35.132854] 0 pages swap cached
3 f: [1 i3 W) [$ m% K
[ 35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
' F S0 E* o+ B: `" ?- z# C: y
Cannot mmap = 0 buffer
! @) y( o7 @2 j6 ?* N& }3 x
VIDIOC_STREAMON
' T" R/ U' q! m
: Input/output error
7 m+ c+ ?) u; J9 Y6 f8 ]
[ERROR|
start@capturer.cpp
,27] fail to start capture
( V" }7 B. H3 ?
QThread::start: Thread creation error: Resource temporarily unavailable
7 |* i4 I/ u z4 }1 `0 B
[DEBUG|
start@playbacker.cpp
,25] it's about to start playback
' o8 L+ f8 p- Q$ i/ ^( }9 G
作者:
teddy
时间:
2015-11-3 11:17
你可能用的是128M的内存,所以可能系统内存不够,你用free看看当前系统内存是不是不够。
作者:
robinluo123
时间:
2015-11-3 11:39
root@tl:~/face_detect/run# free
( c. D7 {1 }3 j7 Q* Z! R
total used free shared buffers cached
" E3 R& B6 f5 j
Mem: 26548 19728 6820 0 0 2884
# [ N/ B) [8 _9 {" O2 c. Z6 R
-/+ buffers/cache: 16844 9704
' S" `3 y' S3 v) e4 w0 Q8 b6 \
Swap: 0 0 0
作者:
teddy
时间:
2015-11-3 13:47
内存不够,先关掉一些进程,像matrix-gui,然后在运行你的双核程序。
欢迎光临 嵌入式开发者社区 (https://www.51ele.net/)
Powered by Discuz! X3.4