Re: Yocto concept and support for dual version firmware upgrad and boot


Henrik Nymann Jensen (HNJE) <hnje@...>
 

On 2019-05-03 03:55, JH wrote:
Hi,

Are there any Yocto recipes to support dual version control for
firmware image upgrade and boot?
This is not something Yocto comes with out of the box, but both rauc and
swupdate
provides a meta layer you could use.

https://github.com/rauc/meta-rauc
https://github.com/sbabic/meta-swupdate

The scenario is to make 2 partitions, one partition to install a work
version of image, say v1.0, another partition to install a development
version of image, say v1.1, the boot process should pick up the
highest the version v1.1 first, if it fails to boot, it retreats back
to boot old version v1.0.

Appreciate any tips or reference for that implementation in Yocto.

Thank you.

Kind regards,

- jupiter

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.