U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yao Zi <ziyao@disroot.org>
To: Simon Glass <sjg@chromium.org>
Cc: Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>,
	Tom Rini <trini@konsulko.com>,
	Minda Chen <minda.chen@starfivetech.com>,
	Hal Feng <hal.feng@starfivetech.com>,
	Chia-Wei Wang <chiawei_wang@aspeedtech.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	E Shattow <e@freeshell.de>,
	Yu-Chien Peter Lin <peter.lin@sifive.com>,
	Sumit Garg <sumit.garg@kernel.org>, Bin Meng <bmeng.cn@gmail.com>,
	u-boot@lists.denx.de, Jonas Karlman <jonas@kwiboo.se>
Subject: Re: [PATCH v2 1/3] riscv: dts: binman.dtsi: Switch to u-boot-nodtb entry for proper U-Boot
Date: Fri, 18 Apr 2025 04:10:15 +0000	[thread overview]
Message-ID: <aAHQp1w0BjaPdbT3@pie.lan> (raw)
In-Reply-To: <CAFLszTjiRKMLny_RcRB4sUV75c8_QLFkw4u_x6qfs3k1q=KsDg@mail.gmail.com>

On Thu, Apr 17, 2025 at 03:35:50PM -0600, Simon Glass wrote:
> Hi Yao,
> 
> On Wed, 16 Apr 2025 at 10:25, Yao Zi <ziyao@disroot.org> wrote:
> >
> > Switch to u-boot-nodtb entry which precisely represents a proper U-Boot
> > and could be matched with u_boot_any. This allows RISC-V ports that make
> > use of binman to be built without disabling SPL_BINMAN_UBOOT_SYMBOLS
> > explicitly, which is set to y by default.
> >
> > Fixes: 0784510f741 ("riscv: sifive: unleashed: Switch to use binman to generate u-boot.itb")
> > Suggested-by: Jonas Karlman <jonas@kwiboo.se>
> > Signed-off-by: Yao Zi <ziyao@disroot.org>
> > ---
> >  arch/riscv/dts/binman.dtsi | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> 
> Reviewed-by: Simon Glass <sjg@chromium.org>
> 
> > diff --git a/arch/riscv/dts/binman.dtsi b/arch/riscv/dts/binman.dtsi
> > index 0405faca574..b7656423b69 100644
> > --- a/arch/riscv/dts/binman.dtsi
> > +++ b/arch/riscv/dts/binman.dtsi
> > @@ -35,7 +35,7 @@
> >                                         compression = "none";
> >                                         load = /bits/ 64 <CONFIG_TEXT_BASE>;
> >
> > -                                       uboot_blob: blob-ext {
> > +                                       uboot_blob: u-boot-nodtb {
> >                                                 filename = "u-boot-nodtb.bin";
> 
> Also you can see the default filename for that entry type in
> tools/binman/etype/u_boot_nodtb.py:
> 
>     def GetDefaultFilename(self):
>         return 'u-boot-nodtb.bin'
> 
> so you can drop this filename.

Okay, thanks for the hint.

> >                                         };
> >                                 };
> > --
> > 2.49.0
> >
> 
> Regards,
> Simon

Best regards,
Yao Zi

  reply	other threads:[~2025-04-18  4:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-16 16:25 [PATCH v2 0/3] Fix binman_sym functionality on RISC-V port Yao Zi
2025-04-16 16:25 ` [PATCH v2 1/3] riscv: dts: binman.dtsi: Switch to u-boot-nodtb entry for proper U-Boot Yao Zi
2025-04-17 21:35   ` Simon Glass
2025-04-18  4:10     ` Yao Zi [this message]
2025-04-16 16:25 ` [PATCH v2 2/3] riscv: dts: starfive: Prevent binman from relocating symbols in SPL Yao Zi
2025-04-16 16:25 ` [PATCH v2 3/3] riscv: Provide __image_copy_{start_end} symbols in linkerscript Yao Zi

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=aAHQp1w0BjaPdbT3@pie.lan \
    --to=ziyao@disroot.org \
    --cc=bmeng.cn@gmail.com \
    --cc=chiawei_wang@aspeedtech.com \
    --cc=e@freeshell.de \
    --cc=hal.feng@starfivetech.com \
    --cc=jonas@kwiboo.se \
    --cc=minda.chen@starfivetech.com \
    --cc=peter.lin@sifive.com \
    --cc=rick@andestech.com \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@kernel.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox