Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Raspi-Firmware Update nach bookworm Update [gelöst]

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Raspi-Firmware Update nach bookworm Update [gelöst]

    This topic has been deleted. Only users with topic management privileges can see it.
    • mickym
      mickym Most Active last edited by mickym

      Heute standen wieder Updates an - leider wieder mit einem fehlerhaften Paket.

      raspi-firmware (1:1.20231024+ds-1+rpt1) wird eingerichtet ...
      Error: missing /boot/firmware, did you forget to mount it?
      dpkg: Fehler beim Bearbeiten des Paketes raspi-firmware (--configure):
       »installiertes post-installation-Skript des Paketes raspi-firmware«-Unterprozess gab den Fehlerwert 1 zurück
      libspa-0.2-bluetooth:arm64 (0.3.65-3+rpt3) wird eingerichtet ...
      dpkg: Abhängigkeitsprobleme verhindern Konfiguration von rpi-eeprom:
       rpi-eeprom hängt ab von raspi-firmware; aber:
        Paket raspi-firmware ist noch nicht konfiguriert.
      
      dpkg: Fehler beim Bearbeiten des Paketes rpi-eeprom (--configure):
       Abhängigkeitsprobleme - verbleibt unkonfiguriert
      libpipewire-0.3-modules:arm64 (0.3.65-3+rpt3) wird eingerichtet ...
      pipewire-bin (0.3.65-3+rpt3) wird eingerichtet ...
      pipewire:arm64 (0.3.65-3+rpt3) wird eingerichtet ...
      pipewire-pulse (0.3.65-3+rpt3) wird eingerichtet ...
      Trigger für man-db (2.11.2-2) werden verarbeitet ...
      Trigger für libc-bin (2.36-9+rpt2+deb12u3) werden verarbeitet ...
      Trigger für initramfs-tools (0.142) werden verarbeitet ...
      Fehler traten auf beim Bearbeiten von:
       raspi-firmware
       rpi-eeprom
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      

      Es wird nichts installiert - insofern gibt es keine Auswirkungen, sondern nur mal zur Info. Ich hoffe die schieben da bald was hinterher.

      Hier die Anleitung zur Lösung: https://forum.iobroker.net/post/1080051

      anschließend das passende Kernel-Update: (hat bei mir funktioniert - ggf. vorher eine Imagesicherung machen, falls das nicht klappt.)

      # sudo apt install linux-image-rpi-2712 linux-headers-rpi-2712 	# raspberry pi5
      
      # sudo apt install linux-image-rpi-v8 linux-headers-rpi-v8      # 64bit
      # sudo apt install linux-image-rpi-v7 linux-headers-rpi-v7    	# 32bit
      # sudo apt install linux-image-rpi-v6 linux-headers-rpi-v6 	# Raspberry < 3
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @mickym last edited by

        @mickym

        Lass mich raten...
        Das System (Bookworm?) wurde nicht neu aufgesetzt sondern von Bullseye rübergehoben?

        mickym 1 Reply Last reply Reply Quote 0
        • mickym
          mickym Most Active @Thomas Braun last edited by mickym

          @thomas-braun jo - hat aber bis jetzt alles geklappt - und ja war auch soweit ich mich erinnere alles was Du im Thread geschrieben hattest, berücksichtigt

          Thomas Braun 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @mickym last edited by

            @mickym

            Genau das ist der Grund, warum diesmal eine komplette Neuinstallation von Raspberry OS 'Bookworm' vorgesehen ist.
            Da haben sich diverse Dinge geändert, unter anderem alles was die Firmware angeht.

            mickym 1 Reply Last reply Reply Quote 0
            • mickym
              mickym Most Active @Thomas Braun last edited by

              @thomas-braun Ja aber das kann ja nicht sein - das man plötzlich kein Upgrade mehr machen kann. Nur wegen der Firmware setze ich das Teil jetzt nicht neu auf.

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @mickym last edited by

                @mickym sagte in Neuestes Raspberry Update (13.11.2023) erzeugt Fehler:

                und ja war auch soweit ich mich erinnere alles was Du im Thread geschrieben hattest

                Das war auch bevor Rapsberry OS 'Bookworm' veröffentlicht wurde. Da war noch nicht absehbar, was da alles geändert werden würde.

                mickym 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @mickym last edited by

                  @mickym sagte in Neuestes Raspberry Update (13.11.2023) erzeugt Fehler:

                  Ja aber das kann ja nicht sein - das man plötzlich kein Upgrade mehr machen kann.

                  Warum nicht? Das war ganz offiziell noch nie vorgesehen.

                  1 Reply Last reply Reply Quote 0
                  • mickym
                    mickym Most Active @Thomas Braun last edited by mickym

                    @thomas-braun Nein ich habe den Update Prozess nochmals sauber gemacht - als das Bookworm Update für Raspberry auch verfügbar war.

                    Ausserdem scheint ja nach der Fehlermeldung nur 1 Paket nicht sauber konfiguriert zu sein.

                     rpi-eeprom hängt ab von raspi-firmware; aber:
                      Paket raspi-firmware ist noch nicht konfiguriert.
                    

                    Na dann warte ich erst mal ab - ich werde sicher nicht der einzige Raspberry User sein, der ein Update anstelle einer Neuinstallation gemacht hat.

                    Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @mickym last edited by

                      @mickym sagte in Neuestes Raspberry Update (13.11.2023) erzeugt Fehler:

                      Nein ich habe den Update Prozess nochmals sauber gemacht - als das Bookworm Update für Raspberry auch verfügbar war.

                      Aber die Basis ist alt. Und bleibt an der Stelle auch alt.
                      Und die jetzt angebotenen Updates setzen natürlich die neue Struktur voraus.

                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @mickym last edited by

                        @mickym

                        Kannste abwarten bis du schwarz wirst, die werden nicht wegen dir die ganzen Änderungen zurückdrehen und/oder das Paket nach alter Art bauen.

                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active last edited by Thomas Braun

                          ╭─ Downloading… ───────────────────────────────────────────────────────────────╮
                          │ Total Packages: 3/3                                                          │
                          │ Last Completed: rpi-eeprom_20.1-2_all.deb                                    │
                          │ Time Remaining: 0:00:00 ━━━━━━━━━━━━━━━━━━━━━ 100.0% • 3.5/3.5 MB • 9.9 MB/
                          │
                          ╰──────────────────────────────────────────────────────────────────────────────╯
                          ╭─ Updating Packages ──────────────────────────────────────────────────────────╮
                          │Unpacking:  libjs-sphinxdoc (7.2.6-2) over (5.3.0-7)                         │
                          │Unpacking:  python3-sniffio (1.3.0-2) over (1.2.0-1)                         │
                          │Unpacking:  rpi-eeprom (20.1-2) over (20.1-1)                                │
                          │Setting up: python3-sniffio (1.3.0-2)                                         │
                          │Setting up: libjs-sphinxdoc (7.2.6-2)                                         │
                          │Setting up: rpi-eeprom (20.1-2)                                               │
                          │Processing: triggers for man-db (2.11.2-3)                                    │
                          │╭────────────────────────────────────────────────────────────────────────────╮│
                          ││✔ Running dpkg … ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 0:00:00 • 7/7│
                          │╰────────────────────────────────────────────────────────────────────────────╯
                          │╰──────────────────────────────────────────────────────────────────────────────╯
                          Finished Successfully
                          

                          Läuft hier durch. Aber das ist auch eine Neuinstallation.

                          1 Reply Last reply Reply Quote 0
                          • mickym
                            mickym Most Active last edited by mickym

                            So der Fix ist super einfach, wenn man es weiß.

                            Gemäß dieser Doku wird die Boot-Partition nur wo anders gemounted.

                            https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/configuration/boot_folder.adoc

                            5d504660-e686-439d-99e2-4105cf659d22-image.png

                            Ich hab also einfach das Verzeichnis firmware im boot Verzeichnis erstellt und die fstab modifiziert und alles lief durch.

                            also

                            sudo mkdir /boot/firmware
                            

                            und dann

                            sudo nano /etc/fstab
                            

                            und den /boot-Eintrag auf /boot/firmware

                            geändert.

                            2a169780-8c63-4597-977b-9b8ac5428dd6-image.png

                            EDIT:

                            So ich habe das gleiche nochmal gemacht dabei kam folgende Fehlermeldung.

                            cadb004f-de8f-4592-af2c-36940b2175bf-image.png

                            Nachdem reboot ist das Boot-Verzeichnis leer und alles unter /boot/firmware.

                            dann den in das /boot Verzeichnis wechseln:

                            cd /boot
                            

                            dann folgende symbolische Links anlegen:

                            sudo ln -s firmware/cmdline.txt ./cmdline.txt
                            sudo ln -s firmware/config.txt ./config.txt
                            sudo ln -s firmware/overlays ./overlays
                            

                            Danach sollte das boot Verzeichnis erst mal so aussehen:

                            $ ls -la
                            insgesamt 12
                            drwxr-xr-x  3 root root 4096 13. Nov 21:15 .
                            drwxr-xr-x 20 root root 4096 25. Jan 2023  ..
                            lrwxrwxrwx  1 root root   20 13. Nov 21:13 cmdline.txt -> firmware/cmdline.txt
                            lrwxrwxrwx  1 root root   19 13. Nov 21:15 config.txt -> firmware/config.txt
                            drwxr-xr-x  4 root root 3584  1. Jan 1970  firmware
                            lrwxrwxrwx  1 root root   17 13. Nov 21:14 overlays -> firmware/overlays
                            
                            

                            Und dann erst den

                            sudo apt update
                            sudo apt upgrade
                            

                            anschließend das passende Kernel-Update: (hat bei mir funktioniert - ggf. vorher eine Imagesicherung machen, falls das nicht klappt.)

                            # sudo apt install linux-image-rpi-2712 linux-headers-rpi-2712 	# raspberry pi5
                            
                            # sudo apt install linux-image-rpi-v8 linux-headers-rpi-v8      # 64bit
                            # sudo apt install linux-image-rpi-v7 linux-headers-rpi-v7    	# 32bit
                            # sudo apt install linux-image-rpi-v6 linux-headers-rpi-v6 	# Raspberry < 3
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 2
                            • Thomas Braun
                              Thomas Braun Most Active @mickym last edited by

                              @mickym

                              Ja, so ist das.
                              Wenn ich mich recht an die readme zum Release erinnere wurde aber nicht nur beim Mountpunkt der Firmware was geändert.
                              Kann sein, dass da mal irgendwann wieder ähnliches mit einem anderen Paket passiert.

                              mickym 1 Reply Last reply Reply Quote 0
                              • mickym
                                mickym Most Active @Thomas Braun last edited by

                                @thomas-braun Na ja ich warte mal ab - jedenfalls hätte man solche Kleinigkeiten ja in die Update Routine einbauen können.

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @mickym last edited by

                                  @mickym sagte in Raspi-Firmware Update nach bookworm Update [gelöst]:

                                  Update Routine einbauen können.

                                  Welche Update-Routine? Es gibt keine offizielle Update-Routine für/von Raspberry OS.

                                  mickym 1 Reply Last reply Reply Quote 0
                                  • mickym
                                    mickym Most Active @Thomas Braun last edited by

                                    @thomas-braun Ok - aber funktioniert erst mal so.

                                    1 Reply Last reply Reply Quote 0
                                    • mickym
                                      mickym Most Active last edited by

                                      So ich hab die Lösung noch überarbeitet.

                                      Ich hab das ganze nochmal gemacht (dank Images) und dann wurde folgende Warnung ausgegeben:

                                      e2bee0cb-c0bd-4ff4-b093-6de3b779d10a-image.png

                                      Ich hab das in die Anleitung mit aufgenommen, wie man den Link erstellt oder wie es bei mir geklappt hat - da anfangs auch Fehlermeldung:

                                      https://forum.iobroker.net/post/1080051

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @mickym last edited by

                                        @mickym

                                        Wo liegen denn deine Kernel und inirtrd?
                                        Bei mir schaut /boot nämlich so aus:

                                        echad@chet:~ $ ls -lAh /boot/
                                        total 143M
                                        lrwxrwxrwx 1 root root   20 Oct 10 05:39 cmdline.txt -> firmware/cmdline.txt
                                        -rw-r--r-- 1 root root 225K Oct  5 13:33 config-6.1.0-rpi4-rpi-2712
                                        -rw-r--r-- 1 root root 225K Oct  5 13:33 config-6.1.0-rpi4-rpi-v8
                                        -rw-r--r-- 1 root root 225K Oct 27 16:31 config-6.1.0-rpi6-rpi-2712
                                        -rw-r--r-- 1 root root 225K Oct 27 16:31 config-6.1.0-rpi6-rpi-v8
                                        -rw-r--r-- 1 root root 298K Nov  3 05:15 config-6.5.0-4-arm64
                                        lrwxrwxrwx 1 root root   19 Oct 10 05:39 config.txt -> firmware/config.txt
                                        drwxr-xr-x 3 root root 4.0K Jan  1  1970 firmware
                                        drwxr-xr-x 3 root root 4.0K Jan  1  1970 firmware.bak
                                        -rw-r--r-- 1 root root  11M Nov  6 16:01 initrd.img-6.1.0-rpi4-rpi-2712
                                        -rw-r--r-- 1 root root  11M Nov  6 16:01 initrd.img-6.1.0-rpi4-rpi-v8
                                        -rw-r--r-- 1 root root  11M Nov  6 16:05 initrd.img-6.1.0-rpi6-rpi-2712
                                        -rw-r--r-- 1 root root  11M Nov  6 16:04 initrd.img-6.1.0-rpi6-rpi-v8
                                        -rw-r--r-- 1 root root  33M Nov 11 14:13 initrd.img-6.5.0-4-arm64
                                        lrwxrwxrwx 1 root root   17 Oct 10 05:38 overlays -> firmware/overlays
                                        -rw-r--r-- 1 root root   83 Oct  5 13:33 System.map-6.1.0-rpi4-rpi-2712
                                        -rw-r--r-- 1 root root   83 Oct  5 13:33 System.map-6.1.0-rpi4-rpi-v8
                                        -rw-r--r-- 1 root root   83 Oct 27 16:31 System.map-6.1.0-rpi6-rpi-2712
                                        -rw-r--r-- 1 root root   83 Oct 27 16:31 System.map-6.1.0-rpi6-rpi-v8
                                        -rw-r--r-- 1 root root   83 Nov  3 05:15 System.map-6.5.0-4-arm64
                                        -rw-r--r-- 1 root root 8.4M Oct  5 13:33 vmlinuz-6.1.0-rpi4-rpi-2712
                                        -rw-r--r-- 1 root root 8.4M Oct  5 13:33 vmlinuz-6.1.0-rpi4-rpi-v8
                                        -rw-r--r-- 1 root root 8.4M Oct 27 16:31 vmlinuz-6.1.0-rpi6-rpi-2712
                                        -rw-r--r-- 1 root root 8.4M Oct 27 16:31 vmlinuz-6.1.0-rpi6-rpi-v8
                                        -rw-r--r-- 1 root root  33M Nov  3 05:15 vmlinuz-6.5.0-4-arm64
                                        echad@chet:~ $
                                        
                                        mickym 2 Replies Last reply Reply Quote 0
                                        • mickym
                                          mickym Most Active @Thomas Braun last edited by mickym

                                          @thomas-braun sagte in Raspi-Firmware Update nach bookworm Update [gelöst]:

                                          Die Dateien hab ich nicht - aber ich such mal - aber danke für Dein Auflistung. Ich habe nun die gleichen symbolischen Links erstellt.

                                          $ ls -la
                                          insgesamt 12
                                          drwxr-xr-x  3 root root 4096 13. Nov 21:15 .
                                          drwxr-xr-x 20 root root 4096 25. Jan 2023  ..
                                          lrwxrwxrwx  1 root root   20 13. Nov 21:13 cmdline.txt -> firmware/cmdline.txt
                                          lrwxrwxrwx  1 root root   19 13. Nov 21:15 config.txt -> firmware/config.txt
                                          drwxr-xr-x  4 root root 3584  1. Jan 1970  firmware
                                          lrwxrwxrwx  1 root root   17 13. Nov 21:14 overlays -> firmware/overlays
                                          

                                          Ich durchsuche mal das ganze System

                                          1 Reply Last reply Reply Quote 0
                                          • mickym
                                            mickym Most Active @Thomas Braun last edited by mickym

                                            @thomas-braun sagte in Raspi-Firmware Update nach bookworm Update [gelöst]:

                                            Wo liegen denn deine Kernel und inirtrd?

                                            Ich bin mir nicht sicher, ob das unbedingt notwendig ist. Hier wurde das anscheinend auch schon diskutiert:

                                            https://forum-raspberrypi.de/forum/thread/60013-warum-gibt-es-in-bookworm-jetzt-diverse-initrd-und-vmlinuz-in-boot/?pageNo=1

                                            und da haben sie wohl auch mal alles gelöscht bis auf die symbolischen Links. So weit ich das aus dem Thread verstanden habe sind das Upgrades von alten Kernels etc.

                                            Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            899
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            51
                                            7742
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo