[PATCH 10/10] Documentation: migration-guides: describe reverting boot globalvars
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Nov 12 00:21:31 PST 2026
On 10/30/26 11:54, Sascha Hauer wrote:
> Describe that the boot related globalvars are now reverted after
> booting, that the .dyn infix is no longer necessary and that the order
> of the Kernel command line options may change.
>
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
Got a comment below, but otherwise:
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> .../migration-master/boot-globalvar-scope.rst | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/Documentation/migration-guides/migration-master/boot-globalvar-scope.rst b/Documentation/migration-guides/migration-master/boot-globalvar-scope.rst
> new file mode 100644
> index 0000000000..d7e322ca0b
> --- /dev/null
> +++ b/Documentation/migration-guides/migration-master/boot-globalvar-scope.rst
> @@ -0,0 +1,13 @@
> +Boot related globalvars are reverted after booting
> +--------------------------------------------------
> +
> +``global.bootm.*``, ``global.linux.*``, ``global.of.*`` and
> +``global.boot.watchdog_timeout`` are now snapshotted before each boot
> +entry and each bootm and restored afterwards, so changes made while
> +booting no longer leak into subsequent boot attempts.
> +
> +Boot entries therefore no longer need to put Kernel command line options
> +into ``global.linux.bootargs.dyn.*``. The boot entries shipped with
> +barebox have dropped the ``.dyn`` infix. As the bootargs variables are
> +concatenated in lexicographical order, the order of the Kernel command
> +line options may change.
As mentioned I'd leave it for blspec/extlinux. I am fine with the rename
for the net boot scripts as these aren't used for regular boot anyway.
>
--
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 |
More information about the barebox
mailing list