This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Rebuilding RedBoot for Evaluator 7T board


Hi,
    Sorry for my mis-typing. 'Cause I have the disease of my finger since my
elementary school.
So I often mis-type within 'o' and '0'.
(^_^)

Simon



----- Original Message -----
From: "Chris Garry" <cgarry@sweeneydesign.co.uk>
To: "Jonathan Larmour" <jlarmour@redhat.com>
Cc: "eCos Discussion" <ecos-discuss@sources.redhat.com>
Sent: Tuesday, October 02, 2001 2:35 AM
Subject: Re: [ECOS] Rebuilding RedBoot for Evaluator 7T board


Right, its all working now, redboot builds now giving me redboot.UU,
redboot.bin,
redboot.elf and redboot.img.

Seems Simon typed redboot.0 instead of redboot.o in his email and my cut and
paste
copied it accross.

Thanks for all the help.
Chris

----- Original Message -----
From: "Chris Garry" <cgarry@sweeneydesign.co.uk>
To: "Jonathan Larmour" <jlarmour@redhat.com>
Cc: "eCos Discussion" <ecos-discuss@sources.redhat.com>
Sent: Monday, October 01, 2001 7:22 PM
Subject: Re: [ECOS] Rebuilding RedBoot for Evaluator 7T board


> /bin/sh does exist.
>
> With Simon's changes the build still fails, but the failing part is now:
>
> 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.
> # Modified stuff
> arm-elf-gcc -c -DCHECKSUM=`/ecos_latest/ecos/packages/hal/arm/e
> 7t/current/src/flash_cksum.tcl
> rc/redboot_ncs.bin`  -I/home/Administrator/TestB
>
uild/install/include -I/ecos_latest/ecos/packages/hal/arm/e7t/current -I/eco
> s_la
>
test/ecos/packages/hal/arm/e7t/current/src -I/ecos_latest/ecos/packages/hal/
> arm/
>
e7t/current/tests -I. -I/ecos_latest/ecos/packages/hal/arm/e7t/current/src/
> -mcp
>
u=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -
> Winl
>
ine -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
> -fno
> -rtti -fno-exceptions -fvtable-gc -finit-priority -o src/redboot.o
> /ecos_latest/
> ecos/packages/hal/arm/e7t/current/src/redboot_module.c
> arm-elf-gcc -c -DCHACKSUM=`src/flash_cksum.tcl
> rc/redboot_ncs.bin`  -I/home/Adm
>
inistrator/TestBuild/install/include -I/ecos_latest/ecos/packages/hal/arm/e7
> t/cu
>
rrent -I/ecos_latest/ecos/packages/hal/arm/e7t/current/src -I/ecos_latest/ec
> os/p
>
ackages/hal/arm/e7t/current/tests -I. -I/ecos_latest/ecos/packages/hal/arm/e
> 7t/c
>
urrent/src/ -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstr
> ict-
>
prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
> -fda
> ta-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -o
> src/redboot
> .0 /ecos_latest/ecos/packages/hal/arm/e7t/current/src/redboot_module.c
>
arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections -Wl,-stat
> ic -
> g -nostdlib -L/home/Administrator/TestBuild/install/lib -Ttarget.ld -o
> src/redbo
> ot.tmp /home/Administrator/TestBuild/install/lib/version.o src/redboot.o
> arm-elf-gcc: src/redboot.o: No such file or directory
> make[1]: *** [/home/Administrator/TestBuild/install/bin/redboot.bin] Error
1
> make[1]: Leaving directory
> `/home/Administrator/TestBuild/hal/arm/e7t/current'
> make: *** [build] Error 2
>
>
> So it seems I'm missing redboot.o now.
>
> Chris
>
> ----- Original Message -----
> From: "Jonathan Larmour" <jlarmour@redhat.com>
> To: "Chris Garry" <cgarry@sweeneydesign.co.uk>
> Cc: "eCos Discussion" <ecos-discuss@sources.redhat.com>
> Sent: Monday, October 01, 2001 7:09 PM
> Subject: Re: [ECOS] Rebuilding RedBoot for Evaluator 7T board
>
>
> > Chris Garry wrote:
> > >
> > > Jonathan,
> > >
> > > $ which cygtclsh80
> > > /tools/H-i686-pc-cygwin/bin/cygtclsh80
> > > So cygtclsh80 is in my path.
> > >
> > > $ tcl flash_checksum.tcl
> > > bash: tcl: command not found
> > > Could this be the problem?
> >
> > As it happens, no. Jesper was thinking of Unix, whereas you are on
Windows
> > (using cygwin).
> >
> > What about /bin/sh ? Sometimes that can be missing in cygwin setups.
> >
> > But I think I've just realised why Simon's solution might work. If it
> works
> > for you, I'll fix it. Let me know.
> >
> > Jifl
> > --
> > Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223)
271062
> > Maybe this world is another planet's Hell -Aldous Huxley ||
Opinions==mine



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]