|
|
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM: 128 MB8 A( I' w+ z% @8 O; u
*** Warning - bad CRC or NAND, using default environment; j3 b; ?# Z6 o* q
in ys modify!- U6 u: l9 u/ [4 w3 K/ S; Q
serial number: 13082000AC2D5EC5F
& o5 J( J2 v7 n j( xchip: hi3560EROC# P! Q6 h7 e% N# M" y" ?2 b7 @7 m3 l
mac:00:0A:C2:D5:EC:5F
- G b' J( N1 D0 w======================pre============================& ~# C! j( m$ O1 G$ H4 ~; b2 T
upInfo->kernel_suffix = -1: B& O' \" I3 K5 X5 ?8 F- S
upInfo->rootfs_suffix = -12 W6 s$ ?9 \9 N# M6 T; D7 O
upInfo->bootcount = -1* a4 w( E6 {1 C, X
upInfo->boottimes = -12 G6 ~' Q1 C0 Q+ [; A0 A, Z- `7 E
upInfo->bootok = -1
( n: h1 I6 }8 W" DupInfo->upgrade_target = ; q, |2 B/ y0 Y4 f, G' m8 K/ E
======================begin============================
: u8 b- V- Z7 zupInfo->kernel_suffix = -1
' `3 x9 {8 f5 j' B9 RupInfo->rootfs_suffix = -1- `6 N" {! c/ p& D7 i$ n
upInfo->bootcount = -1& N$ m; I# B# A5 k
upInfo->boottimes = -1 x' H. y" Q" s7 L8 ?
upInfo->bootok = -1
( \ K! z5 a* C5 H2 l: xupInfo->upgrade_target =
8 y; I3 }: P+ q/ p; r======================after============================) X! y6 s& l8 \3 K! \5 D
upInfo->kernel_suffix = -1
2 g. ?; l; w! k2 B. KupInfo->rootfs_suffix = -1
0 v2 i# z, t$ `6 G% w: v/ aupInfo->bootcount = -1
8 k* F! n( l6 R$ o) {5 [upInfo->boottimes = -1
& @' A6 J# Y$ H% p/ n: O, IupInfo->bootok = -1
( B6 e& ]& Y! t! z: u; J/ z% mupInfo->upgrade_target = 9 v2 o& I' _1 O' Q
In: serial/ `( s7 Y2 o+ p4 l/ f3 P
Out: serial: f% e$ K k: J! h% r
Err: serial! V4 J6 r X% r. k
MAC: 00-0A-C2-D5-EC-5F/ K: r% I& p. F V
USB: scanning bus for devices... 1 USB Device(s) found* l: b. K7 D4 o$ n) ]
USB: scanning bus for devices... 1 USB Device(s) found" n3 u1 d3 D( N, u3 K& l
USB: scanning bus for devices... 1 USB Device(s) found* x/ S2 a/ Z2 Q0 [1 l
0 Storage Device(s) found
; A: h! c, S6 ~ub_before_ver=<NULL>/ D/ K7 }* e' g, ]) b
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$ f2 X8 Q. H( l
我更新了uboot不小心用了reset,然后就这样了。. n8 L1 a; A- A( x; Y
我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:/ K) W( J6 k+ k( L' S( w
Staring update BSP ...
9 s' R" C% R8 R2 X u- w[ Run ]: setenv script 5532D.u
$ l- J8 H, x) R! ^Staring download update-script '5532D.u' to 0xC00631C8 ...' C% X$ c6 f+ ~' a, Z$ _7 S
请问怎么建立这个5532D.u的脚本呢?8 O/ H }% e6 w6 E; |% c9 ?; q
或者我在哪搞得到这个脚本?
: b9 N1 U+ b) u& s: }7 g! W- Y这个脚本在这里起到什么作用呢?
) e+ z( x5 w6 z3 O: A; u3 c
6 h [5 d6 r( {, Y7 U* X3 t$ q8 b/ \" K+ s
: b( x+ W+ `- d3 \8 R4 v8 q
: D9 b; b! G2 e( [8 J4 K
# v3 a+ F0 C; v. t* Q- A |
|