|
|
本帖最后由 yhyhyh 于 2017-10-31 21:53 编辑
* W g9 j5 E3 c0 V& j" x7 G5 |% S% K( d F5 t( W
我按照创龙IPCLite双核裸机通信PDF的流程,开发板从SD卡的Linux系统启动,将编译好的ais和bin文件烧到NAND FLASH中。然后从NAND FLASH启动,能看到程序运行。
) a8 @1 i- [% x: z' P3 e
9 W% U0 J5 _% G9 s但是这样的流程太复杂!5 V- E8 K1 i: M( E- g
) q( [! e, H- U8 z我想试一试能不能在电脑上的Ubuntu编译好程序,之后拷到SD卡中,然后开发板以SD卡启动,运行程序。我先把SD卡还原成普通的SD卡,然后把编译好的程序拷到SD卡后,以SD卡启动时,串口上显示直接进入uboot,如下。不能像PDF上一样(文末的图)
% A8 ^4 ~( ]; {/ I( |9 \- f" O k7 U) a( s
- MMC boot...
3 X- W* ?2 j% [; W! ^& H8 X - davinci: 0+ X0 ]/ G1 x$ Y/ a4 S
- spl: mmc device found# D/ J& t* d, i4 h# C* g
: L% y7 [* K4 `6 s8 a* o$ j& q
4 k( p/ Z0 Q+ e- ~" z2 M% t- U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
m7 A! ~6 u( i5 d5 p! [
" z2 h w/ F0 [6 J- I2C: ready: V, ^9 |6 U! B+ Q
- DRAM: 128 MiB' ]! b- V, t, A+ l% d* L. P
- WARNING: Caches not enabled
6 ] }1 V9 y- x$ D1 v9 m* k - NAND: 512 MiB6 P, x/ H& c) L: o1 f& a
- MMC: davinci: 0
j' j; _: |2 V/ o- p - Bad block table not found for chip 0
; t! \& \3 b n3 @1 X - Bad block table not found for chip 0+ s; Y( H& b# L/ T$ x3 p' e/ y
- Bad block table written to 0x00001ffe0000, version 0x01
. p! S, l6 B+ l - Bad block table written to 0x00001ffc0000, version 0x01
8 N, M0 `' ^; S; [" y4 j0 F7 m - *** Warning - bad CRC, using default environment
# b% @5 W- Y- P- f8 A! J( P k$ e - 2 K+ y B3 |( D' w8 w$ t3 u
- In: serial
1 R' u9 X4 p6 W L - Out: serial
, K4 F6 u6 X! A - Err: serial4 K/ a; @. a0 i- W6 `
- Net: No ETH PHY detected!!!
9 k" A' x1 M" N9 c. i - Error: Ethernet init failed!% H8 n: I3 m4 n5 |) _5 B& R" y+ ~
- Board Net Initialization Failed7 O. s/ b: X3 C5 a( x3 e
- DaVinci-EMAC0 E2 t$ h' N1 _3 |4 e9 l, Z
- Hit any key to stop autoboot: 03 ?3 d4 c) r9 j4 p' J: J+ @
- mmc0 is current device3 z9 p0 P4 S7 f* D; w# \# u3 z/ M8 K
; E) Q6 }5 C! \) e/ o- ** Unable to use mmc 0:1 for fatload **
9 ?5 q( ^& G8 \- k0 x- a - / I! z9 @# B/ {" ^
- ** Unable to use mmc 0:1 for fatload **
3 z4 c8 Y% E+ K3 ?- K6 D
6 z6 O. P- |% P0 |8 a4 C7 v: d- Loading from nand0, offset 0x120000
& Y9 L) l( E$ q; C4 l$ f - ** Unknown image type
! K9 f: Y/ n/ c - SF: Unsupported manufacturer ff3 I6 M o; q* Y
- Failed to initialize SPI flash at 0:00 {: D3 B2 D& f0 y. Z" I% S0 U
- U-Boot >
复制代码 想求助一下怎么办,有没有能简化debug流程的方法: n' @+ v8 }& Q o( g
每次从电脑上的Ubuntu上拷贝程序到SD卡,再从SD卡启动Linux,在Linux中拷贝程序到NAND FLASH,再从NAND FLASH启动,太浪费时间了。6 F# n0 A! c( T
7 _- K8 @+ J' a2 v1 v |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|