openwrt/target/linux/bcm53xx
Rafał Miłecki c808c55b39 bcm53xx: sysupgrade: refactor handling different firmware formats
List of supported formats grew over time and implementation got a bit
messy. There are multiple functions with format-specific parameters and
commands.

Refactor it by making platform_identify() setup all required info right
after detecting firmware format. This simplifies formats handling in
platform_other_check_image() and platform_do_upgrade() a lot.

This has been tested on:
1. SmartRG SR400ac (TRX): non-NAND sysupgrade
2. Netgear R8000 (CHK): NAND aware and standard sysupgrade-s
3. D-Link DIR-885L (Seama): NAND aware and standard sysupgrade-s
4. Luxul XWR-3150 (LXL): NAND aware and standard sysupgrade-s

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 80041dea70)
2021-12-13 14:01:14 +01:00
..
base-files bcm53xx: sysupgrade: refactor handling different firmware formats 2021-12-13 14:01:14 +01:00
files/arch/arm/boot/compressed bcm53xx: move bcm47xx_sprom driver to 4.4 specific directory 2017-02-06 10:18:20 +01:00
generic bcm53xx: add generic subtarget 2019-09-02 22:38:47 +02:00
image bcm53xx: enable Linksys EA6300 & EA9200 builds 2021-12-13 14:01:14 +01:00
patches-5.4 bcm53xx: backport the latest upstream DT changes 2021-12-13 14:01:14 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
config-5.4 kernel: backport 5.13 mtd partitioning changes 2021-04-08 11:25:41 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
modules.mk target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00