From: Tom Rini <trini@konsulko.com>
To: "Pali Rohár" <pali@kernel.org>
Cc: Heiko Schocher <hs@denx.de>, u-boot@lists.denx.de
Subject: Re: [PATCH u-boot] powerpc/mpc85xx: socrates: Re-enable building u-boot-socrates.bin
Date: Fri, 30 Dec 2022 10:20:15 -0500 [thread overview]
Message-ID: <20221230152015.GY3787616@bill-the-cat> (raw)
In-Reply-To: <20221230124404.s7wdiqvjia5x3xe3@pali>
[-- Attachment #1: Type: text/plain, Size: 2471 bytes --]
On Fri, Dec 30, 2022 at 01:44:04PM +0100, Pali Rohár wrote:
> Tom, would you take this patch to master?
Yes, I'm just assuming Heiko will have a chance to test this before the
release on the 9th, thanks.
>
> On Wednesday 28 December 2022 19:18:39 Pali Rohár wrote:
> > U-Boot build system builds final U-Boot binary for socrates board in custom
> > file u-boot-socrates.bin (instead of standard u-boot.bin). Output target
> > file u-boot-socrates.bin is generated by binman as defined in board binman
> > config file arch/powerpc/dts/socrates-u-boot.dtsi.
> >
> > But binman was disabled in commit 5af42eafd7e1 ("Makefile: Reduce usage of
> > custom mpc85xx u-boot.bin target") for all mpc85xx boards which do not use
> > standard powerpc binman config file arch/powerpc/dts/u-boot.dtsi and boards
> > which do not require binman at all.
> >
> > The only such mpc85xx board is socrates. So since that commit, U-Boot does
> > not final binary for socrates board anymore.
> >
> > Fix this issue by re-enabling binman for socrates board. And build process
> > starts again producing u-boot-socrates.bin binary.
> >
> > Note that build process for this socrates board always produce u-boot.bin
> > binary which is broken and not usable for socrates board. Long term
> > solution should be to disable building broken binary u-boot.bin and then
> > renaming u-boot-socrates.bin to u-boot.bin, or switching to use common
> > powerpc binman config file arch/powerpc/dts/socrates-u-boot.dtsi (if it is
> > possible).
> >
> > Fixes: 5af42eafd7e1 ("Makefile: Reduce usage of custom mpc85xx u-boot.bin target")
> > Signed-off-by: Pali Rohár <pali@kernel.org>
> > ---
> > Heiko Schocher: Could you test if u-boot is still working on this board?
> >
> > Tom Rini: Cannot be this issue handled by CI? For example that CI check
> > build process produce required output binaries?
> > ---
> > arch/powerpc/cpu/mpc85xx/Kconfig | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
> > index 24d3f1f20c25..4c765efab7a5 100644
> > --- a/arch/powerpc/cpu/mpc85xx/Kconfig
> > +++ b/arch/powerpc/cpu/mpc85xx/Kconfig
> > @@ -72,6 +72,7 @@ choice
> > config TARGET_SOCRATES
> > bool "Support socrates"
> > select ARCH_MPC8544
> > + select BINMAN
> >
> > config TARGET_P3041DS
> > bool "Support P3041DS"
> > --
> > 2.20.1
> >
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2022-12-30 15:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-28 18:18 [PATCH u-boot] powerpc/mpc85xx: socrates: Re-enable building u-boot-socrates.bin Pali Rohár
2022-12-29 0:11 ` Tom Rini
2022-12-29 1:34 ` Pali Rohár
2022-12-29 7:01 ` Heiko Schocher
2022-12-30 12:44 ` Pali Rohár
2022-12-30 15:20 ` Tom Rini [this message]
2022-12-31 9:36 ` Heiko Schocher
2022-12-31 12:58 ` Pali Rohár
2022-12-31 13:36 ` Heiko Schocher
2022-12-31 15:31 ` Heiko Schocher
2022-12-31 15:37 ` Pali Rohár
2023-01-01 6:57 ` Heiko Schocher
2023-01-02 8:29 ` Heiko Schocher
2023-01-11 0:09 ` Pali Rohár
2023-01-06 16:52 ` Tom Rini
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=20221230152015.GY3787616@bill-the-cat \
--to=trini@konsulko.com \
--cc=hs@denx.de \
--cc=pali@kernel.org \
--cc=u-boot@lists.denx.de \
/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