[ECOS] Problem compiling redboot for XScale

Jonathan Larmour jifl@eCosCentric.com
Wed Mar 26 16:30:00 GMT 2003

Pascal Pediroda @ Brime wrote:
> Hello,
> I try to make a redboot image for the IQ80321 board.
> So this is what I have done :
> -Installed cygwin on my W2000 PC (under C:\cygwin)
> -Installed eCos Configuration Tool v2.11
> -Downloaded and compiled the GNU sources for arm-elf target (gcc-3.2.2,
> gdb5.3)
> -Checked out from CVS (yesterday) the last ecos sources
> Know, from eCos CT, I have created a project (BootRosso.ecc) using the
> template option (HW = IQ80321 , template = redboot) and then I have
> launched the Build.
> Here is the end of the log file from the make (the part that fails !) :
> make -r -C hal/arm/arch/current arm.inc
> make[1]: Entering directory
> `/ecos-c/BootRosso/Bootrosso_build/hal/arm/arch/current'
> arm-elf-gcc -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline 
> -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno
> -rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frame  -I/ecos-c/Bo
> otRosso/Bootrosso_install/include -I/ecos-c/cygwin/src/ecos/packages/hal/arm
> /arch/current -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src -I
> /ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.
> tmp -o hal_mk_defs.tmp -S
> /ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
> /ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:57:5
> 4: cyg/hal/hal_arch.h: No such file or directory

This looks seriously broken, but there's no reason why it should be. Does 
the header install directory ( /ecos-c/BootRosso/Bootrosso_install/include 
) really not include cyg/hal/hal_arch.h?

eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list