All of lore.kernel.org
 help / color / mirror / Atom feed
From: E Shattow <e@freeshell.de>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>,
	Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>
Cc: Minda Chen <minda.chen@starfivetech.com>,
	Hal Feng <hal.feng@starfivetech.com>,
	Simon Glass <sjg@chromium.org>,
	Yu-Chien Peter Lin <peter.lin@sifive.com>,
	Sumit Garg <sumit.garg@linaro.org>,
	"Leon M . Busch-George" <leon@georgemail.eu>,
	Lukas Funke <lukas.funke@weidmueller.com>,
	H Bell <dmoo_dv@protonmail.com>,
	u-boot@lists.denx.de
Subject: Re: [PATCH v3 2/4] riscv: dts: no default configuration for MULTI_DTB_FIT
Date: Sat, 22 Feb 2025 14:07:02 -0800	[thread overview]
Message-ID: <a8ff4bf3-d4ef-478c-ac74-0fbcb984ccb1@freeshell.de> (raw)
In-Reply-To: <20250221095856.36530-3-heinrich.schuchardt@canonical.com>



On 2/21/25 01:58, Heinrich Schuchardt wrote:
> JH7110 boards are currently the only use case for multi DTB FIT images
> on RISC-V.
> 
> Booting JH7110 systems with a VisionFive 2 device-tree used to kind of
> work without causing harm to the hardware. But there is no guarantee
> that this will hold true in future. So we should not rely on it.
> 
> Before the current patch series booting failed on unsupported boards due
> to the lack of a device-tree in the binman generated default configuration
> when reaching main U-Boot.
> 
> By not setting a default configuration booting will now fail on
> unsupported boards already in SPL. This allows SPL to
> continue with the next boot source for a possible recovery.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
> v3:
> 	new patch
> ---
>  arch/riscv/dts/binman.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/riscv/dts/binman.dtsi b/arch/riscv/dts/binman.dtsi
> index 782ef037f7a..ceb916b74a7 100644
> --- a/arch/riscv/dts/binman.dtsi
> +++ b/arch/riscv/dts/binman.dtsi
> @@ -93,7 +93,10 @@
>  			};
>  
>  			configurations {
> +
> +#ifndef CONFIG_MULTI_DTB_FIT
>  				default = "conf-1";
> +#endif
>  
>  #if !defined(CONFIG_OF_BOARD) || defined(CONFIG_MULTI_DTB_FIT)
>  				@conf-SEQ {

Reviewed-by: E Shattow <e@freeshell.de>

  reply	other threads:[~2025-02-22 22:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-21  9:58 [PATCH v3 0/4] riscv: dts: starfive: simplify binman config Heinrich Schuchardt
2025-02-21  9:58 ` [PATCH v3 1/4] riscv: dts: add OF_LIST handling to binman.dtsi Heinrich Schuchardt
2025-02-22 22:05   ` E Shattow
2025-02-21  9:58 ` [PATCH v3 2/4] riscv: dts: no default configuration for MULTI_DTB_FIT Heinrich Schuchardt
2025-02-22 22:07   ` E Shattow [this message]
2025-02-21  9:58 ` [PATCH v3 3/4] board: starfive: spl: strip off 'starfive/' prefix Heinrich Schuchardt
2025-02-23  1:33   ` E Shattow
2025-02-23 12:55     ` Heinrich Schuchardt
2025-02-23 14:18       ` E Shattow
2025-02-23 15:39         ` Heinrich Schuchardt
2025-02-24 10:00           ` E Shattow
2025-02-24 10:13         ` Heinrich Schuchardt
2025-02-25 13:43           ` E Shattow
2025-02-21  9:58 ` [PATCH v3 4/4] riscv: dts: starfive: remove duplicate itb entries Heinrich Schuchardt
2025-02-23  1:36   ` E Shattow

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=a8ff4bf3-d4ef-478c-ac74-0fbcb984ccb1@freeshell.de \
    --to=e@freeshell.de \
    --cc=dmoo_dv@protonmail.com \
    --cc=hal.feng@starfivetech.com \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=leon@georgemail.eu \
    --cc=lukas.funke@weidmueller.com \
    --cc=minda.chen@starfivetech.com \
    --cc=peter.lin@sifive.com \
    --cc=rick@andestech.com \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@linaro.org \
    --cc=u-boot@lists.denx.de \
    --cc=ycliang@andestech.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.