As stated in the title, is there a way to explicitly overwrite the overlay Legato system with the base? I’ve noticed that when I supply a base legato system through a .cwe file for an update the overlay Legato system gets overwritten only if the new base Legato is different from the old one. Sometimes I end up making changes to the overlay apps that I want to rollback by giving it the base legato cwe file. However if that cwe is the same as before the overlay system remains unaffected. So I end up having to update with a different base legato cwe first and then the cwe that I actually want. Is there a better way to do this? The documentation talks about erasing and reformatting the user data partition but doesn’t have any more details.
Hi ktanikel,
I think the question is how to clear the overlay during .cwe upgrade?
The current design is to keep user data, thus the overlay remains during .cwe flashing.
As you may know, we may use swiflash tool to clear the overlay user partition.
We can do one more step, use swicwe to join the reset.cwe (bundle in swiflash for product) with the .cwe file you generated.
So whenever we apply the custom .cwe, it will also erase the user partition overlay.
No, I don’t think it is relate to config tree data.
It is more for config file for modem.
I am not sure about config tree, seems the best is to use config tree API in app or via target tool “config”.
If necessary, please raise a dedicated thread for this so others can advise.