|
|
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM: 128 MB8 Q% c; h m7 ~! k3 R, D
*** Warning - bad CRC or NAND, using default environment
; H$ P! ?5 V& q' z. {in ys modify!9 t9 N& b/ S; u1 ~
serial number: 13082000AC2D5EC5F# O+ z7 e4 W2 z
chip: hi3560EROC
# A0 w& y& R2 P- B& W4 R, i: r% X/ Hmac:00:0A:C2:D5:EC:5F
7 V& A! G& b3 e, W: x) G======================pre============================
2 U/ b5 _6 [+ r. HupInfo->kernel_suffix = -1
) W2 U; b3 y7 f' h. D& P: bupInfo->rootfs_suffix = -1( U+ i$ j" y, m
upInfo->bootcount = -1" a% f2 b% i/ k( V5 h
upInfo->boottimes = -1- Q( c4 M: h" o# \4 V" k/ ^0 f
upInfo->bootok = -1
! p( z1 n9 u# T7 DupInfo->upgrade_target =
, ?, Q Q& Z( r1 M: Q5 }: B. X======================begin============================* z& Y' W- F s7 e# }
upInfo->kernel_suffix = -1
8 r) P# G, B- D9 a9 mupInfo->rootfs_suffix = -10 q, v$ x, |' k/ T1 i- ] f& K
upInfo->bootcount = -13 y+ ?5 m2 u4 V, ~, u& O
upInfo->boottimes = -18 L, ^# z8 g& J" H
upInfo->bootok = -1
" p3 j* `' d# m3 C, Q0 Q) fupInfo->upgrade_target = ; O. j0 ^: h5 |4 S' K! @) ]5 X; G, h
======================after============================
5 e3 G$ q& x0 Q d4 d0 EupInfo->kernel_suffix = -1
- e. s4 m4 A* G- g! oupInfo->rootfs_suffix = -1
) g) V; B W; |/ N/ P$ o4 y# ]+ ZupInfo->bootcount = -1
& @2 F% p8 E# w- s) g% DupInfo->boottimes = -1
5 Z5 U7 G7 Q" ]' z# S' P8 ?1 V) O% cupInfo->bootok = -14 ]+ R! [3 X! p0 @% h
upInfo->upgrade_target =
( s7 X, l$ L* \' l& nIn: serial
0 G+ |" [5 d1 }4 q' @& J. M! Z: QOut: serial
6 p( q2 y: e! G7 L# Z* E }Err: serial0 M8 |. D' r |: }% e# \0 S% _
MAC: 00-0A-C2-D5-EC-5F7 Z+ L$ c4 x" g3 p$ }: S4 @
USB: scanning bus for devices... 1 USB Device(s) found# I: Q% m. e7 v& x5 U
USB: scanning bus for devices... 1 USB Device(s) found4 k8 w& M+ O9 R5 t
USB: scanning bus for devices... 1 USB Device(s) found# Y! p+ d* G2 G2 Q
0 Storage Device(s) found
0 _% v) t/ k/ \6 D7 }9 }3 O. oub_before_ver=<NULL>: B. a" \/ l$ L$ l& m
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/ a* f: K2 B$ Z4 Q. b9 B: f7 X1 I
我更新了uboot不小心用了reset,然后就这样了。
( `( c& a0 x; k我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:
- t& L1 R$ Q) m1 U0 X$ o* O+ }; EStaring update BSP ...8 e% u9 S% y7 H. U( }: T- r
[ Run ]: setenv script 5532D.u: `( D1 o" \- Z" m7 W
Staring download update-script '5532D.u' to 0xC00631C8 ...; z; V, {: m4 R3 n$ \ |
请问怎么建立这个5532D.u的脚本呢?
9 @5 R) v) G: T- F3 Q( K或者我在哪搞得到这个脚本?
; t4 i/ }9 ^9 Y7 g% e这个脚本在这里起到什么作用呢?
/ I% m" Q5 K* e' K/ b4 H& v$ O1 S7 T! `: S$ o' o% u, f
7 e0 k9 m& S, B$ e$ x
8 C7 W5 ?) D+ b6 b9 p
0 O9 r1 u# Q/ z/ P) ~- M1 }# j
) n8 I6 q0 E8 V$ J" ?6 C/ L |
|