Skip to content

Commit

Permalink
[asus] Adapt configs for official Asus RT-AX89X images
Browse files Browse the repository at this point in the history
  • Loading branch information
remittor committed Sep 10, 2024
1 parent 00660e5 commit 6126e0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
PKG_LICENSE:=MIT
Expand Down
3 changes: 2 additions & 1 deletion files/asus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion files/fi_boards.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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|\
Expand Down

0 comments on commit 6126e0c

Please sign in to comment.