[FE training-materials-updates] ubinize example: improve explanations and example
Michael Opdenacker
michael.opdenacker at free-electrons.com
Thu Nov 9 10:00:51 CET 2017
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=c1758ecccecc1e8d3a1499f5d1c68c68f5f0ca17
>---------------------------------------------------------------
commit c1758ecccecc1e8d3a1499f5d1c68c68f5f0ca17
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Thu Nov 9 10:00:51 2017 +0100
ubinize example: improve explanations and example
- static volumes are not recommended for read-only UBIFS
volumes. See http://linux-mtd.infradead.org/faq/ubi.html#L_dyn_faster
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
c1758ecccecc1e8d3a1499f5d1c68c68f5f0ca17
slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 11030e2..0480ce9 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -585,7 +585,12 @@ setenv mtdparts mtdparts=omap2-nand.0:512k(X-Loader)ro,1536k(U-Boot)ro,512k(Env)
\begin{itemize}
\item Can contain several sections
\item Each section is describing a UBI volume
- \item Example:
+ \item \code{static} volumes are meant to store {\bf read-only} blobs of data,
+ and get the minimum corresponding size. CRC checks are done on
+ them.
+ \item A read-only UBIFS filesystem can go in a \code{static}
+ volume, but in this case \code{dynamic} volumes are best
+ for performance (CRC checking also done at UBIFS level).
\end{itemize}
\begin{columns}
\column{0.33\textwidth}
@@ -605,7 +610,8 @@ vol_name=kernel
mode=ubi
image=rootfs.ubifs
vol_id=2
-vol_type=static
+vol_size=2MiB
+vol_type=dynamic
vol_name=rootfs
\end{verbatim}
\column{0.33\textwidth}
More information about the training-materials-updates
mailing list