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

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

face_detect双核通信

[复制链接]

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
跳转到指定楼层
楼主
发表于 2015-11-2 15:59:33 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
root@tl:/face_detect/run# ./run.sh
9 p% s5 \. I, Z9 v+ `9 e4 b  ^2 G- {6 _6 `7 y1 |9 a
+ MODULE_NAME=syslink/ U3 O7 a# P4 Z! ?; c
+ lsmod
- \/ i7 @0 B6 S, I" |+ grep syslink
3 {. D' S9 o. ?5 p5 [4 O+ '[' 0 -ne 0 ']'
5 T+ e* R( ?; j. k' H5 T+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe6748 i  s8 u, y6 |0 ~4 Y( c, @
Attached to slave procId 0.
- e2 N$ f2 p0 U7 \8 OLoading procId 0.
$ S9 S% `  f$ W. ~9 Q- d" JLoaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.  q/ L8 D/ D  V1 u% W+ b/ G
Started slave procId 0.. h  i( p. W+ h  L$ f, w- _$ X
+ ../host/host_app -qws
* q' ?' c% c8 b: x; ~  Q" N- T! x. [  T[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync- V9 `6 N$ z/ t$ N
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
& @9 a8 i/ p8 a8 A, j% B/ `. a[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
  K- }2 B3 q" U( \, l5 z# g0 \[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync9 X  J. L! }/ S- Y! D, c8 l
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
, U! W  z! T, L1 K* h[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync% l$ _5 H' y; E/ c- ]8 j+ ?- n7 T3 z
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync( z0 `  @% S) [. _$ Y
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync, D. _+ t# p/ z1 U" w8 [& m
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync; O" o$ N2 M+ l1 I7 l
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
+ Y: Z, K/ j" p; c* D, B[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync% P$ G2 A) k2 ~; b8 A4 s/ f" G
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync, R8 z6 ~8 i! A) Q# \
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
  S  N  b$ Z0 d[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync% b- u; v: ]2 e, S. A( Z/ v
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
8 h7 M8 B8 Q. Z/ X# O4 m[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync6 V" {" A1 x2 R" `+ z
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
( Q& I' P' S0 J9 M/ }* z1 ~5 G[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
3 t) z2 C! G3 v4 T[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
5 G7 O; ]" C/ X5 D3 @9 I# U6 P[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
& ~4 D; _5 J8 E! M, F' N* L9 cCamera-Camera" p6 U2 W3 p9 L$ e( c) S8 z3 N
[   76.366400] host_app: page allocation failure: order:10, mode:0xd0
$ k, ?0 X3 @6 u# e[   76.377606] Backtrace: # m6 F( J) g- g. r/ ?1 C) {' D
[   76.380222] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)2 u( {# t) H$ c- f/ W( ], x  m( I
[   76.397060]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
) _/ Z1 Q' a9 P+ v) i6 S& A1 P[   76.403249] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
  k: _3 G5 F5 p6 S" v6 u! B, x2 |; y[   76.412099] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)9 O) ^, X" U* f
[   76.425768]  r3:00000000 r2:00000000
) B' ^" O$ w: P2 K+ a[   76.429410]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000
5 q) i# V8 I1 U. [* U[   76.436700] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc): _+ w2 P+ N4 |
[   76.448512] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68), e3 b7 c% R$ ^7 B
[   76.459091] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)4 I4 ^1 @3 a) d6 g# m
[   76.470521]  r7:c1bded90 r6:c1113b80 r5:c12d1b00 r4:c1113be4
% S, F; R% `  d2 X[   76.476678] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
$ q2 _9 N8 ]- t5 k5 T[   76.489213]  r8:b52dc000 r7:c1113380 r6:c12d1b00 r5:c1bded90 r4:c12d1b006 C; g! ~* p* `( z
[   76.496486] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50). T- S! S+ s. U1 Q9 k( k
[   76.507848]  r5:c12d1b00 r4:c1bdec00( J# G9 H4 {- z# |0 b6 y* p
[   76.511602] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90): b7 L9 ~& _# L% K; t/ Z$ I
[   76.521828]  r5:c1bffe00 r4:c1113380
7 t# F9 @" l; ]: R- `' O3 S[   76.526209] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)1 a9 \7 l6 }! e( E7 v
[   76.536792]  r7:c1113380 r6:000000ff r5:c12d1b00 r4:00000000$ f  u4 {' n4 S6 f
[   76.542984] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)) B/ P/ u5 U: t8 t. b( L. R
[   76.551694] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)/ j2 B9 p' A8 A2 m
[   76.563987] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
- W# d& t- G* f, ^4 `[   76.574327] Mem-info:
3 d8 g0 f! b! Y( N0 h, Y[   76.576657] DMA per-cpu:) i3 L- D4 k" t9 i: E( X; Z
[   76.579223] CPU    0: hi:    0, btch:   1 usd:   03 @& w1 N/ \6 V( e" M' w- q9 N
[   76.587174] active_anon:1430 inactive_anon:35 isolated_anon:0) s4 ?: g; Q) v$ a5 ~' i8 D- D
[   76.587198]  active_file:867 inactive_file:896 isolated_file:01 v$ k- h! m& O
[   76.587216]  unevictable:0 dirty:0 writeback:0 unstable:0" V+ x+ |3 o9 E
[   76.587232]  free:258 slab_reclaimable:286 slab_unreclaimable:789
# `, y; b% D5 ][   76.587251]  mapped:1276 shmem:132 pagetables:122 bounce:0
( `0 x. S& W, I& x[   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
, L+ ]! P6 {1 h3 Q8 m1 j[   76.661444] lowmem_reserve[]: 0 0 00 l% x) q% I# A" ?7 N4 _! 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
* [0 `! Q( J$ |9 @[   76.677034] 1884 total pagecache pages
4 R& A- @6 m  F4 R[   76.680817] 0 pages in swap cache5 ~! N3 p% S$ U* L, w/ I
[   76.687285] Swap cache stats: add 0, delete 0, find 0/0" Q& j5 i8 W5 h$ P4 [
[   76.693996] Free swap  = 0kB
, `& N, Q0 l* X, m# U[   76.696926] Total swap = 0kB
# `$ ~: v& b+ ~[   76.701578] 8192 pages of RAM
5 r6 x( g" o" a  W' U% _5 ~[   76.707668] 405 free pages
2 @4 u+ c5 o" D9 p, a- E[   76.710418] 1555 reserved pages1 D4 N# g; ~% S! U, e' a2 ~5 d8 [
[   76.715882] 838 slab pages
* `5 ^/ z0 J4 {; Z[   76.718631] 1851 pages shared
! E: `# q1 @8 |[   76.721620] 0 pages swap cached
  t8 {! s$ c0 _0 q: L; _[   76.728009] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
. k9 D0 T0 i9 f: |+ ICannot mmap = 0 buffer
) n# |2 Z; v8 o) Y7 I9 D* SVIDIOC_STREAMON/ K% K! @: L; D2 O- U3 i" x5 T
: Input/output error
( L4 y$ J) R; ][ERROR|start@capturer.cpp,27] fail to start capture5 M/ m. A8 p) b
QThread::start: Thread creation error: Resource temporarily unavailable+ S& {3 I! D: u3 G! W. m! y0 j
[DEBUG|start@playbacker.cpp,25] it's about to start playback
' D/ c4 A; U) `- o) {
; ~* K1 q1 r1 n9 B0 u用led双核可以,这个demo就不行了,怎么解决啊
  w& Q. X$ M% w1 Q4 r1 b
/ `1 j0 q3 E' K  `
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

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

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
6#
 楼主| 发表于 2015-11-3 11:39:18 | 只看该作者
root@tl:~/face_detect/run# free
: I  o$ ]% X7 L% Q             total       used       free     shared    buffers     cached- M6 |2 D2 M. N$ W
Mem:         26548      19728       6820          0          0       2884; k- N/ S$ s( _* S$ w) q
-/+ buffers/cache:      16844       9704
* n2 v' U6 [. G8 w/ ]/ R9 ~Swap:            0          0          0                              
回复 支持 反对

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
5#
发表于 2015-11-3 11:17:19 | 只看该作者
你可能用的是128M的内存,所以可能系统内存不够,你用free看看当前系统内存是不是不够。
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
地板
 楼主| 发表于 2015-11-3 10:23:08 | 只看该作者
Started slave procId 0.! k4 c* c7 z6 t
+ ../host/host_app -qws
9 C) U) A  i/ k- h[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync: u2 h. V+ P2 f# y
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1" \- L/ L! x& C$ b+ g2 _: O9 j
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
1 p4 P, F1 u+ n  B- y[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready# p6 `* r% V, U: f- r$ E6 `3 `# H
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
) T( W  u1 ^& I8 g2 VCamera-Camera3 V: e& H8 Z" ~9 D3 \$ K3 l- r
[   34.616261] host_app: page allocation failure: order:10, mode:0xd05 B! Q0 ?- x* ]+ P
[   34.627157] Backtrace:
7 s0 K" e+ ^! T9 y$ Y, h  ^! }[   34.630203] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)4 {2 }/ R9 k4 M7 F2 H* @
[   34.652340]  r7:00000000 r6:0000000a r5:000000d0 r4:00000001
  \9 H) E' c+ i9 A/ ][   34.658528] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)4 g8 U# z- x# f3 n0 A" f7 W
