immortalwrt/target/linux/mediatek
Daniel Golle 0b898ff4e2 mediatek: mt7623: re-write sysupgrade uImage.FIT on MMC
Re-reading the partition table doesn't work reliably, it fails if
anything on the device is still in use and it's not trivial to prevent
every possible case of a block device still being in use somehow.

Therefore, instead of relying on the in-kernel partition parser to know
where to write the configuration backup, use OpenWrt's format-agnostic
fwtool to strip off all metadata from the image and count its blocks
while writing. In that way we can know where to write the config backup
without needing the kernel to parse the MBR and FIT structures.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-02-09 15:50:45 +08:00
..
base-files mediatek: add support for Ubiquiti UniFi 6 LR 2021-02-18 12:06:40 +08:00
dts mediatek: rework and fix mt7622-rfb1-ubi support 2022-01-20 12:25:11 +08:00
files-5.10/drivers mediatek: mtk-snand: check request size against chip info 2021-08-28 12:22:51 +08:00
image mediatek: rework and fix mt7622-rfb1-ubi support 2022-01-20 12:25:11 +08:00
mt7622 mediatek: mt7622: make use of find_mmc_part 2022-02-09 15:44:21 +08:00
mt7623 mediatek: mt7623: re-write sysupgrade uImage.FIT on MMC 2022-02-09 15:50:45 +08:00
mt7629 kernel: move two symbols to the generic kconfigs 2021-08-30 12:13:54 +08:00
patches-5.10 kernel: move mediatek BMT support patch to generic patches 2022-01-20 12:23:25 +08:00
Makefile mediatek: add FEATURES and order them alphabetically 2021-10-03 23:56:51 +08:00
modules.mk mediatek: build btmtkuart as a kernel module 2020-09-23 11:35:31 +08:00