From 1d4dea6d4f4d34914e4622809b8b4a7c2c35ab47 Mon Sep 17 00:00:00 2001 From: Joe Mullally Date: Mon, 30 Aug 2021 22:35:05 +0100 Subject: ath79: Move TPLink WPA8630Pv2 to ath79-tiny target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These devices only have 6MiB available for firmware, which is not enough for recent release images, so move these to the tiny target. Note for users sysupgrading from the previous ath79-generic snapshot images: The tiny target kernel has a 4Kb flash erase block size instead of the generic target's 64kb. This means the JFFS2 overlay partition containing settings must be reformatted with the new block size or else there will be data corruption. To do this, backup your settings before upgrading, then during the sysupgrade, de-select "Keep Settings". On the CLI, use "sysupgrade -n". If you forget to do this and your system becomes unstable after upgrading, you can do this to format the partition and recover: * Reboot * Press RESET when Power LED blinks during boot to enter Failsafe mode * SSH to 192.168.1.1 * Run "firstboot" and reboot Signed-off-by: Joe Mullally Tested-by: Robert Högberg Signed-off-by: Petr Štetiar [commit message facelift] (cherry picked from commit 44e1e5d) Signed-off-by: Petr Štetiar --- .../generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata') diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index c562fa7c74..c7dbaafac1 100644 --- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -228,10 +228,7 @@ case "$FIRMWARE" in ;; tplink,eap225-outdoor-v1|\ tplink,eap225-v3|\ - tplink,eap225-wall-v2|\ - tplink,tl-wpa8630p-v2-int|\ - tplink,tl-wpa8630p-v2.0-eu|\ - tplink,tl-wpa8630p-v2.1-eu) + tplink,eap225-wall-v2) caldata_extract "art" 0x5000 0x2f20 ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) +1) ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \ -- cgit v1.2.3