[   34.669739] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590): ^( Z8 C$ V3 |* b3 ~
[   34.681238]  r3:00000000 r2:00000000( U& w; \, \' \" r( \8 Z
[   34.685216]  r7:00000040 r6:00000035 r5:000000d0 r4:00000000% `% `# \1 g  U$ Y# j
[   34.691084] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)5 F( I4 I3 a" h* V4 O2 c$ ]) z, V# o
[   34.703957] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
: z* q3 Q& T# G" Z[   34.714824] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
7 h/ }4 o( d3 N) y7 D2 `[   34.726242]  r7:c1bded90 r6:c1371700 r5:c12bd688 r4:c13717640 L6 c/ b8 x9 ^6 Z
[   34.732056] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)2 |3 [" z/ X. ^: I/ s* y7 p6 |1 v
[   34.744717]  r8:b5317000 r7:c1371280 r6:c12bd688 r5:c1bded90 r4:c12bd688
( t& f, L2 C; i# M# W[   34.751646] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
* E* l7 K1 u' f7 B5 Y; y2 _3 X[   34.763159]  r5:c12bd688 r4:c1bdec00
" F6 B8 o8 N- K/ D- [" v' E6 @[   34.766879] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)7 d/ E: q0 x5 X. b( A& c8 y
[   34.777146]  r5:c1bffe00 r4:c1371280
" F0 [4 f: I5 q0 g( ][   34.780857] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
+ Z4 K, ^! c1 H5 b2 q5 x[   34.791444]  r7:c1371280 r6:000000ff r5:c12bd688 r4:00000000# z& l" h- O5 e& h/ N. m% F
[   34.797615] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
3 Z5 O0 y  Z( m6 W' L[   34.808680] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0), I2 f* s6 s1 l* }' n5 B
[   34.823582] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
; T6 r4 X9 l! Q2 K* u& p[   34.842578] Mem-info:
9 v& E0 e) E1 f2 Z& O[   34.844908] DMA per-cpu:* J4 q* k& I6 W) T: S. [
[   34.847474] CPU    0: hi:    0, btch:   1 usd:   0% Z3 `1 N& _/ w, T# T$ {
[   34.852369] active_anon:1439 inactive_anon:35 isolated_anon:0
5 T& a5 V4 V' o4 f0 I# L[   34.852388]  active_file:718 inactive_file:601 isolated_file:00 `* B, p+ Y$ \: B5 a0 D3 _/ }- ^
[   34.852404]  unevictable:0 dirty:0 writeback:0 unstable:0
) M8 @% }2 K: R& l[   34.852420]  free:665 slab_reclaimable:289 slab_unreclaimable:815
5 x9 w. Y4 G" ~1 @[   34.852437]  mapped:1087 shmem:132 pagetables:122 bounce:0
! H3 G$ q) n5 E, d9 Z[   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
6 U  F( X; ~& V5 I" A' `: s1 A[   35.023590] lowmem_reserve[]: 0 0 0
3 \. V/ V/ D- y! U9 E" ?$ q[   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 = 7648kB1 s$ U# g8 Y; k/ D- `0 N2 X- b7 W
[   35.054676] 214 total pagecache pages  ^3 |+ x" @# \/ L. W% W
[   35.058399] 0 pages in swap cache
' q  W8 h& i6 S$ z  R- b[   35.061743] Swap cache stats: add 0, delete 0, find 0/09 c4 j7 W" }" }  P3 t$ D8 I
[   35.081983] Free swap  = 0kB- z  \  t! g) j9 x5 m
[   35.085058] Total swap = 0kB8 n+ y# p6 f/ H, e2 ]& p
[   35.089678] 8192 pages of RAM( p7 |, S2 w/ ^& P" E" u" ~
[   35.103088] 2019 free pages+ R1 H3 Y7 d( L* L: A; |. l
[   35.105926] 1555 reserved pages( b/ J8 U2 M' c
[   35.109090] 869 slab pages
- C5 R! O  @2 ][   35.111813] 161 pages shared( j. @6 G1 Z* j+ P' z: H# p6 V
[   35.132854] 0 pages swap cached" F( b3 J. b1 e$ i- F& t9 N' q0 K
[   35.136068] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed' U4 o: k, `- K1 N- x; S
Cannot mmap = 0 buffer
1 Z: \) E. ]7 C; d+ z  ^VIDIOC_STREAMON
1 g# M- i: R( ^3 N# P. c& o2 h: Input/output error
( c. `' ~+ u, E  d[ERROR|start@capturer.cpp,27] fail to start capture
+ c/ J+ v9 L& NQThread::start: Thread creation error: Resource temporarily unavailable
. n9 E5 t: Q9 u, a# W0 ?[DEBUG|start@playbacker.cpp,25] it's about to start playback
- f5 ^7 h  K/ `
回复 支持 反对

使用道具 举报

4

主题

9

帖子

1052

积分

金牌会员

Rank: 6Rank: 6

积分
1052
板凳
 楼主| 发表于 2015-11-3 10:22:28 | 只看该作者
da850-panel=TL070A
  _9 V( f/ V- B; E' ?# cemac-mode=mii
, x- Y6 d6 G4 i* `( e, F2 r5 bethact=DaVinci-EMAC
- X/ U( z! X  L) d% a, _7 {  {ethaddr=16:01:c0:17:45:e5& G( p% N  T6 Y6 T* `# U
hwconfig=dsp:wake=yes
" b) j7 {9 X1 T3 x( K$ `1 T3 j  zipaddr=10.3.2.99
+ k1 ]7 ^5 T  Vloadaddr=0xc0700000
+ y* n& Z1 w) o! Nloadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}% d+ f2 f( j+ h& ?- A) ^+ k
loadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
" Z: C1 R- ]4 r4 V; _! i6 I+ E9 e( H; `6 fmem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
$ x5 h. j& y( h/ H% \% Y0 h9 Immcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
( v; H# K5 m: |( hmmcboot=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;
% K/ i+ O5 a! K: S1 I' G  Z6 tmmcdev=0; l  t, e  W. g0 g" D9 }
mmcroot=/dev/mmcblk0p2 rw: R, r( |2 Y8 ?
mmcrootfstype=ext3 rootwait
2 o. p  n) k- J2 x& rmtddevname=env
7 M7 b$ W& r% H8 @5 tmtddevnum=0
6 I& v& j4 v; v) K/ wmtdids=nand0=davinci_nand.00 a, w) c) u# Q+ r1 \' F: [  W$ S' b* g
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
" _) m# u2 O" d* C3 o; ?& Bnandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
8 u# t( [9 d/ znandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
  p! c" y! B; H# |nandbootpart=kernel
