[PATCH v2 1/2] bootstd: Add implementation for bootmeth rauc

Tom Rini trini at konsulko.com
Thu Aug 14 16:28:15 CEST 2025


On Thu, Aug 14, 2025 at 11:46:36AM +0300, Wadim Egorov wrote:
> 
> 
> On 8/14/25 11:44 AM, Wadim Egorov wrote:
> > Hi Tom,
> > 
> > On 6/2/25 2:31 PM, Martin Schwan wrote:
> > > Add a bootmeth driver which supports booting A/B system with RAUC as
> > > their update client.
> > > 
> > > Signed-off-by: Martin Schwan <m.schwan at phytec.de>
> > > ---
> > >   boot/Kconfig         |  51 ++++++
> > >   boot/Makefile        |   1 +
> > >   boot/bootmeth_rauc.c | 432
> > > +++++++++++++++++++++++++++++++++++++++++ ++++++++++
> > >   3 files changed, 484 insertions(+)
> > > 
> > > diff --git a/boot/Kconfig b/boot/Kconfig
> > > index 30eb5b328d7ad8a73a2e84812dd7853b66039164..a610cf9faf99cd5480f94dcac89c3401cca394ae
> > > 100644
> > > --- a/boot/Kconfig
> > > +++ b/boot/Kconfig
> > > @@ -855,6 +855,57 @@ config EXPO
> > >         The expo can be presented in graphics form using a
> > > vidconsole, or in
> > >         text form on a serial console.
> > > +config BOOTMETH_RAUC
> > > +    bool "Bootdev support for RAUC A/B systems"
> > > +    default y if BOOTSTD_FULL
> > 
> > I noticed that the merge 009d7722ffd7 ("Merge patch series "bootstd: New
> > bootmeth for RAUC A/B systems"") deleted the above line.
> > 
> > Was it on purpose?
> 
> Nvm, missed your comment
> 
>   [trini: Don't enable by default].
> 
> What would be wrong about it to enable it by default?

It is a lot of global size growth. And since the system still needs to
be installed with RAUC in mind, enabling it globally didn't seem worth
the size increase.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250814/d9b339c6/attachment.sig>


More information about the U-Boot mailing list