[FE training-materials-updates] Enable NAND support before preparing the jffs2 image

gregory.clement at free-electrons.com gregory.clement at free-electrons.com
Wed Jul 4 12:31:11 CEST 2012


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

commit eb76f79b261c050f4363440adb7993b71a03cadc
Author: Gregory Clement <gregory.clement at free-electrons.com>
Date:   Wed Jul 4 12:29:11 2012 +0200

    Enable NAND support before preparing the jffs2 image
    
    It's more natural to test the rcS modification before creating the
    rootfs jffs2 image. So it's more logical to setup the NAND support
    before.

diff --git a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 397cc79..ba5b6b6 100644
--- a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -31,6 +31,17 @@ be:
 \item From 0x880000 to the end, the JFFS2 data filesystem
 \end{itemize}
 
+\section{Enabling NAND flash and filesystems}
+
+Recompile your kernel with support for JFFS2 and for support for MTD
+partitions specified in the kernel command line
+(\code{CONFIG_MTD_CMDLINE_PARTS}).
+
+Also enable support for the flash chips on the board
+(\code{CONFIG_MTD_NAND_OMAP2}).
+
+Update your kernel image on flash.
+
 \section{Filesystem image preparation}
 
 Find the erase block size of the NAND flash device in your board.
@@ -45,17 +56,6 @@ MMC disk partition.
 Create a JFFS2 image for your root filesystem. with the same options
 as the data filesystem.
 
-\section{Enabling NAND flash and filesystems}
-
-Recompile your kernel with support for JFFS2 and for support for MTD
-partitions specified in the kernel command line
-(\code{CONFIG_MTD_CMDLINE_PARTS}).
-
-Also enable support for the flash chips on the board
-(\code{CONFIG_MTD_NAND_OMAP2}).
-
-Update your kernel image on flash.
-
 \section{MTD partitioning and flashing}
 
 Memory layout and partitioning can be defined inside kernel sources,

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

Summary of changes:
 .../sysdev-flash-filesystems.tex                   |   22 ++++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)


More information about the training-materials-updates mailing list