Skip to content

Commit

Permalink
UBI slides: add more U-Boot commands
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
  • Loading branch information
michaelopdenacker committed Sep 28, 2020
1 parent cfec604 commit 5c2a2b7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
Expand Up @@ -760,6 +760,23 @@ \section{Flash storage and filesystems}
\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}
Expand Down

0 comments on commit 5c2a2b7

Please sign in to comment.