|
本帖最后由 1550261790 于 2015-12-5 16:02 编辑
% ]* p8 a( [! i @3 C4 G. _- o* s7 F0 t( L ~) i% m! t
买的浙江的二手贝尔GPON光猫,结果在安徽无法注册,IMTS注册超时,看起来像是这个光猫无法写入IMTS数据导致的。因为里面lan地址和tr069信息都是灰的,无法修改,刚开始以为是没有完全恢复到出厂设置,于是telnet上去重命名了两个配置文件,结果导致电脑无法连接光猫,用牙签顶重置按钮恢复设置也没有用处,以为就此变砖了,后来拆机后发现有TTL接口,连上电脑后,把重命名的文件恢复过来,电脑又能连上光猫了,但是光猫注册问题还是不知道怎么解决,登陆光猫,也没发现有什么升级界面,固件也无法刷,TTL下忘了试一下了,各位大侠有什么好办法吗?' _7 z' A+ w) |% R% [' m5 t+ H
6 N3 P% O+ V3 Z5 f4 O9 A# b- z$ h q
在控制台里的命令,u-boot,可以刷机的0 c1 I+ x7 i4 u1 d
erase - erase FLASH memory
x) G. l+ z& Y* j) U1 b2 jflagsave- save imageflag variables to flash
" G7 L. z% p& g3 v* A( eflinfo - print FLASH memory information
: n: h- B: E% u6 b2 v8 g8 ~flwrite - write data to up board flash( W$ R* e5 j: i5 F/ ^
go - start application at address 'addr'
3 h. k$ Y2 y0 u9 shelp - print online help0 s7 ?/ Y9 D5 g* u% @
iminfo - print header information for application image
. E8 V: `' ~ r. ^5 nimls - list all images found in flash0 n, C# Y8 n! r
imxtract- extract a part of a multi-image9 z, h) G1 R9 _* j* T
itest - return true/false on integer compare
8 z7 u3 ] a8 H) w: b. T6 O1 nloadb - load binary file over serial line (kermit mode)3 a/ u$ z/ x3 t0 @4 z8 f! t! |
loads - load S-Record file over serial line
# }8 T! c6 e: `% n, d; \loady - load binary file over serial line (ymodem mode)/ k. q& B" q9 n3 s
loop - infinite loop on address range4 e! f: B- q! c% c/ N
md - memory display4 `1 z- U" h- S z1 ^7 n' ~1 w
mm - memory modify (auto-incrementing address)) R" ]: \( e+ o* W( {* r) _
mtest - simple RAM read/write test
. e0 H- a3 [) ^ B& [7 y6 cmw - memory write (fill)/ Z4 O1 S9 ^ p. @
nfs - boot image via network using NFS protocol7 ~1 D2 ` z' H, Z( _! p$ \% C% u7 Z2 D
nm - memory modify (constant address)3 X5 t9 M- m- o) ?9 N+ U
ping - send ICMP ECHO_REQUEST to network host) }/ y4 k% O& z. G$ T& c3 A& ?
printenv- print environment variables
, I4 ]- x* d! D' Q4 H1 [8 Bprotect - enable or disable FLASH write protection
3 C" e+ K& C! Xrarpboot- boot image via network using RARP/TFTP protocol
! u6 U( x! _4 Areset - Perform RESET of the CPU6 I) o4 f0 z |
ritool - Access RI in FLASH
) b! T2 c. n, Y) C: Srun - run commands in an environment variable
; c* U4 `3 k ?, X( Zsaveenv - save environment variables to persistent storage
3 t4 b& M" J' t. psetenv - set environment variables3 I( L$ z3 N+ z) M" ]9 a( ?" [; w
sleep - delay execution for some time2 Y2 G# Y% `3 }9 A& g
source - run script from memory
; q% ]/ _' q2 O/ i. u7 X6 dtftpboot- boot image via network using TFTP protocol
' ]7 I1 I# m# Rupgradeimg- upgrade image via network using TFTP protocol9 A2 c) }: A D4 V+ K
version - print monitor version2 W- [+ b. T- X" [ X
aont # erase
L1 u3 ], Y+ x' s( q" W5 }' Gerase - erase FLASH memory
' j! i' t! @2 e; S m* a( w( q J/ M0 E0 e i
Usage:
; A/ L* |- V" k% m9 perase start end
9 A# ^: y+ y# ]$ }% j; P) _ - erase FLASH from addr 'start' to addr 'end'
: }$ `) j7 t! p; o+ P+ A Xerase start +len0 X% m1 Z; E: | H3 P
- erase FLASH from addr 'start' to the end of sect w/addr 'start'+'len'-1! O3 [) R, \1 i) U
erase N:SF[-SL]: a1 |- o! L' @& ^( ~
- erase sectors SF-SL in FLASH bank # N# C( D: @8 p+ E# |# o) s% Q1 n
erase bank N E. Y+ n* H0 `7 h4 R
- erase FLASH bank # N/ H2 w4 W3 c9 j+ q% l2 o# `7 {$ x
erase all/ E6 n4 M/ M/ @1 E! S/ d6 M
- erase all FLASH banks2 G, `: F* F: \$ \2 \
aont # erase N:SF; I) ^4 K" o/ \/ `8 B% i
Bad sector specification7 J- q! T2 T. h" V* X& \1 `* ?
aont # erase bank N
4 k W3 v. c8 X+ ?Only FLASH Banks # 1 ... # 1 supported1 I5 S8 l2 z& E
aont # version
4 D |+ n6 ^ j) ^) l4 t0 A3 h4 n! r
U-Boot 2009.11 (Aug 14 2012 - 15:09:42)& t; k$ O. d% l; a. M/ I# f
aont # 1 k1 Y: @7 N( ]
# b+ e5 _& \, V. T- f
* U* x# F, {* }% m# b$ F1 S* q彻底挂了,erase all后关电源重启了,没想到就此全被清除了,连U-Boot都被清除了,理应在erase all之后立即upgradeimg的,这样U-Boot才会再次被安装,才会重启后能有固件,现在flash全被清空了,启动不了,没有相应的编程器,基本上这个就是砖头了
: }9 \2 n/ ~& U/ M |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|