* [ECOS] compiling redboot -> File truncated
@ 2003-09-16 9:24 Konstantin Kletschke
2003-09-16 10:02 ` Andrew Lunn
[not found] ` <20030916122520.3f517e99.jani@iv.ro>
0 siblings, 2 replies; 9+ messages in thread
From: Konstantin Kletschke @ 2003-09-16 9:24 UTC (permalink / raw)
To: ecos-discuss
Hi there!
My boss ordered a BDI2000 and so I am giving redboot a new try on my
eb40a. For learning/failure prevention purposes I installed the
cross-2.95.3.tar.bz2 binary toolchain from www.arm.linux.org.uk
into /usr/local/arm.
It uses arm-linux-gcc instead of arm-elf-gcc, so I told ecos the new
name of the binary in ecos.ecc:
cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
# Flavor: data
user_value arm-linux
# value_source user
# Default value: arm-elf
# };
before issuing ecosconfig.tree.
I use an cvs tree which is from yesterday IIRC.
Than this happens:
arm-linux-gcc -c -I/usr/src/ecos/2003-09-15-rb-RAM/install/include
-I/usr/src/ecos/cvs/ecos/packages/kernel/current
-I/usr/src/ecos/cvs/ecos/packages/kernel/current/src
-I/usr/src/ecos/cvs/ecos/packages/kernel/current/tests -I.
-I/usr/src/ecos/cvs/ecos/packages/kernel/current/src/common/
-mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith
-Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2
-ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
-fvtable-gc -finit-priority -Wp,-MD,src/common/thread.tmp -o
src/common/kernel_thread.o
/usr/src/ecos/cvs/ecos/packages/kernel/current/src/common/thread.cxx
src/common/kernel_thread.o: File truncated
/tmp/ccqqXemv.s: Assembler messages:
/tmp/ccqqXemv.s:5755: FATAL: Can't write src/common/kernel_thread.o:
File truncated
make[1]: *** [src/common/thread.o.d] Error 1
make[1]: Leaving directory
`/usr/src/ecos/2003-09-15-rb-RAM/kernel/current'
make: *** [build] Error 2
I double checked, that the user has konsti has all rights to write into
whole /usr/src and the partitition has a couple of free discspace
available.
By the way, which toolchain is considered being failsafe compiling a
redboot image for eb40a?
Because testing the 3.2 toolchain results in:
/usr/src/ecos/cvs/ecos/packages/language/c/libc/stdio/current/src/input/fgetc.cxx:129:
`
int getc(CYG_ADDRESS (*)[9999])' defined both normally and as an
alias
make[1]: *** [src/input/fgetc.o.d] Error 1
make[1]: Leaving directory
`/usr/src/ecos/2003-09-15-rb-RAM/language/c/libc/stdio/current'
make: *** [build] Error 2
Regards, Konstantin
--
2.6.0-test1-mm2
Konstantin Kletschke <konsti@ludenkalle.de>, <konsti@ku-gbr.de>
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
keulator.homelinux.org up 1:17, 11 users
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] compiling redboot -> File truncated
2003-09-16 9:24 [ECOS] compiling redboot -> File truncated Konstantin Kletschke
@ 2003-09-16 10:02 ` Andrew Lunn
2003-09-16 15:25 ` Konstantin Kletschke
[not found] ` <20030916122520.3f517e99.jani@iv.ro>
1 sibling, 1 reply; 9+ messages in thread
From: Andrew Lunn @ 2003-09-16 10:02 UTC (permalink / raw)
To: Konstantin Kletschke; +Cc: ecos-discuss
On Tue, Sep 16, 2003 at 11:24:20AM +0200, Konstantin Kletschke wrote:
> Hi there!
>
> My boss ordered a BDI2000 and so I am giving redboot a new try on my
> eb40a. For learning/failure prevention purposes I installed the
> cross-2.95.3.tar.bz2 binary toolchain from www.arm.linux.org.uk
> into /usr/local/arm.
> It uses arm-linux-gcc instead of arm-elf-gcc, so I told ecos the new
> name of the binary in ecos.ecc:
>
> By the way, which toolchain is considered being failsafe compiling a
> redboot image for eb40a?
See:
http://ecos.sourceware.org/ecos/getstart.html
And download the prebuild binaries that eCosCentric built. They are
the recommended tools and what eCos has been extensively tested with.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] compiling redboot -> File truncated
[not found] ` <20030916122520.3f517e99.jani@iv.ro>
@ 2003-09-16 10:07 ` Konstantin Kletschke
2003-09-16 10:32 ` Andrew Lunn
0 siblings, 1 reply; 9+ messages in thread
From: Konstantin Kletschke @ 2003-09-16 10:07 UTC (permalink / raw)
To: Jani Monoses; +Cc: ecos-discuss
On Tue, Sep 16, 2003 at 12:25:20PM +0300, Jani Monoses wrote:
> you need arm-elf-gcc no arm-linux-gcc.Also arm-elf binutils.
So the toolchain at ftp://ftp.arm.linux.org.uk/pub/armlinux/toolchain/
is not suiteable for my needs? I thought so...
If yes, what is this toolchein used for which binaries are named
arm-linux-*?
Konsti
--
2.6.0-test1-mm2
Konstantin Kletschke <konsti@ludenkalle.de>, <konsti@ku-gbr.de>
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
keulator.homelinux.org up 2:06, 12 users
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] compiling redboot -> File truncated
2003-09-16 10:07 ` Konstantin Kletschke
@ 2003-09-16 10:32 ` Andrew Lunn
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Lunn @ 2003-09-16 10:32 UTC (permalink / raw)
To: Konstantin Kletschke; +Cc: Jani Monoses, ecos-discuss
On Tue, Sep 16, 2003 at 12:07:09PM +0200, Konstantin Kletschke wrote:
> On Tue, Sep 16, 2003 at 12:25:20PM +0300, Jani Monoses wrote:
> > you need arm-elf-gcc no arm-linux-gcc.Also arm-elf binutils.
>
> So the toolchain at ftp://ftp.arm.linux.org.uk/pub/armlinux/toolchain/
> is not suiteable for my needs? I thought so...
> If yes, what is this toolchein used for which binaries are named
> arm-linux-*?
That toolchain has been configured and hacked to compile linux kernel
and applications. Quite often those changes make it unsuitable for
other things.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] compiling redboot -> File truncated
2003-09-16 10:02 ` Andrew Lunn
@ 2003-09-16 15:25 ` Konstantin Kletschke
2003-09-16 15:34 ` Andrew Lunn
0 siblings, 1 reply; 9+ messages in thread
From: Konstantin Kletschke @ 2003-09-16 15:25 UTC (permalink / raw)
To: ecos-discuss
On Tue, Sep 16, 2003 at 12:02:10PM +0200, Andrew Lunn wrote:
>
> And download the prebuild binaries that eCosCentric built. They are
> the recommended tools and what eCos has been extensively tested with.
Ok, I used these binaries and there are working somehow, one has to know
that the arm.linux.org.uk toolchain suites ecos not well. But...
In file included from
/usr/src/ecos/ecos/packages/redboot/current/src/main.c:57:
/usr/src/ecos/2003-09-15-rb-RAM/install/include/redboot.h:64:25:
cyg/crc/crc.h: No such file or directory
/usr/src/ecos/ecos/packages/redboot/current/src/main.c:665: warning:
weak declaration of `bist' after first use results in unspecified
behavior
make[1]: *** [src/main.o.d] Error 1
make[1]: Leaving directory
`/usr/src/ecos/2003-09-15-rb-RAM/redboot/current'
make: *** [build] Error 2
*ARGH*
I made an cvs checkout today...
Konsti
--
2.6.0-test1-mm2
Konstantin Kletschke <konsti@ludenkalle.de>, <konsti@ku-gbr.de>
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
keulator.homelinux.org up 7:26, 17 users
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] compiling redboot -> File truncated
2003-09-16 15:25 ` Konstantin Kletschke
@ 2003-09-16 15:34 ` Andrew Lunn
2003-09-16 15:55 ` Konstantin Kletschke
0 siblings, 1 reply; 9+ messages in thread
From: Andrew Lunn @ 2003-09-16 15:34 UTC (permalink / raw)
To: Konstantin Kletschke; +Cc: ecos-discuss
On Tue, Sep 16, 2003 at 05:25:15PM +0200, Konstantin Kletschke wrote:
> On Tue, Sep 16, 2003 at 12:02:10PM +0200, Andrew Lunn wrote:
> >
> > And download the prebuild binaries that eCosCentric built. They are
> > the recommended tools and what eCos has been extensively tested with.
>
> Ok, I used these binaries and there are working somehow, one has to know
> that the arm.linux.org.uk toolchain suites ecos not well. But...
>
> In file included from
> /usr/src/ecos/ecos/packages/redboot/current/src/main.c:57:
> /usr/src/ecos/2003-09-15-rb-RAM/install/include/redboot.h:64:25:
> cyg/crc/crc.h: No such file or directory
Some how you have a configuration that does not include the CRC
package. This should not happen. How exactly did you make your
configuration.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] compiling redboot -> File truncated
2003-09-16 15:34 ` Andrew Lunn
@ 2003-09-16 15:55 ` Konstantin Kletschke
2003-09-16 15:58 ` Gary Thomas
0 siblings, 1 reply; 9+ messages in thread
From: Konstantin Kletschke @ 2003-09-16 15:55 UTC (permalink / raw)
To: ecos-discuss
On Tue, Sep 16, 2003 at 05:33:59PM +0200, Andrew Lunn wrote:
>
> Some how you have a configuration that does not include the CRC
> package. This should not happen. How exactly did you make your
> configuration.
mkdir 2003-09-15-rb-RAM
cd 2003-09-15-rb-RAM
ecosconfig new eb40a
ecosconfig import
../ecos/packages/hal/arm/at91/eb40a/current/misc/redboot_RAM.ecm
ecosconfig tree
make
ecosconfig gives no error messages during its invocation...
Do I have to import an crc dependency somehow?
Konsti
--
2.6.0-test1-mm2
Konstantin Kletschke <konsti@ludenkalle.de>, <konsti@ku-gbr.de>
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
keulator.homelinux.org up 7:55, 5 users
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] compiling redboot -> File truncated
2003-09-16 15:55 ` Konstantin Kletschke
@ 2003-09-16 15:58 ` Gary Thomas
2003-09-16 20:36 ` Konstantin Kletschke
0 siblings, 1 reply; 9+ messages in thread
From: Gary Thomas @ 2003-09-16 15:58 UTC (permalink / raw)
To: konsti; +Cc: eCos Discussion
On Tue, 2003-09-16 at 09:54, Konstantin Kletschke wrote:
> On Tue, Sep 16, 2003 at 05:33:59PM +0200, Andrew Lunn wrote:
> >
> > Some how you have a configuration that does not include the CRC
> > package. This should not happen. How exactly did you make your
> > configuration.
>
> mkdir 2003-09-15-rb-RAM
>
> cd 2003-09-15-rb-RAM
>
> ecosconfig new eb40a
ecosconfig new eb40a redboot
>
> ecosconfig import
> ../ecos/packages/hal/arm/at91/eb40a/current/misc/redboot_RAM.ecm
>
> ecosconfig tree
>
> make
>
> ecosconfig gives no error messages during its invocation...
> Do I have to import an crc dependency somehow?
>
You must start with the correct template.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] compiling redboot -> File truncated
2003-09-16 15:58 ` Gary Thomas
@ 2003-09-16 20:36 ` Konstantin Kletschke
0 siblings, 0 replies; 9+ messages in thread
From: Konstantin Kletschke @ 2003-09-16 20:36 UTC (permalink / raw)
To: ecos-discuss
* Gary Thomas <gary@mlbassoc.com> [Tue, Sep 16, 2003 at 09:58:20AM -0600]:
> ecosconfig new eb40a redboot
Aahhhh!!!
-rwxr-xr-x 1 konsti konsti 56648 Sep 16 20:32 redboot.bin
-rwxr-xr-x 1 konsti konsti 318476 Sep 16 20:32 redboot.elf
-rwxr-xr-x 1 konsti konsti 90617 Sep 16 20:32 redboot.img
-rwxr-xr-x 1 konsti konsti 162988 Sep 16 20:32 redboot.srec
*dance* *bounce*
Thanks for your polite help Andrew and Gary *kiss* *kiss*,
it finally worked.
After installing eCosCentric toolchain I build ecos host tools and
redboot itself without any errors.
Lets see what my eb40a thinks of it tomorrow!
For TWO hours I tried to help host/configure to find tclConfig.sh, when
I looked more exactly at my screen and realized that it was searching fo
t_k_Config.sh *bumpsheadondesk*
I will be probably back, regards,
Konsti
--
2.6.0-test5-mm1
Konstantin Kletschke <konsti@ludenkalle.de>, <konsti@ku-gbr.de>
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
keulator.homelinux.org up 1:36, 17 users
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-09-16 20:36 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-16 9:24 [ECOS] compiling redboot -> File truncated Konstantin Kletschke
2003-09-16 10:02 ` Andrew Lunn
2003-09-16 15:25 ` Konstantin Kletschke
2003-09-16 15:34 ` Andrew Lunn
2003-09-16 15:55 ` Konstantin Kletschke
2003-09-16 15:58 ` Gary Thomas
2003-09-16 20:36 ` Konstantin Kletschke
[not found] ` <20030916122520.3f517e99.jani@iv.ro>
2003-09-16 10:07 ` Konstantin Kletschke
2003-09-16 10:32 ` Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).