|
本帖最后由 yhyhyh 于 2017-10-31 21:53 编辑
1 a. h9 g7 x3 z/ R2 X/ F8 o+ ~# G6 `, E/ o
我按照创龙IPCLite双核裸机通信PDF的流程,开发板从SD卡的Linux系统启动,将编译好的ais和bin文件烧到NAND FLASH中。然后从NAND FLASH启动,能看到程序运行。1 y2 x/ U" F, Q6 q3 f8 ]' I- a8 B
; z) `4 N9 Z- A- n3 c$ {
但是这样的流程太复杂!
& P+ C- i c5 b& @- P* B) r3 y& c7 }" e* u+ H; U g8 I: I
我想试一试能不能在电脑上的Ubuntu编译好程序,之后拷到SD卡中,然后开发板以SD卡启动,运行程序。我先把SD卡还原成普通的SD卡,然后把编译好的程序拷到SD卡后,以SD卡启动时,串口上显示直接进入uboot,如下。不能像PDF上一样(文末的图)
$ P8 i; |7 I8 l& z; _1 G S. U
% a, y) @4 A" L! ^; y9 T! x- MMC boot..., M( \" c* W6 o0 q
- davinci: 0
) i' o. F! H) o4 G - spl: mmc device found
* s" T/ _# i6 V
% ?0 q7 e# L, D* U, i1 |- # S7 K/ e) w4 n
- U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
# B9 _7 ~3 Z) q
2 x+ w% s& K7 G7 J$ U( v* ^5 `) t- I2C: ready$ j+ k; ?) z& F L
- DRAM: 128 MiB" K. f9 \8 m: _ P( V$ D6 }( g4 `3 c
- WARNING: Caches not enabled9 L: s) B" h! s- w" X0 K! \
- NAND: 512 MiB
" V& k5 i7 P# ~7 W - MMC: davinci: 0
) h$ j1 c1 K2 P& O1 i4 t, z - Bad block table not found for chip 0
9 |1 e1 Z W) ?1 k4 |; Z - Bad block table not found for chip 0
: M! f( P! U8 f/ `$ _ - Bad block table written to 0x00001ffe0000, version 0x01$ n, g3 ^- {& ~9 e3 J3 F" j: {: ]. Q9 Z
- Bad block table written to 0x00001ffc0000, version 0x01- F2 B# U/ U s: E4 x! u( J
- *** Warning - bad CRC, using default environment0 j2 O1 t' \) L
, ]6 t2 v- p* n3 n- In: serial$ o. n% N3 P7 T) Y5 e: \6 S
- Out: serial
" E, B+ z! @. ~4 V" ^2 @, a - Err: serial
& i; Q6 ?# G0 G6 D @ - Net: No ETH PHY detected!!!) d9 f& A: `8 O1 h+ V& _ E8 ` c6 O
- Error: Ethernet init failed!. l6 n/ Q. W3 H: C8 }
- Board Net Initialization Failed3 x9 u1 \; k: D; ]
- DaVinci-EMAC
. y& `$ c H5 q0 F' K& Y - Hit any key to stop autoboot: 0/ q+ q6 X2 [% W4 K( L' s
- mmc0 is current device( h$ _6 k* f: r* K
- ' S$ a* ?$ }9 t3 u+ J& U
- ** Unable to use mmc 0:1 for fatload **
- E" F# M% c1 f- }( ?6 A - % t4 B, ^) ?/ S
- ** Unable to use mmc 0:1 for fatload **
9 _0 l" ]6 I3 J7 N$ R; h" I
1 y4 j8 t7 W( `" V+ ?# v6 I- Loading from nand0, offset 0x120000# o% e9 B0 E5 P
- ** Unknown image type6 O+ B& l) r4 m& r' Q' T
- SF: Unsupported manufacturer ff: g* Q9 k9 z7 x6 @
- Failed to initialize SPI flash at 0:0
0 Z0 @0 e& Z1 p/ @* M$ U - U-Boot >
复制代码 想求助一下怎么办,有没有能简化debug流程的方法
/ K4 r! A' I+ r4 n [每次从电脑上的Ubuntu上拷贝程序到SD卡,再从SD卡启动Linux,在Linux中拷贝程序到NAND FLASH,再从NAND FLASH启动,太浪费时间了。
# E2 `! z8 I' R+ g
4 g, q$ {0 V( t4 ]& R) _ |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|