Hi,
Is there a shell tool available to update the firmware of CC100 controllers?
I tried looking through the functions in /etc/config-tools, but I may be a bit out of my depth here.
Hi,
Is there a shell tool available to update the firmware of CC100 controllers?
I tried looking through the functions in /etc/config-tools, but I may be a bit out of my depth here.
Hi,
my quick answer here is to look at both firmware update/restore in /etc/config-tools and the onboard rauc-tool. Unpack firmware .wup with e.g. 7zip and you get the .rauc-file. I did not test this in a while…
Well, that solved my problems!
I was trying to get fwupdate to run using the wup file.
For anyone stumbling over this in the future:
EDIT:
It looks like step 4 might have to be done before step 2 if the directory doesn’t exist.
EDIT 2:
Came back to this two years later and had an issue.
When I uploaded the .rauchb file, I also inadvertently created the fwupdate folder.
This lead to the fwupdate activate command failing and returning an error code 7.
To remidy this, I moved the .rauchb file out of the folder, deleted it and ran activate again.
That worked. I assume it has to do with directory permissions or something.
Corrected flow is: