查看: 4778|回复: 2

1308h在刷完uboott悲剧了,请技术达人进一下!

[复制链接]
发表于 2015-3-9 22:53:21 | 显示全部楼层 |阅读模式
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM:  128 MB
: S. ^- o8 I) {7 Y# M*** Warning - bad CRC or NAND, using default environment
3 h4 k% s5 U1 h# L: m8 K( L: p0 bin ys modify!
( H/ b- r4 X2 Y& ?+ I; @8 Vserial number: 13082000AC2D5EC5F: `% z5 _) l& E. w
chip: hi3560EROC( b9 ?! S3 v- @! F% |2 p
mac:00:0A:C2:D5:EC:5F
" O5 W" Q2 ^8 q# {! F) I1 A======================pre============================
( X# W3 F5 [6 z0 fupInfo->kernel_suffix = -1& V6 ?3 B  X8 m1 A7 t8 {0 l; Z
upInfo->rootfs_suffix = -1
# A. l; P6 H8 M8 \- j, KupInfo->bootcount = -1
& v, q* S# _! j* p# XupInfo->boottimes = -18 |) T% B$ Z9 {% ?; t8 H, j
upInfo->bootok = -1# E2 D: L7 V: c" ]1 F
upInfo->upgrade_target =
5 \# }' I6 m' t" f. M/ @2 d  I. T======================begin============================& x4 c( X& Q  r9 ]  e4 m9 K
upInfo->kernel_suffix = -1" x  K" I# Z' h5 A9 Z1 G' d
upInfo->rootfs_suffix = -1% w2 }  N% }. `7 m& K# F/ r
upInfo->bootcount = -1
+ V2 ?1 H# t6 _4 W9 \9 F' NupInfo->boottimes = -1) f( `( m# \/ A5 |3 y' L2 k3 @& N
upInfo->bootok = -1
0 E' f. w9 G/ u: }upInfo->upgrade_target =
. q$ u; S, p  v( w& x2 X======================after============================. }( ?  m- D( w3 Z" m
upInfo->kernel_suffix = -10 _4 N5 {/ W0 H6 x
upInfo->rootfs_suffix = -1
4 f& X# I& |7 e* yupInfo->bootcount = -1; B: }  Z! X0 X) M0 I, i; w
upInfo->boottimes = -1
& _3 U) Q1 h0 e9 k7 R- c6 g7 L7 ^; D$ V8 oupInfo->bootok = -1
9 j& l8 }( `- V& E. iupInfo->upgrade_target =
) v2 ~2 K: ]  r: A& m5 k# \# X: hIn:    serial
; C9 A2 T& {- Y5 \Out:   serial+ @5 c9 W( t4 v7 E! I; [# E
Err:   serial/ s; M1 j& L& j! I
MAC:   00-0A-C2-D5-EC-5F7 k, |% x# z4 i# L
USB:   scanning bus for devices... 1 USB Device(s) found
/ j; H. ]0 C/ l: c4 HUSB:   scanning bus for devices... 1 USB Device(s) found
! _8 @  A6 Z/ M; LUSB:   scanning bus for devices... 1 USB Device(s) found3 L% W+ _4 u- E; y
0 Storage Device(s) found
0 E3 M6 n: b4 Bub_before_ver=<NULL>
$ X# I* U" [, {% Vpreboot 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
6 G0 ^) R+ m, }; C* S我更新了uboot不小心用了reset,然后就这样了。" j$ R3 X5 }2 N5 a' J/ a8 k, T: y. K
我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:
+ X* W6 o. M- V# L) r( `Staring update BSP ...
& O: {; M( @& u. j  c  `% {& _[ Run  ]: setenv script 5532D.u
0 i/ {+ S1 q5 p8 rStaring download update-script '5532D.u' to 0xC00631C8 ...1 {/ i& |  g& w- _1 @! T7 `# U
请问怎么建立这个5532D.u的脚本呢?0 K$ k3 u/ s7 y- @. t1 F
或者我在哪搞得到这个脚本?
: {# W* }8 U3 x4 x3 D  r2 O' l这个脚本在这里起到什么作用呢?
3 D/ ~( `% X* k  C: a8 J6 G
( t8 Q+ w! W0 Q( Z8 S, L1 C
4 y# l8 P/ G) t; O/ x  f" k/ f3 E  s

1 Y5 e7 _. f% a% u) U) s1 {* \" Y& F& X) l& S0 R8 h* f
发表于 2015-3-10 09:11:18 | 显示全部楼层
上编程器吧
 楼主| 发表于 2015-4-1 12:17:25 | 显示全部楼层
tm5880891 发表于 2015-3-10 01:11
7 v9 c" e* O1 Y3 e0 I上编程器吧

; z3 F" z# ^) D7 f) Y. p( A刷坏了的只有上编程器了,( C! a. j3 A" N; \. B
后来找到原因了,刷好后只要reset就必定会出这个问题,
, w. V, x; m  H) Y" Q但是关机再开机就没这个问题,没搞懂原理!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

相关侵权、举报、投诉及建议等,请发 E-mail:yesdong@qq.com

Powered by Discuz! X5.0 Licensed © 2001-2026 Discuz! Team.44152102000001

在本版发帖QQ客服返回顶部