From: Michael Walle <michael@walle.cc>
To: "Z.Q. Hou" <zhiqiang.hou@nxp.com>
Cc: Tom Rini <trini@konsulko.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
u-boot@lists.denx.de, Priyanka Jain <priyanka.jain@nxp.com>
Subject: Re: [PATCH] configs: layerscape: Disable the EFI_LOADER feature
Date: Mon, 26 Jul 2021 08:30:40 +0200 [thread overview]
Message-ID: <74a800ebd602f437e0f66058d7392130@walle.cc> (raw)
In-Reply-To: <HE1PR0402MB3371A5EF02D788F73CD2523284E89@HE1PR0402MB3371.eurprd04.prod.outlook.com>
Am 2021-07-26 08:18, schrieb Z.Q. Hou:
> Hi Tom,
>
>> -----Original Message-----
>> From: Tom Rini <trini@konsulko.com>
>> Sent: 2021年7月22日 23:26
>> To: Z.Q. Hou <zhiqiang.hou@nxp.com>; Michael Walle <michael@walle.cc>;
>> Heinrich Schuchardt <xypron.glpk@gmx.de>
>> Cc: u-boot@lists.denx.de; Priyanka Jain <priyanka.jain@nxp.com>
>> Subject: Re: [PATCH] configs: layerscape: Disable the EFI_LOADER
>> feature
>>
>> On Thu, Jul 22, 2021 at 02:25:59PM +0800, Zhiqiang Hou wrote:
>>
>> > From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
>> >
>> > The feature BOOTENV_SHARED_EFI is not supported on layerscape boards,
>> > it didn't result kernel boot crash previously since there isn't the
>> > efi/boot/"BOOTEFI_NAME" and it skip calling of 'boot_efi_binary'.
>> >
>> > But since the commit f3866909e350 ("distro_bootcmd: call EFI bootmgr
>> > even without having /EFI/boot"), it will cause kernel boot crash as
>> > there isn't a valid fdt_addr and it finially uses the device tree blob
>> > of U-Boot and further cause errors.
>> >
>> > As this feature is enabled by default for armv7 and armv8, so disable
>> > it explicitly to avoid calling the 'scan_dev_for_efi'.
>>
>> I'm not thrilled with this. Why isn't the solution to get and keep in
>> sync the
>> device trees, so that the tree U-Boot has is valid for the kernel?
>> I'm also
>> open to discussing f3866909e350 more. But I'm really opposed to
>> disabling
>> EFI_LOADER on modern platforms as that will make adoption of U-Boot in
>> device harder I feel.
>>
>
> I think it doesn't make sense for the platforms on which the EFI boot
> is not planed.
> As there isn't EFI boot needed components in the search path, finally
> the EFI boot
> will be skipped. I don't want to look into the EFI boot process, so I
> trend to disable
> the feature, is it acceptable?
Actually, from a customer point of view, this is really annoying. These
platforms should be reference implenention and you're skipping an
important feature, that is booting a generic linux distribution.
Anyway, I don't understand why the efi bootmgr boots on your board
at all. AFAIK it needs the BootOrder/BootNext EFI variables, no?
-michael
next prev parent reply other threads:[~2021-07-26 6:30 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-22 6:25 [PATCH] configs: layerscape: Disable the EFI_LOADER feature Zhiqiang Hou
2021-07-22 15:26 ` Tom Rini
2021-07-22 17:00 ` Michael Walle
2021-07-22 17:02 ` Tom Rini
2021-07-22 17:08 ` Michael Walle
2021-07-22 17:21 ` Tom Rini
2021-07-22 17:09 ` Fabio Estevam
2021-07-26 7:10 ` Z.Q. Hou
2021-07-26 7:01 ` Z.Q. Hou
2021-07-26 7:12 ` Michael Walle
2021-07-26 7:37 ` Z.Q. Hou
2021-07-26 12:28 ` Tom Rini
2021-07-27 5:42 ` Z.Q. Hou
2021-07-27 13:07 ` Tom Rini
2021-07-28 8:24 ` Z.Q. Hou
2021-08-03 14:52 ` Mian Yousaf Kaukab
2021-08-12 6:15 ` Z.Q. Hou
2021-07-26 6:18 ` Z.Q. Hou
2021-07-26 6:30 ` Michael Walle [this message]
2021-07-26 12:23 ` 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=74a800ebd602f437e0f66058d7392130@walle.cc \
--to=michael@walle.cc \
--cc=priyanka.jain@nxp.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
--cc=zhiqiang.hou@nxp.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