DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Bastian Krause <bst@pengutronix.de>
To: Roland Hieber <rhi@pengutronix.de>, distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH] v7a: build the RAUC update bundle too
Date: Wed, 1 Nov 2023 16:02:14 +0100	[thread overview]
Message-ID: <c6b7a50c-0454-4346-b223-a42a07a04ddb@pengutronix.de> (raw)
In-Reply-To: <20231101121129.652030-1-rhi@pengutronix.de>

On 11/1/23 13:11, Roland Hieber wrote:
> RAUC support for a lot v7a platforms has been available for some time
> now (see e.g. commits 559e482a643e to 8e204806f616, b869997d64ee5,
> 5f00115de864), but building the RAUC bundle actually needed to update
> the targets has somehow slipped through. Enable the image, and put
> something useful in the bundle description.
> 
> Reported-by: Bastian Krause <bst@pengutronix.de>
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>   configs/platform-v7a/platformconfig | 12 +++++++++++-
>   1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
> index 14e6903ec5a5..ee22eff29cbe 100644
> --- a/configs/platform-v7a/platformconfig
> +++ b/configs/platform-v7a/platformconfig
> @@ -260,7 +260,12 @@ PTXCONF_IMAGE_KERNEL_INSTALL_EARLY=y
>   # end of Generate images/linuximage
>   
>   PTXCONF_IMAGE_LXA_MC1=y
> -# PTXCONF_IMAGE_RAUC is not set
> +PTXCONF_IMAGE_RAUC=y
> +PTXCONF_IMAGE_RAUC_DESCRIPTION="${PTXDIST_VENDOR}-${PTXDIST_PROJECT}"

Is this correct? I don't see where these variables are defined.

Maybe you meant "${PTXCONF_PROJECT_VENDOR}-${PTXCONF_PROJECT}"?

Regards,
bst

> +# PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_PLAIN is not set
> +PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_VERITY=y
> +# PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_CRYPT is not set
> +# PTXCONF_IMAGE_RAUC_INTERMEDIATE is not set
>   PTXCONF_IMAGE_RIOTBOARD=y
>   PTXCONF_IMAGE_ROOT_CPIO=y
>   # PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_NONE is not set
> @@ -316,6 +321,7 @@ PTXCONF_HOST_EXTRACT_CERT=y
>   PTXCONF_HOST_FLEX=y
>   PTXCONF_HOST_GENEXT2FS=y
>   PTXCONF_HOST_GENIMAGE=y
> +PTXCONF_HOST_GLIB=y
>   PTXCONF_HOST_LIBCONFUSE=y
>   PTXCONF_HOST_LIBFFI=y
>   PTXCONF_HOST_LIBKMOD=y
> @@ -330,6 +336,7 @@ PTXCONF_HOST_NINJA=y
>   PTXCONF_HOST_OPENSC=y
>   PTXCONF_HOST_OPENSSL=y
>   PTXCONF_HOST_P11_KIT=y
> +PTXCONF_HOST_PCRE2=y
>   PTXCONF_HOST_PYTHON3_FLIT_CORE=y
>   PTXCONF_HOST_PYTHON3_INSTALLER=y
>   PTXCONF_HOST_PYTHON3_PACKAGING=y
> @@ -337,12 +344,15 @@ PTXCONF_HOST_PYTHON3_PYBUILD=y
>   PTXCONF_HOST_PYTHON3_PYPROJECT_HOOKS=y
>   PTXCONF_HOST_PYTHON3_TOMLI=y
>   PTXCONF_HOST_PYTHON3_WHEEL=y
> +PTXCONF_HOST_RAUC=y
>   PTXCONF_HOST_SOFTHSM=y
>   PTXCONF_HOST_SQLITE=y
> +PTXCONF_HOST_SQUASHFS_TOOLS=y
>   PTXCONF_HOST_SYSTEM_BC=y
>   PTXCONF_HOST_SYSTEM_PYTHON3=y
>   PTXCONF_HOST_SYSTEM_PYTHON3_SETUPTOOLS=y
>   PTXCONF_HOST_UTIL_LINUX=y
> +PTXCONF_HOST_ZLIB=y
>   PTXCONF_HOST_TF_A=y
>   
>   #

-- 
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 |




  parent reply	other threads:[~2023-11-01 15:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-01 12:11 Roland Hieber
2023-11-01 12:45 ` Robert Schwebel
2023-11-01 15:02 ` Bastian Krause [this message]
2023-11-02  9:42   ` Roland Hieber
2023-11-02  9:52 ` [DistroKit] [PATCH v2] " Roland Hieber
2023-11-02 12:56   ` Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c6b7a50c-0454-4346-b223-a42a07a04ddb@pengutronix.de \
    --to=bst@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=rhi@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox