1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Update RUTX config/tools for 6.1 kernel

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-10-03 11:26:29 +02:00
parent 0fd066f6ce
commit facff1658d
7 changed files with 8 additions and 748 deletions

View file

@ -53,6 +53,8 @@ ensure_correct_art
case "$FIRMWARE" in
"ath10k/pre-cal-ahb-a000000.wifi.bin")
case "$board" in
teltonika,rutx50|\
teltonika,rutx12|\
teltonika,rutx)
ath10kcal_extract "0:ART" 4096 12064
;;
@ -60,6 +62,8 @@ case "$FIRMWARE" in
;;
"ath10k/pre-cal-ahb-a800000.wifi.bin")
case "$board" in
teltonika,rutx50|\
teltonika,rutx12|\
teltonika,rutx)
ath10kcal_extract "0:ART" 20480 12064
;;

View file

@ -12,6 +12,8 @@ PHYNBR=${DEVPATH##*/phy}
board=$(board_name)
case "$board" in
teltonika,rutx12|\
teltonika,rutx50|\
teltonika,rutx)
mac_addr=$(mtd_get_mac_binary 0:CONFIG 0)
if [ "$mac_addr" != "ff:ff:ff:ff:ff:ff" ]; then

View file

@ -13,7 +13,7 @@ PIDCOUNT=1
start_service() {
. /lib/functions
[ "$(board_name)" != "teltonika,rutx" ] && return 0
[ "$(board_name)" != "teltonika,rutx" ] && [ "$(board_name)" != "teltonika,rutx50" ] && [ "$(board_name)" != "teltonika,rutx12" ] && return 0
local pid_file="/var/run/${NAME}.${PIDCOUNT}.pid"
procd_open_instance

View file

@ -25,7 +25,7 @@ start() {
local board=$(board_name)
case "$board" in
teltonika,rutx | ap-dk01.1-c1 | ap-dk01.1-c2 | ap-dk04.1-c1 | ap-dk04.1-c2 | ap-dk04.1-c3 | \
teltonika,rutx | teltonika,rutx50 | teltonika,rutx12 | ap-dk01.1-c1 | ap-dk01.1-c2 | ap-dk04.1-c1 | ap-dk04.1-c2 | ap-dk04.1-c3 | \
ap-dk04.1-c4 | ap-dk04.1-c5 | ap-dk05.1-c1 | ap-dk06.1-c1 | ap-dk07.1-c1 | ap-dk07.1-c2 | ap-dk07.1-c3)
ipq40xx_power_auto ;;
esac