public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Gonçalo Antunes" <gmma@gmma.net>
To: <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] i386 problem
Date: Mon, 02 May 2005 16:12:00 -0000	[thread overview]
Message-ID: <000801c54f31$a1200830$0200a8c0@pcgoncalo> (raw)
In-Reply-To: <20050430171810.GA6601@lunn.ch>

Hello.

I installed eCos again, updated the repository and built some tests again...
The problem is really, as Andrew Lunn said, when linking with the pci tests.
Everything is alright when HAL_STARTUP is not the Floppy...

Is there a way to have a .ecc file with network support and http to run from 
a floppy? what are the packages needed to do this? How can I check the image 
size so I can fit it to a floppy?

Thank you.

Gonçalo Antunes.



----- Original Message ----- 
From: "Andrew Lunn" <andrew@lunn.ch>
To: "Gon?alo Antunes" <gmma@gmma.net>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Saturday, April 30, 2005 6:18 PM
Subject: Re: [ECOS] i386 problem


> On Sat, Apr 30, 2005 at 04:32:27AM +0100, Gon?alo Antunes wrote:
>> Hello again!
>>
>> I tried to start with a plain net template, changed the HAL_STARTUP to
>> FLOPPY and the error on the "make tests" is the same:
>>
>> >>/home/gmma/config_install/lib/vectors.o:/tmp/ccfRQjJM.s: undefined
>> >>reference
>> >>to 'hal_saved_interrupt_state'
>> >>make: leaving directory '/home/gmma/config_build'
>> >>collect2: ld returned 1 exit status
>
> I tried this myself:
>
> $ ecosconfig new pc_rltk8139 net
> $ emacs ecos.ecc - FLOPPY startup
> $ ecosconfig tree
> $ make -s
> headers finished
> build finished
>
> $ make tests
>
> this bombs when linking the pci tests becasue the floppy startup has
> restribted memory and the image is too big:
>
> make[1]: Entering directory `/home/lunn/eCos/work/io/pci/current'
> i386-elf-gcc -L/home/lunn/eCos/work/install/lib -Ttarget.ld -o 
> /home/lunn/eCos/work/install/tests/io/pci/current/tests/pci1 
> tests/pci1.o -g -nostdlib -Wl,--gc-sections -Wl,-static
> /opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-elf/bin/ld: 
> address 0xbc1f8 of 
> /home/lunn/eCos/work/install/tests/io/pci/current/tests/pci1 section .bss 
> is not within region ram
> /opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-elf/bin/ld: 
> address 0xbc1f8 of 
> /home/lunn/eCos/work/install/tests/io/pci/current/tests/pci1 section .bss 
> is not within region ram
> collect2: ld returned 1 exit status
>
> However if i do:
>
> lunn@londo:~/eCos/work$ (cd hal/common/current/ ; make tests)
> i386-elf-gcc -c  -I/home/lunn/eCos/work/install/include -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current 
>  -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/src -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/tests 
>  -I. -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/tests/ -finline-limit=7000 
>  -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections 
>  -fdata-sections  -fno-exceptions   -Wp,-MD,tests/context.tmp -o 
> tests/context.o 
> /home/lunn/eCos/anoncvs-clean/packages/hal/common/current/tests/context.c
> i386-elf-gcc -L/home/lunn/eCos/work/install/lib -Ttarget.ld -o 
> /home/lunn/eCos/work/install/tests/hal/common/current/tests/context 
> tests/context.o -g -nostdlib -Wl,--gc-sections -Wl,-static
> i386-elf-gcc -c  -I/home/lunn/eCos/work/install/include -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current 
>  -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/src -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/tests 
>  -I. -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/tests/ -finline-limit=7000 
>  -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections 
>  -fdata-sections  -fno-exceptions   -Wp,-MD,tests/basic.tmp -o 
> tests/basic.o 
> /home/lunn/eCos/anoncvs-clean/packages/hal/common/current/tests/basic.c
> i386-elf-gcc -L/home/lunn/eCos/work/install/lib -Ttarget.ld -o 
> /home/lunn/eCos/work/install/tests/hal/common/current/tests/basic 
> tests/basic.o -g -nostdlib -Wl,--gc-sections -Wl,-static
> i386-elf-gcc -c  -I/home/lunn/eCos/work/install/include -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current 
>  -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/src -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/tests 
>  -I. -I/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/tests/ -finline-limit=7000 
>  -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections 
>  -fdata-sections  -fno-exceptions   -Wp,-MD,tests/cache.tmp -o 
> tests/cache.o 
> /home/lunn/eCos/anoncvs-clean/packages/hal/common/current/tests/cache.c
> i386-elf-gcc -L/home/lunn/eCos/work/install/lib -Ttarget.ld -o 
> /home/lunn/eCos/work/install/tests/hal/common/current/tests/cache 
> tests/cache.o -g -nostdlib -Wl,--gc-sections -Wl,-static
>
> So the hal tests compile fine....
>
> Are you realy sure you have the latest code with no local changes?
>
>        Andrew
>
>
>
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
> 



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

  parent reply	other threads:[~2005-05-02 16:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050426204513.30E1BE5BC7@ws7-2.us4.outblaze.com>
2005-04-27  0:21 ` [ECOS] RE: eCos Loader David Bonfrer
2005-04-27  0:33   ` [ECOS] i386 problem Gonçalo Antunes
2005-04-27  6:05     ` Andrew Lunn
2005-04-30  9:57       ` Gonçalo Antunes
     [not found]         ` <20050430171810.GA6601@lunn.ch>
2005-05-02 16:12           ` Gonçalo Antunes [this message]
2005-05-02 16:30             ` Andrew Lunn
2005-05-02 16:35               ` Gonçalo Antunes
2005-05-03 10:14         ` Nick Garnett
2005-05-03 10:37           ` Gonçalo Antunes
2005-05-03 20:30           ` Bart Veer
2005-04-27  8:25   ` [ECOS] RE: eCos Loader Andrew Lunn
2005-04-27 10:28   ` Nick Garnett
2005-04-27 18:06     ` Paul D. DeRocco
2005-04-28 10:06       ` Nick Garnett
2002-05-02  9:04 [ECOS] i386 problem Roland Caßebohm
2002-05-14 14:22 ` Jonathan Larmour

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='000801c54f31$a1200830$0200a8c0@pcgoncalo' \
    --to=gmma@gmma.net \
    --cc=ecos-discuss@sources.redhat.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).