[FE training-materials-updates] sysdev-flash-filesystems: Fix offset to erase and ask to write the dtb
Gregory Clement
gregory.clement at free-electrons.com
Tue Aug 26 18:24:46 CEST 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=5713f6fdfa51de72768187e4c7647843d6f5f3f2
>---------------------------------------------------------------
commit 5713f6fdfa51de72768187e4c7647843d6f5f3f2
Author: Gregory CLEMENT <gregory.clement at free-electrons.com>
Date: Tue Aug 26 18:20:16 2014 +0200
sysdev-flash-filesystems: Fix offset to erase and ask to write the dtb
Instead of erasing only the filesystem partitions also erase the ones
related to the kernel.
In order to have all the system in NAND also asked to write the dtb in
the NAND flash device.
Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>
>---------------------------------------------------------------
5713f6fdfa51de72768187e4c7647843d6f5f3f2
labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index ce35960..c4620da 100644
--- a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -65,12 +65,15 @@ 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 0x660000,
+Enter the U-Boot shell and erase NAND flash, from offset 0x140000,
up to the end of the NAND flash storage. You'll have to compute the
-remaining size of the flash, from 0x660000 to the end. Remember that
+remaining size of the flash, from 0x140000 to the end. Remember that
you can look at U-Boot booting messages to find what the size of
the NAND flash is.
+Using the \code{tftp} command, download and flash the DTB (device tree
+blob) at the correct location.
+
Using the \code{tftp} command, download and flash the new kernel
image at the correct location.
More information about the training-materials-updates
mailing list