diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-07-10 16:35:47 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-07-20 04:16:48 +0100 |
commit | 86a61e716efe2e0ef2f4ce9b2fdd7a532661ef56 (patch) | |
tree | 9d933bb05ab52a825301b54f71ebc4d384d08e66 /target/linux/mediatek/patches-5.10 | |
parent | 6b2000b6ff19165d33b7f67fb7275334cbf80395 (diff) | |
download | upstream-86a61e716efe2e0ef2f4ce9b2fdd7a532661ef56.tar.gz upstream-86a61e716efe2e0ef2f4ce9b2fdd7a532661ef56.tar.bz2 upstream-86a61e716efe2e0ef2f4ce9b2fdd7a532661ef56.zip |
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>
Diffstat (limited to 'target/linux/mediatek/patches-5.10')
-rw-r--r-- | target/linux/mediatek/patches-5.10/160-dts-mt7623-bpi-r2-earlycon.patch | 11 | ||||
-rw-r--r-- | target/linux/mediatek/patches-5.10/161-dts-mt7623-bpi-r2-mmc-device-order.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.10/160-dts-mt7623-bpi-r2-earlycon.patch b/target/linux/mediatek/patches-5.10/160-dts-mt7623-bpi-r2-earlycon.patch new file mode 100644 index 0000000000..bd386c8420 --- /dev/null +++ b/target/linux/mediatek/patches-5.10/160-dts-mt7623-bpi-r2-earlycon.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 +@@ -19,7 +19,7 @@ + + chosen { + stdout-path = "serial2:115200n8"; +- bootargs = "console=ttyS2,115200n8"; ++ bootargs = "earlycon=uart8250,mmio32,0x11004000 console=ttyS2,115200n8"; + }; + + connector { 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 { |