|
本帖最后由 1550261790 于 2015-12-5 16:02 编辑 ' H. o% _5 G1 |9 B, B0 \
) N# V; o1 t$ `# c6 h
买的浙江的二手贝尔GPON光猫,结果在安徽无法注册,IMTS注册超时,看起来像是这个光猫无法写入IMTS数据导致的。因为里面lan地址和tr069信息都是灰的,无法修改,刚开始以为是没有完全恢复到出厂设置,于是telnet上去重命名了两个配置文件,结果导致电脑无法连接光猫,用牙签顶重置按钮恢复设置也没有用处,以为就此变砖了,后来拆机后发现有TTL接口,连上电脑后,把重命名的文件恢复过来,电脑又能连上光猫了,但是光猫注册问题还是不知道怎么解决,登陆光猫,也没发现有什么升级界面,固件也无法刷,TTL下忘了试一下了,各位大侠有什么好办法吗?: h# r% _! {4 G$ C% E. k7 H& B& [# s) p
. F% K2 S+ r0 C9 l
* c9 ~9 c% W. E% T在控制台里的命令,u-boot,可以刷机的9 Q. T% Y, h/ Q U' }8 Q( @
erase - erase FLASH memory
/ R/ d! N; E/ b, l* \- i. Kflagsave- save imageflag variables to flash
0 s$ c: V7 N- h( T9 m( lflinfo - print FLASH memory information
2 ], x: N2 g6 a2 ?7 L$ D2 wflwrite - write data to up board flash
+ _' Y6 A5 j3 m ugo - start application at address 'addr'
% Q+ f( F( Y2 x; N+ t9 d9 mhelp - print online help
; d' y4 g% g& Wiminfo - print header information for application image8 ^+ \% y+ p; }
imls - list all images found in flash; G" B3 n) F# _' i4 J+ X
imxtract- extract a part of a multi-image2 n) H. k& _2 H: v' G% b0 E4 p
itest - return true/false on integer compare0 o7 X6 c1 f2 s) @; T" J3 U) V
loadb - load binary file over serial line (kermit mode)
0 r1 |0 y7 x: G- N* W$ D! Kloads - load S-Record file over serial line
6 S( c; ~) e4 O, Iloady - load binary file over serial line (ymodem mode)8 K( B2 ]2 X3 I0 d" q( k/ t( N" v% G# X
loop - infinite loop on address range1 F- G% h/ {! I; x Y$ _7 R F
md - memory display
5 Z( W1 P f/ c2 Omm - memory modify (auto-incrementing address)/ ]5 A* z! ]7 b) p8 h3 w; V
mtest - simple RAM read/write test$ w% M. \6 k+ a4 }7 e
mw - memory write (fill)' X) G; M/ ]! F
nfs - boot image via network using NFS protocol$ \7 \) ?/ U Z# M
nm - memory modify (constant address)
. a* M4 n E. l: ~& ] ~) Gping - send ICMP ECHO_REQUEST to network host" ^4 F' a$ U; D2 E( E0 i
printenv- print environment variables
( D0 w# X* I8 d w3 t. Y/ iprotect - enable or disable FLASH write protection
3 X* g9 i5 B' |6 J5 }$ A4 Irarpboot- boot image via network using RARP/TFTP protocol
6 r5 ^! G, Y- ]reset - Perform RESET of the CPU
$ y" w* e3 @: `) V( A V" ?6 ^4 Vritool - Access RI in FLASH) ~$ J, d8 ~$ \+ t. H @1 s
run - run commands in an environment variable S& {, [& B- n
saveenv - save environment variables to persistent storage9 n0 B& G" z+ ]# R
setenv - set environment variables6 q* r6 q+ }' G
sleep - delay execution for some time
% C2 P7 R) E0 t2 K7 v: _4 Msource - run script from memory
% v& E+ Y4 v1 p) g6 btftpboot- boot image via network using TFTP protocol
2 Z5 ^1 W! Q3 eupgradeimg- upgrade image via network using TFTP protocol* [9 n0 S' \6 w6 ~8 b) E
version - print monitor version& a# X1 H5 J0 _7 Y
aont # erase
# H, k* j- W. v0 [! E, rerase - erase FLASH memory! t& T7 E6 V2 G- }( H, V2 e
7 i+ S3 d, s8 |3 M6 N* w: Z
Usage:" Q( Y! L( y; ]
erase start end6 t/ \: O) Y+ t7 E
- erase FLASH from addr 'start' to addr 'end' T2 o* p2 `( t+ R) p5 y
erase start +len
, }* R8 @" i9 N0 t- L0 m - erase FLASH from addr 'start' to the end of sect w/addr 'start'+'len'-1+ n9 N( u# H: ?5 J! n+ S% G
erase N:SF[-SL]# F* I, D' e9 Z* u" I
- erase sectors SF-SL in FLASH bank # N
! x) h8 `8 Y9 D0 |8 R; f1 T7 `- ferase bank N$ ~' |8 F) R0 U& c
- erase FLASH bank # N+ J' [% q4 i1 `$ V
erase all5 f5 ]; P( E s" u, V+ }+ W
- erase all FLASH banks
) o! y4 W* z' gaont # erase N:SF. E' l/ ]( t, l/ I2 m s8 t
Bad sector specification
' c% c3 K# _! U! i$ K4 ]4 Laont # erase bank N0 _, g3 W) z G( x5 w5 {6 m
Only FLASH Banks # 1 ... # 1 supported
2 N% a# ?; K$ R* qaont # version
# l! h% o+ U, L b5 f# l" A- J' G% V
U-Boot 2009.11 (Aug 14 2012 - 15:09:42)) W* [( J/ g. D$ B
aont # 6 s. {9 |$ J/ b
" x! U6 ?' l" C* U: l5 R4 V; N0 J6 V, E* B1 m
彻底挂了,erase all后关电源重启了,没想到就此全被清除了,连U-Boot都被清除了,理应在erase all之后立即upgradeimg的,这样U-Boot才会再次被安装,才会重启后能有固件,现在flash全被清空了,启动不了,没有相应的编程器,基本上这个就是砖头了
0 g1 h. r+ f: O |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|