找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3557|回复: 2

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

[复制链接]
发表于 2015-3-9 22:53:21 | 显示全部楼层 |阅读模式
问哈坛子里的兄弟伙,1308用ttl刷机的时候提示:DRAM:  128 MB
7 J: Z9 w0 z) M9 }, T8 E*** Warning - bad CRC or NAND, using default environment
: V8 e0 J2 Y! r1 q/ l- W$ Tin ys modify!, C! f% H3 W% {
serial number: 13082000AC2D5EC5F; p" r; e! u# r  h( c- }
chip: hi3560EROC& r7 R  ]% r( [# \
mac:00:0A:C2:D5:EC:5F/ i# C% K( m: e9 |
======================pre============================, p/ ^+ h1 Q5 n' k* Y+ }6 v
upInfo->kernel_suffix = -15 o9 p# y/ _7 b3 {  d/ w
upInfo->rootfs_suffix = -1- v' T  W1 l9 t6 x
upInfo->bootcount = -1
$ k6 O/ L" w- ?2 v/ O+ n9 AupInfo->boottimes = -1
# i* c# V" x: ]' SupInfo->bootok = -1
7 s% p4 X) Y5 aupInfo->upgrade_target =
) d( @% Q+ S( B+ |' z; }! Z7 F======================begin============================
1 P& O4 x  |& B5 D& X0 |& G# aupInfo->kernel_suffix = -1
0 v2 g- i) M: t+ z  KupInfo->rootfs_suffix = -1& s( T5 b& q# e2 x1 G- u
upInfo->bootcount = -1
0 }5 n0 B' \' ?- G8 MupInfo->boottimes = -1. [; V2 ]2 q. w
upInfo->bootok = -1: _9 [' q. n6 G) E; k: E4 s# T
upInfo->upgrade_target =
+ u$ s2 J2 R% g+ s& w======================after============================
3 D. g; [0 W3 h  R" AupInfo->kernel_suffix = -1" Z! a: Q; b4 k/ u) x
upInfo->rootfs_suffix = -1
6 X) }! u% W( kupInfo->bootcount = -1
0 O5 o: J( M. [* A; d; |8 x9 x) _upInfo->boottimes = -19 k9 C$ I1 W4 S. e: b* Q/ l. f
upInfo->bootok = -1
0 g( `+ Z" [  n, v6 pupInfo->upgrade_target =
* a5 G' u* ?& f! \- K+ G3 W3 ~In:    serial
0 X3 a, H: J/ A4 SOut:   serial
) i5 B( q$ Q5 e2 q( zErr:   serial
1 d: p# j9 z; h0 G: [" K' `MAC:   00-0A-C2-D5-EC-5F
  t6 U- s$ o7 t0 r! i4 `USB:   scanning bus for devices... 1 USB Device(s) found+ {5 ?* E* G  w6 l  G' x
USB:   scanning bus for devices... 1 USB Device(s) found
- X  K" s) f, r; s- T+ VUSB:   scanning bus for devices... 1 USB Device(s) found" s# L" U& D6 [! v! Y" D  j
0 Storage Device(s) found
8 l  v$ U  g+ S- _3 Kub_before_ver=<NULL>
6 I* h" @4 O7 u8 b, j5 F1 xpreboot 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
* U# M+ M  |1 A1 M7 S我更新了uboot不小心用了reset,然后就这样了。) ]! y8 J- x; f  }
我按照它的恢复脚本吧uboot、config、kernel、yaffs都恢复了,但最后要读取一个什么:0 X: N$ y* n- Q) y! [5 A' T
Staring update BSP ...
$ j8 q2 R3 U$ U4 g% J1 ?[ Run  ]: setenv script 5532D.u* t* B6 ~1 t! P7 v% q7 {  Z& e
Staring download update-script '5532D.u' to 0xC00631C8 ...$ v; q9 Y0 o8 j" B- ]2 r
请问怎么建立这个5532D.u的脚本呢?- }; E9 K# j* `( g* Y
或者我在哪搞得到这个脚本?
* \& \9 O4 \! b/ f; }+ n# g- c8 i这个脚本在这里起到什么作用呢?: \1 e# Y( t0 q5 r, R' t

% {$ w- l# Q/ A0 `0 w8 k. R# V+ D# H) `2 ^" t$ m: S1 f
" P3 K, j! x: f( b4 B( E! C5 B, y

7 F9 V! k5 `: C  g0 x, C' j
7 v+ E0 ]. N' ?3 m
发表于 2015-3-10 09:11:18 | 显示全部楼层
上编程器吧
 楼主| 发表于 2015-4-1 12:17:25 | 显示全部楼层
tm5880891 发表于 2015-3-10 01:11+ y3 \( h# \4 ]( g, \2 Q
上编程器吧
1 f+ C$ f/ F) v  `8 [7 p. F; J
刷坏了的只有上编程器了," c0 j6 J8 \! ?& I" d5 Y0 W
后来找到原因了,刷好后只要reset就必定会出这个问题,
8 Z" H2 w, u' U) e2 ^但是关机再开机就没这个问题,没搞懂原理!
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-5-2 22:29 , Processed in 0.022173 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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