bcm4908: add sysupgrade support
authorRafał Miłecki <rafal@milecki.pl>
Wed, 7 Apr 2021 12:14:57 +0000 (14:14 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 7 Apr 2021 12:44:20 +0000 (14:44 +0200)
commita6a0b252baa6c19dfc62611ea910b56527ce4fa5
tree16b105696714af5f6042dd67fab317a900658d6b
parente48c6400e477109f0cb5f28ed9bac359f726d5cc
bcm4908: add sysupgrade support

It supports flashing OpenWrt images (bootfs & UBI upgrade) as well as
vendor images (whole MTD partition write).

Upgrading cferom is unsupported. It requires copying device specific
data (like MAC) to target image before flashing.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/bcm4908/base-files/lib/upgrade/platform.sh [new file with mode: 0644]