From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
To: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: Simon Glass <sjg@chromium.org>,
u-boot@lists.denx.de, Michal Simek <michal.simek@amd.com>,
Tom Rini <trini@konsulko.com>, Bin Meng <bmeng@tinylab.org>,
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>,
Bharat Gooty <bharat.gooty@broadcom.com>,
Stefan Roese <sr@denx.de>, Qu Wenruo <wqu@suse.com>,
Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,
Bin Meng <bmeng.cn@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>
Subject: Re: [PATCH v2 4/4] doc: qemu: arm: Add a section on booting Linux distros
Date: Thu, 31 Aug 2023 12:25:10 +0300 [thread overview]
Message-ID: <4e21c034-102a-4aac-b630-43546e97de5e@gmail.com> (raw)
In-Reply-To: <CAC_iWjKADqX3HaJON6CELbGeAD5VDvdyGfgHPxCjA8G+YRd7gg@mail.gmail.com>
On 2023-08-30 10:33 +03:00, Ilias Apalodimas wrote:
> Hi Alper,
>
> On Sun, 27 Aug 2023 at 18:49, Alper Nebi Yasak <alpernebiyasak@gmail.com> wrote:
>>
>> On 2023-08-15 01:43 +03:00, Simon Glass wrote:
>>> Hi Alper,
>>>
>>> On Mon, 14 Aug 2023 at 11:40, Alper Nebi Yasak <alpernebiyasak@gmail.com> wrote:
>>>> I actually want to put the root.img device first so that the VM can boot
>>>> into the installed system when it reboots, but U-Boot can't find the
>>>> bootflow on the second drive. I tried e.g. `bootdev list -p; bootflow
>>>> scan -lab`, but it seems to only ever search the first virtio-blk.
>>>> However, `eficonfig; bootefi bootmgr` makes it boot somehow.
>
> eficonfig, apart from displaying the boot options on a menu scans all
> media that have a simple filesystem protocol installed and configures
> the efi boot options. That's why bootefi bootmgr boots properly
> afterwards. You can probably boot even without eficonfig, but only
> bootXXX.efi files will be accounted for and no boot options will be
> added.
>
> The EFI spec describes the bootmgr functionality in detail. Back when
> the bootmeth patches were added, I suggested we shouldn't deal with
> EFI at all simply because it all already works and is backed by a
> spec. Instead, we should just have a boot option in the methods that
> spells "EFI" and let the bootmanager deal with the details. But
> honestly, I've lost track of those patches.
I think bootflow and EFI should be different views on top of a single
"what can we do now that we are in U-Boot" model. IIUIC it's possible
for e.g. UEFI Shell to be built-in boot entries, so we could expose
bootflow entries (and more) similar to those? And EFI-based secondary
bootloaders like rEFInd could let us choose them in a graphical menu,
efibootmgr could change their order or reboot into a non-EFI flow...
next prev parent reply other threads:[~2023-08-31 9:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-14 17:39 [PATCH v2 0/4] arm: qemu: Enable Bochs, console buffering, USB keyboard Alper Nebi Yasak
2023-08-14 17:39 ` [PATCH v2 1/4] arm: qemu: Enable Bochs video support Alper Nebi Yasak
2023-08-14 17:39 ` [PATCH v2 2/4] arm: qemu: Enable PRE_CONSOLE_BUFFER Alper Nebi Yasak
2023-08-14 17:39 ` [PATCH v2 3/4] arm: qemu: Enable usb keyboard as an input device Alper Nebi Yasak
2023-08-14 17:39 ` [PATCH v2 4/4] doc: qemu: arm: Add a section on booting Linux distros Alper Nebi Yasak
2023-08-14 22:43 ` Simon Glass
2023-08-27 15:49 ` Alper Nebi Yasak
2023-08-28 17:54 ` Simon Glass
2023-08-31 9:57 ` Alper Nebi Yasak
2023-08-31 19:01 ` Simon Glass
2023-08-30 7:33 ` Ilias Apalodimas
2023-08-31 9:25 ` Alper Nebi Yasak [this message]
2023-09-01 8:08 ` Ilias Apalodimas
2023-08-24 21:44 ` [PATCH v2 0/4] arm: qemu: Enable Bochs, console buffering, USB keyboard 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=4e21c034-102a-4aac-b630-43546e97de5e@gmail.com \
--to=alpernebiyasak@gmail.com \
--cc=bharat.gooty@broadcom.com \
--cc=bmeng.cn@gmail.com \
--cc=bmeng@tinylab.org \
--cc=ilias.apalodimas@linaro.org \
--cc=michal.simek@amd.com \
--cc=neil.armstrong@linaro.org \
--cc=rayagonda.kokatanur@broadcom.com \
--cc=sjg@chromium.org \
--cc=sr@denx.de \
--cc=trini@konsulko.com \
--cc=tuomas.tynkkynen@iki.fi \
--cc=u-boot@lists.denx.de \
--cc=wqu@suse.com \
/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