Re: [PATCH] arm: sc5xx: Enable BOOTSTD_DEFAULTS

Uwe Kleine-König <[email protected]> Thu, 6 Aug 2026 07:48:38 +0200
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <anQcSAqpLeHDCXM8__36346.7241449811$1786003186$gmane$org@monoceros>
Hello,

thanks for your feedback.

On Wed, Aug 05, 2026 at 06:48:56PM -0400, Greg Malysa wrote:
> On Tue, Aug 4, 2026 at 6:43 AM Uwe Kleine-König
> <[email protected]> wrote:
> > [...]
> > base-commit: ece349ade2973e220f524ce59e59711cc919263f
> > --
> > 2.55.0.11.g153666a7d9bb
> >
> 
> This patch does not apply to uboot/main or uboot/next, please rebase

Oh, it was based on master, didn't notice there are newer other
branches.

> it and resubmit. Note that the sc573-ezkit has been renamed to the
> sc573-ezlite since the base commit referenced here, and another series
> has modified things like the default bootcmd.
> 
> I have additional questions however:
> 1) This enables things like CONFIG_HUSH_PARSER, CONFIG_BOOTP_PXE, and
> others as well which increase the size of uboot on an already tightly
> packed spi flash. Are these needed or intentional? Why not enable
> CONFIG_SUPPORT_RAW_INITRD individually?

I did that because in general I'm annoyed by (vendor) U-Boots that lack
the stuff that is considered good and needed for alternative Linux
installations.

> 2) How do you intend to use a debian image on these boards? The kernel
> does not currently have mainline support or drivers, and the SPI flash
> memory is likely too small for a debian image, as it required
> extensive tweaking in yocto to build root filesystems that would fit.
> Is it going to use exclusively NFS as the root filesystem?

My usecase here was to be able to start the installer to create a rootfs
on the eMMC for kernel development on "my" sc598 board.
And I'm using a custom kernel with the Debian rootfs because indeed
mainline doesn't work on these machines yet.

> 3) Why not make the same change to the sc594/sc598 boards as well?

That commit is a port of
https://github.com/analogdevicesinc/u-boot/pull/136 to mainline. I just
modified all non-spl config/sc5* without much thinking.

I will respin this series on a newer base commit and verify the
resulting image fits into flash---at least on the one machine I have on
my desk. I don't know other sc5xx boards, if some of these have a
smaller flash, enabling CONFIG_BOOTSTD_DEFAULTS for these probably
doesn't work.

Best regards
Uwe
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmp0IDMACgkQj4D7WH0S
/k4Fgwf/TyuJ7QXuOjjz6gmkPGEBq+1a64bvGt+KsUHqsAhrRnWCtYP/2jHWBkwR
appVEK78AlrDBaMiLl7XXNrzkYxyL+oBd90Tw7DpIWRXp21onGcVEEoZs6ZvG3iJ
GWrhoqKuvr74BV1t8EN04FBI5gVNisrmsUh5gUYCOhqXxjcvgZPNfCFNc9SM+9Gv
GfK2cTKLfL/0SSkyAGyqhftMJZl3nrhomHvf6Mb14ktktJqcD4bif30WiK1VFT9s
VTB2x20D20NRfzxa2yNSmy9j3EWwrTWBPRQm13G5/xmn9Tu5FbZevRlAJVI/KMwn
4OfXz34OaiZz1omYzPbYEBFmCqm7ZQ==
=hZ5E
-----END PGP SIGNATURE-----