Add support Asus RT-AX89X

This commit is contained in:
remittor
2024-01-28 12:37:53 +03:00
parent 7aa73f065c
commit 771bba4633
3 changed files with 80 additions and 0 deletions

56
rt-ax89x.config Normal file
View File

@@ -0,0 +1,56 @@
CONFIG_TARGET_qualcommax=y
CONFIG_TARGET_qualcommax_ipq807x=y
CONFIG_TARGET_qualcommax_ipq807x_DEVICE_asus_rt-ax89x=y
#include _addons.config
#include _base.config
#include _wifi_en.config
#include _printer.config
#include _samba.config
#include _torrents.config
#include _proxy.config
#include _argon.config
#include _vpn.config
CONFIG_KERNEL_KALLSYMS=y
### Temp and sensors
CONFIG_PACKAGE_lm-sensors=y
CONFIG_PACKAGE_lm-sensors-detect=y
CONFIG_PACKAGE_luci-app-temp-status=y
CONFIG_PACKAGE_luci-i18n-temp-status-ru=y
### HDD tools
CONFIG_PACKAGE_smartmontools=y
CONFIG_PACKAGE_hdparm=y
CONFIG_PACKAGE_hd-idle=y
CONFIG_PACKAGE_luci-app-hd-idle=y
#CONFIG_PACKAGE_luci-i18n-hd-idle-ru=y
CONFIG_PACKAGE_luci-app-disks-info=y
#CONFIG_PACKAGE_luci-i18n-disks-info-ru=y
CONFIG_PACKAGE_luci-app-diskman=y
### Network Ports viewer
CONFIG_PACKAGE_luci-app-tn-netports=y
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
### Network traffic
CONFIG_PACKAGE_luci-app-sqm=y
CONFIG_PACKAGE_luci-i18n-sqm-ru=y
### TimeControl
CONFIG_PACKAGE_luci-app-timecontrol=m
### FileBrowser
CONFIG_PACKAGE_wget-ssl=y
CONFIG_PACKAGE_luci-app-filebrowser=y
### DNSMasq
CONFIG_PACKAGE_dnsmasq-full=y
### CPU Freq
CONFIG_PACKAGE_luci-app-cpufreq=y

18
rt-ax89x_initramfs.config Normal file
View File

@@ -0,0 +1,18 @@
CONFIG_TARGET_qualcommax=y
CONFIG_TARGET_qualcommax_ipq807x=y
CONFIG_TARGET_qualcommax_ipq807x_DEVICE_asus_rt-ax89x=y
#include _addons.config
#include _base_initrd.config
CONFIG_KERNEL_KALLSYMS=y
CONFIG_TARGET_INITRAMFS_FORCE=y
CONFIG_TARGET_ROOTFS_INITRAMFS=y
CONFIG_USES_SEPARATE_INITRAMFS=n
CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE=n
### DNSMasq
CONFIG_PACKAGE_dnsmasq-full=y

View File

@@ -94,6 +94,12 @@ if [ "$TARGET_INITRAMFS_FORCE" = y ]; then
sed -i '/CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE=y/d' $CFG
fi
if [ "$TARGET_INITRAMFS_FORCE" = y ]; then
sed -i '/_DEFAULT_ipq-wifi-/d' $CFG
sed -i '/_PACKAGE_ipq-wifi-/d' $CFG
sed -i '/_PACKAGE_ath11k-firmware-/d' $CFG
fi
wpad_openssl=$( get_cfg_pkg_flag $XDIR/__current.config wpad-openssl )
if [ "$wpad_openssl" = y ]; then
logmsg "Forced using wpad-openssl !!!"