|
本帖最后由 1550261790 于 2015-12-5 16:02 编辑
8 B( L2 W. T0 Y* f, Q" h1 u
" C- g0 x Y$ E2 p' Y' N买的浙江的二手贝尔GPON光猫,结果在安徽无法注册,IMTS注册超时,看起来像是这个光猫无法写入IMTS数据导致的。因为里面lan地址和tr069信息都是灰的,无法修改,刚开始以为是没有完全恢复到出厂设置,于是telnet上去重命名了两个配置文件,结果导致电脑无法连接光猫,用牙签顶重置按钮恢复设置也没有用处,以为就此变砖了,后来拆机后发现有TTL接口,连上电脑后,把重命名的文件恢复过来,电脑又能连上光猫了,但是光猫注册问题还是不知道怎么解决,登陆光猫,也没发现有什么升级界面,固件也无法刷,TTL下忘了试一下了,各位大侠有什么好办法吗?' A/ a% i6 j( n. c
$ j: x/ D! b/ V' {! X
- z# L9 ?% r2 V. p在控制台里的命令,u-boot,可以刷机的
( _4 S, P$ O1 S4 ~( ~erase - erase FLASH memory
% U# ?8 H/ K1 i/ ~0 k. Pflagsave- save imageflag variables to flash3 g- M- E6 Q6 W- m/ U2 W. G
flinfo - print FLASH memory information
8 \7 K+ |# k9 i: I/ nflwrite - write data to up board flash$ p0 W9 c$ J3 G9 Q7 @( @
go - start application at address 'addr'' b* t* x1 i) q4 S, f2 [& J4 a8 V1 w
help - print online help+ f! [6 w. C: l1 c2 O, U/ C
iminfo - print header information for application image2 D. s: P' D/ v- S9 s. D
imls - list all images found in flash9 Q0 g$ O6 P6 d+ z
imxtract- extract a part of a multi-image5 r* c' }& V4 ^+ `4 t J, g1 d
itest - return true/false on integer compare
, |8 [8 A) g# [' ?loadb - load binary file over serial line (kermit mode)# ~8 j9 y( d# b9 Y/ X/ |( C
loads - load S-Record file over serial line( U* z+ e! w0 C: g7 t6 L
loady - load binary file over serial line (ymodem mode)2 m0 s0 W/ M6 ~* ]/ \& q
loop - infinite loop on address range" b7 t( B( y- m5 u7 }* f
md - memory display' ~ V6 Z# }: }7 E( t
mm - memory modify (auto-incrementing address)2 ~$ X0 k% M6 X" U! Z' t& H3 ?, t
mtest - simple RAM read/write test* q8 Y& J- P- [- g0 l4 P' C: L. f
mw - memory write (fill)3 x+ x0 {9 l' c5 \/ U y* Q
nfs - boot image via network using NFS protocol/ N7 e8 v6 w2 k/ i( |' `" A: ?
nm - memory modify (constant address)
3 J7 O. j5 t* w5 K* v- s8 \& q7 i) Tping - send ICMP ECHO_REQUEST to network host5 b% r) r" Z- I/ y
printenv- print environment variables2 Z: ~; t G3 e* C' J
protect - enable or disable FLASH write protection
- e6 k6 i" k# D. drarpboot- boot image via network using RARP/TFTP protocol
4 U! z$ ^" U0 r, J% f$ N) O1 G( vreset - Perform RESET of the CPU
; a; V: q- I/ ?& y3 ?: Pritool - Access RI in FLASH5 _. i" |: |3 u% I0 F) l+ o
run - run commands in an environment variable
; y7 ~3 y7 M" N# d. |saveenv - save environment variables to persistent storage# Y2 S3 t' q: Z+ Y
setenv - set environment variables
9 @( S( r0 G( r/ s$ Tsleep - delay execution for some time
4 K1 c! j7 b& |* p! `source - run script from memory
% F2 U; N0 ^# V* A3 k. Ftftpboot- boot image via network using TFTP protocol
& Y$ p' p) j+ h0 Xupgradeimg- upgrade image via network using TFTP protocol
. h4 V, M4 _! h8 Sversion - print monitor version9 T1 w- w$ G* [. j9 l( U9 A! d
aont # erase 4 P6 H/ R+ {6 M6 w
erase - erase FLASH memory c' N8 k% f+ o
# I* e1 Q5 j8 I: V9 T4 e
Usage:
4 ? ?6 a2 T+ oerase start end
6 I/ }6 l5 J `' ]! y% m. u - erase FLASH from addr 'start' to addr 'end'
5 s7 |% @3 J8 }7 _* j; W. F" herase start +len& Y) D+ }. q9 A, d# z* U
- erase FLASH from addr 'start' to the end of sect w/addr 'start'+'len'-1
* I" T9 i+ L$ y( X4 R$ Perase N:SF[-SL]' t8 C& f/ h, N# _7 Q
- erase sectors SF-SL in FLASH bank # N9 ~6 H: ?# _1 D0 s% `; B, q# N
erase bank N) s0 R |% f) I6 y5 ^2 ^% `
- erase FLASH bank # N4 l0 j f0 c, m. {4 {
erase all
0 w3 V% [$ \: x5 M - erase all FLASH banks0 C* ?/ f+ t4 q, X) l
aont # erase N:SF6 y/ _9 J9 T. L; a, O: b
Bad sector specification2 K& z6 ` B) l! K9 c9 p
aont # erase bank N8 C4 z7 q+ Y# x- L& M9 ^
Only FLASH Banks # 1 ... # 1 supported/ J% X6 [) g% \1 u! _% I
aont # version; C/ ~" [3 N( X0 F% f! m
( p1 b% ?5 D4 F6 I, Z
U-Boot 2009.11 (Aug 14 2012 - 15:09:42)& F6 r+ R9 ?! J- T
aont # - z4 G* h, L5 a5 L8 I5 E
: I1 o" a4 T* |3 P, z p% H" V4 L5 r' N5 {6 C8 K
彻底挂了,erase all后关电源重启了,没想到就此全被清除了,连U-Boot都被清除了,理应在erase all之后立即upgradeimg的,这样U-Boot才会再次被安装,才会重启后能有固件,现在flash全被清空了,启动不了,没有相应的编程器,基本上这个就是砖头了
9 ?) i/ ]" a) s* z5 d$ `8 N. [" v( z- m |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|