Firmware update in SBC mode not working
-
I have a up to date image prepared with all my settings which I copy to my SD cards. Everything is running on 3.3 on the machine I took it from.
If I boot a new machine (exact same setup) the Firmware on the 3 mini is 3.2.2 (stock). After that I runsudo apt update sudo apt upgrade
which tells me everything is up to date, but if I check back on the firmware it is still 3.2.2.
For now I uploaded the Firmware by dropping the Duet2and3Firmware-3.3.zip into /sys using DWC but should it not work usingsudo apt update sudo apt upgrade
I have 20+ machines coming up, and this simply means a few extra steps for each of them which I would like to avoid.
Shouldn't it work? What am I doing wrong?
-
@benecito The upgrade process using sudo apt, downloads the relevant files and then sends a trigger to the board to upgrade.
resending sudo apt won't upgrade the board because the current files are already there and the trigger won't get sent.
UseM997
instead -
@jay_s_uk can I send the M997 command / trigger the update via ssh?
-
@benecito not that I know of.
you could add a file calledrunonce.g
which contains M997. This file gets ran at first boot and then gets deleted.
or so you don't have to replace the runonce every time, you could add a macro and call it from config.g with the following contentsif boards[0].firmwareVersion != "3.3" M997
That checks the object model and will trigger an upgrade if the board firmware version isn't 3.3
-
@jay_s_uk I will try on the next printer! Not exactly what I had in mind but I guess it will do the job