UEFI messages on startup

Hi,
I see these messages on startup with a rpi_4 - what can we do about this? It happens on every boot.
** File not found ubootefi.var ** Failed to load EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 0' failed Loading Boot0001 'usb 0' failed EFI boot manager: Cannot load any image
Regards, Simon

On Sat, Dec 07, 2024 at 01:48:41PM -0700, Simon Glass wrote:
Hi,
I see these messages on startup with a rpi_4 - what can we do about this? It happens on every boot.
** File not found ubootefi.var ** Failed to load EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 0' failed Loading Boot0001 'usb 0' failed EFI boot manager: Cannot load any image
Please elaborate on what your boot command is and what's on your SD card. I don't see that with just "bootflow scan" and I think an older Raspbian on the SD card.

Am 7. Dezember 2024 22:27:49 MEZ schrieb Tom Rini trini@konsulko.com:
On Sat, Dec 07, 2024 at 01:48:41PM -0700, Simon Glass wrote:
Hi,
I see these messages on startup with a rpi_4 - what can we do about this? It happens on every boot.
** File not found ubootefi.var ** Failed to load EFI variables ** Unable to write file ubootefi.var **
No, ESP was found to write ubootefi.var.
Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 0' failed Loading Boot0001 'usb 0' failed EFI boot manager: Cannot load any image
Neither mmc nor mmc has an ESP with EFI/BOOT/BOOAA64.EFI.
I think these messages should be debug only.
Best regards
Heinrich
Please elaborate on what your boot command is and what's on your SD card. I don't see that with just "bootflow scan" and I think an older Raspbian on the SD card.

Hi Heinrich, Tom,
On Sat, 7 Dec 2024 at 15:03, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Am 7. Dezember 2024 22:27:49 MEZ schrieb Tom Rini trini@konsulko.com:
On Sat, Dec 07, 2024 at 01:48:41PM -0700, Simon Glass wrote:
Hi,
I see these messages on startup with a rpi_4 - what can we do about this? It happens on every boot.
** File not found ubootefi.var ** Failed to load EFI variables ** Unable to write file ubootefi.var **
No, ESP was found to write ubootefi.var.
Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Unable to write file ubootefi.var ** Failed to persist EFI variables ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 0' failed Loading Boot0001 'usb 0' failed EFI boot manager: Cannot load any image
Neither mmc nor mmc has an ESP with EFI/BOOT/BOOAA64.EFI.
I think these messages should be debug only.
Best regards
Heinrich
Please elaborate on what your boot command is and what's on your SD card. I don't see that with just "bootflow scan" and I think an older Raspbian on the SD card.
This is with Ubuntu 22.04.5 LTS on a rpi_4
Indeed, there is no ESP.
Regards, Simon
participants (3)
-
Heinrich Schuchardt
-
Simon Glass
-
Tom Rini