|
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM: 128 MB; d: i% |2 G8 O* k
*** Warning - bad CRC or NAND, using default environment9 O+ K" v1 s& U6 b% I/ @6 S
in ys modify!
5 R4 Q7 g3 z9 ]) rserial number: 13082000AC2D5EC5F
% F6 D2 T% \0 Q7 l7 q' U$ jchip: hi3560EROC
+ s: X6 ]0 v1 Q7 Z# \mac:00:0A:C2:D5:EC:5F
- Y" ?- V( f! O, N9 b E======================pre============================
8 b1 G$ |* N, o/ k6 l- S0 QupInfo->kernel_suffix = -1
3 l/ r# l7 y: ~- @- d# hupInfo->rootfs_suffix = -1
! V7 j( N) r6 l6 {! O/ Z) }( P/ f! ~upInfo->bootcount = -1 H( N* ^. \% E6 Y
upInfo->boottimes = -1
& x0 M1 H. a! S$ ?# {$ RupInfo->bootok = -1/ Q1 @, g9 `, p0 D9 M/ V
upInfo->upgrade_target = ( V# w4 `+ Y5 d. i5 L
======================begin============================
2 R% K' B2 a- M, h/ A1 B4 z+ a) XupInfo->kernel_suffix = -1* B9 a8 K1 T7 Q9 x0 X. H% Q
upInfo->rootfs_suffix = -1
" z- i. B) i* }9 p1 n8 m$ d0 RupInfo->bootcount = -1
4 A# E0 }! a8 k- a4 f cupInfo->boottimes = -12 u2 ^8 b2 Q) G y
upInfo->bootok = -1
- f6 H* x: G9 Y' E B5 A' Z mupInfo->upgrade_target = / l* e2 H% n0 ~+ Q6 f) d. }2 D& t
======================after============================4 [/ a7 V. K' Q4 n3 A/ ^9 @- x F
upInfo->kernel_suffix = -1! W% C" c6 e" \& U( O
upInfo->rootfs_suffix = -1 a* J$ J6 n8 n. y
upInfo->bootcount = -1/ `( w' w5 l4 ? E
upInfo->boottimes = -1
4 y% }1 w. R8 F: X; P% KupInfo->bootok = -1
/ S" `% C' A: I4 h5 A9 DupInfo->upgrade_target = - X. H/ ?7 l& @/ ?0 Z
In: serial
2 N% B; A1 _% B4 X" e {Out: serial6 x2 r4 ~5 f, n/ q0 n( j7 P
Err: serial& r" C3 e9 l% x: H
MAC: 00-0A-C2-D5-EC-5F
$ \; @) a/ o, \& M8 [: W' T z8 KUSB: scanning bus for devices... 1 USB Device(s) found
4 d) h9 G4 U) o/ HUSB: scanning bus for devices... 1 USB Device(s) found
' x- J5 z! U. H2 q& ]6 t! VUSB: scanning bus for devices... 1 USB Device(s) found2 b5 o) q) b% T6 A( E* ~& d
0 Storage Device(s) found
u: c0 f V( b$ l" Z# F& }ub_before_ver=<NULL>" \) g* K, J u# w
preboot is = mw.b 0xc1500000 ff 0x80000;tftp 0xc1500000 ubs;nand erase 0x100000000 0x108000000;nand write 0xc1500000 0x0 0x80000;mw.b 0xc1500000 ff 0x200000;tftp 0xc1500000 5532cfg;nand write 0xc1500000 0x140000 0x60000;nand write 0xc1500000 0x1A0000 0x60000;mw.b 0xc1500000 ff 0x200000;tftp 0xc1500000 yk;nand write 0xc1500000 0x200000 0x200000;nand write 0xc1500000 0x500000 0x200000;mw.b 0xc1500000 ff 0x2800000;tftp 0xc1500000 ya;nand write.yaffs 0xc1500000 0x800000 0x27ffcc0;nand write.yaffs 0xc1500000 0x3000000 0x27ffcc0;setenv preboot 'n';update -script=5532D.uHisilicon ETH net controler
$ k5 @$ o2 e: H0 Y' O0 @3 d我更新了uboot不小心用了reset,然后就这样了。
+ o0 b3 x# G' d我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:0 Q2 u7 B. q& Y( j- e
Staring update BSP ...
$ d, j5 X4 q2 ^: q- ~6 s3 H[ Run ]: setenv script 5532D.u5 N9 R. J" L O- T( O( H8 w; f+ X
Staring download update-script '5532D.u' to 0xC00631C8 ...8 A% z, t6 U0 P# C& P' W: I
请问怎么建立这个5532D.u的脚本呢?- i, t6 G; c d. R' S1 M! k5 k( [3 m
或者我在哪搞得到这个脚本?6 a! `6 x, x; }% R; }0 H
这个脚本在这里起到什么作用呢?
- Q6 ?" J+ Y$ b5 H A: W
2 j# m& W; X/ D2 J2 c8 O
2 s. ?- L. L4 ?/ Q4 n z9 T
/ I8 S4 q4 S. e- P& W" Q# k2 v+ J: i- O+ H
6 y; w. F: u S0 S7 G9 U' D |
|