[FE training-materials-updates] sysdev-u-boot: explain how to apply a patch
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Nov 4 18:16:02 CET 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=76210c3147d2a743739fb4ce407fcf60048c3216
>---------------------------------------------------------------
commit 76210c3147d2a743739fb4ce407fcf60048c3216
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Tue Nov 4 18:09:41 2014 +0100
sysdev-u-boot: explain how to apply a patch
In the U-Boot lab, we tell people to apply a patch, but we don't
explain how to do so. And it's covered in the slides only after, when
talking about the kernel.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>---------------------------------------------------------------
76210c3147d2a743739fb4ce407fcf60048c3216
labs/sysdev-u-boot/sysdev-u-boot.tex | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index 1764ab6..56aff54 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -174,9 +174,15 @@ wget ftp://ftp.denx.de/pub/u-boot/u-boot-2014.07.tar.bz2
We're going to use a specific U-Boot version, \code{2014.07}, which we
have tested to work on the Atmel Xplained board. More recent versions
-may also work, but we have not tested them.
-Though, this version needs a patch to work properly. Apply the patch
-named \code{0001-mtd-atmel_nand-Disable-subpage-NAND-write-when-using.patch}.
+may also work, but we have not tested them. Though, this version
+needs a patch to work properly. Apply the patch named
+\code{0001-mtd-atmel_nand-Disable-subpage-NAND-write-when-using.patch},
+by doing:
+
+\begin{verbatim}
+cd u-boot-2014.07/
+cat ../data/0001-mtd-atmel_nand-Disable-subpage-NAND-write-when-using.patch | patch -p1
+\end{verbatim}
Get an understanding of its configuration and compilation steps by
reading the \code{README} file, and specifically the {\em Building the
More information about the training-materials-updates
mailing list