|
我之前在网上看到看雪大神的 ttl启动过程如下:
% [" R8 F! m1 h5 N+ ~: IHuaWei StartCode 2012.02 (R13C10 Apr 22 2014 – 18:06:02): D% Q( V/ M* ? l* x
( z( s: T) I9 p5 S+ k5 D! n$ y9 KNAND: Nand(Hardware): 128 MiB
" f# y2 P# y5 r. u# }+ Y$ B8 Zstartcode select the uboot to load: z9 Y/ V$ a1 h1 x& k; s
the high RAM is :8080103c+ k" b: [0 B/ C% K
startcode uboot boot count:00 J8 _9 o3 W, V
Slave struct initializtion success!!
3 Y2 L5 l7 S! e \* OUse the UbootA to load first
8 E! Y. ~. t. U8 G5 Y+ JStart from UbootA ERROR, Change to UbootB* |) o$ N9 R- Q# \
Both UbootA and UbootB are wrong, load it by JTAG!& R! O. R. Y! d; T6 M( I
/ f: p& }+ U% j# q5 K4 g
9 o# l( F$ J" C6 d4 o9 d
; G3 c/ r, \3 Y8 w( o7 _+ p* L先使用UbootA启动,如果启动失败则使用UbootB,如果再失败就提示使用JTAG。
, A, N1 Y8 ]/ u; S% }% z
( D( L9 {) F4 x C$ K( I& l# p; M, Z1 H
3 ^( g' S& c9 U: U我的TTL启动日志如下:, Y' [/ A$ o0 M6 n8 A
HuaWei StartCode 2012.02 (V300R017C10 Oct 29 2016 - 19:38:11)8 j- y# i0 r V+ G4 r0 o1 M) b
5 D4 q( f" ~% h2 Q- e/ _& e+ @NAND: Nand ID: 0xC2 0xDA 0x90 0x95 0x06 0x00 0x00 0x00
4 f( Q j2 ]( X4 k- aECC Match pagesize:2K, oobzie:64, ecctype:4bit' [3 u" s: Y8 X5 y& i8 I
Nand(Hardware): 256 MiB9 c1 [+ E5 ^! j
startcode select the uboot to load
0 q; g4 u$ e: a5 h4 H7 Athe high RAM is :8080103c
& Z; |7 G$ _2 F1 D/ nstartcode uboot boot count:04 u$ F5 b! i: |! _. a8 Z; |
Use the UbootB to load first* |. a$ f3 C( k- [# [ K) l, b1 i
Use the UbootB to load success* i6 |1 h1 x/ V1 K
+ p9 B3 T9 \& }$ S5 Q* W) \0 v$ G3 B0 R& x* }; \. b# i( c" V4 q
U-Boot 2010.03 (V300R017C10 May 12 2017 - 01:41:52)
/ o3 ?2 \: P" i- Q% V! x8 r8 q
+ b% W& ~( [% r. K9 tMbist flag = 0x0, ddr totoal size = 0x20000000
2 h. w1 p1 Q$ ]+ U6 JDRAM: 512 MB
$ G3 N: ~1 h( ^7 P* OBoot From NAND flash
3 U! a! c7 Y5 |1 PChip Type is SD5116T7 r% x" X" R. _1 U8 U& E! q
NAND: Special Nand id table Version 1.23: d' p6 V8 L5 H
Nand ID: 0xC2 0xDA 0x90 0x95 0x06 0x00 0x00 0x00
- {4 r- D0 k! P6 AECC Match pagesize:2K, oobzie:64, ecctype:4bit5 Y7 d1 I1 P. @! n5 N
Nand(Hardware): Block:128KB Page:2KB Chip:256MB*1 OOB:64B ECC:4bit
0 J& k( D P4 V8 i/ i256 MiB
! Y/ T1 R. M7 qUsing default environment
* H6 h' F' r8 h' a; R2 `' ^* q2 X- ~8 h% F N0 s
5 k+ [3 V# }4 x& s, a }) {* H# L$ q4 [
我的启动日志中直接使用UBOOTB,而不是A启动失败报错后再启动B,我在想是不是有个配置参数可以配置启动顺序?求教大神指点。5 B; u2 R, Q+ K: \& n8 \: N& C: \
|
|