[bootlin/training-materials updates] master: sysdev: slides: flash-filesystems: remove U-Boot UBI/UBIFS commands (57bce385)
Luca Ceresoli
luca.ceresoli at bootlin.com
Sat Feb 4 00:35:05 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/57bce385da39cc1b3bf5a46a76a093d81d29a405
>---------------------------------------------------------------
commit 57bce385da39cc1b3bf5a46a76a093d81d29a405
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Fri Feb 3 18:55:09 2023 +0100
sysdev: slides: flash-filesystems: remove U-Boot UBI/UBIFS commands
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
57bce385da39cc1b3bf5a46a76a093d81d29a405
.../sysdev-flash-filesystems.tex | 32 ----------------------
1 file changed, 32 deletions(-)
diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 34097339..e407a044 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -261,38 +261,6 @@ setenv mtdparts mtdparts=omap2-nand.0:512k(XLoader)ro,1536k(UBoot)ro...
\end{center}
\end{frame}
-\begin{frame}{U-Boot: main UBI commands}
- Grouped under the \code{ubi} command
- \begin{itemize}
- \item \code{ubi part <part-name>}\\
- Attach an MTD partition to the UBI layer. Example:\\
- \code{ubi part UBI}
- \item \code{ubi readvol <dest-addr> <vol-name> [<size>]}\\
- Read volume contents. Example:\\
- \code{ubi readvol 0x21000000 kernel}
- \item \code{ubi writevol <src-addr> <vol-name> <size>}\\
- Write to volume. Example:\\
- \code{tftp 0x21000000 data.ubifs}\\
- \code{ubi writevol 0x21000000 data ${filesize}}
- \end{itemize}
-\end{frame}
-
-\begin{frame}{U-Boot: UBIFS commands}
- U-Boot also has commands to access UBIFS partitions:
- \begin{itemize}
- \item \code{ubifsmount ubi<n>:<volume-name>}\\
- Mount the specified volume. Example:\\
- \code{ubifsmount ubi0: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 / UBIFS target tools}
\begin{itemize}
More information about the training-materials-updates
mailing list