|
本帖最后由 yhyhyh 于 2017-10-31 21:53 编辑 ! x$ ?% ?$ t- L, l% u
. B* N: S( C4 l+ _/ w: t我按照创龙IPCLite双核裸机通信PDF的流程,开发板从SD卡的Linux系统启动,将编译好的ais和bin文件烧到NAND FLASH中。然后从NAND FLASH启动,能看到程序运行。- @4 E0 G* B: ^8 v* N8 s
4 b$ ?1 j3 ~# i8 a4 I3 Z但是这样的流程太复杂!) a5 G8 i" P- C" y
8 t2 ~- a$ x- z我想试一试能不能在电脑上的Ubuntu编译好程序,之后拷到SD卡中,然后开发板以SD卡启动,运行程序。我先把SD卡还原成普通的SD卡,然后把编译好的程序拷到SD卡后,以SD卡启动时,串口上显示直接进入uboot,如下。不能像PDF上一样(文末的图)
7 a" {6 N* x3 k1 W- C) C4 r" X& G8 B2 s) q/ K+ d* g
- MMC boot...
+ x! F+ Z I$ d - davinci: 0% e6 g7 n* W5 N2 D
- spl: mmc device found
& Z' z8 ~9 A. U4 X& c - - }1 s H6 J* S ]
6 H7 z. N: r+ @( s- U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
. ` ^3 m R' r. x9 R - , @' r7 d9 Y/ H( E. ~: a r8 Y
- I2C: ready3 n, G$ E. _: c# N" s6 J
- DRAM: 128 MiB6 e6 {4 j! Z, r4 @# G) B& W' ^; ^
- WARNING: Caches not enabled
; l1 C4 y) H) X - NAND: 512 MiB
/ R: Z; O7 ]- k7 p" N - MMC: davinci: 0
, l/ K& y( @( k - Bad block table not found for chip 0
" j1 M& V A I- T9 B - Bad block table not found for chip 0
+ k% ?; { _$ L/ ? - Bad block table written to 0x00001ffe0000, version 0x01
) D* h1 A6 d8 i, ] W4 `: r - Bad block table written to 0x00001ffc0000, version 0x01
7 j+ F f$ H# C& D, Y - *** Warning - bad CRC, using default environment; b4 d& }; K' G
- 7 U, `/ |2 l/ K4 x% U+ Y& ]' c3 w4 w
- In: serial
9 h0 t$ E4 V! D - Out: serial
6 G0 Y8 I- ?: h+ D( i9 C2 F - Err: serial6 ?2 \' p+ |1 _! |, [7 o% T
- Net: No ETH PHY detected!!!- k( x5 n. R/ h0 p
- Error: Ethernet init failed!
3 A( ~* C& M6 u8 F - Board Net Initialization Failed' ?7 Y/ f- H3 _
- DaVinci-EMAC. l: f( @0 P5 L5 I* B$ t$ k
- Hit any key to stop autoboot: 0- P7 X5 e* J8 r5 W: b: y$ \6 g9 w
- mmc0 is current device9 ?0 Z. `/ ^" C& Y
" b" r2 O! ?$ G. t) Z! U; V8 N/ N- ** Unable to use mmc 0:1 for fatload **
' o# J8 T! ?( u1 p9 p - & V% q0 `7 u1 v! \: y
- ** Unable to use mmc 0:1 for fatload **$ F4 \% `2 [8 P( _
6 K' r, L5 {. \* I- Loading from nand0, offset 0x120000" Y1 q; ?7 j# O) H
- ** Unknown image type
/ F6 h" F1 }) }% y+ e7 _ - SF: Unsupported manufacturer ff' ^1 q1 T. e" f3 _
- Failed to initialize SPI flash at 0:0
9 ?1 ?( |% i" s4 i/ L( u - U-Boot >
复制代码 想求助一下怎么办,有没有能简化debug流程的方法
% p. e l7 n3 D# b r每次从电脑上的Ubuntu上拷贝程序到SD卡,再从SD卡启动Linux,在Linux中拷贝程序到NAND FLASH,再从NAND FLASH启动,太浪费时间了。
+ V% N1 B" ]9 G
$ w# a: P9 U: v9 a |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|