openwrt/target/linux/bcm53xx
Rafał Miłecki 80041dea70 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>
2021-12-02 09:15:18 +01:00
..
base-files bcm53xx: sysupgrade: refactor handling different firmware formats 2021-12-02 09:15:18 +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: MR32: replace i2c-gpio with SoC's i2c 2021-10-30 15:00:22 +02:00
patches-5.4 kernel: bump 5.4 to 5.4.150 2021-10-02 16:45:56 +02:00
patches-5.10 kernel: bump 5.10 to 5.10.82 2021-11-27 19:19:30 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
config-5.4 kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
config-5.10 kernel: Deactivate B53 symbols in generic configuration 2021-11-29 22:37:58 +01:00
Makefile bcm53xx: switch to the upstream DSA-based b53 driver 2021-10-21 17:38:17 +02:00
modules.mk bcm53xx: fix kmod-i2c-bcm-iproc for kernel 5.10 2021-08-31 11:41:04 +02:00