[PATCH v2 9/9] Documentation: migration-guides: describe reverting boot globalvars
Sascha Hauer
s.hauer at pengutronix.de
Thu Nov 12 23:20:44 PST 2026
Describe that the boot related globalvars are now reverted after
booting, that the .dyn infix is no longer necessary, that values set in
global.linux.bootargs.dyn.* before calling boot are now kept and that
the order of the Kernel command line options generated by the default
environment boot scripts may change.
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
.../migration-master/boot-globalvar-scope.rst | 19 +++++++++++++++++++
1 file changed, 19 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..92428ae1e0
--- /dev/null
+++ b/Documentation/migration-guides/migration-master/boot-globalvar-scope.rst
@@ -0,0 +1,19 @@
+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 scripts shipped with the
+default environment have dropped the ``.dyn`` infix.
+
+``global.linux.bootargs.dyn.*`` variables are no longer cleared after a
+boot entry returns, but restored to their previous values. Values set
+in this namespace before calling ``boot`` are thus kept and passed to
+all boot entries instead of only the first one. Settings meant for all
+boot entries should be put into a different variable, e.g.
+``global.linux.bootargs.base``, as ``.dyn`` no longer has a special
+meaning.
--
2.47.3
More information about the barebox
mailing list