|
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM: 128 MB0 X" g# |. h5 c& B9 \1 P' p
*** Warning - bad CRC or NAND, using default environment. h( x! j8 ?. [, w5 X
in ys modify!
1 F% a5 |6 J' b+ l0 iserial number: 13082000AC2D5EC5F
- A3 B ~( K: j" c9 Dchip: hi3560EROC
6 L. O/ [" O+ J1 i2 D9 j3 `mac:00:0A:C2:D5:EC:5F
7 Q0 L& b) K# c6 E5 C% p- H( d======================pre============================
. p; V9 m" V. H# T$ h1 cupInfo->kernel_suffix = -1! |( Z* s5 c. H6 F/ m
upInfo->rootfs_suffix = -1
6 l( u: @6 e- e! J( _upInfo->bootcount = -1
7 V: n2 E0 U8 hupInfo->boottimes = -1
8 E9 i) T4 O6 R) H: y/ PupInfo->bootok = -1
4 j o0 E1 w0 T1 m$ [upInfo->upgrade_target = / ^5 n% t$ ]0 L U& ^. m6 A8 V
======================begin============================% @! t5 k* w4 C
upInfo->kernel_suffix = -17 v0 w, c! g9 F# X5 q7 z
upInfo->rootfs_suffix = -1
& s( S9 R9 y9 nupInfo->bootcount = -1' I1 {5 o! q1 t& s2 b
upInfo->boottimes = -18 y2 E$ ^8 J1 j) B8 v
upInfo->bootok = -19 D. k8 K9 Q$ o) S9 L1 V
upInfo->upgrade_target =
( v9 P# T8 N( [5 R/ l# p; r======================after============================1 C0 j# Y. K2 `1 C4 [$ G1 X
upInfo->kernel_suffix = -1
3 l/ J# @/ _' g& @" k) y' b' MupInfo->rootfs_suffix = -1
3 W, I+ D# Q1 A8 B/ OupInfo->bootcount = -1
" h! a! \0 f. X! u1 mupInfo->boottimes = -1
6 j9 s& H2 m% zupInfo->bootok = -1) A% U0 P& Z# l/ c/ d8 g
upInfo->upgrade_target =
2 B7 w1 j1 u3 Z3 v: [9 ?In: serial
: b7 j2 X! Z# E+ X# ROut: serial
/ I* B4 L8 S0 w$ C; W6 zErr: serial
. ^& M. P6 t; zMAC: 00-0A-C2-D5-EC-5F! [0 G( [* G7 t: X" K+ ~7 I
USB: scanning bus for devices... 1 USB Device(s) found( a I& J, n) I6 G& L
USB: scanning bus for devices... 1 USB Device(s) found
$ q' N6 p! L. E4 N9 Y: l3 @( bUSB: scanning bus for devices... 1 USB Device(s) found
& D( m" q6 \6 T1 z4 W5 U0 Storage Device(s) found
( V4 y* L, n7 ~! Q5 ] aub_before_ver=<NULL>4 l) N; Q3 @( p, f5 k
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 controler3 X! m; o" o. I6 @
我更新了uboot不小心用了reset,然后就这样了。! ]3 D' T" \! O
我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:
+ }8 F' u9 U: t6 q3 l/ c5 iStaring update BSP ...
9 ~+ ]( d6 U0 Z+ t1 Z; _[ Run ]: setenv script 5532D.u F. \5 O! X m- J! n% f
Staring download update-script '5532D.u' to 0xC00631C8 ...
4 t! y1 d; z1 U v. z& c( W2 `; C请问怎么建立这个5532D.u的脚本呢?6 |. D- x! G ~! S9 H) R: K9 _& o0 F
或者我在哪搞得到这个脚本?, N. J t3 D+ [! g
这个脚本在这里起到什么作用呢?, H6 e' N& F. a8 d0 N
, i3 O- r2 R$ R6 ?8 I# D, t) t
' m& R/ e+ B2 [/ Y/ ^
# y1 Q5 a4 b! C9 ]! L" b: y$ _& s, M) l
+ k: ~0 b) h0 z2 e |
|