devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Brugger <matthias.bgg@gmail.com>
To: Daniel Golle <daniel@makrotopia.org>,
	devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Frank Wunderlich <frank-w@public-files.de>,
	AngeloGioacchino Del Regno 
	<angelogioacchino.delregno@collabora.com>,
	Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Weijie Gao <weijie.gao@mediatek.com>
Subject: Re: [PATCH] arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3
Date: Mon, 12 Jun 2023 05:23:09 +0200	[thread overview]
Message-ID: <786ae93b-b89f-0587-b084-2f93554df479@gmail.com> (raw)
In-Reply-To: <ZH9UGF99RgzrHZ88@makrotopia.org>



On 06/06/2023 17:43, Daniel Golle wrote:
> 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>

Applied, thanks!

> ---
>   .../boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso     | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> 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 {

      reply	other threads:[~2023-06-12  3:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-06 15:43 [PATCH] arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3 Daniel Golle
2023-06-12  3:23 ` Matthias Brugger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=786ae93b-b89f-0587-b084-2f93554df479@gmail.com \
    --to=matthias.bgg@gmail.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel@makrotopia.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frank-w@public-files.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=robh+dt@kernel.org \
    --cc=weijie.gao@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).