From 6fc4d11e0989b3e8fc60d817d1e9bd67046d4226 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 24 Feb 2022 21:21:13 +0100 Subject: [PATCH] Fix init files for rutx --- root/target/linux/ipq40xx/base-files/etc/board.d/02_network | 2 +- .../base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 4 ++-- root/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/root/target/linux/ipq40xx/base-files/etc/board.d/02_network b/root/target/linux/ipq40xx/base-files/etc/board.d/02_network index 4e49cd77..9ac46265 100755 --- a/root/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/root/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -32,7 +32,7 @@ ipq40xx_setup_interfaces() ucidef_set_interface_lan "eth0" ;; aruba,ap-303h|\ - teltonika,rutx10) + teltonika,rutx) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \ "0u@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "0u@eth1" "5:wan" diff --git a/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index dac01fc1..adc17c7e 100644 --- a/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/root/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -134,7 +134,7 @@ case "$FIRMWARE" in caldata_extract "ART" 0x1000 0x2f20 ath10k_patch_mac $(mtd_get_mac_binary dnidata 0x0) ;; - teltonika,rutx10) + teltonika,rutx) caldata_extract "0:ART" 0x1000 0x2f20 ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary "0:CONFIG" 0x0) 2) ;; @@ -233,7 +233,7 @@ case "$FIRMWARE" in caldata_extract "ART" 0x5000 0x2f20 ath10k_patch_mac $(mtd_get_mac_binary dnidata 0xc) ;; - teltonika,rutx10) + teltonika,rutx) caldata_extract "0:ART" 0x1000 0x2f20 ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary "0:CONFIG" 0x0) 3) ;; diff --git a/root/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh b/root/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh index 01c2276f..dabdaa2d 100644 --- a/root/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh +++ b/root/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh @@ -113,7 +113,7 @@ platform_do_upgrade() { PART_NAME="inactive" platform_do_upgrade_openmesh "$1" ;; - teltonika,rutx10) + teltonika,rutx) CI_UBIPART="rootfs" nand_do_upgrade "$1" ;;