| 
 | 
 
 本帖最后由 yhyhyh 于 2017-10-31 21:53 编辑  
/ Q8 b$ S* \% V! ~* Z" E* u! D8 ~7 v; P6 ?! u3 E" k% O 
我按照创龙IPCLite双核裸机通信PDF的流程,开发板从SD卡的Linux系统启动,将编译好的ais和bin文件烧到NAND FLASH中。然后从NAND FLASH启动,能看到程序运行。 
; G; X* h) y% n# `+ {! h- t 
% {% }* t/ F9 H& Y但是这样的流程太复杂! 
& U2 m7 J1 W4 p; p4 D: a# H 
1 @3 J, O: ]0 a我想试一试能不能在电脑上的Ubuntu编译好程序,之后拷到SD卡中,然后开发板以SD卡启动,运行程序。我先把SD卡还原成普通的SD卡,然后把编译好的程序拷到SD卡后,以SD卡启动时,串口上显示直接进入uboot,如下。不能像PDF上一样(文末的图) 
! N3 r1 X8 [2 e* K! H4 x 
: G3 M  ]" D0 w/ u9 d3 Y- MMC boot...: ~1 }* [$ [7 ?; k
 
 - davinci: 0
 
' Y1 w2 ~, L/ R: } - spl: mmc device found  f% P* E7 i# e# P# F- A2 G- M+ I
 
 - 3 W8 @9 L  ?- C; T$ n
 
  
5 x- v; W' q& W- U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
 
- ?6 i6 \3 w7 ^  g. V - 4 `1 @9 Y" m4 F0 E  x# h' @* O6 m
 
 - I2C:   ready1 ?% D$ z2 s4 i! A- Y. N
 
 - DRAM:  128 MiB  C& W$ T) m7 f# b
 
 - WARNING: Caches not enabled) L/ m9 I0 x8 H
 
 - NAND:  512 MiB0 C0 t  b" T4 i& v4 d6 d4 ]
 
 - MMC:   davinci: 0
 
( L. |/ n" Y/ @" h4 h8 [" j" b - Bad block table not found for chip 0' N/ T: {  t  H; i
 
 - Bad block table not found for chip 0
 
+ t  X6 l. b  c8 s* e' R - Bad block table written to 0x00001ffe0000, version 0x01/ D# p$ ?* t' }( @
 
 - Bad block table written to 0x00001ffc0000, version 0x010 K% G5 m% p( a% C9 c
 
 - *** Warning - bad CRC, using default environment) e5 K( ], t0 U+ V/ |
 
 - + @8 O0 N9 K8 P. W7 y
 
 - In:    serial
 
3 r' q( P2 g1 i2 J$ u8 o3 W/ E - Out:   serial
 
8 l$ r* f% S) k3 b' B$ | - Err:   serial
 
0 X$ y, c  {" l9 O9 \, r - Net:   No ETH PHY detected!!!' Z8 @0 n/ [7 H- y( {3 g
 
 - Error: Ethernet init failed!; U; v; \* U' C
 
 - Board Net Initialization Failed
 
! k$ R" J  k9 I - DaVinci-EMAC
 
* C. `6 q! V; Q; s6 C/ j - Hit any key to stop autoboot:  0
 
. b5 s8 A: N$ b  n4 a - mmc0 is current device4 e1 p0 N* V8 @+ ~  V! o7 H
 
 -   O' f9 R/ a4 H3 ]9 N( c2 t% o3 {
 
 - ** Unable to use mmc 0:1 for fatload **
 
' F7 V' B4 w( T3 P; l/ ~* I  
1 N7 b* E# |7 C7 t- ** Unable to use mmc 0:1 for fatload *** A( \! M) s' ^% n' i- }' y
 
 - / T4 ^5 k5 D% u
 
 - Loading from nand0, offset 0x120000/ t/ S; z2 J) H" d" W
 
 - ** Unknown image type' M) }# I3 s3 Z2 \4 H# u; p9 w  l
 
 - SF: Unsupported manufacturer ff
 
  k' L. K5 g" a. p, K - Failed to initialize SPI flash at 0:0
 
- I/ G8 O6 k8 U6 J9 Q$ a: } - U-Boot >
 
  复制代码 想求助一下怎么办,有没有能简化debug流程的方法 
$ V. c7 w/ H6 Y4 G每次从电脑上的Ubuntu上拷贝程序到SD卡,再从SD卡启动Linux,在Linux中拷贝程序到NAND FLASH,再从NAND FLASH启动,太浪费时间了。 
0 Y2 `- c$ z$ t7 S 
8 q- G6 C' J) N |   
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册 
 
 
 
x
 
 
 
 
 |