Patch "arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-dts-mt7986-increase-bl2-partition-on-nand-of-b.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit bda3e1762165f46a15acab662254b38c671267b5
Author: Daniel Golle <daniel@xxxxxxxxxxxxxx>
Date:   Tue Jun 6 16:43:20 2023 +0100

    arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3
    
    [ Upstream commit 3bfbff9b461e3506dfb5b2904e8c15a0aea39e07 ]
    
    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@xxxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/ZH9UGF99RgzrHZ88@xxxxxxxxxxxxxx
    Signed-off-by: Matthias Brugger <matthias.bgg@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso
index 15ee8c568f3c3..543c13385d6e3 100644
--- 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 @@ partitions {
 
 					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 {



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux