[FE training-materials-updates] U-boot/AT91bootstrap: tell about "make menuconfig"
Michael Opdenacker
michael.opdenacker at free-electrons.com
Sun Nov 8 17:26:22 CET 2015
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=1ad3554d1a4a8273ec5128e6d4fa88faf57f7f3b
>---------------------------------------------------------------
commit 1ad3554d1a4a8273ec5128e6d4fa88faf57f7f3b
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Sun Nov 8 17:26:22 2015 +0100
U-boot/AT91bootstrap: tell about "make menuconfig"
- Now available!
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
1ad3554d1a4a8273ec5128e6d4fa88faf57f7f3b
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 e7c2b88..e003261 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -148,6 +148,9 @@ After finding the right \code{defconfig} file, load it using
\code{make <defconfig_filename>} (just the file name, without
the directory part).
+In recent versions of AT91Bootstrap, you can now run \code{make
+menuconfig} to explore options available in this program.
+
The next thing to do is to specific the cross-compiler prefix
(the part before \code{gcc} in the cross-compiler executable name):
@@ -212,12 +215,12 @@ Basically, you need to:
\begin{itemize}
-\item set the \code{CROSS_COMPILE} environment variable;
+\item Set the \code{CROSS_COMPILE} environment variable;
-\item run \code{./tools/genboardscfg.py} to generate the
+\item Run \code{./tools/genboardscfg.py} to generate the
\code{boards.cfg} file;
-\item run \code{make <NAME>_config}, where \code{<NAME>} is the name
+\item Run \code{make <NAME>_config}, where \code{<NAME>} is the name
of your board as declared in \code{boards.cfg}. There are
two flavors of the Xplained configuration: one to run from the SD card
(\code{sama5d3_xplained_mmc}) and one to run from the NAND flash
@@ -227,6 +230,9 @@ Basically, you need to:
\code{include/configs/sama5d3_xplained.h}. Read this file to get an
idea of how a U-Boot configuration file is written;
+\item Now that you have a valid initial configuration, you can now
+ run \code{make menuconfig} to further edit your bootloader features.
+
\item Finally, run \code{make}, which should build U-Boot.
\end{itemize}
More information about the training-materials-updates
mailing list