This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Rebuilding RedBoot for Evaluator 7T board
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: Re: [ECOS] Rebuilding RedBoot for Evaluator 7T board
- From: "Simon" <simoncc at ms46 dot url dot com dot tw>
- Date: Mon, 1 Oct 2001 20:12:03 +0800
Garry,
I found this problem monthes ago. I have a solution here.
You can try it.
at first, comment this line in hal_arm_e7t.cdl
$(CC) -c -DCHACKSUM=`$(dir $<)flash_cksum.tcl src/redboot_ncs.bin`
$(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -o src/redboot.0 $<
and then, insert these two line after that,
@cp $(dir $<)flash_cksum.tcl src
$(CC) -c -DCHACKSUM=`src/flash_cksum.tcl src/redboot_ncs.bin`
$(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -o src/redboot.0 $<
Simon
----- Original Message -----
From: "Chris Garry" <cgarry@sweeneydesign.co.uk>
To: "eCos Discussion" <ecos-discuss@sources.redhat.com>
Sent: Sunday, September 30, 2001 7:50 PM
Subject: [ECOS] Rebuilding RedBoot for Evaluator 7T board
Hi,
I've been trying to build redboot for the evaluator 7T board. I'm using the
ecosconfig command line tool with Cygwin on a Windows2000 machine. The eCos
version I'm using is a snapshot downloaded from ( ftp://ftp.skynet.ie/cvs/ )
today (Sun 30-Sep-2001).
The build looks to work okay, right up to the end when it falls over with::
arm-elf-objcopy --strip-debug src/redboot_ncs.tmp src/redboot_ncs.img
arm-elf-objcopy -O binary src/redboot_ncs.img src/redboot_ncs.bin
# @rm src/redboot_ncs.tmp src/redboot_ncs.img
# Prepare dependency file
# Then build version with checksum from previously built image.
arm-elf-gcc -c -DCHECKSUM=`/ecos_latest/ecos/packages/hal/arm/e7t/current/sr
c/fl
ash_cksum.tcl
rc/redboot_ncs.bin` -I/home/Administrator/TestBuild/install/incl
ude -I/ecos_latest/ecos/packages/hal/arm/e7t/current -I/ecos_latest/ecos/pac
kage
s/hal/arm/e7t/current/src -I/ecos_latest/ecos/packages/hal/arm/e7t/current/t
ests
-I. -I/ecos_latest/ecos/packages/hal/arm/e7t/current/src/ -mcpu=arm7tdmi -m
no-s
hort-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -
Wove
rloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-ex
cept
ions -fvtable-gc -finit-priority -o src/redboot.o
/ecos_latest/ecos/packages/hal
/arm/e7t/current/src/redboot_module.c
couldn't read file
"/ecos_latest/ecos/packages/hal/arm/e7t/current/src/flash_cks
um.tcl": no such file or directory
/ecos_latest/ecos/packages/hal/arm/e7t/current/src/redboot_module.c:91:
parse er
ror before ',' token
make[1]: *** [/home/Administrator/TestBuild/install/bin/redboot.bin] Error 1
make[1]: Leaving directory
`/e/home/home/Administrator/TestBuild/hal/arm/e7t/cur
rent'
make: *** [build] Error 2
The file
"/ecos_latest/ecos/packages/hal/arm/e7t/current/src/flash_cksum.tcl" does
exist and is readable.
The only file generated in $BUILDDIR/install/bin/ is redboot.elf
Any ideas?
Thanks,
Chris