Re: [yocto] Rockchip project: opinions on RAUC vs SWUpdate?

Quentin Schulz <[email protected]> Thu, 30 Apr 2026 10:54:45 +0200
Newsgroups org.yoctoproject.lists.yocto
Message-ID <[email protected]>
Hi Robert,

On 4/30/26 12:17 AM, Robert P. J. Day via lists.yoctoproject.org wrote:
> 
>    (I was going to poke Rockchip guru Quentin Schulz privately about
> this but figured, might as well get lots of opinions.)
> 
>    I'm working on a new Rockchip project and while previous projects
> here have assumed using SWUpdate for OTA updates, I notice that the
> meta-rockchip layer's README refers to an example of using RAUC for
> A/B updates:
> 
>    https://git.yoctoproject.org/meta-rockchip/tree/README#n125
> 
>    I'm curious ... do the Rockchip folks prefer RAUC to SWUpdate? I'm
> not wedded to SWUpdate and am open to arguments for trying RAUC
> instead. Thoughts?
> 

Trevor did the A/B thing on meta-rockchip with rauc. He's using it for 
his devices as far as I know. My previous company was using SWUpdate 
with Yocto, my current RAUC with Buildroot. I have not integrated 
either. I've done some work on SWUpdate in meta-cherry-es which I 
presented at the Yocto Project Developer Day last year, see 
https://pretalx.com/ypdd-amsterdam-2025/talk/ZRLTMG/. It was recorded 
but I don't see it on YoctoProject's YouTube channel. I really disliked 
the way swupdate handles images. As far as I remember, you have an 
SRC_URI in your image recipe (which doesn't make sense) for configuring 
your image. I was tickled by some "smart" things being done to the 
swupdate recipe to figure out what to enable at build time based on 
what's in the swupdate defconfig. This is broken logic and didn't work 
well if I remember correctly.

If you're looking to provision your devices during manufacturing, RAUC 
won't be useful as it's explicitly stated RAUC is not made for that. 
SWUpdate (as shown during my talk) can be somewhat forced to do this.

There's also Mender which can be a paid solution with commercial 
support, I'm sure Josef can do a pep talk here.

In the end, read the docs, try things out. It's like asking which of vim 
or emacs is better, you only will know what's best.

Cheers,
Quentin