public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION] boot fails for EFI boot stub loaded by u-boot
@ 2023-10-18  1:18 Ben Schneider
  2023-10-18  8:34 ` Ard Biesheuvel
  0 siblings, 1 reply; 10+ messages in thread
From: Ben Schneider @ 2023-10-18  1:18 UTC (permalink / raw)
  To: Ardb; +Cc: Regressions, Linux Efi, Stable

Hi Ard,

I have an ESPRESSObin Ultra (aarch64) that uses U-Boot as its bootloader. It shipped from the manufacturer with with v5.10, and I've been trying to upgrade. U-Boot supports booting Image directly via EFI (https://u-boot.readthedocs.io/en/latest/usage/cmd/bootefi.html), and I have been using it that way to successfully boot the system up to and including v6.0.19. However, v6.1 and v6.5 kernels fail to boot.

When booting successfully, the following messages are displayed:

EFI stub: Booting Linux Kernel...EFI stub: ERROR: FIRMWARE BUG: efi_loaded_image_t::image_base has bogus value
EFI stub: ERROR: FIRMWARE BUG: kernel image not aligned on 64k boundary
EFI stub: Using DTB from configuration table
EFI stub: ERROR: Failed to install memreserve config table!
EFI stub: Exiting boot services...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]

I suspect many of the above error messages are simply attributable to using U-Boot to load an EFI stub and can be safely ignored given that the system boots and runs fine.

When boot fails (v6.5), the following messages are displayed:

EFI stub: Booting Linux Kernel...
EFI stub: ERROR: FIRMWARE BUG: efi_loaded_image_t::image_base has bogus value
EFI stub: ERROR: FIRMWARE BUG: kernel image not aligned on 64k boundary
EFI stub: ERROR: Failed to install memreserve config table!
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...
EFI stub: ERROR: Unable to construct new device tree.
EFI stub: ERROR: Failed to update FDT and exit boot services

In case it's relevant, the device tree for this device is arch/arm64/boot/marvell/armada-3720-espressobin-ultra.dts

Hopefully I've reported this in the correct place or that the information provided is sufficient to get it where it needs to be. Let me know if there is additional information I can provide. I am also able to use the device to test.

Sincerely,

Ben Schneider

#regzbot introduced v6.0..v6.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-01-31 18:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18  1:18 [REGRESSION] boot fails for EFI boot stub loaded by u-boot Ben Schneider
2023-10-18  8:34 ` Ard Biesheuvel
2023-10-18  9:17   ` Heinrich Schuchardt
2023-10-18  9:29     ` Ilias Apalodimas
2023-10-19  1:51       ` Ben Schneider
2023-10-19  7:21         ` Heinrich Schuchardt
2023-10-20  1:25           ` Ben Schneider
2023-10-21  0:07             ` Ben Schneider
2023-10-22 10:17               ` Heinrich Schuchardt
2024-01-31 18:00     ` Ben Schneider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox