Eprom? boot priority?

hiya I was recently given a pi 5. i tried to boot from a nvme and it seems i need to update my eeprom. It doesn’t seem like its working.. I’m getting a error saying WARNING: flashrom not found. Setting RPI_EEPROM_IMMEDIATE_UPDATE to 0.

im not sure what that means. I was trying to boot from nvme with this board Amazon.com: PCIe to 4-CH M.2 M Key Adapter Board Compatible with Raspberry Pi 5, Support 4-CH NVMe Solid State Drives-2280/2260/2242/2230, Allow Powering Pi 5, Onboard LED Indicators, High-Speed Reading/Writing : Electronics when instead of booting it went looking for a sdcard and wouldn’t boot. then I tried to update the eeprom and it doesnt seem like it updated it otherwise i think this error would be gone after a reboot right? do i need to install raspberry pi os to update this?

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=10
    G_DIETPI_VERSION_SUB=5
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
  • Distro version | trixie 0
  • Kernel version | Linux DietPi 6.18.39+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.39-1+rpt1 (2026-07-29) aarch64 GNU/Linux
  • Architecture | arm64
  • SBC model | RPi 5 Model B (aarch64) or (EG: RPi3)
  • Power supply used | (5v5amp)
  • SD card used | (lexar)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

To update the EEPROM bootloader directly, you need to install flashrom. Otherwise, it is updated on next reboot by the bootloader itself.

If you want to mute the warning permanently, either sudo apt install flashrom, or sudo rpi-eeprom-config -e, and add RPI_EEPROM_IMMEDIATE_UPDATE=0 to disabled immediate updates explicitly.

Note that generally, you do not need to care about EEPROM updates at all. A boot service checks for and applies updates automatically on every boot. All you need to do it keeping the rpi-eeprom package up-to-date along with other APT packages via apt upgrade. These apply “default” builds, while there are “latest” builds which can optionally be flashed. But as long as the vendor of this M.2 HAT or SSD does not say so, you shouldn’t touch the default branch.

If boot from that NVMe keeps failing, have a look at the bootloader output: Does it detect the SSD at all, or does it fail to detect a bootable partition on it, or other kind of probe or I/O error? You should generally see the output on HDMI, but easier to copy&paste is it when using a UART adapter, so see all output on the serial console.

Does the SSD show up, and can be mounted/accessed, when you boot from SD card?

Also, do you use the official RPi PSU, or some other/noname 5V5A adapter? Insufficient voltage is a common issue, and 3rd party adapter can have issues providing stable voltage when power draw fluctuates.

sometimes the boot order needs to be adjusted to be able to boot from nvme https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-bootloader-configuration

I only cared about eeprom because the raspberry said it wasn’t booting and it says in config it needs a update. how do i install flashrom?

welp I swapped the ssd hat i was using and it is detected..i still kind of need to know how to update eeprom though..also i connected a fan and it doesn’t seem to turn on the fan..

EDIT: oh also no the ssd wasnt detected at all using that 4in1. the only error that was showing was the need for a update to the eeprom/usbvlsomething

editedit: also I’m using a rastech powersupply it seems good. oh hmm you said it needs 5v.5a? hmm i think mine is 5.1v.. i may need a different psu. but i also have the psu that came with the hat that didn’t work. its..12v4a. did that send me the wrong cable? so i need a 5v5amps..

5.1V is fine. The 12V4A PSU was for powering the HAT, and then powering the RPi 5 via HAT, rather then the other way round. That should work as well.

Where do you see this? The USB (VLI) EEPROM host controller is not even used anymore, and I don’t think it was ever implemented on the RPi 5 at all :thinking:. Here it is: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#bootloader-update-files
So the VLI USB controller was only ever used on Raspberry Pi 4B v1.3 and earlier.

