From: Gary Thomas <gthomas@cygnus.co.uk>
To: Nicholas_Clarey@ivesco.co.uk
Cc: eCos Discussion <ecos-discuss@sourceware.cygnus.com>
Subject: RE: [ECOS] Building rommable images for the AEB-1C
Date: Thu, 06 Jan 2000 06:45:00 -0000 [thread overview]
Message-ID: <XFMail.000106074537.gthomas@cygnus.co.uk> (raw)
In-Reply-To: <OF3C6DA87D.CDC4B358-ON8025685E.004A10DF@ivesco.co.uk>
On 06-Jan-00 Nicholas_Clarey@ivesco.co.uk wrote:
> Hi Gary,
>
> I've corrected the two warnings that were my fault - I figured that was
> the problem any way - but the other messages stay.
>
> /usr/cygnus/ecosSWtools-arm-990321/i686-pc-linux-gnu/lib/gcc-lib/arm-elf/2.9-eco
> sSWtools-arm-990321/../../../../arm-elf/bin/ld:
> address 0x40219c0 of a.out section .text is not within region rom
> /usr/cygnus/ecosSWtools-arm-990321/i686-pc-linux-gnu/lib/gcc-lib/arm-elf/2.9-eco
> sSWtools-arm-990321/../../../../arm-elf/bin/ld:
> address 0x4021c4c of a.out section .rodata is not within region rom
> /usr/cygnus/ecosSWtools-arm-990321/i686-pc-linux-gnu/lib/gcc-lib/arm-elf/2.9-eco
> sSWtools-arm-990321/../../../../arm-elf/bin/ld:
> warning: no memory region specified for section `.glue_7'
> /usr/cygnus/ecosSWtools-arm-990321/i686-pc-linux-gnu/lib/gcc-lib/arm-elf/2.9-eco
> sSWtools-arm-990321/../../../../arm-elf/bin/ld:
> warning: no memory region specified for section `.glue_7t'
> collect2: ld returned 1 exit status
>
> As for the toolchain, I'm using exactly what I was told to use :->
>
> 2.9-ecosSWtools-arm-990321
> GNU ld 2.9-ecosSWtools-arm-990321
Odd, I just tried your example and it built fine for me. I am using a slightly
newer toolchain, though. I'll have someone look into this.
Can you send me the "compile & link" commands that were used to build/link your
program? What I did was to copy your test program into the "io/serial/XXX/tests/"
directory and adjust the makefile. Here's the output from the build:
[gary@hermes aeb_test]$ make -C io/serial/current/tests/
make: Entering directory `/work/aeb_test/io/serial/current/tests'
arm-elf-gcc -c -I/work/aeb_test/install/include -I. -I/work2/ecc_mainline/ecc/io/serial/current/tests -mcpu=arm7di -Wall -Wpo
inter-arith
-Wstrict-prototypes -Winline -Wundef -ffunction-sections -fdata-sections -mno-sched-prolog -g -O2 -Wp,-MD,io_serial_aeb_test.
tmp -o
io_serial_aeb_test.o aeb_test.c
arm-elf-gcc -o /work/aeb_test/install/tests/io_serial/aeb_test io_serial_aeb_test.o -mcpu=arm7di -Wall -Wpointer-arith -Wstrict
-prototypes -Winline
-Wundef -ffunction-sections -fdata-sections -mno-sched-prolog -Wl,--gc-sections -Wl,-static -g -O2 -L/work/aeb_test/install/lib
-Ttarget.ld -nostdlib
Note: on my system, I work with the 'current' version. The path will be slightly
different on yours.
Also, you'll want to open "/dev/ser0", not "/dev/serial0". You also need to enable
it, either using the ConfigTool if you are using Windows, or by editting the file
"pkgconf/io_serial.h"
next parent reply other threads:[~2000-01-06 6:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <OF3C6DA87D.CDC4B358-ON8025685E.004A10DF@ivesco.co.uk>
2000-01-06 6:45 ` Gary Thomas [this message]
[not found] <OF7B928FC7.8F137C30-ON8025685E.005316F3@ivesco.co.uk>
2000-01-06 7:15 ` Gary Thomas
2000-01-07 6:46 ` Dan Hovang
2000-01-07 7:19 ` Gary Thomas
2000-01-06 5:40 Nicholas_Clarey
-- strict thread matches above, loose matches on Subject: below --
2000-01-06 4:38 Nicholas_Clarey
2000-01-06 5:00 ` Gary Thomas
2000-01-06 6:50 ` Grant Edwards
2000-01-06 7:01 ` Gary Thomas
2000-01-06 7:03 ` Dan Hovang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=XFMail.000106074537.gthomas@cygnus.co.uk \
--to=gthomas@cygnus.co.uk \
--cc=Nicholas_Clarey@ivesco.co.uk \
--cc=ecos-discuss@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).