[yocto] [rauc] create a rescue image

jairo jairo at futurasmus-knxlab.es
Tue Mar 26 04:31:00 PDT 2019

Thank you very much Mike.

> With NAND you'll probably have a filesystem (jffs2 or UBI) in place.
> With that, you could just use a package manager like opkg to update
> sofware. If the box has a network connection, just running "opkg
> update && opkg upgrade" will install the current releases with the
> minimum effort. We've been using this on a million boxes and it works
> fine (until someone decides to patch libc and you get a 300+ package
> upgrade).

Is there a public repository with ipk packages, or do I have to create
my own repository?
Can opkg solve dependencies well? Can it create problems?

> Linux is also capable of upgrading a running system. Basically, copy
> some 
> executables to a tmp filesystem, remount everything read-only, and
> change root 
> to the tmp part. Then you can rewrite partitions and reboot.
> In any case, you should have a u-boot configuration that allows it to
> be 
> debricked. Typically a USB stick or DFU will do nicely if your board
> has USB. 
> Or even serial...

I'm using Barebox, I think there would be no problems out there, the
bad part of using opkg is that the product should be used by clients
without much knowledge of linux. In that part I think it would be
easier for customers to use a update system such as Rauc or any similar

A greeting!

More information about the yocto mailing list