[bootlin/training-materials updates] master: Flash lab: autoresize is now fine (c7563e76)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed Sep 23 11:19:02 CEST 2020
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/c7563e7641c684b07767c740881cf618375a79b2
>---------------------------------------------------------------
commit c7563e7641c684b07767c740881cf618375a79b2
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed Sep 23 11:19:02 2020 +0200
Flash lab: autoresize is now fine
- Stop recommending against it
- Tested with U-Boot 2020.07 and Linux 5.8
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
c7563e7641c684b07767c740881cf618375a79b2
labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 46dd99ce..0edb5c67 100644
--- a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -117,9 +117,6 @@ Create a \code{ubinize} config file where you will define the 4 volumes
described above, then use the \code{ubinize} tool to generate your
UBI image.
-Warning: do not use the autoresize flag (\code{vol_flags=autoresize}):
-U-Boot corrupts the UBI metadata when trying to expand the volume.
-
Remember that some of these volumes are static (read-only) and some are
not.
@@ -161,6 +158,7 @@ not.
%vol_type=dynamic
%vol_size=16MiB
%vol_name=data
+%vol_flags=autoresize
%
%
More information about the training-materials-updates
mailing list