[FE training-materials-updates] Flash fs lab improvements

Michael Opdenacker michael.opdenacker at free-electrons.com
Wed Dec 3 21:38:33 CET 2014


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=b4c70130dd727c81ef845d81709f07c96b024a41

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

commit b4c70130dd727c81ef845d81709f07c96b024a41
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Wed Dec 3 21:37:59 2014 +0100

    Flash fs lab improvements
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


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

b4c70130dd727c81ef845d81709f07c96b024a41
 .../sysdev-flash-filesystems.tex                        | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 059bfcd..bf9e98c 100644
--- a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -47,10 +47,13 @@ Find the erase block size of the NAND flash device in your board.
 Prepare a JFFS2 filesystem image from the \code{/www/upload/files}
 directory from the previous lab.
 
-Modify the \code{/etc/init.d/rcS} file to mount a JFFS2 filesystem on
-the eighth flash partition (we will declare flash partitions in the
-next section), instead of an ext3 filesystem on the third MMC disk
-partition.
+Now, we will get back to the root filesystem contents in the
+\code{nfsroot} directory, and will generate a JFFS2 image from them.
+
+In this directory, modify the \code{/etc/init.d/rcS} file to
+mount a JFFS2 filesystem on the eighth flash partition
+(we will declare flash partitions in the next section),
+instead of an ext3 filesystem on the third MMC disk partition.
 
 Create a JFFS2 image for your root filesystem, with the same options
 as for the data filesystem.
@@ -65,10 +68,10 @@ However, they do not match the way we wish to organize our flash
 storage. Therefore, we will define our own partitions at boot time,
 on the kernel command line.
 
-Enter the U-Boot shell and erase NAND flash, from offset 0x160000,
+Enter the U-Boot shell and erase NAND flash, from offset \code{0x160000},
 up to the end of the NAND flash storage. You'll have to compute the
-remaining size of the flash, from 0x160000 to the end. Remember that
-you can look at U-Boot booting messages to find what the size of
+remaining size of the flash, from \code{0x160000} to the end. Remember
+that you can look at U-Boot booting messages to find what the size of
 the NAND flash is.
 
 The DTB (device tree blob) has been already written in the NAND flash



More information about the training-materials-updates mailing list