Skip to content

Commit 3bfbff9

Browse files
dangowrtmbgg
authored andcommitted
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: 8e01fb1 ("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>
1 parent f38ea59 commit 3bfbff9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929

3030
partition@0 {
3131
label = "bl2";
32-
reg = <0x0 0x80000>;
32+
reg = <0x0 0x100000>;
3333
read-only;
3434
};
3535

36-
partition@80000 {
36+
partition@100000 {
3737
label = "reserved";
38-
reg = <0x80000 0x300000>;
38+
reg = <0x100000 0x280000>;
3939
};
4040

4141
partition@380000 {

0 commit comments

Comments
 (0)