2 |/ K- D2 Z2 ^0 `* i+ ^, O" x) _nanddev=01 l6 ^$ C6 m# ]5 G
nandroot=ubi0_0 ubi.mtd=4,2048
; l- z: R- b2 G0 q- i) D8 wnandrootfstype=ubifs+ q/ y$ h+ n. q6 n0 O
netmask=255.255.255.0" r8 d& C7 q9 p) Y% \; g
nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}{nfspath},nolock rw. R; F" C. G; l- P6 p% d% O1 A
optargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
# ^# ^! \/ D8 j( Z7 X9 V$ e8 ypartition=nand0,0
  y! X7 ?6 K/ bscraddr=0xc0600000
$ E8 a1 B+ C) A! _0 Iserverip=10.3.2.175! [) q' `' R* Y" X! r: n$ D
spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
1 J- e! m. o& k9 J: u& [0 [& _: Bspibootaddr=0x100000, o, D3 k8 c& u/ u
spibootsize=0x400000* _8 ]0 _# @' ~5 p+ x4 M# |
spidev=0
2 f% Z1 p. L, `; T' r) o  zstderr=serial
( M% J0 b6 Z+ X) z7 H4 Qstdin=serial; c$ H8 m2 n5 {2 {
stdout=serial
8 I9 E* I$ ^# I1 A, ~; b" T7 K& I* kver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
9 O2 y3 y3 o( }  s- T; ?4 Z4 P4 T  H; {6 q( q- S8 r8 d1 _

0 |! A9 v7 H8 S3 X1 v) i& ~还是不行
# Z) W0 Q; k) `' @4 }- H$ T/ ]$ X
& H4 w& L6 I  s. M/ S1 g
回复 支持 反对

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
沙发
发表于 2015-11-3 09:14:02 | 只看该作者
需要配置vpif的缓存;1 L  o2 r4 `( B5 }" ~
1.vpif capture模式选择,vpif_capture_format值:' w1 z5 J* D- N! ~: ~( D( m- ^
HDTV:预留
- u+ \" k8 V) C. T9 [; ^SDTV: TL5147. I: F# [& x4 i( b, s
RAW:TL2640+ M$ o5 @; e, T$ P, L
2.(ov2640配置分辨率为640*480 = 640*480*2 = 614400)
( m+ C3 J& P0 w2 k2 i$ `vpif_capture.ch0_bufsize=614400: N0 ]" ?2 v, D% D. Q$ c
例如:
6 v+ R5 w$ }; X2 v) X' nU-Boot >      setenv optargs  ${optargs} vpif_capture_format=RAW vpif_capture.ch0_bufsize=614400* c8 y( J2 N$ t) g( W8 r
说明:optargs变量为参数添加变量,主要给需要添加参数传递给内核。
* x. G3 B' W; j setenv optargs  ${optargs} vpif_capture_format=SDTV vpif_capture.ch0_bufsize=614400
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-11-30 18:53 , Processed in 0.045904 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

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