From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2380 invoked by alias); 25 Mar 2005 13:29:31 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 2285 invoked from network); 25 Mar 2005 13:29:23 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (206.168.96.204) by sourceware.org with SMTP; 25 Mar 2005 13:29:23 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 9A2D1100087; Fri, 25 Mar 2005 06:29:21 -0700 (MST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 1CDB010007A; Fri, 25 Mar 2005 06:29:19 -0700 (MST) From: Gary Thomas To: Umar Said Cc: eCos Discussion In-Reply-To: References: Content-Type: text/plain Organization: MLB Associates Date: Sun, 27 Mar 2005 18:12:00 -0000 Message-Id: <1111757358.29791.221.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=2.5 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.0 Subject: Re: [ECOS] Realtek 8139 problem X-SW-Source: 2005-03/txt/msg00246.txt.bz2 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