[FE training-materials-updates] Improved mtdparts example

michael.opdenacker at free-electrons.com michael.opdenacker at free-electrons.com
Sun May 13 17:49:33 CEST 2012


- Log -----------------------------------------------------------------
http://git.free-electrons.com/training-materials/commit/?id=0f8b0f891ab2b68d928e5c94f7dc9827fe31ea7a

commit 0f8b0f891ab2b68d928e5c94f7dc9827fe31ea7a
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Sun May 13 17:48:55 2012 +0200

    Improved mtdparts example
    
    Changed the number of partitions (was the same as the default)
    Added spaces

diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 8053fab..43a354c 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -111,14 +111,15 @@ Creating 5 MTD partitions on "omap2-nand.0":
   \begin{itemize}
   \item You can now use the \code{mtdparts} kernel boot parameter
   \item Example:\\
-    \code{mtdparts=omap2-nand.0:512k(X-Loader)ro,1536k(U-Boot)ro,512k(Environment),3m(Kernel),-(RootFS)}
-  \item We've just defined 5 partitions in the omap2-nand.0 device:
+    \code{mtdparts=omap2-nand.0:512k(X-Loader)ro,1536k(U-Boot)ro,512k(Environment),4m(Kernel),16m(RootFS),-(Data)}
+  \item We've just defined 6 partitions in the omap2-nand.0 device:
     \begin{itemize}
-    \item \code{1st stage bootloader} (512KiB)
-    \item \code{U-Boot} (1536KiB)
-    \item \code{U-Boot Environment} (512KiB)
-    \item \code{Kernel} (3MiB)
-    \item \code{data}
+    \item \code{1st stage bootloader} (512 KiB, read-only)
+    \item \code{U-Boot} (1536 KiB, read-only)
+    \item \code{U-Boot environment} (512 KiB)
+    \item \code{Kernel} (4 MiB)
+    \item \code{Root filesystem} (16 MiB)
+    \item \code{Data filesystem} (Remaining space)
     \end{itemize}
   \end{itemize}
 \end{frame}

-----------------------------------------------------------------------

Summary of changes:
 .../sysdev-flash-filesystems.tex                   |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)


More information about the training-materials-updates mailing list