summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2023-08-30 11:18:16 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2023-08-30 11:18:16 +0200
commit849a29ccd66d390d44511a8b837f360ac2cb0c72 (patch)
tree2420e5f8f7642c38309010c2af07e91eab3de6aa /doc
parent6eec39f33231ddb9fab8dd85b091e1c81fda4a48 (diff)
parente0d1dc8de02c8d4de7f49501fed75e31ed09ee74 (diff)
Merge tag '09.00.00.008' into toradex_ti-u-boot-2023.04
RC Release 09.00.00.008
Diffstat (limited to 'doc')
-rw-r--r--doc/board/ti/k3.rst27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
index ff983748d5..58e4ad2f6f 100644
--- a/doc/board/ti/k3.rst
+++ b/doc/board/ti/k3.rst
@@ -385,3 +385,30 @@ and the same can be extended to other platforms
The devices now also have distroboot enabled so if the fit image doesn't
work then the fallback to normal distroboot will be there on hs devices,
this will need to be explicitly disabled by changing the boot_targets.
+
+Saving environment
+------------------
+
+SAVEENV is disabled by default and for the new flow uses Uenv.txt as the default
+way for saving the environments. This has been done as Uenv.txt is more granular
+then the saveenv command and can be used across various bootmodes too.
+
+**Writing to MMC/EMMC**
+
+.. code-block::
+
+ => env export -t $loadaddr <list of variables>
+ => fatwrite mmc ${mmcdev} ${loadaddr} ${bootenvfile} ${filesize}
+
+**Reading from MMC/EMMC**
+
+By default run envboot will read it from the MMC/EMMC partition ( based on
+mmcdev) and set the environments.
+
+If manually needs to be done then the environment can be read from the
+filesystem and then imported
+
+.. code-block::
+
+ => fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
+ => env import -t ${loadaddr} ${filesize}