From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
Bin Meng <bmeng.cn@gmail.com>,
Guillaume La Roque <glaroque@baylibre.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Igor Opaniuk <igor.opaniuk@gmail.com>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Jerome Forissier <jerome.forissier@linaro.org>,
Julien Masson <jmasson@baylibre.com>,
Julius Lehmann <lehmanju@devpi.de>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Martyn Welch <martyn.welch@collabora.com>,
Mattijs Korpershoek <mkorpershoek@baylibre.com>,
Quentin Schulz <quentin.schulz@cherry.de>
Subject: Re: [PATCH v5 38/46] boot: Consider non-bootable partitions
Date: Wed, 2 Apr 2025 08:28:51 -0600 [thread overview]
Message-ID: <20250402142851.GS5495@bill-the-cat> (raw)
In-Reply-To: <20250315142643.2600605-39-sjg@chromium.org>
[-- Attachment #1: Type: text/plain, Size: 1761 bytes --]
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@chromium.org>
> ---
>
> (no changes since v4)
>
> Changes in v4:
> - Rewrite the commit message
> - Enable the flag by default
>
> Changes in v3:
> - Add new patch to consider non-bootable partitions
>
> boot/bootdev-uclass.c | 4 +++-
> cmd/bootflow.c | 2 +-
> doc/develop/bootstd/overview.rst | 5 +++--
> include/bootflow.h | 2 ++
> test/boot/bootdev.c | 1 +
> test/boot/bootflow.c | 5 +++--
> 6 files changed, 13 insertions(+), 6 deletions(-)
Having spent another 10 minutes just now trying to understand things,
again:
- The commit message, and the implementation are either in disagreement
or just too vague. Saying "to preserve existing behaviour" is unclear
about which behavior is being preserved, since we're setting the flag
to continue to only check bootable flagged partitions
(BOOTFLOWIF_ONLY_BOOTABLE). But then we would continue to miss
extlinux.conf files on root filesystems, which would seem to be the
bug that needed fixing?
- It's still unclear if this makes bootstd match the exiting distro
script behavior or not, and from your other emails it sounded like you
were expecting someone else to dig around.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2025-04-02 14:29 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-15 14:25 [PATCH v5 00/46] x86: Improve operation under QEMU Simon Glass
2025-03-15 14:25 ` [PATCH v5 01/46] boot: Correct ramdisk address Simon Glass
2025-03-15 14:25 ` [PATCH v5 02/46] sandbox: Correct a typo in mapmem Simon Glass
2025-03-15 14:25 ` [PATCH v5 03/46] x86: Expand x86_64 early memory Simon Glass
2025-03-15 14:25 ` [PATCH v5 04/46] x86: qemu: Switch to bochs display Simon Glass
2025-03-15 14:25 ` [PATCH v5 05/46] x86: qemu: Enable dhrystone Simon Glass
2025-03-15 14:25 ` [PATCH v5 06/46] x86: qemu: Avoid accessing BSS too early Simon Glass
2025-03-15 14:25 ` [PATCH v5 07/46] x86: Drop mpspec from the SPL build Simon Glass
2025-03-17 14:31 ` Tom Rini
2025-03-18 8:32 ` Simon Glass
2025-03-15 14:25 ` [PATCH v5 08/46] x86: Add some log categories Simon Glass
2025-03-15 14:25 ` [PATCH v5 09/46] x86: Drop use of CONFIG_REALMODE_DEBUG Simon Glass
2025-03-17 14:32 ` Tom Rini
2025-03-15 14:25 ` [PATCH v5 10/46] x86: Avoid clearing the VESA display Simon Glass
2025-03-15 14:25 ` [PATCH v5 11/46] x86: Add 64-bit entries to the GDT Simon Glass
2025-03-15 14:25 ` [PATCH v5 12/46] x86: Use defines for the cache flags Simon Glass
2025-03-15 14:25 ` [PATCH v5 13/46] x86: spl: Drop duplicate CPU init Simon Glass
2025-03-15 14:25 ` [PATCH v5 14/46] x86: Drop the message about features missing in 64-bit Simon Glass
2025-03-15 14:25 ` [PATCH v5 15/46] x86: Include stdbool.h in interrupt header Simon Glass
2025-03-15 14:25 ` [PATCH v5 16/46] x86: Tidy up the GDT size in start/16.S Simon Glass
2025-03-15 14:25 ` [PATCH v5 17/46] x86: Disable paging before changing to long mode Simon Glass
2025-03-15 14:25 ` [PATCH v5 18/46] x86: Use the same GDT when jumping " Simon Glass
2025-03-15 14:25 ` [PATCH v5 19/46] x86: Use a simple jump into " Simon Glass
2025-03-15 14:25 ` [PATCH v5 20/46] x86: Rename the _D dirty flag Simon Glass
2025-03-15 14:25 ` [PATCH v5 21/46] x86: Support CPU functions in long mode Simon Glass
2025-03-15 14:25 ` [PATCH v5 22/46] x86: Add functions to convert between mtrr size and mask Simon Glass
2025-03-15 14:25 ` [PATCH v5 23/46] x86: Update mtrr command to support 64-bit values Simon Glass
2025-03-15 14:25 ` [PATCH v5 24/46] x86: Update cpuid_eax et al to work on amd64 Simon Glass
2025-03-15 14:25 ` [PATCH v5 25/46] x86: Correct msr operation " Simon Glass
2025-03-15 14:25 ` [PATCH v5 26/46] x86: Allow adding non-aligned size for MTRR Simon Glass
2025-03-15 14:25 ` [PATCH v5 27/46] x86: emulation: Set an MTRR for the RAM Simon Glass
2025-03-15 14:25 ` [PATCH v5 28/46] x86: qemu: Support environment and cat command Simon Glass
2025-03-15 14:25 ` [PATCH v5 29/46] test/py: Correct sizing of created disks Simon Glass
2025-03-15 14:25 ` [PATCH v5 30/46] test/py: Add a helper to send characters Simon Glass
2025-03-15 14:25 ` [PATCH v5 31/46] test/py: Allow tests to be filtered by role Simon Glass
2025-03-15 14:25 ` [PATCH v5 32/46] x86: e820: Add a function to dump the e820 table Simon Glass
2025-03-15 14:25 ` [PATCH v5 33/46] x86: Add a new API for e820 Simon Glass
2025-03-15 14:25 ` [PATCH v5 34/46] x86: qemu: Use the new e820 API Simon Glass
2025-03-15 14:25 ` [PATCH v5 35/46] x86: emulation: Support BLOBLIST_TABLES properly Simon Glass
2025-03-15 14:25 ` [PATCH v5 36/46] x86: Support a 64-bit ramdisk address Simon Glass
2025-03-15 14:25 ` [PATCH v5 37/46] acpi: Mark struct acpi_rsdp as packed Simon Glass
2025-03-15 14:25 ` [PATCH v5 38/46] boot: Consider non-bootable partitions Simon Glass
2025-03-18 14:04 ` Tom Rini
2025-03-18 15:24 ` Simon Glass
2025-03-18 15:52 ` Tom Rini
2025-03-19 15:03 ` Simon Glass
2025-03-19 15:40 ` Tom Rini
2025-03-20 3:43 ` Simon Glass
2025-03-20 14:22 ` Tom Rini
2025-03-21 18:38 ` Simon Glass
2025-03-28 16:29 ` Tom Rini
2025-03-28 23:41 ` Simon Glass
2025-04-02 14:28 ` Tom Rini [this message]
2025-04-02 19:22 ` Simon Glass
2025-04-03 17:43 ` Tom Rini
2025-03-15 14:25 ` [PATCH v5 39/46] boot: Handle running out of labels Simon Glass
2025-03-15 14:26 ` [PATCH v5 40/46] boot: Support IO UARTs for earlycon and console Simon Glass
2025-04-02 14:28 ` Tom Rini
2025-04-02 19:22 ` Simon Glass
2025-04-02 19:50 ` Tom Rini
2025-04-02 19:56 ` Tom Rini
2025-04-02 23:54 ` Simon Glass
2025-04-03 0:26 ` Tom Rini
2025-04-03 17:57 ` Simon Glass
2025-03-15 14:26 ` [PATCH v5 41/46] sandbox: acpi: Avoid a warning about FADT Simon Glass
2025-03-15 14:26 ` [PATCH v5 42/46] sandbox: acpi: Correct mapping in FADT Simon Glass
2025-03-15 14:26 ` [PATCH v5 43/46] acpi: Add a checksum to the DMAR table Simon Glass
2025-03-21 11:47 ` Heinrich Schuchardt
2025-03-15 14:26 ` [PATCH v5 44/46] test: acpi: Correct memory leaks Simon Glass
2025-03-21 11:34 ` Heinrich Schuchardt
2025-03-15 14:26 ` [PATCH v5 45/46] acpi: Support checking checksums Simon Glass
2025-03-21 10:49 ` Heinrich Schuchardt
2025-03-21 12:24 ` Heinrich Schuchardt
2025-03-28 12:01 ` Simon Glass
2025-03-15 14:26 ` [PATCH v5 46/46] test: Add a test for booting Ubuntu 24.04 Simon Glass
2025-04-05 14:31 ` [PATCH v5 00/46] x86: Improve operation under QEMU 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=20250402142851.GS5495@bill-the-cat \
--to=trini@konsulko.com \
--cc=bmeng.cn@gmail.com \
--cc=glaroque@baylibre.com \
--cc=igor.opaniuk@gmail.com \
--cc=ilias.apalodimas@linaro.org \
--cc=jerome.forissier@linaro.org \
--cc=jmasson@baylibre.com \
--cc=lehmanju@devpi.de \
--cc=marek.vasut+renesas@mailbox.org \
--cc=martyn.welch@collabora.com \
--cc=mkorpershoek@baylibre.com \
--cc=quentin.schulz@cherry.de \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.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