pftf / RPi4

Raspberry Pi 4 UEFI Firmware Images
https://rpi4-uefi.dev
Other
1.16k stars 138 forks source link

UEFI firmware installation fails: Could not detect network connection #240

Closed nandlab closed 11 months ago

nandlab commented 11 months ago

I have prepared a FAT32 USB stick with the UEFI firmware files.

It boots fine on the RPi 4 and shows a colored Pi logo and a progress bar. When the progress nearly reaches the end, it stops and shows the following error messages on the screen:

  Error: Could not detect network connection.

  Error: Could not detect network connection.
BdsDxe: No bootable option or device was found.
BdsDxe: Press any key to enter the Boot Manager Menu.

When I press a key I see a configuration GUI.

What does it mean? Is network connection required for the UEFI firmware installation?

pbatard commented 11 months ago

The firmware is just that: A firmware.

It's like when you buy a modern PC with no operating system installed. The UEFI firmware will boot and, if it can't find any OS installed, it may fallback to trying to boot from the network through PXE, in case you have a PXE image server.

The RPI4 UEFI firmware behaves the same. It expects that you will have taken the steps to install an OS, or provide the botable files required for OS installation. But it does not provide the OS for you. Just like when you buy a bare PC, it does not provide the OS for you, just the UEFI components that allow you to install the OS.

For instance, if you wanted to install Linux Debian in UEFI mode using the UEFI firmware, you could follow this guide, which, you will see, requires providing the OS installation files alongside the bare UEFI firmware.

nandlab commented 11 months ago

Thank you for the explanation!