|
本帖最后由 yhyhyh 于 2017-10-31 21:53 编辑 6 G/ c/ N5 o7 Q9 f( l7 h
% W' c$ a7 c/ y# K5 Z1 p. v: o我按照创龙IPCLite双核裸机通信PDF的流程,开发板从SD卡的Linux系统启动,将编译好的ais和bin文件烧到NAND FLASH中。然后从NAND FLASH启动,能看到程序运行。6 {# u9 C! x a/ |$ |- g. S! G
) V4 F* o! Q5 R# b# x
但是这样的流程太复杂!
5 F' ~- N( B( {( y) L& c
( O7 M) k+ G% B! @ t我想试一试能不能在电脑上的Ubuntu编译好程序,之后拷到SD卡中,然后开发板以SD卡启动,运行程序。我先把SD卡还原成普通的SD卡,然后把编译好的程序拷到SD卡后,以SD卡启动时,串口上显示直接进入uboot,如下。不能像PDF上一样(文末的图)
, M( u1 x0 Q1 \5 p) D% R$ j0 z1 x, H4 g D5 Y$ _: _
- MMC boot...9 S/ W; i! ^3 t, ]9 `2 T6 ?
- davinci: 03 D7 K1 i! {: \5 U3 m
- spl: mmc device found
: o% x: y2 u1 i8 C
$ [7 E" w! R X% r- * L5 b, |" F4 X+ a9 }* z2 b
- U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)
; y: v6 x$ e5 g4 k$ n, D - : Y; `3 h# }0 s
- I2C: ready# Z3 g, a: D+ N4 a. N" I8 k
- DRAM: 128 MiB$ Z2 L0 U/ v& F$ p+ {6 o. y ~
- WARNING: Caches not enabled% x& y! U6 V) C: F
- NAND: 512 MiB
`- N E* s- ` - MMC: davinci: 0
) G) I5 U+ ~+ ^ - Bad block table not found for chip 04 U- ?9 {5 k4 D( w
- Bad block table not found for chip 06 W8 U4 `0 a% S- I/ M% H4 b
- Bad block table written to 0x00001ffe0000, version 0x018 f ^+ C# ?# l) v
- Bad block table written to 0x00001ffc0000, version 0x01
, W! j4 K7 L7 j! g( q - *** Warning - bad CRC, using default environment0 c; z. O; H0 @1 t; F
- % f! e; y+ S5 N! {( n2 J6 t G
- In: serial
- P* q" W0 ~ u. k: Y" p7 a - Out: serial. ]3 z! x" t+ g5 y S
- Err: serial3 c" z: L% Z4 |. [
- Net: No ETH PHY detected!!!/ l4 B* G. _$ p; \: R; k
- Error: Ethernet init failed!
2 ], R7 o4 H+ z$ ]5 W' E( } - Board Net Initialization Failed
! G. P! ]+ q# P% r" z/ ` - DaVinci-EMAC+ F ~, U2 ?9 B4 k' V. H' O+ U- Z
- Hit any key to stop autoboot: 08 j+ x6 X+ P* \* E+ L5 @
- mmc0 is current device
# F4 H3 Q/ K3 y5 x% s" l) d6 } - 3 n0 C# d; h$ K9 V
- ** Unable to use mmc 0:1 for fatload **" y& d- H0 p, ~, X
2 |) X) a+ p# e% M- ** Unable to use mmc 0:1 for fatload **" {* y% j" r: z, E$ P' A
- . _8 U1 b+ G' C) |9 K
- Loading from nand0, offset 0x120000
/ H+ D0 k* w; D" f! x/ f - ** Unknown image type
8 L1 Y6 G$ P- N( F% M/ I - SF: Unsupported manufacturer ff
8 v$ T3 \ L) h, K( D+ J& z3 E0 s - Failed to initialize SPI flash at 0:0: s C, j. W, n' V3 m9 a
- U-Boot >
复制代码 想求助一下怎么办,有没有能简化debug流程的方法% ]& a# a8 b; Q' o" W
每次从电脑上的Ubuntu上拷贝程序到SD卡,再从SD卡启动Linux,在Linux中拷贝程序到NAND FLASH,再从NAND FLASH启动,太浪费时间了。
0 w1 }& d9 P0 ^- X" E) Z; V8 ]! f1 M) Q. R. d
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|