[bootlin/training-materials updates] master: Ubiblk: add details (8e31daf0)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu Oct 17 15:32:03 CEST 2019


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/8e31daf0ad77d283f704ecf0df037014696bef5f

>---------------------------------------------------------------

commit 8e31daf0ad77d283f704ecf0df037014696bef5f
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu Oct 17 15:32:03 2019 +0200

    Ubiblk: add details
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

8e31daf0ad77d283f704ecf0df037014696bef5f
 slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index b259650e..8b4ace59 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -776,6 +776,7 @@ ${bootargs_base} ${mtdparts}; bootz 0x81000000 - 0x82000000'}
 \begin{frame}
   \frametitle{Linux: ubiblock}
   \begin{itemize}
+  \item \code{CONFIG_MTD_UBI_BLOCK}
   \item Implemented by Ezequiel Garcia from Bootlin.
   \item Preferred over \code{mtdblock} if UBI is available (UBI accounts
     for data retention and wear leveling issues, while MTD does not)
@@ -785,12 +786,13 @@ ${bootargs_base} ${mtdparts}; bootz 0x81000000 - 0x82000000'}
     to \code{ubiblock}
     \begin{itemize}
     \item Through the kernel command line: by passing
-      \code{ubi.block=<ubi-dev-id>,<volume-name>}
-    \item Using the \code{ubiblock} utility provided by \code{mtd-utils}:
+      \code{ubi.block=<ubi-dev-id>,<volume-name>}\\
+      Example: \code{ubi.block=0,rootfs}\\
+    \item In Linux, using the \code{ubiblock} utility provided by \code{mtd-utils}:
       \code{ubiblock --create <ubi-volume-dev-file>}
     \end{itemize}
    \item Usually named \code{/dev/ubiblockX_Y}, where X is the UBI device
-     id and Y is the UBI volume id
+     id and Y is the UBI volume id (example: \code{/dev/ubiblock0_3})
   \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list