]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mediatek: add support for Qihoo 360T7 (UBI layout) 22797/head
authorMikhail Zhilkin <csharper2005@gmail.com>
Sun, 5 Apr 2026 10:47:38 +0000 (13:47 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 9 May 2026 13:42:27 +0000 (15:42 +0200)
commitb7af9b49f892f30a011f5cd5f7574a2e11fbb63e
tree58a471aeedaf60722beb6ca511cf0038bc582552
parent9a87c4b7682f136085ee793efa77dc239604da57
mediatek: add support for Qihoo 360T7 (UBI layout)

This commit adds support for Qihoo 360T7 (UBI layout).

Aims
----
1. +20 MB additional free space for the packages
2. More reliable storage for the factory and fip partitions (in UBI)

Install (from non-UBI OpenWrt)
------------------------------
1. Navigate http://192.168.1.1/ and download mtd backups
2. Upgrade OpenWrt with installer initramfs image (force upgrade, don't
   keep settings). Wait until OpenWrt reboots and until installer:
   - Prepare new factory partition
   - Format new ubi
   - Make ubi volumes
   - Write new fip and bl2
3. Navigate http://192.168.1.1/ and Upgrade with OpenWrt 'sysupgrade.bin'
   image (don't keep settings)

Installer
---------
Based on OpenWrt UBI Installer Image Generator for Linksys E8450 and
Belkin RT3200
Link: https://github.com/dangowrt/owrt-ubi-installer
Ready installer image
Link: https://github.com/csharper2005/owrt-ubi-installer/tree/qihoo/bin
Installer script
Link: https://github.com/csharper2005/owrt-ubi-installer/blob/qihoo/files/
installer/install.sh

Committing to the parent Daniel's repository is not yet possible because
there are no official images and imagebuilder for Qihoo 360T7 (UBI) yet.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22797
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-tools/uboot-envtools/files/mediatek_filogic
target/linux/mediatek/dts/mt7981b-qihoo-360t7-common.dtsi [new file with mode: 0644]
target/linux/mediatek/dts/mt7981b-qihoo-360t7-ubi.dts [new file with mode: 0644]
target/linux/mediatek/dts/mt7981b-qihoo-360t7.dts
target/linux/mediatek/filogic/base-files/etc/board.d/02_network
target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
target/linux/mediatek/image/filogic.mk