[PATCH v5 38/46] boot: Consider non-bootable partitions

Simon Glass sjg at chromium.org
Tue Mar 18 16:24:02 CET 2025


Hi Tom,

On Tue, 18 Mar 2025 at 15:04, Tom Rini <trini at konsulko.com> wrote:
>
> On Sat, Mar 15, 2025 at 02:25:58PM +0000, Simon Glass wrote:
>
> > Any 'bootable' flag in a DOS partition causes boostd to only scan
> > bootable partitions for that media. This can mean that extlinux.conf
> > files on the root disk are missed.
> >
> > Put this logic behind a flag and update the documentation.
> >
> > For now, the flag is enabled, to preserve existing behaviour. Future
> > work may provide a command (or some other mechanism) to control this.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
>
> Isn't this backwards as the existing behavior (prior to bootstd) was to
> scan and use these files, and so that's the behavior we need to preserve
> by default.

Not so far as I know, but I've already spent too much time trying to
decode those scripts.

If you look at scan_dev_for_boot_part, that is what I was trying to
replicate with bootstd.

Regards,
SImon


More information about the U-Boot mailing list