|
|
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM: 128 MB9 z9 N* R& r5 ^; D: b" ` p0 `+ w# K
*** Warning - bad CRC or NAND, using default environment" m5 ]; N/ p+ F) B7 s
in ys modify!
( T6 ~/ v! V( I, t4 |serial number: 13082000AC2D5EC5F! q" a( D# X: ^5 C+ R. s
chip: hi3560EROC
1 h1 f+ ]2 y2 s( p& F. j" d# ^" ]: cmac:00:0A:C2:D5:EC:5F
/ m- z2 n9 I/ n; f======================pre============================
+ U l g; S, SupInfo->kernel_suffix = -1
& s/ L ?4 I* A8 z; |8 AupInfo->rootfs_suffix = -1
1 [3 z C' _: v( l) x% W. J3 \' oupInfo->bootcount = -1
1 |4 {! A# T m- ]8 K; c8 PupInfo->boottimes = -1' u* V9 }; I9 i! i( y
upInfo->bootok = -18 H# ^2 j/ _1 K2 G
upInfo->upgrade_target =
8 O5 q' X0 q* t! B D======================begin============================8 n" V$ Y. i( r( o: N! {
upInfo->kernel_suffix = -1% r, T0 F% H# I, V2 o
upInfo->rootfs_suffix = -1$ @* {& I0 v& j6 m3 d
upInfo->bootcount = -1
& L; _; ]7 D W- {* n- t2 XupInfo->boottimes = -15 ^' s, ]' u# I! T7 q/ H1 |
upInfo->bootok = -1
$ ]! C2 H7 j+ y" Y6 {7 GupInfo->upgrade_target = , E# U* U. V6 H
======================after============================
+ P5 K! ^. q! ^1 s- K4 w0 [# dupInfo->kernel_suffix = -1) A- l3 b2 |* W( O2 U% ?
upInfo->rootfs_suffix = -1) l& \9 `+ m0 c& c0 ~0 k
upInfo->bootcount = -1
: } K: A2 C `/ J T4 R4 FupInfo->boottimes = -1
: t, X6 U/ ]0 |# bupInfo->bootok = -1
2 [1 u7 d4 q; OupInfo->upgrade_target = ( w; c: Q: o9 @4 ]
In: serial
7 G& z+ j, s C& r, jOut: serial
# N- Y" _# O$ G5 PErr: serial
$ m. H" |' @# T3 j( ZMAC: 00-0A-C2-D5-EC-5F
/ b1 K; K) A+ ?$ HUSB: scanning bus for devices... 1 USB Device(s) found9 T. b. {9 B: I9 i4 O
USB: scanning bus for devices... 1 USB Device(s) found8 J" n/ O; g/ p0 n/ h, o# h
USB: scanning bus for devices... 1 USB Device(s) found0 S( D ]1 a- v5 X1 R% e
0 Storage Device(s) found
6 \& p& f% y9 u; W& A/ `% w8 Kub_before_ver=<NULL>
# p$ o2 G% l$ Vpreboot 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) Q9 P1 d2 C1 K. e5 W5 w; v
我更新了uboot不小心用了reset,然后就这样了。
: Q0 L2 K) y$ c% @我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:
; L/ y7 W% k+ ~" p/ q6 q5 y/ wStaring update BSP ...) i0 [6 |+ N+ K/ F4 r; f1 V
[ Run ]: setenv script 5532D.u
3 B9 \0 ] t& V, ]9 y) pStaring download update-script '5532D.u' to 0xC00631C8 ...9 i% h, n5 t- R& z6 ~8 r
请问怎么建立这个5532D.u的脚本呢?3 F) l: Y* D# ?9 `0 m( n0 r5 O
或者我在哪搞得到这个脚本?1 a! u6 H8 S8 X+ \' `% G
这个脚本在这里起到什么作用呢?$ \7 }# p) {# ?2 w: f
7 H' g( s+ P: v+ O) T. r
( B" Y8 B% Q% ? |& Z
% F3 W( G" S9 X. @: i- {+ W( b. w) A5 E0 ^% B! K; x
2 J/ s6 {2 @9 x! E7 r7 i( v
|
|