|
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM: 128 MB
& j5 N/ b, u7 u" `*** Warning - bad CRC or NAND, using default environment# U3 M7 r7 O2 C2 {
in ys modify!$ l6 W+ a z+ ^ X7 @6 r4 w
serial number: 13082000AC2D5EC5F
0 P y$ q* n2 \, E- ]chip: hi3560EROC3 `9 a' Y% d+ m. Y% H$ P% \
mac:00:0A:C2:D5:EC:5F
m- j8 e, Z/ P, U& |" G) u======================pre============================# g( C) D/ X% J" C7 q, X: ^
upInfo->kernel_suffix = -11 a% k) ^: T" n) U' t( C! `. |
upInfo->rootfs_suffix = -1
* w8 V& w1 C/ r4 d7 ~upInfo->bootcount = -18 T6 o. x3 \2 H0 Q2 N
upInfo->boottimes = -1
$ Y; J* `% ~2 g1 ~* PupInfo->bootok = -18 g- l" i @) G
upInfo->upgrade_target =
4 k& \0 Z# R: r; L% b, L: d======================begin============================4 U! Y5 s% z2 Q% c1 Q2 h
upInfo->kernel_suffix = -1
. O+ l$ n; N v! x0 z) z aupInfo->rootfs_suffix = -1
+ Y8 \6 e) L5 Y+ KupInfo->bootcount = -19 r. ?" c# a5 j
upInfo->boottimes = -17 p4 y: _2 w6 a
upInfo->bootok = -1) z2 M+ |5 e, `# |1 z& J. v5 Q
upInfo->upgrade_target = ) {4 V# U& ^6 G6 S+ S1 }
======================after============================
6 J4 A5 I/ ?/ p4 h6 ^upInfo->kernel_suffix = -1 Q/ F2 n" l# x$ W- f- `
upInfo->rootfs_suffix = -1( Z# S! d5 @) k u0 Z5 V0 k
upInfo->bootcount = -1
! ~* n; @' [5 F$ I7 dupInfo->boottimes = -1
' s( R9 }6 V# W# p/ W: f( _upInfo->bootok = -14 d7 K1 n. `9 G; N/ Q1 U% L. }. U
upInfo->upgrade_target = $ [& @& O7 H) H4 o# A( I
In: serial
* k* j g- ?1 p0 e& lOut: serial
. Q2 c. z3 x# L7 U' `, ~, DErr: serial/ H2 z2 y% M# X/ g
MAC: 00-0A-C2-D5-EC-5F/ m; V5 H2 b7 b6 u& b
USB: scanning bus for devices... 1 USB Device(s) found z& I9 i/ m( \- q3 i4 Z% R
USB: scanning bus for devices... 1 USB Device(s) found
' N8 E8 e6 @0 @$ SUSB: scanning bus for devices... 1 USB Device(s) found
$ ]0 p) ~7 y _' _+ H0 Storage Device(s) found. T* H1 j! ?- |$ h2 f; E( H
ub_before_ver=<NULL>% @8 L' `- g: h6 a! W! \' d) h
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
. x( Q- ?3 f7 |. Q8 Q- T/ e4 G& G: C& d( e我更新了uboot不小心用了reset,然后就这样了。
) `- C( q2 \) W4 H9 m. G' H我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:
) Y! \+ i9 @# L e) U9 t5 vStaring update BSP ...7 v9 w6 G; T6 E7 G, V/ W
[ Run ]: setenv script 5532D.u2 x( S$ ?) t) |% Q' t, n( R x
Staring download update-script '5532D.u' to 0xC00631C8 ...
% r# I; _* s9 g9 y8 t+ K请问怎么建立这个5532D.u的脚本呢?% D) q# @9 g, w* E# C; e3 n
或者我在哪搞得到这个脚本?& z( h1 k; \" R
这个脚本在这里起到什么作用呢?
@6 B; ?0 z, G2 F+ U4 T) j/ ^
: Y9 N) z( R0 \4 i+ R; H, ]- P2 ^( ?0 l) s& N9 E, z1 e2 K
+ f; S+ p- y4 f& J* b" {
* E+ f. r0 h, F9 B+ A9 |8 P; A5 j# ]6 E/ z% G
|
|