From: Andre Przywara <andre.przywara@arm.com>
To: Samuel Holland <samuel@sholland.org>
Cc: Jagan Teki <jagan@amarulasolutions.com>,
u-boot@lists.denx.de, Icenowy Zheng <icenowy@aosc.io>,
Jesse Taube <Mr.Bossman075@gmail.com>
Subject: Re: [PATCH v3 4/4] sunxi: Enable SPL FIT loading for 32-bit SoCs
Date: Fri, 8 Dec 2023 01:39:45 +0000 [thread overview]
Message-ID: <20231208013945.6ac0b9e8@slackpad.lan> (raw)
In-Reply-To: <20231031051805.62430-5-samuel@sholland.org>
On Tue, 31 Oct 2023 00:17:41 -0500
Samuel Holland <samuel@sholland.org> wrote:
Hi,
> Now that 32-bit SoCs can load U-Boot proper (and possibly other
> firmware) from a FIT, use this method by default. SPL_FIT_IMAGE_TINY is
> required to stay within the 24 or 32 KiB SPL size limit on early SoCs;
> for consistency, enable it everywhere.
Mmh, so that changes the build for an awful lot of boards, especially
old ones that no one can be bothered to test anymore. I am bit scared
of that change there, especially with the limited SRAM size there.
I think the main motivation stems from crust on H3, and since H3 boards
are still in good use and get tested, I'd prefer to enable it just for
H3 boards, at least for now.
If we don't hear anything bad for a while, we could try to enable it
(by default) on the other SoCs as well.
What do you think?
Cheers,
Andre
>
> Signed-off-by: Samuel Holland <samuel@sholland.org>
> ---
>
> (no changes since v2)
>
> Changes in v2:
> - New patch for v2, split from the .dtsi changes
>
> arch/arm/Kconfig | 1 +
> common/spl/Kconfig | 3 +--
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index d812685c984..42781d02f0f 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1167,6 +1167,7 @@ config ARCH_SUNXI
> imply SPL_GPIO
> imply SPL_LIBCOMMON_SUPPORT
> imply SPL_LIBGENERIC_SUPPORT
> + imply SPL_LOAD_FIT
> imply SPL_MMC if MMC
> imply SPL_POWER
> imply SPL_SERIAL
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index a0968ff1065..aebbfbf99d2 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -567,8 +567,7 @@ config SYS_MMCSD_RAW_MODE_EMMC_BOOT_PARTITION
> config SPL_FIT_IMAGE_TINY
> bool "Remove functionality from SPL FIT loading to reduce size"
> depends on SPL_FIT
> - default y if MACH_SUN50I || MACH_SUN50I_H5 || SUN50I_GEN_H6
> - default y if ARCH_IMX8M || ARCH_IMX9
> + default y if ARCH_IMX8M || ARCH_IMX9 || ARCH_SUNXI
> help
> Enable this to reduce the size of the FIT image loading code
> in SPL, if space for the SPL binary is very tight.
next prev parent reply other threads:[~2023-12-08 1:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-31 5:17 [PATCH v3 0/4] sunxi: SPL FIT support for 32-bit sunxi SoCs Samuel Holland
2023-10-31 5:17 ` [PATCH v3 1/4] sunxi: spl: Disable padding from SPL_PAD_TO Samuel Holland
2023-12-08 0:25 ` Andre Przywara
2023-10-31 5:17 ` [PATCH v3 2/4] sunxi: binman: Move BL31 and SCP firmware addresses to Kconfig Samuel Holland
2023-12-08 0:33 ` Andre Przywara
2023-10-31 5:17 ` [PATCH v3 3/4] sunxi: binman: Support FIT generation for 32-bit SoCs Samuel Holland
2023-11-02 22:46 ` Simon Glass
2023-12-08 1:26 ` Andre Przywara
2024-01-29 16:58 ` Andre Przywara
2023-10-31 5:17 ` [PATCH v3 4/4] sunxi: Enable SPL FIT loading " Samuel Holland
2023-11-02 22:46 ` Simon Glass
2023-12-08 1:39 ` Andre Przywara [this message]
2024-01-17 0:19 ` Andre Przywara
2024-01-29 16:19 ` Andre Przywara
2023-11-01 17:11 ` [PATCH v3 0/4] sunxi: SPL FIT support for 32-bit sunxi SoCs Jesse T
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=20231208013945.6ac0b9e8@slackpad.lan \
--to=andre.przywara@arm.com \
--cc=Mr.Bossman075@gmail.com \
--cc=icenowy@aosc.io \
--cc=jagan@amarulasolutions.com \
--cc=samuel@sholland.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