[bootlin/training-materials updates] master: Embedded Linux: misc updates (bedb5c32)
Michael Opdenacker
michael.opdenacker at bootlin.com
Fri Feb 26 16:40:07 CET 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/bedb5c322458c1041583a2a1fd27ed0fd2b877c7
>---------------------------------------------------------------
commit bedb5c322458c1041583a2a1fd27ed0fd2b877c7
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Fri Feb 26 16:40:07 2021 +0100
Embedded Linux: misc updates
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
bedb5c322458c1041583a2a1fd27ed0fd2b877c7
slides/sysdev-block-filesystems/sysdev-block-filesystems.tex | 7 +++++--
slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 4 ++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
index 9b663ca0..4f32153d 100644
--- a/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/slides/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -103,7 +103,7 @@ major minor #blocks name
\end{itemize}
\end{frame}
-\subsection{Available filesystems}
+\subsection{Available block filesystems}
\begin{frame}{Standard Linux filesystem format: ext2, ext3, ext4}
\begin{itemize}
@@ -152,6 +152,8 @@ major minor #blocks name
shutdown are clearly identified
\item Does not mean that the latest writes made it to the storage:
this depends on syncing the changes to the filesystem.
+ \item What matters is to avoid filesystem corruption and be able
+ to boot autonomously.
\end{itemize}
See \url{https://en.wikipedia.org/wiki/Journaling_file_system}
for further details.
@@ -337,7 +339,8 @@ major minor #blocks name
\end{itemize}
\item Mounting a squashfs filesystem:
\begin{itemize}
- \item \code{mount -t squashfs /dev/<device> /mnt}
+ \item \code{mount -o loop rootfs.sqfs /mnt} (filesystem image)
+ \item \code{mount /dev/<device> /mnt} (after copy to device)
\end{itemize}
\end{itemize}
\end{frame}
diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 127c9700..59019087 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -925,8 +925,8 @@ Device 0 bad blocks:
on UBIFS, the UBI volume used as root filesystem, and the MTD
partition attached to UBI. Example:\\
{\footnotesize \code{setenv bootargs_base console=ttyS0 rootfstype=ubifs root=ubi0:rootfs ubi.mtd=UBI}}
- \item Define the boot command sequence, loading the U-Boot partition
- definitions, loading kernel and DTB images from UBI partitions,
+ \item Define the boot command sequence, initializing UBI,
+ loading kernel and DTB images from UBI partitions,
and adding \code{mtdparts} to the kernel command
line. Example:\\
\code{setenv bootcmd 'ubi part UBI; ubi readvol
More information about the training-materials-updates
mailing list