支持wifi6的qihoo 360T7 刷机openwrt

360T7,是支持wifi6的比较便宜的openwrt之一, 256M ram的咸鱼价格40-50元, 升级512M的价格100元左右。

openwrt通过香蕉派推出的第一款硬件 openwrt one , 也是使用同一款cpu:MediaTek MT7981B

这里记录一下刷机过程,

我拿到的是刷过immortalwrt的360T7, immortalwrt是早期的第三方openwrt, 其uboot不能载入openwrt官方的rom, openwrt官方也提供了uboot,

需要先把uboot升级一下。 下载地址:

https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/23.05.5/targets/me...

搜索360找到4个文件:

983.0 KiB 2024-09-24 11:27
7.0 MiB 2024-09-24 11:26
220.8 KiB 2024-09-24 11:27
9.2 MiB 2024-09-24 11:26

系统的mtd分区如下:

 

dev:    size   erasesize  name

mtd0: 00100000 00020000 "bl2" openwrt-mediatek-filogic-qihoo_360t7-preloader.bin

mtd1: 00080000 00020000 "u-boot-env"

mtd2: 00200000 00020000 "Factory"

mtd3: 00200000 00020000 "fip" openwrt-mediatek-filogic-qihoo_360t7-preloader.bin-bl31-uboot.fip

mtd4: 06c00000 00020000 "ubi"

mtd5: 00100000 00020000 "config"

mtd6: 00080000 00020000 "factory"

mtd7: 00700000 00020000 "log"

 

需要拆机,接串口,通过菜单升级

immortalwrt的U-boot 2020-07-rc3 的串口菜单是:

*** U-Boot Boot Menu ***

1.Startup system (Default)

2.Upgrade firmware

3.Upgrade ATF BL2

4.Upgrade ATF FIP

5.Upgrade single image

6.Load image

0.U-boot console

选4, 通过tftpd服务, 更新uboot, 也可以通过6载入initramfs-recovery.itb,进行启动,启动后, 可以对mtd进行备份操作, dd to /tmp ,tar, scp

升级到新的uboot后, 串口菜单变成

        ( ( ( OpenWrt ) ) )       U-Boot 2023.07.02-OpenWrt-r24106-10cc5fcd00 (Sep 23 2024 - 12:34:46 +0000)

 

      1. Run default boot command.

      2. Boot system via TFTP.

      3. Boot production system from NAND.

      4. Boot recovery system from NAND.

      5. Load production system via TFTP then write to NAND. openwrt-mediatek-filogic-qihoo_360t7-squashfs-sysupgrade.itb

      6. Load recovery system via TFTP then write to NAND.

      7. Load BL31+U-Boot FIP via TFTP then write to NAND.  openwrt-mediatek-filogic-qihoo_360t7-preloader.bin-bl31-uboot.fip

      8. Load BL2 preloader via TFTP then write to NAND.

      9. Reboot.

      a. Reset all settings to factory defaults.

      0. U-Boot console

 

  Hit any key to stop autoboot: 2 

  Press UP/DOWN to move, ENTER to select, ESC to quit

 

选7,通过tftp 再升级一下uboot, 选5升级openwrt的固件。

 

以上是升级immortalwrt 到openwrt的方法,  升级原生系统到openwrt的方法, 参考openwrt网站的连接:https://openwrt.org/toh/qihoo/360t7_1.0

 

TTL串口接线见附件,接3条线, tx/rx要交叉, 通讯参数:115200,8N1

 

openwrt的uboot的变砖修复: 

按住reset启动, 会自动通过tftp载入 tftp://192.168.1.254/openwrt-mediatek-filogic-qihoo_360t7-initramfs-recovery.itb,

TFTP from server 192.168.1.254; our IP address is 192.168.1.1                         
Filename 'openwrt-mediatek-filogic-qihoo_360t7-initramfs-recovery.itb'. 
 
 
最后的手段,如果uboot也损坏了, 就要通过串口,进行修复, 使用这个工具:

 

 

 

 

 
360t7.png