8u-boot compilation, Ktt20/pitx software guide – Kontron KTT20-pITX User Manual
Page 31
KTD-S0045-D
Page 27
U-Boot Compilation
KTT20/pITX Software Guide
8
U-Boot Compilation
You can find a suitable compiler without major effort. One option is to use the Linaro
TM
ARM
®
compiler
downloadable from the internet address
http://www.linaro.org/
You need only four command lines to compile the U-Boot sourcecode. For an example:
export
PATH=/ path>/arm-none-eabi-gcc-4_6/bin/:$PATH make distclean CROSS_COMPILE=arm-none-eabi- make harmony_config CROSS_COMPILE=arm-none-eabi- make all CROSS_COMPILE=arm-none-eabi- The KTT20/pITX board be based on NVIDIAs ® 'Harmony' evaluation board. This explains the compiler switch harmony_config . The appendant U-Boot sourcecode is downloadable from the internet address http://git.denx.de/?p=u-boot.git;a=summary Another possibility: http://nv-tegra.nvidia.com/gitweb/?p=3rdparty/u-boot.git;a=summary The directory 'include/configs' contains a really important file named 'harmony.h'. For adaption some /* * See file CREDITS for list of people who contributed to this project. * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the * You should have received a copy of the GNU General Public License along with this program; if not, write to the #ifndef __CONFIG_H #include
changes are necessary.
* (C) Copyright 2010, 2011
* NVIDIA Corporation
* License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any
* later version.
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
* License for more details.
* Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define __CONFIG_H
#include "tegra2-common.h"