Skip to content

RAUC support on NanoPi R2S #293

Answered by wkz
minexn asked this question in Q&A
Jan 31, 2024 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

There are a few things one needs to get right in order to enable full RAUC support, as we've integrated it in Infix.

RAUC is governed by its config file in /etc/rauc/system.conf, in which we find this snippet:

...
[slot.rootfs.0]
device=/dev/disk/by-partlabel/primary
bootname=primary

[slot.rootfs.1]
device=/dev/disk/by-partlabel/secondary
bootname=secondary
...

So you need a GPT partition table on your MMC, with partition labels that match what RAUC expects.

At the moment, we use /libexec/infix/prod/provision to provision Infix to a blank MMC. Use it by:

  1. Placing the Infix upgrade bundle (images/infix-aarch64.pkg) next to the netboot image (images/rootfs.itb) on the TFTP server
  2. Netbooti…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@troglobit
Comment options

Answer selected by troglobit
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #288 on February 02, 2024 08:20.