[bootlin/training-materials updates] master: UBI slides: add more U-Boot commands (5c2a2b73)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Sep 28 15:14:22 CEST 2020


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

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

commit 5c2a2b730b2abd4413b1d40886ce4d6ba34528c7
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Sep 28 15:14:22 2020 +0200

    UBI slides: add more U-Boot commands
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

5c2a2b730b2abd4413b1d40886ce4d6ba34528c7
 .../sysdev-flash-filesystems.tex                        | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index c256b5fd..4b3c1036 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -760,6 +760,23 @@ Device 0 bad blocks:
     \end{itemize}
 \end{frame}
 
+\begin{frame}
+  \frametitle{U-Boot: UBI tools (3)}
+  U-Boot also has commands to access UBIFS partitions:
+    \begin{itemize}
+    \item \code{ubifsmount <volume-name>}\\
+	Mount the specified volume. Example:\\
+        \code{ubifsmount root}
+    \item \code{ubifsload <addr> <filename> [bytes]}\\
+	Load file contents at the specified address. Example:\\
+	\code{ubifsload 0x21000000 boot/zImage}
+    \item Other commands: \code{ubifsls} and \code{ubifsumount}
+    \end{itemize}
+    This shows that to optimize space, the kernel and DTB can
+    also be stored in a UBIFS partition. Otherwise, the DTB volume
+    consumes an entire LEB.
+\end{frame}
+
 \begin{frame}
   \frametitle{Linux: UBI target tools (1)}
   \begin{itemize}




More information about the training-materials-updates mailing list