diff options
Diffstat (limited to 'target/linux/ipq40xx/base-files')
4 files changed, 18 insertions, 4 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index ade1b05458..cbccbf92ef 100755 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -38,7 +38,8 @@ glinet,gl-b1300) ucidef_add_switch "switch0" \ "0u@eth0" "3:lan" "4:lan" ;; -openmesh,a42) +openmesh,a42 |\ +openmesh,a62) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; meraki,mr33 |\ diff --git a/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 0a5780cbf0..1eb93ba41d 100644 --- a/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -110,6 +110,13 @@ case "$FIRMWARE" in ;; esac ;; +"ath10k/pre-cal-pci-0000:01:00.0.bin") + case "$board" in + openmesh,a62) + ath10kcal_extract "0:ART" 36864 12064 + ;; + esac + ;; "ath10k/pre-cal-ahb-a000000.wifi.bin") case "$board" in 8dev,jalapeno |\ @@ -135,7 +142,8 @@ case "$FIRMWARE" in ath10kcal_patch_mac_crc $(mtd_get_mac_binary dnidata 0) ;; compex,wpj428 |\ - openmesh,a42) + openmesh,a42 |\ + openmesh,a62) ath10kcal_extract "0:ART" 4096 12064 ;; esac @@ -165,7 +173,8 @@ case "$FIRMWARE" in ath10kcal_patch_mac_crc $(mtd_get_mac_binary dnidata 12) ;; compex,wpj428 |\ - openmesh,a42) + openmesh,a42 |\ + openmesh,a62) ath10kcal_extract "0:ART" 20480 12064 ;; esac diff --git a/target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh index 71ab247ead..f7aed7c9b6 100644 --- a/target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh +++ b/target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh @@ -47,6 +47,9 @@ platform_do_upgrade_openmesh() { openmesh,a42) primary_kernel_mtd=8 ;; + openmesh,a62) + primary_kernel_mtd=10 + ;; *) echo "failed to detect primary kernel mtd partition for board" return 1 diff --git a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh index 5493c47b63..4096e127ea 100644 --- a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh @@ -39,7 +39,8 @@ platform_do_upgrade() { CI_KERNPART="linux" nand_do_upgrade "$1" ;; - openmesh,a42) + openmesh,a42 |\ + openmesh,a62) PART_NAME="inactive" platform_do_upgrade_openmesh "$ARGV" ;; |