What does rpi-eeprom-update return? It should not show anything about the VL805 on the RPi 5, and does not do so in my case. But maybe that message was just a generic one, which did not mean the VLI firmware in particular, but just an EEPROM update in general, which can include bootloader as well as VLI USB firmware, if that has an EEPROM as well. In any case, rpi-eeprom-update should tell you whether a bootloader firmware is available. If so, rpi-eeprom-update -a can be used to apply it.

I just see, the rpi-eeprom.service adds the -s flag as well, which skips the update, as long as the current version is not below BOOTLOADER_AUTO_UPDATE_MIN_VERSION, which currently defaults to 1746713597: rpi-eeprom/rpi-eeprom-update at 8f9ecc498a09aed0c39c085f87519a9075edd70e · raspberrypi/rpi-eeprom · GitHub
This was the reason that I needed to run rpi-eeprom-update -a manually once, to apply version 1779807685. Now, a reboot later, there is no update available anymore. No flashrom needed.

this is different than what it was showing me before.

BOOTLOADER: up to date
CURRENT: Tue May 26 15:01:25 UTC 2026 (1779807685)
LATEST: Tue May 26 15:01:25 UTC 2026 (1779807685)
RELEASE: default (/usr/lib/firmware/raspberrypi/bootloader-2712/default)
Use raspi-config to change the release.
root@dietpipii:~#

uhm could you recommend a powersupply? every powersupply on amazon is 5.1 not 5.5 and 4amps not 5. :confused: even a few power supplies that are official are 5.1. Official Raspberry Pi 45W USB-C Power Supply : Adafruit Industries, Unique & fun DIY electronics and kits (this one shows 5.1v and 5amps)

did you already checked rpi-eeprom-config?

root@DietPi5:~# rpi-eeprom-config
[all]
BOOT_UART=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf416
root@DietPi5:~#

My RPi5 is booting fine from nvme

root@DietPi5:~# lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
NAME        FSTYPE LABEL   SIZE RO TYPE MOUNTPOINT     PARTUUID                             UUID
nvme0n1                  119.2G  0 disk
├─nvme0n1p1 vfat           128M  0 part /boot/firmware 84ed3ab4-01                          DE54-FC66
└─nvme0n1p2 ext4         119.1G  0 part /              84ed3ab4-02                          e7098b79-fc5f-455a-a84a-234fa3e7d6f6
root@DietPi5:~#

5.1V and 5.0V is fine, here is one with 5A
https://www.amazon.de/Geekworm-USB-C-Netzteil-5-1V-Raspberry-Black/dp/B0FGPSRQ75

So your EEPROM bootloader is now up-to-date, and as expected, the VLI USB EEPROM does not exist. Problematic, if it still appears in some output somewhere. Even on the old RPi 4 revisions, which do have that EEPROM, it is not used anymore. Reminds me to remove it from dietpi-config as well. Though, I am better making sure about this: https://forums.raspberrypi.com/viewtopic.php?t=400026

Whether PSUs show 5.0V or 5.1V or just 5V is just marketing. Showing 5.1V aims to give the impression that it would be able to keep the 5V USB specifications even with bad cables and fluctuations. But whether it theoretically gives 5.0V or 5.1V or 4.9V peak or whatever does not say much. It is much more important that it can keep the desired voltage within narrow ranges, even when input and power draw fluctuate. Even a 4.8V PSU with bad cable would run an SBC stable, if there are no negative spikes. Since this quality cannot be seen from the specs, and Amazon ratings are not 100% reliable, a safe bank is to use the official RPi 5 PSU.

The other aspect are the 5A. I don’t know how much the power the M.2 board and SSD draw. But if you power the M.2 board from the RPi 5 (hence with 5V), like on the left picture (below), less than 5A seems too tight. Doing it the other way round, powering the RPi 5 from the M.2 board, via its 12V4A PSU, gives a lot more power:

  • Power via RPi 5: 5V * 5A = 25W
  • Power via M.2 board: 12V * 4A = 48W

So to rule out a powering issue, I’d go with the 2nd option as in the right picture.