|
|
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM: 128 MB. v7 `2 |; J7 r$ v
*** Warning - bad CRC or NAND, using default environment+ V4 `+ g) ?5 O c/ k
in ys modify!& e$ Q) x* |7 i6 ~2 ]% P
serial number: 13082000AC2D5EC5F
4 ^9 r& C0 l6 M+ z4 B; {chip: hi3560EROC
2 B, q; o9 o$ P6 b4 Z5 mmac:00:0A:C2:D5:EC:5F3 d: v% {5 o. R, a
======================pre============================
& Q/ i+ L, {/ g4 ^3 W! C# MupInfo->kernel_suffix = -1
" M% a, Y8 o. X& C; fupInfo->rootfs_suffix = -1
# T! d/ P; `1 x+ c0 S8 U0 kupInfo->bootcount = -1; \* b- @& r% t) t H+ z
upInfo->boottimes = -1
' `; t$ h- v0 R5 B/ J) OupInfo->bootok = -1
, g' q; b: i6 Z5 YupInfo->upgrade_target = + G! e. k& v. z+ ?1 e1 c: w
======================begin============================
8 {( e( C! @3 @2 Q- S1 f1 F5 ~upInfo->kernel_suffix = -1
$ c" p& r: ~. A) f: t% c+ uupInfo->rootfs_suffix = -1& P+ Q; P- }8 C0 o# T2 z" N9 A
upInfo->bootcount = -1
0 e8 j; ^' E$ t; d5 j6 g0 nupInfo->boottimes = -1# m0 y% B# ], y4 O, N8 R
upInfo->bootok = -16 s, v0 q! q2 J( |
upInfo->upgrade_target = - C6 I' z$ i5 U
======================after============================2 a( Z5 ^9 I5 R$ U4 d% i
upInfo->kernel_suffix = -1 R7 t1 E0 }$ v' _/ X
upInfo->rootfs_suffix = -14 _$ b2 ^3 [3 u, n) d
upInfo->bootcount = -1# s; \1 r2 S( O) b4 D% r; c
upInfo->boottimes = -1' X. t& L7 U! @3 _+ F$ V- ?5 p
upInfo->bootok = -16 Q4 w- V: R6 a! b( C3 A
upInfo->upgrade_target =
4 o, H+ d8 g. W! JIn: serial
9 ]4 K+ x4 o; @% E& H' c, V! K# J: NOut: serial
' f( ^* x0 t, f8 W5 N; QErr: serial3 f4 a+ w2 p) Y1 _+ C3 w2 {2 V V: W7 s
MAC: 00-0A-C2-D5-EC-5F
# g( D; A3 F3 s5 o! w: h& i+ `# vUSB: scanning bus for devices... 1 USB Device(s) found4 a! T5 T0 u% h6 @: B* L8 M
USB: scanning bus for devices... 1 USB Device(s) found& q* j1 m4 E0 r$ {5 J) Z
USB: scanning bus for devices... 1 USB Device(s) found
% _& [& Y* h) w0 Storage Device(s) found. z- y% x1 h# J' S
ub_before_ver=<NULL>- J: i' F5 C+ Q, f: R. H9 z
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. B% H6 W! |: x# X0 k
我更新了uboot不小心用了reset,然后就这样了。
: g, _' X0 l4 Z+ q% |7 B我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:3 k5 m: W3 j' y0 E
Staring update BSP .... N7 N, s- G' }) `4 v2 O
[ Run ]: setenv script 5532D.u
A) {( H' U) u; @4 `Staring download update-script '5532D.u' to 0xC00631C8 ...
5 Y3 @+ p- F0 E' R. x3 W: e请问怎么建立这个5532D.u的脚本呢?3 B: Z- J' v; X9 J5 }
或者我在哪搞得到这个脚本?
8 f% k2 K2 q3 {3 g1 u这个脚本在这里起到什么作用呢?
8 t; E8 N! G+ W% G, x# h4 v2 V8 h% ]9 \* ?$ b
9 n2 F* q2 c" f, E4 U/ r0 T7 s( u; _1 h# p/ u+ h
- N: D. R* u; \8 a7 p' c, ^
2 x/ |9 H/ o- P |
|