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

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

Scheduled Pinned Locked Moved
Firmware installation
4
8
354
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.
  • undefined
    Reine
    last edited by dc42 9 Jan 2023, 08:07 1 Sept 2023, 07:50

    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?

    undefined undefined 2 Replies Last reply 1 Sept 2023, 10:45 Reply Quote 0
    • undefined
      gloomyandy @Reine
      last edited by 1 Sept 2023, 10:45

      @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?

      undefined 1 Reply Last reply 2 Sept 2023, 16:04 Reply Quote 0
      • undefined
        T3P3Tony administrators @Reine
        last edited by 1 Sept 2023, 12:57

        @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
        • undefined
          Reine @gloomyandy
          last edited by 2 Sept 2023, 16:04

          @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

          undefined undefined 2 Replies Last reply 2 Sept 2023, 16:09 Reply Quote 0
          • undefined
            gloomyandy @Reine
            last edited by 2 Sept 2023, 16:09

            @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
            • undefined
              chrishamm administrators @Reine
              last edited by 3 Sept 2023, 08:40

              @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

              undefined 1 Reply Last reply 3 Sept 2023, 08:57 Reply Quote 0
              • undefined
                Reine @chrishamm
                last edited by 3 Sept 2023, 08:57

                @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.

                undefined 1 Reply Last reply 3 Sept 2023, 09:09 Reply Quote 0
                • undefined
                  chrishamm administrators @Reine
                  last edited by 3 Sept 2023, 09:09

                  @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
                  2 out of 8
                  • First post
                    2/8
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA