Firmware/Bootloader Update Raspberry Pi 4 Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Lycidias
Posts: 10
Joined: Mon Oct 26, 2020 11:01 am

Firmware/Bootloader Update Raspberry Pi 4

Post by Lycidias »

Hello, I am using latest Dietpi on my Raspberry Pi 4. I often see eeprom updates when I apt-get update/upgrade.
But my current bootloader actually never gets updated after an update/reboot.

Anyone knows, how to update the firmware/bootloader on Dietpi?

Thanks :)

Code: Select all


root@pi4:~# rpi-eeprom-update
*** UPDATE AVAILABLE ***
BOOTLOADER: update available
   CURRENT: Do 3. Sep 12:11:43 UTC 2020 (1599135103)
    LATEST: Do 29. Apr 16:11:25 UTC 2021 (1619712685)
   RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
            Use raspi-config to change the release.

  VL805_FW: Dedicated VL805 EEPROM
     VL805: up to date
   CURRENT: 000138a1
    LATEST: 000138a1
root@pi4:~#
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: Firmware/Bootloader Update Raspberry Pi 4

Post by Joulinar »

Hi,

it is working same way as on Raspberry OS, because DietPi is a Raspberry OS.

Usually there should be a service to update the eeprom during boot.

Code: Select all

systemctl status rpi-eeprom-update
journalctl -u rpi-eeprom-update
What could be the case, by default eeprom updates are set to critical. Means you will get critical updates only. This is Raspberry default.

https://www.raspberrypi.org/documentati ... teeprom.md

following should show the current setting

Code: Select all

root@DietPiProd:~# cat /etc/default/rpi-eeprom-update
FIRMWARE_RELEASE_STATUS="default"
root@DietPiProd:~#
And this is how it is linked usually

Code: Select all

root@DietPiProd:~# ls -la /lib/firmware/raspberrypi/bootloader
total 48
drwxr-xr-x 5 root root  4096 Jun  5 12:35 .
drwxr-xr-x 3 root root  4096 Jun  8  2020 ..
drwxr-xr-x 2 root root  4096 Jun  5 12:35 beta
drwxr-xr-x 2 root root  4096 Jun  5 12:35 critical
lrwxrwxrwx 1 root root     8 Jan 16 17:26 default -> critical
lrwxrwxrwx 1 root root     6 Jan 16 17:26 latest -> stable
-rw-r--r-- 1 root root 26464 May 20 18:17 release-notes.md
drwxr-xr-x 2 root root  4096 Jun  5 12:35 stable
root@DietPiProd:~#
default -> critical
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Lycidias
Posts: 10
Joined: Mon Oct 26, 2020 11:01 am

Re: Firmware/Bootloader Update Raspberry Pi 4

Post by Lycidias »

Thanks for your reply. But I can't use raspi config. How can I change the release and trigger an update?

Code: Select all

─────────────────────────────────────────────────────
 DietPi v7.2.3 : 13:04 - So 13.06.2021
 

root@pi4:~# systemctl status rpi-eeprom-update
● rpi-eeprom-update.service - Check for Raspberry
 Pi EEPROM updates
   Loaded: loaded (/lib/systemd/system/rpi-eeprom-update.service; enabled; vendor preset: enabled)
   Active: active (exited) since Sat 2021-06-12 1
8:06:07 CEST; 18h ago
  Process: 275 ExecStart=/usr/bin/rpi-eeprom-update -s -a (code=exited, status=0/SUCCESS)
 Main PID: 275 (code=exited, status=0/SUCCESS)

Jun 12 18:06:07 pi4 rpi-eeprom-update[275]: BOOTLOADER: up to date
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:    CURRENT: Thu Sep  3 12:11:43 UTC 2020 (1599135103)
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:     LATEST: Thu Apr 29 16:11:25 UTC 2021 (1619712685)
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:    RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:             Use raspi-config to change the release.
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:   VL805_FW: Dedicated VL805 EEPROM
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:      VL805: up to date
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:    CURRENT: 000138a1
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:     LATEST: 000138a1
Jun 12 18:06:07 pi4 systemd[1]: Started Check for Raspberry Pi EEPROM updates.
root@pi4:~# journalctl -u rpi-eeprom-update
-- Logs begin at Sat 2021-06-12 18:06:05 CEST, end at Sun 2021-06-13 13:04:18 CEST. --
Jun 12 18:06:06 pi4 systemd[1]: Starting Check for Raspberry Pi EEPROM updates...
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]: Skipping automatic bootloader upgrade. current 1599135103 >= min 1599135103
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]: BOOTLOADER: up to date
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:    CURRENT: Thu Sep  3 12:11:43 UTC 2020 (1599135103)
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:     LATEST: Thu Apr 29 16:11:25 UTC 2021 (1619712685)
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:    RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:             Use raspi-config to change the release.
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:   VL805_FW: Dedicated VL805 EEPROM
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:      VL805: up to date
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:    CURRENT: 000138a1
Jun 12 18:06:07 pi4 rpi-eeprom-update[275]:     LATEST: 000138a1
Jun 12 18:06:07 pi4 systemd[1]: Started Check for Raspberry Pi EEPROM updates.
root@pi4:~#
root@pi4:~# raspi-config
-bash: raspi-config: Kommando nicht gefunden.
root@pi4:~#
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: Firmware/Bootloader Update Raspberry Pi 4

Post by Joulinar »

DietPi is running with reduced amount of packages, therefore raspi-config is not installed by default

You can change the value inside the file directly

Code: Select all

nana /etc/default/rpi-eeprom-update
on next reboot the update should be applied if you change from default to latest. Or you can try to restart the service

Code: Select all

systemctl restart rpi-eeprom-update
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Lycidias
Posts: 10
Joined: Mon Oct 26, 2020 11:01 am

Re: Firmware/Bootloader Update Raspberry Pi 4

Post by Lycidias »

Thank you very much, updated without problems :)

Code: Select all

 DietPi v7.2.3 : 13:22 - So 13.06.2021
root@pi4:~# rpi-eeprom-update
BOOTLOADER: up to date
   CURRENT: Do 29. Apr 16:11:25 UTC 2021 (1619712685)
    LATEST: Do 29. Apr 16:11:25 UTC 2021 (1619712685)
   RELEASE: latest (/lib/firmware/raspberrypi/bootloader/latest)
            Use raspi-config to change the release.

  VL805_FW: Dedicated VL805 EEPROM
     VL805: up to date
   CURRENT: 000138a1
    LATEST: 000138a1
root@pi4:~#
Post Reply