mediatek: rework and fix mt7622-rfb1-ubi support
authorFelix Fietkau <nbd@nbd.name>
Mon, 10 Jan 2022 11:35:08 +0000 (12:35 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 13 Jan 2022 17:33:06 +0000 (18:33 +0100)
commit76b27f6bb92eec4a25001da8d8188d30440eafd9
treefb58ac17728deb0a740633efa52d0c9b2fc12193
parent7235c8d00ccf2d6d1bde3a2bec476d45d8c7c2ab
mediatek: rework and fix mt7622-rfb1-ubi support

Limit bmt remapping range to cover everything up to and including the kernel image,
use the rest of the flash area for ubi.
Fix partition table and sysupgrade support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/mediatek/dts/mt7622-rfb1-ubi.dts
target/linux/mediatek/image/mt7622.mk
target/linux/mediatek/mt7622/base-files/etc/board.d/02_network
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh