mediatek: rework Bananapi BPi-R2
authorDaniel Golle <daniel@makrotopia.org>
Sat, 10 Jul 2021 15:35:47 +0000 (16:35 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 20 Jul 2021 03:16:48 +0000 (04:16 +0100)
commit86a61e716efe2e0ef2f4ce9b2fdd7a532661ef56
tree9d933bb05ab52a825301b54f71ebc4d384d08e66
parent6b2000b6ff19165d33b7f67fb7275334cbf80395
mediatek: rework Bananapi BPi-R2

 * introduce recovery (=initramfs) vs. production dual boot scheme
 * make use of uImage.FIT (instead of FAT partition)
 * generate images using build steps (instead of external scripts)
 * simplify sysupgrade and config restore (thanks to uImage.FIT)
 * make sure mmc devices are ordered persistently (set DT aliases)

This commit breaks sysupgrade from existing installations, you will
have to re-install using the sdcard.img.gz image.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/image/Config.in
target/linux/mediatek/image/mt7623.mk
target/linux/mediatek/image/mt7623n_bpir2-uEnv.txt [deleted file]
target/linux/mediatek/mt7623/base-files/lib/preinit/79_move_config
target/linux/mediatek/mt7623/base-files/lib/upgrade/platform.sh
target/linux/mediatek/mt7623/config-5.10
target/linux/mediatek/patches-5.10/160-dts-mt7623-bpi-r2-earlycon.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.10/161-dts-mt7623-bpi-r2-mmc-device-order.patch [new file with mode: 0644]