From 6126e0c1440668aade7907a939aa2f09c0a18bd3 Mon Sep 17 00:00:00 2001 From: remittor Date: Tue, 10 Sep 2024 11:22:42 +0300 Subject: [PATCH] [asus] Adapt configs for official Asus RT-AX89X images --- Makefile | 4 ++-- files/asus.sh | 3 ++- files/fi_boards.sh | 6 +++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a131ff2..6608eee 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=facinstall -PKG_VERSION:=1.9 -PKG_RELEASE:=20240825 +PKG_VERSION:=2.0 +PKG_RELEASE:=20240910 PKG_MAINTAINER:=remittor PKG_LICENSE:=MIT diff --git a/files/asus.sh b/files/asus.sh index f21755e..eff0e1c 100644 --- a/files/asus.sh +++ b/files/asus.sh @@ -65,7 +65,8 @@ fi_platform_do_upgrade() { if [ "$FI_IMAGE_MAGIC" = "$FI_MAGIC_TRX" ]; then # for revert to stock firmware - ubirmvol /dev/ubi0 -N jffs2 + ubirmvol /dev/ubi0 -N rootfs 2> /dev/null + ubirmvol /dev/ubi0 -N jffs2 2> /dev/null ubirmvol /dev/ubi0 -N "$FI_KERNEL_VOL" ubimkvol /dev/ubi0 -N "$FI_KERNEL_VOL" -s "$FI_KERNEL_SIZE" else diff --git a/files/fi_boards.sh b/files/fi_boards.sh index 3d6ec1e..3bcf4ec 100644 --- a/files/fi_boards.sh +++ b/files/fi_boards.sh @@ -43,13 +43,17 @@ fi_init_board() { asus,rt-ax52|\ asus,rt-ax57m|\ asus,rt-ax59u|\ - asus,rt-ax89x|\ asus,tuf-ax4200|\ asus,tuf-ax6000) CI_UBIPART="UBI_DEV" CI_KERNPART="linux" CI_ROOTPART="rootfs" ;; + asus,rt-ax89x) + CI_UBIPART="UBI_DEV" + CI_KERNPART="linux" + CI_ROOTPART="jffs2" + ;; xiaomi,mi-router-3-pro|\ xiaomi,mi-router-3g|\ xiaomi,mi-router-4|\