-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement swupdate - replacing opkg based updating #27
Comments
/data details, as on a unit today, working with opkg:
Shown sizes are representative for all units in the field, except for vrmlogger-backlog.sqlite3. It is a buffer of max 48 hours of data. Grows up to 48 hours if there is no internet for 48 hours. Amount of data stored depends on number of connected chargers, inverters etc. I'll double check with the developer (Wiebe) for more details about vrmlogger-backlog.sqlite3 file size. Histogram of free space (MBs) on /data partition:
I scrolled through the list, and all the abnormals (x < 160 and x > 180) are CCGX-es from developers and other machines such as bbb, rpi. |
StatusAll future updates of this issue are maintained on the project page on wiki, here. |
the problem which we want to fix with swupdate
After being flashed with an image during manufacturing, the systems out in the field are auto-updated using a package system (opkg). Except for offline units, they are updated manually with the recovery image; manual update instructions. And also when the package based updating has caused issues, we tell people to update / restart from scratch by doing an update from an sdcard, using the recovery image.
This package based updating has certain advantages, but also disadvantages:
the solution
Go to image updating. Using the swupdate solution from Stefano Babic / Denx.
requirements
targets
Once this image update mechanism is in place, our hands are free and we'll then start testing bpp3 built under Jethro in order to asap drop Danny and continue on Jethro.
We can then also drop the current bpp3-rootfs image, and use the venus-image instead.
And same time or later move from MACHINE=bpp3 to MACHINE=ccgx.
one time manual user intervention to switch
Chosen solution is: there will be one last opkg update. There will be an explanation that user need to use the sdcard (once) for an update. After which the ccgx can download its own updates again.
The text was updated successfully, but these errors were encountered: