|
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM: 128 MB
1 y p- l: L* Z: U$ G*** Warning - bad CRC or NAND, using default environment" D& r3 r9 J% B+ }0 a( U
in ys modify!
, W. A4 s9 I! s/ ~ a; e( ^serial number: 13082000AC2D5EC5F' M/ y( t: v/ l
chip: hi3560EROC+ n' X, N! ^, t6 D
mac:00:0A:C2:D5:EC:5F
% M+ c7 |2 e3 j8 O( i3 q======================pre============================
, v3 t0 s \& F4 y. NupInfo->kernel_suffix = -18 v/ b) |# ?; v/ p
upInfo->rootfs_suffix = -1
1 T) x6 M- S2 }9 a& gupInfo->bootcount = -1" X1 Q" ?" t( d6 ?7 Z
upInfo->boottimes = -1
8 r/ Z3 r3 Y1 H$ V) pupInfo->bootok = -1+ ]' W# T% Q! I4 K1 e" F) H
upInfo->upgrade_target = ( O6 b, \/ V* ^2 {: J+ }
======================begin============================8 I# ^7 M* j/ y0 C) b# b
upInfo->kernel_suffix = -11 S1 W* L; d, f4 j7 ?: h" ]0 v( \6 ]
upInfo->rootfs_suffix = -1
1 r/ A' C! c* Z) v8 \+ U% jupInfo->bootcount = -1, i P; D+ {% N) ]- M( e
upInfo->boottimes = -1+ I0 S2 x0 h& t2 Y% F3 H( B8 |7 T% P
upInfo->bootok = -1
% C, E. u$ O+ R& [upInfo->upgrade_target =
/ g8 y( W# n+ F7 i5 e5 G! N; S; q======================after============================$ X5 M+ p7 y6 m8 N! m
upInfo->kernel_suffix = -1
. ~, Q; n. a9 K5 W7 h. |6 }3 M1 pupInfo->rootfs_suffix = -1
% c7 P; w7 L! g# {6 mupInfo->bootcount = -1
% ^, u. D6 x; d6 i4 ~6 b* IupInfo->boottimes = -13 w- f5 L0 q( p
upInfo->bootok = -1/ C) _3 Q, G3 B0 Y
upInfo->upgrade_target = ' z/ l: A, Z5 O1 U9 n" G: p4 |
In: serial& J' |& x, R- q) i# p
Out: serial
7 J4 v7 R# o( }) UErr: serial" ]6 M) \5 r N: J$ _# |( A v
MAC: 00-0A-C2-D5-EC-5F
9 E. A7 B5 {6 w2 |& {+ mUSB: scanning bus for devices... 1 USB Device(s) found6 Y5 l. N: Q4 C! [
USB: scanning bus for devices... 1 USB Device(s) found
$ E3 j9 B% r8 [% ]- ?USB: scanning bus for devices... 1 USB Device(s) found1 T, E8 G1 j5 t- S2 [( f
0 Storage Device(s) found
# G3 ^% l& {; k- C/ Eub_before_ver=<NULL>
' L" B, a+ B* K+ E; a; Ypreboot 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 controler5 q$ B* O2 r9 b1 B1 a
我更新了uboot不小心用了reset,然后就这样了。9 I8 [7 U3 r, E8 @# A6 d: h
我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:
. f' l4 y% C/ L8 I8 GStaring update BSP ...
1 [! T4 \/ t% m% N9 k$ f[ Run ]: setenv script 5532D.u
4 U; D6 L4 Q) X# f0 yStaring download update-script '5532D.u' to 0xC00631C8 ...! m" n L; X9 N1 l# `1 i
请问怎么建立这个5532D.u的脚本呢?6 v! M* j0 o; M# W) O
或者我在哪搞得到这个脚本? X; J; a; N: l' C. j
这个脚本在这里起到什么作用呢?
; ]8 }, }. \5 r- g/ r4 d8 \% [( T% H
. Z0 q8 z. y8 |# \+ j$ o" i6 n/ }* C! j
" f( N; I$ ~4 c5 _ F& j' o+ t
* V: t0 L5 {$ \) Q3 i: w1 v9 c: O7 I/ g U3 w
|
|