How to update FW on SBC/Duet3 mini without internet connectivity
-
@jay_s_uk @SputnikOC3d That isn't quite right. You can download all the 3.4 .deb packages from http://pkg.duet3d.com/dists/stable/armv7/binary-armhf/, put them on a USB drive, and install them on the Pi via
dpkg -i *.deb
from the directory where the .deb files are located. With DuetPi-lite you must mount the USB drive using the console first.PS: Of course you could put them on the first partition of your microSD card as well and install them using
sudo dpkg -i /boot/*.deb
. -
@chrishamm useful to know!
-
Depending on your computer savvy, you could also add a local pkg mirror on your local lan and only allow access to the upstream pkg repo for that... but that seems a bit excessive.
-
@oliof ... funny ... As I often do - I found myself contemplating this very type of thing in the shower this a.m. as that seems to be where I have time to ponder such things in solitude and peace ... and thought - what if I had NAS on the wifi lan, in the shop, that I could dump files into that the voron / duet could see instead of the cloud ...
-
@chrishamm - bro ... HUGE info. Appreciated.
On a mission
p.s. - as if you couldnt tell by my post - my linux skills are trash, but learning
-
@chrishamm - do I need all the .deb files dated 3/16/2022 for 3.4.0 including .... [ reprapfirmware_3.4.0-1_all.deb ] or just [ reprapfirmware_3.4.0-1_all.deb ] ... or .... all .deb files for 3.4.0 dated 3/16/2022 excluding [ reprapfirmware_3.4.0-1_all.deb ]
Sorry to be thikkkk - just wanting clarification
-
@sputnikoc3d No worries - you need all the files that have 3.4.0 in the filename. If there are any missing dependencies,
dpkg
will tell you. -
@chrishamm - excellent - TY
-
@chrishamm - got all the files [ 9 of them i reckon ] onto USB stick. got it sorted on how to MOUNT the USB to /mnt/usb/Duet3SBC/
executed sudo dpkg -i *.deb from that folder ...
Things seem to be going well packages unpacked - files overwiriting and it advises 2 boards out of date:
Duet 3 Mini 5+ [ 3.4.0 beta3 ]
Duet 3 Expansion Tool1LC [ 3.3 ] ... a brand new 1.2v boardWould you like to update them all [ Y/N ]
Y
.. Updating firmware on Board 121....seems to be taking a good bit ... like to the point Im worried its stuck ... after getting this far LOL
-
If it's taking more than a couple minutes it's probably finished and hasn't moved on. A power cycle would likely indicate that the firmware has been updated successfully. Take comfort that it's not possible to brick a board with a firmware update.
-
@phaedrux - cool - i just dont want to brick .. all my configs.
Its been like 15 minutes ... Suggesting perhaps I restart ?
-
@sputnikoc3d said in How to update FW on SBC/Duet3 mini without internet connectivity:
all my configs
The configs should be safe on the SBC. And you have backups right? ....right?
-
@phaedrux yeah but still a massive PITA ...
-
@phaedrux - noticing some lines in there ...
... to delete the "dsf" user run as root ..
... to delete the "gpio" group run as root
Errors or just useful info or not to worry ?
Minimized the terminal window and the DWC is showing ... please wait while updates are being installed ...
-
That's a question for Chrishamm
-
@chrishamm -dont suppose youre still up and online by chance ? ^^^^^
-
Boooooyaaaa !!!! Thanks Gents .... SUCCESS.
It was hangin
Just said WTF ... YOLO ... and Powered down the Pi and and shut power off to the Voron and restarted.
everything is on the 3.4.0
Many thanks again
-
@phaedrux - seems all the updates worked except on hte main duet ... its still on 3.4.beta3
Any ideas @chrishamm ... dwc is updated - toolboard is updated ... are the proper files for 3.4.0 on my system now and I can just M997 for the mainboard duet 3 mini5+ ?
-
Just yolo'd again and went for a M997 S0 - somewhere earlier I saw that the previous work I did in this thread put the proper files in the proper place - so I fgured M997S0 - might get me solid. Worked for now.
-
@phaedrux - looks like I again spoke to soon.
well the rasp pi is NOT updated to 3.4.0 stable though
grep of the installed duet versions indicates all are still on 3.4beta3 on the Pi
Ideas to correct this ?