This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Realtek 8139 problem
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Umar Said <slamet at ic dot vlsi dot itb dot ac dot id>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 25 Mar 2005 06:29:17 -0700
- Subject: Re: [ECOS] Realtek 8139 problem
- Organization: MLB Associates
- References: <Pine.LNX.4.33.0503251920430.370-100000@ic.vlsi.itb.ac.id>
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