[FE training-materials-updates] Flash lab: clarify instructions
Michael Opdenacker
michael.opdenacker at free-electrons.com
Thu Jun 5 15:51:15 CEST 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=a09c3c7672f430ff0d309768e8d72c4c257cf504
>---------------------------------------------------------------
commit a09c3c7672f430ff0d309768e8d72c4c257cf504
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Thu Jun 5 15:50:17 2014 +0200
Flash lab: clarify instructions
- Need to reboot the kernel after the DTB update.
Otherwise, /proc/mtd is empty
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
a09c3c7672f430ff0d309768e8d72c4c257cf504
.../sysdev-flash-filesystems.tex | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 362cb75..f6d1efd 100644
--- a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -51,10 +51,11 @@ currently causing problems with the JFFS2 filesystem. This option is
in \code{Kernel Hacking} $\rightarrow$
\code{Lock debugging: prove locking correctness}.
-After compiling your kernel, update the DTB file used by your board
-(remember that we applied a Device Tree patch).
-
-You will update your kernel image on flash in the next section.
+After compiling your kernel, update the \code{uImage} and
+DTB files on the first MMC partition (we are still booting from
+MMC at this stage), and reboot your board. This will be
+needed to access information about your flash device, in particular
+the erase block size.
\section{Filesystem image preparation}
@@ -90,8 +91,8 @@ Before flashing JFFS2 images, make sure they will be flashed during
the software ECC scheme, by running the \code{nandecc sw} command in
U-Boot.
-Using the \code{tftp} command, download and flash the new kernel
-image at the correct location.
+Using the \code{tftp} command, download the uImage and DTB files.
+Store them in flash at the correct location.
Using the \code{tftp} command, download and flash the JFFS2 image
of the root filesystem the correct location.
More information about the training-materials-updates
mailing list