mail archive of the rauc mailing list
 help / color / mirror / Atom feed
* [RAUC] Buildroot + RAUC Example
@ 2022-01-22 13:23 Charles Steinkuehler
  2022-01-25  9:25 ` Jan Lübbe
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Steinkuehler @ 2022-01-22 13:23 UTC (permalink / raw)
  To: rauc

I have created a "works out of the box" example integrating RAUC with 
Buildroot to create a baseline system targeting the RPi 4 / cm4io that 
supports:

* U-Boot bootloader with redundant environment storage
* Symmetric Root-FS Slots with fallback on failed updates
* Atomic updates of bootloader vfat (no fallback)
* Single persistent data partition

I'm working on support for hardware watchdog timeouts.

The project files and instructions are on github:
https://github.com/cdsteinkuehler/br2rauc

Hopefully this can be of use to others in the community.

Also, as I am new to both RAUC and Buildroot, I would appreciate any 
review and suggestions for improvement or changes.

Thanks for the great project!

-- 
Charles Steinkuehler
charles@steinkuehler.net

_______________________________________________
RAUC mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RAUC] Buildroot + RAUC Example
  2022-01-22 13:23 [RAUC] Buildroot + RAUC Example Charles Steinkuehler
@ 2022-01-25  9:25 ` Jan Lübbe
  2022-01-25 12:28   ` Charles Steinkuehler
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Lübbe @ 2022-01-25  9:25 UTC (permalink / raw)
  To: Charles Steinkuehler, rauc

Hi Charles,

On Sat, 2022-01-22 at 07:23 -0600, Charles Steinkuehler wrote:
> I have created a "works out of the box" example integrating RAUC with 
> Buildroot to create a baseline system targeting the RPi 4 / cm4io that 
> supports:
> 
> * U-Boot bootloader with redundant environment storage
> * Symmetric Root-FS Slots with fallback on failed updates
> * Atomic updates of bootloader vfat (no fallback)
> * Single persistent data partition
> 
> I'm working on support for hardware watchdog timeouts.
> 
> The project files and instructions are on github:
> https://github.com/cdsteinkuehler/br2rauc

Nice!

> Hopefully this can be of use to others in the community.
> 
> Also, as I am new to both RAUC and Buildroot, I would appreciate any 
> review and suggestions for improvement or changes.

Neither Enrico or myself are familiar with Buildroot, perhaps you'd find someone
in #rauc on libera.chat (or #rauc:matrix.org) for feedback.

Will you keep maintaining this example over time (i.e. with new buildroot/rauc
releases)? If so, perhaps we could link if from the readme and integration
chapters.

Regards,
Jan

> Thanks for the great project!

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
RAUC mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RAUC] Buildroot + RAUC Example
  2022-01-25  9:25 ` Jan Lübbe
@ 2022-01-25 12:28   ` Charles Steinkuehler
  0 siblings, 0 replies; 3+ messages in thread
From: Charles Steinkuehler @ 2022-01-25 12:28 UTC (permalink / raw)
  To: Jan Lübbe, rauc

On 1/25/2022 3:25 AM, Jan Lübbe wrote:
> Hi Charles,
> 
> On Sat, 2022-01-22 at 07:23 -0600, Charles Steinkuehler wrote:
>>
>> Also, as I am new to both RAUC and Buildroot, I would appreciate any
>> review and suggestions for improvement or changes.
> 
> Neither Enrico or myself are familiar with Buildroot, perhaps you'd find someone
> in #rauc on libera.chat (or #rauc:matrix.org) for feedback.
> 
> Will you keep maintaining this example over time (i.e. with new buildroot/rauc
> releases)? If so, perhaps we could link if from the readme and integration
> chapters.

That is the intent, but it's probably not _quite_ ready to be linked as 
more than an example.  I'm still working through testing corner cases 
and trying to get the hardware watchdog timer running.

The project is a Buildroot external tree, so it can be used easily with 
any recent version of Buildroot.  As RAUC is included with Buildroot, it 
will be updated along with the rest of the system when migrating to a 
newer version (eg: the upcoming stable release in Feb.).

Currently the only thing pinned down to a specific version is the Linux 
kernel, which is built from a git hash copied from the Buildroot RPi 
default configs which won't automatically get updated.  I'm looking at a 
way to use a config fragment along with the Buildroot default configs so 
it's easier to update but haven't sorted out the details.

-- 
Charles Steinkuehler
charles@steinkuehler.net

_______________________________________________
RAUC mailing list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-25 12:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 13:23 [RAUC] Buildroot + RAUC Example Charles Steinkuehler
2022-01-25  9:25 ` Jan Lübbe
2022-01-25 12:28   ` Charles Steinkuehler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox