Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    What's the correct way to update? [SBC]

    Scheduled Pinned Locked Moved
    Firmware installation
    4
    8
    339
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Reineundefined
      Reine
      last edited by dc42

      Can someone post the correct way todo a firmware upgrade on a complete system?

      I always have to fiddle to get all my components (6HC, SBC, 1LC, Panel Due 7i) updated.

      Now with the 3.4.6-2 release I got from doing an apt update I haven't managed to get that installed, M122 still reports 3.4.6 with a compile date from July.

      After the apt update I issue the following commands:

      • M122 to confirm versions pre update
      • M997 S0 to update the 6HC
      • M997 S2 for the SBC
      • M997 B121 to finally update the 1LC
      • M122 to confirm that all components are updated

      Is this the "correct" way of doing it?

      gloomyandyundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
      • gloomyandyundefined
        gloomyandy @Reine
        last edited by

        @Reine Is there a 3.4.6-2 release? I couldn't find any reference to it on the release page: https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x#reprapfirmware-346

        My understanding is that for an SBC the "correct" way to do an update is using Linux tools: https://docs.duet3d.com/User_manual/Machine_configuration/SBC_setup#h-6-update-firmware

        I thought that as part of that process it offered the option to update the firmware on the board and toolboards? Is that not working for you? As to your manual approach that looks like it should work, my only question would be does M997 S2 actually update the SBC? The documentation does not say it will:

        2 - web server file system, filename DuetWebControl.bin (needed only when using RepRapFirmware 1.18 series and earlier for Duet 2 WiFi)
        

        But maybe it has been repurposed?

        Reineundefined 1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @Reine
          last edited by

          @Reine said in What's the correct way to update? [SBC]:

          M122 still reports 3.4.6 with a compile date from July

          Thats the latest stable release.

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • Reineundefined
            Reine @gloomyandy
            last edited by

            @gloomyandy I don't know if this means something else, but it sure looks like 3.4.6-2 too me.

            a268a546-a888-4ded-8224-3f2406b0dd2d-image.png

            gloomyandyundefined chrishammundefined 2 Replies Last reply Reply Quote 0
            • gloomyandyundefined
              gloomyandy @Reine
              last edited by

              @Reine Perhaps @chrishamm can explain. I'm not aware of any 3.4.6-2 release and it seems that what you have is the 3.4.6 release, perhaps this is some sort of packaging issue?

              1 Reply Last reply Reply Quote 0
              • chrishammundefined
                chrishamm administrators @Reine
                last edited by

                @Reine Unfortunately RRF 3.4.5 made it into the first RRF 3.4.6-1 package, so I had to update the firmware binaries again. That's why it is 3.4.6-2 now. M997 can be used to update the firmware in SBC mode, too.

                The correct way to update in SBC mode is via apt update/apt upgrade as documented here.

                Duet software engineer

                Reineundefined 1 Reply Last reply Reply Quote 0
                • Reineundefined
                  Reine @chrishamm
                  last edited by

                  @chrishamm ahh ok, things happen. Are you saying a simple dist-upgrade should update firmwares on all devices?

                  From my experience it only downloads the binaries, I have to manually issue M997 to update each device.

                  If you could write the steps I should take to get everything updated in the correct way I would appreciate it.

                  chrishammundefined 1 Reply Last reply Reply Quote 0
                  • chrishammundefined
                    chrishamm administrators @Reine
                    last edited by

                    @Reine The reprapfirmware package only holds firmware binaries for Duet boards. If you are using a third-party board, the upgrade prompt (where you see All boards are up-to-date!) does not show up. That means you will have to install firmware updates manually in SBC mode (also the reason why the Install Updates button is visible in Settings -> General then).

                    Duet software engineer

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA