User Tools

Site Tools


ccgx:swupdate-developer-notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ccgx:swupdate-developer-notes [2017-01-24 16:10] – [What is swupdate?] mvaderccgx:swupdate-developer-notes [2017-12-08 14:14] (current) – removed mvader
Line 1: Line 1:
-====== CCGX - Developer migration notes for swupdate ====== 
  
- 
-==== What is swupdate? ==== 
-swupdate is the name of the tool we use for image updates. Image updates? Yes, previously the CCGX firmware updates were all done with packages. Not anymore, finally! 
- 
-For the advantages of image based updating over package based updating, see: [[https://github.com/victronenergy/venus/wiki/swupdate-project#new-features-for-in-the-change-log|swupupdate-project#features-for-in-the-change-log]]. 
- 
-To learn more background and details, read the rest of that same page. 
- 
-==== What has changed for developers? ==== 
-  * the set-feed.sh script is now here: ''/opt/victronenergy/swupdate-scripts/'' 
-  * the root-password will be removed after every update. See [[ccgx:root_access|here]] for how to arrange root access again. 
-  * ssh keys will be maintained: so that is what you should use! 
-  * everything not in the /data partition will be gone after an update 
- 
-==== What happens during this manual one-time upgrade of a CCGX? ==== 
-  - It saves the contents of the old /data partition  
-  - Formats most of the nand storage, without touching the bootloader, and creates several volumes: kernel1, kernel2, rootfs1, rootfs2, data, etcetera.  
-  - Restores the data partition on the new partition 
- 
-For even more details see [[https://github.com/victronenergy/meta-victronenergy/blob/master/meta-venus/recipes-images/venus-upgrade-initramfs/ccgx/swupdate|the swupdate script]]. 
ccgx/swupdate-developer-notes.1485270606.txt.gz · Last modified: by mvader

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki