| 
 | 
 
 本帖最后由 yhyhyh 于 2017-10-31 21:53 编辑 , L* F9 c( z$ S8 R, X 
 
0 @, u# y0 i7 F" x我按照创龙IPCLite双核裸机通信PDF的流程,开发板从SD卡的Linux系统启动,将编译好的ais和bin文件烧到NAND FLASH中。然后从NAND FLASH启动,能看到程序运行。: v1 p: |1 q% w; h8 U 
% C# n6 o5 h& c 
但是这样的流程太复杂! 
. N; |% V# J' n! f* u 
$ r# O6 M# ?+ |5 r  W! H2 P) `7 {1 Y我想试一试能不能在电脑上的Ubuntu编译好程序,之后拷到SD卡中,然后开发板以SD卡启动,运行程序。我先把SD卡还原成普通的SD卡,然后把编译好的程序拷到SD卡后,以SD卡启动时,串口上显示直接进入uboot,如下。不能像PDF上一样(文末的图) 
" S" `1 Q: P4 K/ N5 n5 B. W" _+ Z7 D7 U2 e7 p 
- MMC boot...2 z; x6 R# U7 \8 B! J. C" d: h
 
 - davinci: 0& q+ t4 P" P5 H8 G3 Z  }% g
 
 - spl: mmc device found6 b2 ^1 Z- H, l+ c) F* ^
 
  
! _6 l+ ?. v. n& G 
! ]8 t) F7 s5 }4 H6 g6 x, I7 Z+ i- U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)9 f+ d+ B/ I4 T  v
 
 - # \) r- H9 d( {6 Q0 h6 r+ \
 
 - I2C:   ready  W! N- A3 `: |5 E9 k, Z3 H6 O- F
 
 - DRAM:  128 MiB
 
5 P9 m8 `# y: P+ S3 V - WARNING: Caches not enabled1 I2 ]# H# _. b0 V* b0 Y
 
 - NAND:  512 MiB
 
8 m  r) h! d( Y# s - MMC:   davinci: 0% n& t; c# `* k( Y* |$ N
 
 - Bad block table not found for chip 00 q8 C! h6 x3 O! R* G
 
 - Bad block table not found for chip 0
 
- V* d  c1 S8 B% O1 T - Bad block table written to 0x00001ffe0000, version 0x01
 
7 M, D/ |( P8 G8 ?0 _$ M' L2 \ - Bad block table written to 0x00001ffc0000, version 0x01
 
9 K5 g8 ~: l7 B+ O - *** Warning - bad CRC, using default environment
 
' P- y1 |0 U2 e# y" z - 7 \7 I2 J# ~9 P, u7 l5 G1 ~9 e& T, c
 
 - In:    serial2 ]4 d. R9 h. G; g) [/ L
 
 - Out:   serial- @7 X6 V" H8 ^+ r
 
 - Err:   serial, ^5 K5 d  \+ [2 Y5 x5 q
 
 - Net:   No ETH PHY detected!!!( E9 q4 {/ `0 A$ O2 F
 
 - Error: Ethernet init failed!9 G- Y' n# b* c4 ~4 l
 
 - Board Net Initialization Failed
 
3 o0 v; Z4 N. w8 Z* r, { - DaVinci-EMAC
 
) Q$ T8 U* c" ^  X - Hit any key to stop autoboot:  0
 
6 J9 U  ^+ w- y2 `" u - mmc0 is current device
 
9 l  g) I6 \2 r  {! ~% h  
. |- T8 p, c$ L9 m0 K- ** Unable to use mmc 0:1 for fatload **3 U7 b) J" a2 s$ q2 m1 @8 V2 B: J
 
  
% ]+ Z; z' A  a. z( W* D, W2 O4 D- ** Unable to use mmc 0:1 for fatload **
 
2 j! c* {7 Y4 B: M* Z - ' j- H7 M  v9 U; V" L) b- X4 y
 
 - Loading from nand0, offset 0x120000( X' a  `3 o% R, V7 D
 
 - ** Unknown image type- ?; R: D% t: G
 
 - SF: Unsupported manufacturer ff
 
, I% o, b, `( B$ ^ - Failed to initialize SPI flash at 0:0
 
  b" G2 q% \$ L$ S - U-Boot >
 
  复制代码 想求助一下怎么办,有没有能简化debug流程的方法( s8 W, A0 }  l. N3 J* A 
每次从电脑上的Ubuntu上拷贝程序到SD卡,再从SD卡启动Linux,在Linux中拷贝程序到NAND FLASH,再从NAND FLASH启动,太浪费时间了。 
; x8 e( k  v: Q3 W* x; U- g  M6 t! ~+ d) M 
 |   
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册 
 
 
 
x
 
 
 
 
 |