[FE training-materials-updates] Kernel cross-compiling: a few more details about nboot
Michael Opdenacker
michael.opdenacker at free-electrons.com
Wed Nov 20 11:19:19 CET 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=77da8fc294fe3da3f94d423688c6acf903099c66
>---------------------------------------------------------------
commit 77da8fc294fe3da3f94d423688c6acf903099c66
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Wed Nov 20 11:18:34 2013 +0100
Kernel cross-compiling: a few more details about nboot
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
77da8fc294fe3da3f94d423688c6acf903099c66
.../sysdev-kernel-cross-compiling.tex | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
index 914fe33..b400c55 100644
--- a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
+++ b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
@@ -222,7 +222,9 @@ bootm 0x80000000 - 0x81000000
\end{verbatim}
\code{nboot} copies the kernel to RAM, using the \code{uImage} headers
-to know how many bytes to copy \footnote{\code{nboot} can save a lot
+to know how many bytes to copy. You could have used \code{nand read
+0x80000000 0x300000 0x500000}, but you would have copied more bytes than
+the actual size of your kernel. \footnote{\code{nboot} can save a lot
of boot time, as it avoids having to copy a pessimistic number of
bytes from flash to RAM. Note that U-boot is not always configured
with \code{nboot} support.}.
More information about the training-materials-updates
mailing list