[bootlin/training-materials updates] master: Minor flash slides updates (986d840f)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed Jul 8 19:59:07 CEST 2020
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/986d840fbfc00a5823ba62afbac0f2c6ee66a114
>---------------------------------------------------------------
commit 986d840fbfc00a5823ba62afbac0f2c6ee66a114
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed Jul 8 19:59:07 2020 +0200
Minor flash slides updates
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
986d840fbfc00a5823ba62afbac0f2c6ee66a114
slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 3f49c41b..2d08165f 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -353,8 +353,7 @@ setenv mtdparts mtdparts=omap2-nand.0:512k(XLoader)ro,1536k(UBoot)ro,512k(Env),4
\begin{itemize}
\item Do not use your flash storage as swap area (rare in embedded
systems anyway)
- \item Mount your filesystems as read-only, or use read-only
- filesystems (SquashFS), whenever possible.
+ \item Mount your filesystems as read-only whenever possible.
\item Keep volatile files in RAM (tmpfs)
\item Don't use the \code{sync} mount option (commits writes
immediately). Use the \code{fsync()} system call for per-file
@@ -373,7 +372,7 @@ setenv mtdparts mtdparts=omap2-nand.0:512k(XLoader)ro,1536k(UBoot)ro,512k(Env),4
\item There are several legacy flash filesystems which might be
useful for specific usage: JFFS2, YAFFS2.
\item Nowadays, UBI/UBIFS is the de facto standard for medium to
- large capacity NANDs (above 128MB)
+ large capacity NANDs
\end{itemize}
\end{frame}
@@ -429,7 +428,8 @@ setenv mtdparts mtdparts=omap2-nand.0:512k(XLoader)ro,1536k(UBoot)ro,512k(Env),4
\item Focus on scalability, performance and reliability
\end{itemize}
\item Drawback: introduces noticeable space overhead,
- especially when used on small devices or partitions.
+ especially when used on small devices or partitions. JFFS2
+ still makes sense on small MTD partitions.
\end{itemize}
\column{0.3\textwidth}
\includegraphics[height=0.8\textheight]{slides/sysdev-flash-filesystems/ubifs.pdf}
More information about the training-materials-updates
mailing list