找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 4037|回复: 2

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

[复制链接]
发表于 2015-3-9 22:53:21 | 显示全部楼层 |阅读模式
问哈坛子里的兄弟伙,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
发表于 2015-3-10 09:11:18 | 显示全部楼层
上编程器吧
 楼主| 发表于 2015-4-1 12:17:25 | 显示全部楼层
tm5880891 发表于 2015-3-10 01:11
! k# [3 g7 B% t* l4 s" |. t3 c: Y上编程器吧

9 J4 H7 ~; j  b1 Z0 v刷坏了的只有上编程器了,
1 X$ t4 }4 F1 e7 d, p后来找到原因了,刷好后只要reset就必定会出这个问题,
0 h' C- n  q3 z, ]但是关机再开机就没这个问题,没搞懂原理!
*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|小黑屋|宽带技术网 |网站地图 粤公网安备44152102000001号

GMT+8, 2025-10-30 23:59 , Processed in 0.023397 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表