I have a problem setting up another RPi5. I want to boot from a NVME SSD and this time I have the adapter from Pineberry in use.
I know the necessary adjustments.
In contrast to the first installation, I wanted to use the new image of the RPi5. Booting from the SD also works, but when I make the necessary adjustments using
sudo rpi-eeprom-config --edit
I get the following error message after saving:
ERROR: EEPROM image ‘WARNING: flashrom not found. Setting RPI_EEPROM_USE_FLASHROM to 0 /lib/firmware/raspberrypi/bootloader-2712/default/pieeprom-2024-02-16.bin’ not found.
I also tried to update the kernel, but, sorry I don’t have the error message anymore, something with RPi4 would give out.
Now I wanted to run the first workaround, where first the system is booted on a RPi4, then a script or command had to be executed to then boot the SD in the RPi5. Then the necessary adjustments for the use of an NVME SSD were made and the system was copied to the NVME SSD using backup and restore. I think that’s what I did. In any case, the first RPi5 is still running wonderfully.
I just can’t find the thread about it in the forum.
Who can help?
I meant, of course, what is saved when i enter sudo rpi-eeprom-config --edit
A line is then edited there and another one added, which should then look like this in the best case:
I just entered the same command under PiOS and it worked.
Updating bootloader EEPROM
image: /lib/firmware/raspberrypi/bootloader-2712/default/pieeprom-2023-11-20.bin
config_src: /boot/firmware/pieeprom.upd
config: /tmp/tmpjp_s8z7e/boot.conf
################################################################################
[all]
BOOT_UART=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf416
PCIE_PROBE=1
################################################################################
*** To cancel this update run 'sudo rpi-eeprom-update -r' ***
*** CREATED UPDATE /tmp/tmpjp_s8z7e/pieeprom.upd ***
WARNING: Installing an older bootloader version.
Update the rpi-eeprom package to fetch the latest bootloader images.
CURRENT: Fri 16 Feb 15:28:41 UTC 2024 (1708097321)
UPDATE: Mon 20 Nov 19:40:17 UTC 2023 (1700509217)
BOOTFS: /boot/firmware
'/tmp/tmp.Py1LJrAQEj' -> '/boot/firmware/pieeprom.upd'
Copying recovery.bin to /boot/firmware for EEPROM update
EEPROM updates pending. Please reboot to apply the update.
To cancel a pending update run "sudo rpi-eeprom-update -r".
sudo rpi-eeprom-config --edit
Updating bootloader EEPROM
image: /lib/firmware/raspberrypi/bootloader-2712/critical/pieeprom-2024-02-16.bin
config_src: blconfig device
config: /tmp/tmpgpl6vpe2/boot.conf
################################################################################
[all]
BOOT_UART=1
POWER_OFF_ON_HALT=1
BOOT_ORDER=0xf416
PCIE_PROBE=1
################################################################################
*** To cancel this update run 'sudo rpi-eeprom-update -r' ***
*** CREATED UPDATE /tmp/tmpgpl6vpe2/pieeprom.upd ***
CURRENT: Mon 20 Nov 19:40:17 UTC 2023 (1700509217)
UPDATE: Fri 16 Feb 15:28:41 UTC 2024 (1708097321)
BOOTFS: /boot/firmware
'/tmp/tmp.WSiLEl8UlT' -> '/boot/firmware/pieeprom.upd'
UPDATING bootloader.
*** WARNING: Do not disconnect the power until the update is complete ***
If a problem occurs then the Raspberry Pi Imager may be used to create
a bootloader rescue SD card image which restores the default bootloader image.
flashrom -p linux_spi:dev=/dev/spidev10.0,spispeed=16000 -w /boot/firmware/pieeprom.upd
UPDATE SUCCESSFUL
BOOTLOADER: up to date
CURRENT: Fri 16 Feb 15:28:41 UTC 2024 (1708097321)
LATEST: Fri 16 Feb 15:28:41 UTC 2024 (1708097321)
RELEASE: critical (/lib/firmware/raspberrypi/bootloader-2712/critical)
Use raspi-config to change the release.
Please let us continue tomorrow, unfortunately I have to leave now.
Thank you very much for your support so far.
ok we found it. There is a dependency to a package required that is not installed by default on DietPi
apt install flashrom
working now
root@DietPi5:~# rpi-eeprom-config -edit
Updating bootloader EEPROM
image: /lib/firmware/raspberrypi/bootloader-2712/latest/pieeprom-2024-02-16.bin
config_src: blconfig device
config: /tmp/tmp5429yxpq/boot.conf
################################################################################
[all]
BOOT_UART=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf41
################################################################################
*** To cancel this update run 'sudo rpi-eeprom-update -r' ***
*** CREATED UPDATE /tmp/tmp5429yxpq/pieeprom.upd ***
CURRENT: Fri Feb 16 15:28:41 UTC 2024 (1708097321)
UPDATE: Fri Feb 16 15:28:41 UTC 2024 (1708097321)
BOOTFS: /boot/firmware
'/tmp/tmp.yCvqrw5r0i' -> '/boot/firmware/pieeprom.upd'
UPDATING bootloader.
*** WARNING: Do not disconnect the power until the update is complete ***
If a problem occurs then the Raspberry Pi Imager may be used to create
a bootloader rescue SD card image which restores the default bootloader image.
flashrom -p linux_spi:dev=/dev/spidev10.0,spispeed=16000 -w /boot/firmware/pieeprom.upd
UPDATE SUCCESSFUL
root@DietPi5:~#
strange that RPI developer did not create a dependency between flashrom and rpi-eeprom.
It now works to my satisfaction.
I would like to thank you again and again for the great support here in the forum.
They also respond to my not always so qualified questions and try to find out what I might mean.
And that’s exactly what I find so good here, because if I knew everything, I wouldn’t ask any questions here. TOP, TOP, TOP!!!