From 87cccf1bb814f176219428030ba89f3968c0a98c Mon Sep 17 00:00:00 2001 From: Adrian Freihofer Date: Mon, 24 Feb 2025 09:27:29 +0100 Subject: [PATCH] migration-guides: cover FIT_UBOOT_ENV Add a hint for users using the UBOOT_ENV variable and the kernel-fitimage.bbclass. (From yocto-docs rev: 4d04531d4015bb61e68dfbed87d743772b6178b7) Signed-off-by: Adrian Freihofer Reviewed-by: Antonin Godard Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- 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 75bc4dbc6f..a5ac33d816 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.