From 86a61e716efe2e0ef2f4ce9b2fdd7a532661ef56 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 10 Jul 2021 16:35:47 +0100 Subject: 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 --- .../patches-5.10/161-dts-mt7623-bpi-r2-mmc-device-order.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/mediatek/patches-5.10/161-dts-mt7623-bpi-r2-mmc-device-order.patch (limited to 'target/linux/mediatek/patches-5.10/161-dts-mt7623-bpi-r2-mmc-device-order.patch') diff --git a/target/linux/mediatek/patches-5.10/161-dts-mt7623-bpi-r2-mmc-device-order.patch b/target/linux/mediatek/patches-5.10/161-dts-mt7623-bpi-r2-mmc-device-order.patch new file mode 100644 index 0000000000..d1bafc1526 --- /dev/null +++ b/target/linux/mediatek/patches-5.10/161-dts-mt7623-bpi-r2-mmc-device-order.patch @@ -0,0 +1,11 @@ +--- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts ++++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +@@ -15,6 +15,8 @@ + + aliases { + serial2 = &uart2; ++ mmc0 = &mmc0; ++ mmc1 = &mmc1; + }; + + chosen { -- cgit v1.2.3