mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
659f4a13dd
With Linux 6.1 many of our downstream patches and out-of-tree files can be removed or at least replaced by backported upstream commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org> [fix CMDLINE_OVERRIDE for arm64] Signed-off-by: Bjørn Mork <bjorn@mork.no>
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From 6dd3b939370094eb79529683be84500f3c757404 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <daniel@makrotopia.org>
|
|
Date: Tue, 6 Jun 2023 16:43:20 +0100
|
|
Subject: [PATCH 19/19] arm64: dts: mt7986: increase bl2 partition on NAND of
|
|
Bananapi R3
|
|
|
|
The bootrom burned into the MT7986 SoC will try multiple locations on
|
|
the SPI-NAND flash to load bl2 in case the bl2 image located at the the
|
|
previously attempted offset is corrupt.
|
|
|
|
Use 0x100000 instead of 0x80000 as partition size for bl2 on SPI-NAND,
|
|
allowing for up to four redundant copies of bl2 (typically sized a
|
|
bit less than 0x40000).
|
|
|
|
Fixes: 8e01fb15b8157 ("arm64: dts: mt7986: add Bananapi R3")
|
|
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
Link: https://lore.kernel.org/r/ZH9UGF99RgzrHZ88@makrotopia.org
|
|
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
|
|
---
|
|
.../boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso
|
|
@@ -29,13 +29,13 @@
|
|
|
|
partition@0 {
|
|
label = "bl2";
|
|
- reg = <0x0 0x80000>;
|
|
+ reg = <0x0 0x100000>;
|
|
read-only;
|
|
};
|
|
|
|
- partition@80000 {
|
|
+ partition@100000 {
|
|
label = "reserved";
|
|
- reg = <0x80000 0x300000>;
|
|
+ reg = <0x100000 0x280000>;
|
|
};
|
|
|
|
partition@380000 {
|