diff mbox series

[v2,2/2] migration-guides: cover FIT_UBOOT_ENV

Message ID 20250224082729.3325776-2-adrian.freihofer@siemens.com
State Superseded
Headers show
Series [v2,1/2] ref-manual: cover UBOOT_ENV variables | expand

Commit Message

Adrian Freihofer Feb. 24, 2025, 8:27 a.m. UTC
Add a hint for users using the UBOOT_ENV variable and the
kernel-fitimage.bbclass.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 documentation/migration-guides/migration-5.2.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Antonin Godard Feb. 24, 2025, 9:55 a.m. UTC | #1
On Mon Feb 24, 2025 at 9:27 AM CET, Adrian Freihofer via lists.yoctoproject.org wrote:
> Add a hint for users using the UBOOT_ENV variable and the
> kernel-fitimage.bbclass.
>
> Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
> ---
>  documentation/migration-guides/migration-5.2.rst | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst
> index de2ea773e55..4513186b7de 100644
> --- a/documentation/migration-guides/migration-5.2.rst
> +++ b/documentation/migration-guides/migration-5.2.rst
> @@ -182,3 +182,11 @@ Miscellaneous changes
>  
>  -  :term:`ZSTD_COMPRESSION_LEVEL` is now a plain integer number instead of a dash-prefixed
>     command-line option (e.g. it should be set to ``3`` rather than ``-3``).
> +
> +-  Until now, the variable :term:`UBOOT_ENV` was processed both by the U-Boot
> +   recipe and by the ``kernel-fitimage.bbclass``. However, adding a U-Boot
> +   script to the kernel FIT image is a different and independent thing, which
> +   also requires an independent variable.
> +   Therefore, the :term:`UBOOT_ENV` is no longer handled by the
> +   ``kernel-fitimage.bbclass``. There is a new variable :term:`FIT_UBOOT_ENV`
> +   which should be used for adding a U-Boot script to a FIT image.

Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>

Thank you!
Antonin
diff mbox series

Patch

diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst
index de2ea773e55..4513186b7de 100644
--- a/documentation/migration-guides/migration-5.2.rst
+++ b/documentation/migration-guides/migration-5.2.rst
@@ -182,3 +182,11 @@  Miscellaneous changes
 
 -  :term:`ZSTD_COMPRESSION_LEVEL` is now a plain integer number instead of a dash-prefixed
    command-line option (e.g. it should be set to ``3`` rather than ``-3``).
+
+-  Until now, the variable :term:`UBOOT_ENV` was processed both by the U-Boot
+   recipe and by the ``kernel-fitimage.bbclass``. However, adding a U-Boot
+   script to the kernel FIT image is a different and independent thing, which
+   also requires an independent variable.
+   Therefore, the :term:`UBOOT_ENV` is no longer handled by the
+   ``kernel-fitimage.bbclass``. There is a new variable :term:`FIT_UBOOT_ENV`
+   which should be used for adding a U-Boot script to a FIT image.