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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

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

      @mickym

      Viel Erfolg. Ich hatte das mal mit dem Vanilla-Debian-Kernel versucht, das ist in die Hose gegangen.

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

        @mickym

        echad@chet:~ $ cat /boot/firmware/config.txt
        # For more options and information see
        # http://rptl.io/configtxt
        # Some settings may impact device functionality. See link above for details
        
        kernel=vmlinuz
        initramfs initrd.img followkernel
        # Uncomment some or all of these to enable the optional hardware interfaces
        dtparam=i2c_arm=on
        #dtparam=i2s=on
        #dtparam=spi=on
        
        # Enable audio (loads snd_bcm2835)
        dtparam=audio=on
        
        # Additional overlays and parameters are documented
        # /boot/firmware/overlays/README
        
        # Automatically load overlays for detected cameras
        camera_auto_detect=1
        
        # Automatically load overlays for detected DSI displays
        display_auto_detect=1
        
        # Automatically load initramfs files, if found
        auto_initramfs=1
        
        # Enable DRM VC4 V3D driver
        dtoverlay=vc4-kms-v3d
        max_framebuffers=2
        
        # Don't have the firmware create an initial video= setting in cmdline.txt.
        # Use the kernel's default instead.
        disable_fw_kms_setup=1
        
        # Run in 64-bit mode
        arm_64bit=1
        
        # Disable compensation for displays with overscan
        disable_overscan=1
        
        # Run as fast as firmware / board allows
        arm_boost=1
        
        [cm4]
        # Enable host mode on the 2711 built-in XHCI USB controller.
        # This line should be removed if the legacy DWC2 controller is required
        # (e.g. for USB device mode) or if USB support is not required.
        otg_mode=1
        
        [all]
        
        enable_uart=1
        echad@chet:~ $
        
        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @mickym last edited by

          @mickym

          Wobei die glaube ich wegen des Debian-Kernels bei mir verändert ist...
          Also vorsicht, was du da treibst...

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

            So hat alles geklappt - habe die config.txt nicht verändert.

            pi@mwhome:~ $ uname -a
            Linux mwhome 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux
            

            Im boot Verzeichnis sind nun auch mehr Dateien:

            pi@mwhome:/boot $ ls -la
            insgesamt 29872
            drwxr-xr-x  3 root root     4096 13. Nov 22:35 .
            drwxr-xr-x 20 root root     4096 13. Nov 22:32 ..
            lrwxrwxrwx  1 root root       20 13. Nov 21:13 cmdline.txt -> firmware/cmdline.txt
            -rw-r--r--  1 root root   230383 27. Okt 16:31 config-6.1.0-rpi6-rpi-v8
            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
            -rw-r--r--  1 root root 21598184 13. Nov 22:34 initrd.img-6.1.0-rpi6-rpi-v8
            lrwxrwxrwx  1 root root       17 13. Nov 21:14 overlays -> firmware/overlays
            -rw-r--r--  1 root root       83 27. Okt 16:31 System.map-6.1.0-rpi6-rpi-v8
            -rw-r--r--  1 root root  8729756 27. Okt 16:31 vmlinuz-6.1.0-rpi6-rpi-v8
            

            Für alle, für die das interessant sein mag hier - welche NEUEN Pakete mit diesem Kernel-Upgrade dazugekommen sind:

            pi@mwhome:/boot $ sudo apt install linux-image-rpi-v8 linux-headers-rpi-v8
            Paketlisten werden gelesen… Fertig
            Abhängigkeitsbaum wird aufgebaut… Fertig
            Statusinformationen werden eingelesen… Fertig
            Die folgenden zusätzlichen Pakete werden installiert:
              apparmor firmware-linux-free linux-headers-6.1.0-rpi6-common-rpi linux-headers-6.1.0-rpi6-rpi-v8
              linux-image-6.1.0-rpi6-rpi-v8 linux-kbuild-6.1
            Vorgeschlagene Pakete:
              apparmor-profiles-extra apparmor-utils linux-doc-6.1 debian-kernel-handbook
            Die folgenden NEUEN Pakete werden installiert:
              apparmor firmware-linux-free linux-headers-6.1.0-rpi6-common-rpi linux-headers-6.1.0-rpi6-rpi-v8
              linux-headers-rpi-v8 linux-image-6.1.0-rpi6-rpi-v8 linux-image-rpi-v8 linux-kbuild-6.1
            0 aktualisiert, 8 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
            Es müssen 38,5 MB an Archiven heruntergeladen werden.
            Nach dieser Operation werden 83,6 MB Plattenplatz zusätzlich benutzt.
            Möchten Sie fortfahren? [J/n] J
            

            Damit sollte ja nun alles wieder in Ordnung sein. 🙂 - Hat bis jetzt immer noch eine Menge Zeit gespart - insbesondere da ein Neuaufbau eben schon aufwändiger ist. Auch wenn inzwischen das Backup mit Node-Red alles sichert.

            https://forum.iobroker.net/topic/57022/neuaufbau-kein-recovery-nodered-mit-backitup-möglich

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

              @mickym
              Wie groß ist deine /boot-Partition?
              Das neue Verfahren benötigt tendenziell mehr Platz für die ganzen Kernel. Die neue Vorgabe ist 512MB.

              mickym 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]:

                @mickym
                Wie groß ist deine /boot-Partition?
                Das neue Verfahren benötigt tendenziell mehr Platz für die ganzen Kernel. Die neue Vorgabe ist 512MB.

                lsblk
                NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
                sda           8:0    1 29,3G  0 disk /data
                mmcblk0     179:0    0 14,6G  0 disk
                ├─mmcblk0p1 179:1    0  256M  0 part /boot/firmware
                └─mmcblk0p2 179:2    0 14,1G  0 part /
                

                Na die 256 MB haben ausgereicht - vielleicht liegt das daran, dass für die anderen Hardware-Plattformen der Kernel eben nicht heruntergeladen wurde.

                Ich kann die Boot-partition aber auch vergrößern, wenn das mal notwendig werden sollte.

                e2b999c5-380f-49ee-b91b-1317b6cb09eb-image.png

                Die ist aber nur zu 21% belegt - also eigentlich kein Handlungsbedarf

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

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

                  Ich kann die Boot-partition aber auch vergrößern, wenn das mal notwendig werden sollte.

                  Das ist aber schon nicht mehr so ganz trivial. Wie auch das, was bisher gemacht wurde.
                  Weswegen bei diesem Release vom Raspberry OS halt die Empfehlung zu einer Neuinstallation geht.

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

                    @thomas-braun Gibt es noch technische Einwände? - Oder darf ich mich sonst freuen, ein aktuelles System zu haben? 🙄

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

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

                      Gibt es noch technische Einwände?

                      Ich hab das selber noch nicht durchdrungen, an welchen Stellen da im einzelnen so deutlich umgebaut wurde. Kann sein, das es das jetzt war, kann aber auch sein, dass dir das bei anderer Gelegenheit aus dem Gleis springt.

                      mickym 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]:

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

                        Gibt es noch technische Einwände?

                        Ich hab das selber noch nicht durchdrungen, an welchen Stellen da im einzelnen so deutlich umgebaut wurde. Kann sein, das es das jetzt war, kann aber auch sein, dass dir das bei anderer Gelegenheit aus dem Gleis springt.

                        Trotzdem danke ich Dir für Deine Hilfe - ich fühle mich erst mal wohl, so wie das System jetzt läuft. Der Neuaufbau läuft mir ja nicht davon, wenn es erforderlich sein sollte. 😁 🙂 🙂 🙂

                        @haus-automatisierung auch Dir vielen Dank für den Link:
                        https://gist.github.com/jauderho/6b7d42030e264a135450ecc0ba521bd8

                        Durch die Vorabeiten war ja "nur" noch das Kernelupdate erforderlich.☺

                        sudo apt install linux-image-rpi-v8 linux-headers-rpi-v8
                        
                        R 1 Reply Last reply Reply Quote 3
                        • R
                          Rushmed Most Active @mickym last edited by

                          @mickym Supervielen Dank.

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

                          sudo apt install linux-image-rpi-v8 linux-headers-rpi-v8
                          in deiner Anleitung gefehlt.

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

                            @rushmed Ja das war mein letzter Post. Ich habe das erste Posting ergänzt. Da das offiziell ja nicht empfohlen wird - ist hier alles "at your own risk. "

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post

                            Support us

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

                            798
                            Online

                            31.8k
                            Users

                            80.0k
                            Topics

                            1.3m
                            Posts

                            4
                            51
                            8066
                            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