NEWS
RPI4 Updaten auf aktuellen Status?
-
Hi
betreibe den IObroker auf einem RPI4 mit angeschlossener SSD.
Dazu habe ich damals die beta EEprom Version geflasht und mußte um das Raspi OS an laufen zu bekommen 14 Dateien auf dem Image austauschen damit der Bootvorgang funktionierte.Nun ist wieder einige Zeit vergangen und frage mich ob es sinnvoll ist mal wieder Updates einzuspielen. Wie ich gelesen habe, soll die USB Boot Version des EEprom auch mitlerweile stable sein.
Wie sollte ich vorgehen?
- Backup vom IOBroker fahren
- EEprom Update stream auf stable umstellen
- Raspi OS updaten mit "sudo apt get update" was auch das EEprom updaten sollte?
- sudo apt full-upgrade
- reboot
Was ist mit den 14 getauschten Dateien auf dem Image. Kann dies so bleiben?
Besten Dank und Grüße
-
@Pete0815 sagte in RPI4 Updaten auf aktuellen Status?:
EEprom Update stream auf stable umstellen
Was meinst du genau damit?
Ansonsten sollte das übliche Prozedere genügen.
sudo apt update sudo apt dist-upgrade sudo reboot
Zum herantasten kannst du auch erstmal einen dry-run machen:
sudo apt update sudo apt dist-upgrade --dry-run
Und mit
rpi-eeprom-update
kannst mal schauen was da ggf. im Beta-Bereich liegt.
Die Datei /etc/default/rpi-eeprom-update
würde ich aber auf jedenfall mal prüfen. Die sollte eigentlich so aussehen:FIRMWARE_RELEASE_STATUS="critical"
-
@Thomas-Braun said in RPI4 Updaten auf aktuellen Status?:
@Pete0815 sagte in RPI4 Updaten auf aktuellen Status?:
EEprom Update stream auf stable umstellen
Was meinst du genau damit?
Genau das
Die Datei /etc/default/rpi-eeprom-update
würde ich aber auf jedenfall mal prüfen. Die sollte eigentlich so aussehen:FIRMWARE_RELEASE_STATUS="critical"
mußte dies für die beta Version umstellen und würde jetzt wieder zu stable oder critical umstellen wollen.
Kannst Du etwas zu diesen 14 Dateien sagen, die ich damals auf dem Raspi OS Image ausgetauscht habe. Es hieß die wären für den USB boot "fehlerhaft" und habe sie durch eine andere Version ersetzt. Ging um diese hier:
Danke
-
@Pete0815
Dann mach das.
Ich vermute aber, dass ein apt upgrade die Abweichung in der conf-Datei ohnehin bemerken würde und dich fragen würde, was damit geschehen soll. -
@Pete0815
Die 14 Dateien kommen vom Bootloader und dürften auch via regulärem Update dann entsprechend angepasst werden.In meinen System ist z. B.
ls -la /boot/start4.elf -rwxr-xr-x 1 root root 2225376 Okt 23 20:23 /boot/start4.elf
vom 23. Oktober
-
@Thomas-Braun
DankeBin gerade etwas verwundert. Da mein EEprom Update stream auf critical stand.
Prüfe ich nun:pi@IOBraspi:~ $ rpi-eeprom-update BCM2711 detected Dedicated VL805 EEPROM detected BOOTLOADER: up-to-date CURRENT: Mo 15. Jun 13:36:19 UTC 2020 (1592228179) LATEST: Do 16. Apr 17:11:26 UTC 2020 (1587057086) FW DIR: /lib/firmware/raspberrypi/bootloader/critical VL805: version unknown. Try sudo rpi-eeprom-update CURRENT: LATEST: 000137ad
Findet er meiner Version vom 15.Juni nicht. ok, wenn sie im critical nicht vorhanden ist.
Gucke ich aber jetzt im github steht dort bei critical eine Version vom 03.09.2020. Ist das nicht latest?
-
@Pete0815
Hast du denn schon mal einsudo apt update
durchgeführt?
-
@Thomas-Braun
Nein, wollte mir das System nicht "abschießen" und erst prüfen ob das so ok ist. -
@Pete0815
Mitsudo apt update
passiert gar nix am System.
Die Version vom 03.09.2020 ist jedenfalls die Standard-Version:
vcgencmd bootloader_version Sep 3 2020 13:11:43 version c305221a6d7e532693cc7ff57fddfc8649def167 (release) timestamp 1599135103
-
@Pete0815
Jetzt schau halt mal was passieren würde.
Mitsudo apt update sudo apt-distupgrade --dry-run
macht man das.
-
@Thomas-Braun
Habe jetzt malsudo apt update
ausgeführt und er sagt 53 updates verfügbar. Liste ausgeben mit
apt list --upgradable
In dieser Liste taucht auch das EEprom auf allerdings ohne Versions oder Datumsangaben
-
@Pete0815
Sollte dann so ähnlich aussehen:pi@raspberrypi:~ $ apt policy rpi-eeprom rpi-eeprom: Installiert: 10.2-1 Installationskandidat: 10.2-1 Versionstabelle: *** 10.2-1 500 500 http://archive.raspberrypi.org/debian buster/main armhf Packages 100 /var/lib/dpkg/status
-
@Thomas-Braun
ah ok die 10.2 sehe ich und dann sollte ich das wohl durchführen:pi@IOBraspi:~ $ sudo apt dist-upgrade --dry-run Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt: rpi-eeprom-images Verwenden Sie »sudo apt autoremove«, um es zu entfernen. Die folgenden Pakete werden aktualisiert (Upgrade): base-files bind9-host bluez bluez-firmware dbus firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek libbind9-161 libdbi-perl libdbus-1-3 libdbus-1-dev libdns-export1104 libdns1104 libfreetype6 libfreetype6-dev libgnutls30 libisc-export1100 libisc1100 libisccc161 libisccfg163 libjson-c3 liblwres161 libmariadb3 libpython3.7 libpython3.7-minimal libpython3.7-stdlib libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 libx11-6 libx11-data mariadb-client mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mariadb-server mariadb-server-10.3 mariadb-server-core-10.3 nfs-common pi-bluetooth python3.7 python3.7-minimal raspberrypi-bootloader raspberrypi-kernel raspberrypi-sys-mods raspi-config rpi-eeprom rpi-eeprom-images tzdata 53 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Inst base-files [10.3+rpi1+deb10u4] (10.3+rpi1+deb10u6 Raspbian:stable [armhf]) Conf base-files (10.3+rpi1+deb10u6 Raspbian:stable [armhf]) Inst mariadb-common [1:10.3.22-0+deb10u1] (1:10.3.25-0+deb10u1 Raspbian:stable [all]) Inst libgnutls30 [3.6.7-4+deb10u4] (3.6.7-4+deb10u5 Raspbian:stable [armhf]) Conf libgnutls30 (3.6.7-4+deb10u5 Raspbian:stable [armhf]) Inst mariadb-server-core-10.3 [1:10.3.22-0+deb10u1] (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Inst libdbi-perl [1.642-1+b1] (1.642-1+deb10u1 Raspbian:stable [armhf]) Inst mariadb-client-core-10.3 [1:10.3.22-0+deb10u1] (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Inst mariadb-client-10.3 [1:10.3.22-0+deb10u1] (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Conf mariadb-common (1:10.3.25-0+deb10u1 Raspbian:stable [all]) Inst mariadb-server-10.3 [1:10.3.22-0+deb10u1] (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Inst libpython3.7 [3.7.3-2+deb10u1] (3.7.3-2+deb10u2 Raspbian:stable [armhf]) [] Inst python3.7 [3.7.3-2+deb10u1] (3.7.3-2+deb10u2 Raspbian:stable [armhf]) [] Inst libpython3.7-stdlib [3.7.3-2+deb10u1] (3.7.3-2+deb10u2 Raspbian:stable [armhf]) [] Inst python3.7-minimal [3.7.3-2+deb10u1] (3.7.3-2+deb10u2 Raspbian:stable [armhf]) [] Inst libpython3.7-minimal [3.7.3-2+deb10u1] (3.7.3-2+deb10u2 Raspbian:stable [armhf]) Inst tzdata [2020a-0+deb10u1] (2020d-0+deb10u1 Raspbian:stable [all]) Inst libjson-c3 [0.12.1+ds-2] (0.12.1+ds-2+deb10u1 Raspbian:stable [armhf]) Inst bind9-host [1:9.11.5.P4+dfsg-5.1+deb10u1] (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) [] Inst libbind9-161 [1:9.11.5.P4+dfsg-5.1+deb10u1] (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) [] Inst libisccfg163 [1:9.11.5.P4+dfsg-5.1+deb10u1] (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) [] Inst libisccc161 [1:9.11.5.P4+dfsg-5.1+deb10u1] (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) [] Inst libdns1104 [1:9.11.5.P4+dfsg-5.1+deb10u1] (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) [] Inst libisc1100 [1:9.11.5.P4+dfsg-5.1+deb10u1] (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) [] Inst liblwres161 [1:9.11.5.P4+dfsg-5.1+deb10u1] (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Inst libdbus-1-dev [1.12.16-1] (1.12.20-0+deb10u1 Raspbian:stable [armhf]) [] Inst dbus [1.12.16-1] (1.12.20-0+deb10u1 Raspbian:stable [armhf]) [] Inst libdbus-1-3 [1.12.16-1] (1.12.20-0+deb10u1 Raspbian:stable [armhf]) Inst bluez [5.50-1.2~deb10u1+rpt1] (5.50-1.2~deb10u1+rpt2 Raspberry Pi Foundation:testing [armhf]) Inst bluez-firmware [1.2-4+rpt3] (1.2-4+rpt6 Raspberry Pi Foundation:testing [all]) Inst firmware-atheros [1:20190114-1+rpt7] (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Inst firmware-brcm80211 [1:20190114-1+rpt7] (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Inst firmware-libertas [1:20190114-1+rpt7] (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Inst firmware-misc-nonfree [1:20190114-1+rpt7] (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Inst firmware-realtek [1:20190114-1+rpt7] (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Inst libisc-export1100 [1:9.11.5.P4+dfsg-5.1+deb10u1] (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Inst libdns-export1104 [1:9.11.5.P4+dfsg-5.1+deb10u1] (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Inst libfreetype6-dev [2.9.1-3+deb10u1] (2.9.1-3+deb10u2 Raspbian:stable [armhf]) [] Inst libfreetype6 [2.9.1-3+deb10u1] (2.9.1-3+deb10u2 Raspbian:stable [armhf]) Inst libmariadb3 [1:10.3.22-0+deb10u1] (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Inst libraspberrypi-doc [1.20200601-1] (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) [] Inst libraspberrypi-dev [1.20200601-1] (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) [] Inst raspberrypi-kernel [1.20200601-1] (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) [] Inst libraspberrypi-bin [1.20200601-1] (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) [] Inst libraspberrypi0 [1.20200601-1] (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) [] Inst raspberrypi-bootloader [1.20200601-1] (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) Inst libx11-data [2:1.6.7-1] (2:1.6.7-1+deb10u1 Raspbian:stable [all]) Inst libx11-6 [2:1.6.7-1] (2:1.6.7-1+deb10u1 Raspbian:stable [armhf]) Inst mariadb-client [1:10.3.22-0+deb10u1] (1:10.3.25-0+deb10u1 Raspbian:stable [all]) Inst mariadb-server [1:10.3.22-0+deb10u1] (1:10.3.25-0+deb10u1 Raspbian:stable [all]) Inst nfs-common [1:1.3.4-2.5] (1:1.3.4-2.5+deb10u1 Raspbian:stable [armhf]) Inst raspberrypi-sys-mods [20200514] (20201026 Raspberry Pi Foundation:testing [armhf]) Inst pi-bluetooth [0.1.13] (0.1.15 Raspberry Pi Foundation:testing [all]) Inst raspi-config [20200601] (20201108 Raspberry Pi Foundation:testing [all]) Inst rpi-eeprom [7.4-1] (10.2-1 Raspberry Pi Foundation:testing [armhf]) Inst rpi-eeprom-images [7.4-1] (10.2-1 Raspberry Pi Foundation:testing [armhf]) Conf mariadb-server-core-10.3 (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Conf libdbi-perl (1.642-1+deb10u1 Raspbian:stable [armhf]) Conf mariadb-client-core-10.3 (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Conf mariadb-client-10.3 (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Conf mariadb-server-10.3 (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Conf libpython3.7 (3.7.3-2+deb10u2 Raspbian:stable [armhf]) Conf python3.7 (3.7.3-2+deb10u2 Raspbian:stable [armhf]) Conf libpython3.7-stdlib (3.7.3-2+deb10u2 Raspbian:stable [armhf]) Conf python3.7-minimal (3.7.3-2+deb10u2 Raspbian:stable [armhf]) Conf libpython3.7-minimal (3.7.3-2+deb10u2 Raspbian:stable [armhf]) Conf tzdata (2020d-0+deb10u1 Raspbian:stable [all]) Conf libjson-c3 (0.12.1+ds-2+deb10u1 Raspbian:stable [armhf]) Conf bind9-host (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Conf libbind9-161 (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Conf libisccfg163 (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Conf libisccc161 (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Conf libdns1104 (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Conf libisc1100 (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Conf liblwres161 (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Conf libdbus-1-dev (1.12.20-0+deb10u1 Raspbian:stable [armhf]) Conf dbus (1.12.20-0+deb10u1 Raspbian:stable [armhf]) Conf libdbus-1-3 (1.12.20-0+deb10u1 Raspbian:stable [armhf]) Conf bluez (5.50-1.2~deb10u1+rpt2 Raspberry Pi Foundation:testing [armhf]) Conf bluez-firmware (1.2-4+rpt6 Raspberry Pi Foundation:testing [all]) Conf firmware-atheros (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Conf firmware-brcm80211 (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Conf firmware-libertas (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Conf firmware-misc-nonfree (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Conf firmware-realtek (1:20190114-1+rpt9 Raspberry Pi Foundation:testing [all]) Conf libisc-export1100 (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Conf libdns-export1104 (1:9.11.5.P4+dfsg-5.1+deb10u2 Raspbian:stable [armhf]) Conf libfreetype6-dev (2.9.1-3+deb10u2 Raspbian:stable [armhf]) Conf libfreetype6 (2.9.1-3+deb10u2 Raspbian:stable [armhf]) Conf libmariadb3 (1:10.3.25-0+deb10u1 Raspbian:stable [armhf]) Conf libraspberrypi-doc (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) Conf libraspberrypi-dev (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) Conf raspberrypi-kernel (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) Conf libraspberrypi-bin (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) Conf libraspberrypi0 (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) Conf raspberrypi-bootloader (1.20201022-1 Raspberry Pi Foundation:testing [armhf]) Conf libx11-data (2:1.6.7-1+deb10u1 Raspbian:stable [all]) Conf libx11-6 (2:1.6.7-1+deb10u1 Raspbian:stable [armhf]) Conf mariadb-client (1:10.3.25-0+deb10u1 Raspbian:stable [all]) Conf mariadb-server (1:10.3.25-0+deb10u1 Raspbian:stable [all]) Conf nfs-common (1:1.3.4-2.5+deb10u1 Raspbian:stable [armhf]) Conf raspberrypi-sys-mods (20201026 Raspberry Pi Foundation:testing [armhf]) Conf pi-bluetooth (0.1.15 Raspberry Pi Foundation:testing [all]) Conf raspi-config (20201108 Raspberry Pi Foundation:testing [all]) Conf rpi-eeprom (10.2-1 Raspberry Pi Foundation:testing [armhf]) Conf rpi-eeprom-images (10.2-1 Raspberry Pi Foundation:testing [armhf])
-
@Pete0815
Ja, passt.Dann jetzt 'scharf' schalten:
sudo apt dist-upgrade sudo reboot
Den (vermutlich) laufenden X-Server würde ich allerdings auf einem Server abschalten.
-
@Thomas-Braun said in RPI4 Updaten auf aktuellen Status?:
Den (vermutlich) laufenden X-Server würde ich allerdings auf einem Server abschalten.
Was meinst Du damit? Läuft dort etwas was ich nicht brauche oder besser nie brauchen werde?
-
@Pete0815
Vermutlich ja. Aber da können wir uns wenn du magst später drum kümmern.Wenn das System wieder auf die Beine gekommen ist noch
sudo apt autoremove
ausführen.
-
@Thomas-Braun
Danke, perfekt. Das System läuft wieder und 03.09.2020 EEprom ist auch drauf -
@Pete0815
Alles aktuell?
Mitsudo apt update
schauen. Und das dann künftig regelmäßiger machen.
who -r
liefert?
-
ok, thx
@Thomas-Braun said in RPI4 Updaten auf aktuellen Status?:
who -r liefert?
Runlevel 5 2020-11-10 16:49
-
@Pete0815
Das würde ich auf einem Server auf das dafür vorgesehene RunLeve 3 setzen.sudo raspi-config
Dann dort Menüpunkt
1 - S5 - B1Dann ist der unnötige Desktop-Betrieb auf Eis gelegt.