[FE training-materials-updates] U-Boot: boards.cfg is not shipped with the sources anymore
Michael Opdenacker
michael.opdenacker at free-electrons.com
Sun Mar 22 16:46:21 CET 2015
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=ca43e41fca7d1648b4fd46656ab6b1b46b060cfd
>---------------------------------------------------------------
commit ca43e41fca7d1648b4fd46656ab6b1b46b060cfd
Author: Luca Ceresoli <luca at lucaceresoli.net>
Date: Fri Mar 13 14:01:59 2015 +0100
U-Boot: boards.cfg is not shipped with the sources anymore
Since 2014.10 boards.cfg is not shipped with the U-Boot sources anymore.
Document how to generate it, and mention a simple alternative: look at
the files in configs/.
Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
Cc: Gregory CLEMENT <gregory.clement at free-electrons.com>
>---------------------------------------------------------------
ca43e41fca7d1648b4fd46656ab6b1b46b060cfd
labs/sysdev-u-boot/sysdev-u-boot.tex | 5 ++++-
slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex | 4 ++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index 40ace1a..291158d 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -206,8 +206,11 @@ Basically, you need to:
\item set the \code{CROSS_COMPILE} environment variable;
+\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
- of your board as declared in the \code{boards.cfg} file. There are
+ 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
(\code{sama5d3_xplained_nandflash}). Since we're going to boot on
diff --git a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
index d96a8ab..a9309e9 100644
--- a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
+++ b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
@@ -36,6 +36,10 @@
\item Assuming that your board is already supported by U-Boot, there
should be one entry corresponding to your board in the
\code{boards.cfg} file.
+ \begin{itemize}
+ \item Run \code{./tools/genboardscfg.py} to generate it.
+ \item Or just look in the \code{configs/} directory.
+ \end{itemize}
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list