ipq40xx: dynamically build board-2.bin for Mikrotik mikrotik
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 6 Feb 2022 00:42:01 +0000 (01:42 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 14 Feb 2022 20:12:36 +0000 (21:12 +0100)
commit52f3407d94da62b99ba6c09f3663464cccd29b4f
treea5dc621d7f591b6e261ad3f553379027a8c7a99f
parent9e174d3ab0da907af48a0686d8e4f52b107b9c6c
ipq40xx: dynamically build board-2.bin for Mikrotik

Mikrotik devices ship with the boardfile data right on the board itself.
This script takes the data from the sysfs firmware "wlan_data" to
generate a custom board-2.bin for the ath10k driver to work with.

The qcom,ath10k-calibration-variant in each device's device-tree file
are being removed as well.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cap-ac.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-hap-ac2.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-sxtsq-5-ac.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-hap-ac3.dts