找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 369|回复: 2

TOTOLINK T1刷openwrt

[复制链接]
本帖最后由 nokia007 于 2024-2-22 22:30 编辑

想起来有个TOTOLINK T1,以前做过一段时间无线扩展,一直以为是螃蟹方案,也懒得动,前几天偶然翻到一个帖子,才知道是MT7628AN+MT7612EN,那就有戏了。
T1同国际版TOTOLINK A3、韩国版ipTIME A3硬件一样。
https://openwrt.org/toh/hwdata/totolink/totolink_a3
尝试直接从官方web页面刷机,提示升级失败。只能开盖了。先接串口看看bootlog。波特率57600。
  1. U-Boot 1.1.3 (Aug  1 2016 - 17:58:31)

  2. Board: Ralink APSoC DRAM:  64 MB
  3. relocate_code Pointer at: 83fb8000
  4. flash manufacture id: c8, device id 40 17
  5. find flash: GD25Q64B
  6. *** Warning - bad CRC, using default environment

  7. ============================================
  8. Ralink UBoot Version: 4.3.0.0
  9. --------------------------------------------
  10. ASIC 7628_MP (Port5<->None)
  11. DRAM component: 512 Mbits DDR, width 16
  12. DRAM bus: 16 bit
  13. Total memory: 64 MBytes
  14. Flash component: SPI Flash
  15. Date:Aug  1 2016  Time:17:58:31
  16. ============================================
  17. icache: sets:512, ways:4, linesz:32 ,total:65536
  18. dcache: sets:256, ways:4, linesz:32 ,total:32768

  19. ##### The CPU freq = 575 MHZ ####
  20. estimate memory size =64 Mbytes
  21. RESET MT7628 PHY!!!!!!
  22. Please choose the operation:
  23.    1: Load system code to SDRAM via TFTP.
  24.    2: Load system code then write to Flash via TFTP.
  25.    3: Boot system code via Flash (default).
  26.    4: Entr boot command line interface.
  27.    7: Load Boot Loader code then write to Flash via Serial.
  28.    9: Load Boot Loader code then write to Flash via TFTP.                                                                                                   0

  29. 3: System Boot system code via Flash.
  30. ## Booting image at bc050000 ...
  31.    Image Name:   TOTOLINK_T1
  32.    Image Type:   MIPS Linux Kernel Image (lzma compressed)
  33.    Data Size:    1454920 Bytes =  1.4 MB
  34.    Load Address: 80000000
  35.    Entry Point:  80000000
  36.    Verifying Checksum ... OK
  37.    Uncompressing Kernel Image ... OK
  38. No initrd
  39. ## Transferring control to Linux (at address 80000000) ...
  40. ## Giving linux memsize in MB, 64

  41. Starting kernel ...
复制代码

最后发现启动的是一个基于14.07的openwrt修改的固件。
重启,打断启动,尝试选2: Load system code then write to Flash via TFTP.
按操作一步一步架设tftp,成功传入固件,但是提示校验失败。

进入系统后尝试wget新固件,提示wget: can't open 'xxx.bin': No such file or directory,然而架设的hfs日志显示路由器发起了get操作,我用浏览器完全是可以下载的。也就是说wget方法也堵死了。

重启,打断boot,选择
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
都没反应,看来做得很绝啊。

外网有类似讨论,说用早期过渡固件可以升级,我试了在T1上不行,他们的是A3。
https://forum.openwrt.org/t/totolink-a3-cant-install/130255/28

必须得上编程器了。先找个breed:
https://breed.hackpascal.net/r1338%20%5b2021-12-16%5d/

我就用https://breed.hackpascal.net/r13 ... ed-mt76x8-blank.bin

读出原flash内容做备份,提取eeprom(也就是factory分区,见附件)。然后向flash写入breed,焊回flash,进入breed页面192.168.1.1,默认公版flash布局0x50000,传入初始化固件:
https://downloads.openwrt.org/re ... nitramfs-kernel.bin
等待几分钟,可以登录openwrt页面192.168.1.1,立即升级固件:
https://downloads.openwrt.org/re ... shfs-sysupgrade.bin
等待几分钟,可以登录最新openwrt页面192.168.1.1。
重启,在串口中打断启动,进入breed,选择精简版布局0x40000(指的是firmware从0x40000起),刷入eeprom。这里是个坑,新固件的布局和totolink官方固件的不一样,eeprom在0x30000,firmware在0x40000。
  1. [1.267980] 0x000000000000-0x000000020000 : "u-boot"
  2. [1.281958] 0x000000020000-0x000000030000 : "config"
  3. [1.293248] 0x000000030000-0x000000040000 : "factory"
  4. [1.306842] 0x000000040000-0x000000800000 : "firmware"
复制代码
而官方的eeprom在0x40000,firmware在0x50000。

重启,大功告成。2.4G澳大利亚可出22dBm,5G可出21dBm。顺便换了个固态电容。


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 1恩山币 +1 收起 理由
kun*** + 1 感谢你的分享,无论怎样,你都是最无私的人.

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
来自手机 | 显示全部楼层
好久沒见这样真正的DIY。
問題是,8+64能有什么用?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 nokia007 于 2024-2-22 22:33 编辑

我的签名档里面是我买过的路由器,前6个已经卖了,剩下的还在各个场合用到。有的地方只需要发射信号,带几台机器上网就行了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 14:03

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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