Hi.  I'm a first time u-boot builder, and first time poster.  I'm looking for 
some help building u-boot for the Atmel at91sam9260ek dev board.

Background: building u-boot (v2010.03) on WindowsXP with Cygwin.  PATH and 
CROSS_COMPILE env vars set appropriately.  Cygwin base package installed, plus 
'make' and 'gcc'.  I've tried three different tool chains: CodeSourcery Lite, 
GNUARM, and YAGARTO, each giving me different errors.  I have also tried 
several flavors of make, those too influence the build.  I'm not sure which is 
giving me the best performance.

In all cases, "make distclean" and "make at91sam9260ek_config" work fine.

Below are highlights of some of the "make all" results.  I'll take any help on 
any one of the tool chains (please do not feel obligated to comment on all of 
them, only the one I'll likely get the easiest success with).

But any help is greatly appreciated.

Thanks in advance,
Brad.


GNUARM tool chain with GnuWin32 make v3.81
CROSS_COMPILE=<path>/arm-elf-
--------------------------------------------------------------------
Generating include/autoconf.mk
 Generating include/autoconf.mk.dep
 make: *** No rule to make target 'include/autoconf.mk', needed by 'depend'.  
Stop.

-
GNUARM tool chain with Cygwin make v3.81:
CROSS_COMPILE=<path>/arm-elf-
-------------------------------------------------------------------
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
for dir in tools examples/standalone examples/api cpu/arm926ejs 
/cygdrive/d/TestCode/u-boot-2010.03/cpu/arm926ejs/ ; do \
            make -C $dir _depend ; done
make[1]: Entering directory `/cygdrive/d/TestCode/u-boot-2010.03/tools'
make[1]: Leaving directory `/cygdrive/d/TestCode/u-boot-2010.03/tools'
make[1]: Entering directory `/cygdrive/d/TestCode/u-boot-2010.03/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/cygdrive/d/TestCode/u-boot-2010.03/tools'
[...]
.depend:43: *** missing separator. Stop.
make[1]: Leaving directory 
`/cygdrive/d/TestCode/u-boot-2010.03/examples/standalone'
[...]
.depend:41: *** missing separator. Stop.
make[1]: Leaving directory `/cygdrive/d/TestCode/u-boot-2010.03/cpu/arm926ejs'
make: *** [depend] Error 2


CodeSourcery Lite tool chain with Cygwin make:
CROSS_COMPILE=<path>/arm-none-eabi-
-------------------------------------------------------------------------
Generating include/autoconf.mk
include/common.h:37: fatal error: config.h: No such file or directory
compilation terminated.
[...]
hello_world.c:24: fatal error: common.h: No such file or directory
compilation terminated.
stubs.c:1: fatal error: exports.h: No such file or directory
compilation terminated.
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
[...]
../include/libfdt.h:126: error: syntax error before "void"
../include/libfdt.h:162: error: syntax error before "void"
../include/libfdt.h:163: error: syntax error before "void"
[..]
In file included from default_image.c:31:
/cygdrive/x/projects/u-boot-2010.03/include/image.h:193: error: parse error 
before "ulong"
/cygdrive/x/projects/u-boot-2010.03/include/image.h:195: error: parse error 
before "load"
[...]
make[1]: *** [default_image.o] Error 1
make[1]: Leaving directory `/cygdrive/x/projects/u-boot-2010.03/tools'
make: *** [tools] Error 2


CodeSourcery Lite tool chain with CodeSourcery cs-make (v3.81):
CROSS_COMPILE=<path>/arm-none-eabi-
---------------------------------------------------------------------------------
<Similar as with GNU make, except I also get this problem:
process_begin: CreateProcess(C:\cygwin\bin\gcc.exe, gcc -E -dM -xc /dev/null, ..
.) failed. >


YAGARTO tool chain
CROSS_COMPILE=<path>/arm-elf-
---------------------------------------------------
< Errors generally consist of an inability to find files in subdirectories of 
'include' (e.g. 'include/asm') though the directories/files do exist.  I've 
written this off as the worst performer.>


      
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to