public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Realtek 8139 problem
@ 2005-03-27  6:31 Umar Said
  2005-03-27 18:12 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Umar Said @ 2005-03-27  6:31 UTC (permalink / raw)
  To: ecos-discuss


Hi all, 

I have successfully build library for my modified PC target/template which 
recognizes Realtek 8139 ethernet card. But when I try to compile some net 
test program, an error occured. This was what I did:

$ i386-elf-gcc.exe -g -I pc_rltk8139_install/include/ ping_test.c -L 
pc_rltk8139_install/lib/ -Ttarget.ld -nostdlib
/opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-e
lf/bin/ld: address 0xa2158 of a.out section .bss is not within region ram
collect2: ld returned 1 exit status

My environment is Cygwin on Windows 2000 server. I got rltk8139.tgz from 
http://ecos.sourceware.org/ml/ecos-devel/2003-07/msg00028/rltk8139.tgz. 
Does anyone have any hints on this?

Regards
Umar


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Realtek 8139 problem
  2005-03-27  6:31 [ECOS] Realtek 8139 problem Umar Said
@ 2005-03-27 18:12 ` Gary Thomas
  2005-04-02 11:09   ` [ECOS] Realtek 8139 problem -> database client support Umar Said
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2005-03-27 18:12 UTC (permalink / raw)
  To: Umar Said; +Cc: eCos Discussion

On Fri, 2005-03-25 at 19:32 +0700, Umar Said wrote:
> Hi all, 
> 
> I have successfully build library for my modified PC target/template which 
> recognizes Realtek 8139 ethernet card. But when I try to compile some net 
> test program, an error occured. This was what I did:
> 
> $ i386-elf-gcc.exe -g -I pc_rltk8139_install/include/ ping_test.c -L 
> pc_rltk8139_install/lib/ -Ttarget.ld -nostdlib
> /opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-e
> lf/bin/ld: address 0xa2158 of a.out section .bss is not within region ram
> collect2: ld returned 1 exit status
> 
> My environment is Cygwin on Windows 2000 server. I got rltk8139.tgz from 
> http://ecos.sourceware.org/ml/ecos-devel/2003-07/msg00028/rltk8139.tgz. 
> Does anyone have any hints on this?

What template and startup type are you using?  It looks like you've 
tried to use a floppy startup which only uses low RAM and will not
be able to run larger programs, e.g. those with a networking stack.

Try using the 'net' template with a normal RAM startup.  You'll have
to have some way to load it onto your PC, e.g. RedBoot or GRUB.

Hint: you might think about updating to the latest CVS.  Support for
a PC+Realtek device have been in CVS for quite a while now.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Realtek 8139 problem -> database client support
  2005-03-27 18:12 ` Gary Thomas
@ 2005-04-02 11:09   ` Umar Said
  0 siblings, 0 replies; 3+ messages in thread
From: Umar Said @ 2005-04-02 11:09 UTC (permalink / raw)
  To: Gary Thomas; +Cc: eCos Discussion


On Fri, 25 Mar 2005, Gary Thomas wrote:

> On Fri, 2005-03-25 at 19:32 +0700, Umar Said wrote:
> > Hi all, 
> > 
> > I have successfully build library for my modified PC target/template which 
> > recognizes Realtek 8139 ethernet card. But when I try to compile some net 
> > test program, an error occured. This was what I did:
> > 
> > $ i386-elf-gcc.exe -g -I pc_rltk8139_install/include/ ping_test.c -L 
> > pc_rltk8139_install/lib/ -Ttarget.ld -nostdlib
> > /opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-e
> > lf/bin/ld: address 0xa2158 of a.out section .bss is not within region ram
> > collect2: ld returned 1 exit status
> > 
> > My environment is Cygwin on Windows 2000 server. I got rltk8139.tgz from 
> > http://ecos.sourceware.org/ml/ecos-devel/2003-07/msg00028/rltk8139.tgz. 
> > Does anyone have any hints on this?
> 
> What template and startup type are you using?  It looks like you've 
> tried to use a floppy startup which only uses low RAM and will not
> be able to run larger programs, e.g. those with a networking stack.
> 
> Try using the 'net' template with a normal RAM startup.  You'll have
> to have some way to load it onto your PC, e.g. RedBoot or GRUB.
> 
> Hint: you might think about updating to the latest CVS.  Support for
> a PC+Realtek device have been in CVS for quite a while now.
> 
Thank you Gary. Yes, I used floppy startup. Sorry I forgot to mention 
that. Now I have downloaded the latest packages that include Realtek 8139 
and it works fine. How if I want to add other devices now supported by the 
latest linux kernel to eCos?

I also want to connect to a database server, e.g. MySQL/PostgreSQL. Is 
there a project developing this one?

Regards,
Umar Said


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-02 11:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-27  6:31 [ECOS] Realtek 8139 problem Umar Said
2005-03-27 18:12 ` Gary Thomas
2005-04-02 11:09   ` [ECOS] Realtek 8139 problem -> database client support Umar Said

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).