-
I'm testing Rauc support on the NanoPi and getting the following error.
Do we need to add support in uboot? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
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
So you need a GPT partition table on your MMC, with partition labels that match what RAUC expects. At the moment, we use
This designed to work in combination with all of our boot scripts (and the features needed to support them) in Fundamentally, the primary and secondary partitions house regular SquashFS images (see also boot.md). So you can boot Infix with no special requirements on U-Boot. Here's an example:
If you want to verify image signatures, then I would look at integrating the existing scripts in the U-Boot build for the NanoPi. |
Beta Was this translation helpful? Give feedback.
-
@minexn would you be OK with my converting this to a Discussion? I'd like to keep nuggets like this reply as part of our common "Knowledge Base". |
Beta Was this translation helpful? Give feedback.
-
Please proceed
…________________________________
From: Joachim Wiberg ***@***.***>
Sent: Friday, February 2, 2024 12:18:58 AM
To: kernelkit/infix ***@***.***>
Cc: Andrew Campbell ***@***.***>; Mention ***@***.***>
Subject: Re: [kernelkit/infix] RAUC support on NanoPi R2S (Issue #288)
@minexn<https://github.com/minexn> would you be OK with my converting this to a Discussion? I'd like to keep nuggets like this reply as part of our common "Knowledge Base".
—
Reply to this email directly, view it on GitHub<#288 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A623N6EKWTZZQNUA5L3B7MLYRSOPFAVCNFSM6AAAAABCSP2C5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRTGMYDCMRSG4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
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: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:images/infix-aarch64.pkg
) next to the netboot image (images/rootfs.itb
) on the TFTP server