public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: Default Network Interface Card support in examples of book   Anthony J. Massa - "eCos S/W dev"
@ 2009-04-04 15:05 Nodir Qodirov
  2009-04-04 15:58 ` John Dallaway
  0 siblings, 1 reply; 3+ messages in thread
From: Nodir Qodirov @ 2009-04-04 15:05 UTC (permalink / raw)
  To: ecos-discuss

>> -------------------------------->
>> make[1]: *** [src/hal_misc.o.d] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>> cc1.exe: Invalid option `-finline-limit=7000'

> It looks like you need to upgrade your compiler. It does not recognize
> this compiler option, which is should do. So i guess you have an old
> version of the compiler.
>      Andrew

Dear Andrew, first of all thanks for advice!

I updated all of my development tools with latest available ones
(binutils-2.19.1. insight-6.8. gcc-4.3.3.) and with latest eCos
repository too. I tried again and again 3 times (2 times at one
desktop, 1 time on fresh OS system, which hadn't any eCos development
tools before). I mean, I checked each step in details, but I couldn't
build RedBoot (with "i386 PC target with RTL8139 ethernet" template
and "redboot_FLOPPY.ecm" minimal configuration). I changed only
"Redboot Networking" package, setting options "Default IP address" to
"192.168.0.10" and "enabling" checkbox "Do not try to use BOOTP" as
says book  Anthony J. Massa - "eCos S/W dev". When I try to build
RedBoot I'm getting same error message (at all 3 cases) which is:

---------------------------------------------------------------------------------------------------------------->
make: Entering directory `/ecos-d/workdir/redboot_realtek/redboot_build'
make -r -C hal/i386/arch/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make -r -C hal/i386/generic/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/generic/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/generic/current'
make -r -C hal/i386/pc/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pc/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pc/current'
make -r -C hal/i386/pcmb/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pcmb/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pcmb/current'
make -r -C io/pci/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/pci/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/pci/current'
make -r -C devs/eth/rltk/8139/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/rltk/8139/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/rltk/8139/current'
make -r -C devs/eth/i386/pc/rltk8139/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/i386/pc/rltk8139/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/i386/pc/rltk8139/current'
make -r -C hal/common/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make -r -C infra/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/infra/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/infra/current'
make -r -C redboot/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make -r -C isoinfra/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/isoinfra/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/isoinfra/current'
make -r -C language/c/libc/string/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/language/c/libc/string/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/language/c/libc/string/current'
make -r -C services/crc/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/services/crc/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/services/crc/current'
make -r -C io/eth/current headers
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/eth/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/eth/current'
headers finished
make -r -C hal/i386/arch/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make -r -C hal/i386/generic/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/generic/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/generic/current'
make -r -C hal/i386/pc/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pc/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pc/current'
make -r -C hal/i386/pcmb/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pcmb/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/pcmb/current'
make -r -C io/pci/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/pci/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/pci/current'
make -r -C devs/eth/rltk/8139/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/rltk/8139/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/rltk/8139/current'
make -r -C devs/eth/i386/pc/rltk8139/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/i386/pc/rltk8139/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/devs/eth/i386/pc/rltk8139/current'
make -r -C hal/common/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make -r -C infra/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/infra/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/infra/current'
make -r -C redboot/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make -r -C isoinfra/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/isoinfra/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/isoinfra/current'
make -r -C language/c/libc/string/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/language/c/libc/string/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/language/c/libc/string/current'
make -r -C services/crc/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/services/crc/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/services/crc/current'
make -r -C io/eth/current build
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/eth/current'
make[1]: Nothing to be done for `build'.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/io/eth/current'
make -r -C hal/common/current
/ecos-d/workdir/redboot_realtek/redboot_install/lib/extras.o
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make[1]: `/ecos-d/workdir/redboot_realtek/redboot_install/lib/extras.o'
is up to date.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/common/current'
make -r -C hal/i386/arch/current
/ecos-d/workdir/redboot_realtek/redboot_install/lib/vectors.o
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make[1]: `/ecos-d/workdir/redboot_realtek/redboot_install/lib/vectors.o'
is up to date.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make -r -C hal/i386/arch/current
/ecos-d/workdir/redboot_realtek/redboot_install/lib/target.ld
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make[1]: `/ecos-d/workdir/redboot_realtek/redboot_install/lib/target.ld'
is up to date.
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/hal/i386/arch/current'
make -r -C redboot/current
/ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf
make[1]: Entering directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
i386-elf-gcc -c
-I/ecos-d/workdir/redboot_realtek/redboot_install/include
-I/ecos-d/ecos/packages/redboot/current
-I/ecos-d/ecos/packages/redboot/current/src
-I/ecos-d/ecos/packages/redboot/current/tests -I. -finline-limit=7000
-Wall -Wpointer-arith -Wstrict-prototypes -Wundef  -Wno-write-strings
-g -O2 -ffunction-sections -fdata-sections  -fno-exceptions -o
/ecos-d/workdir/redboot_realtek/redboot_install/lib/version.o
/ecos-d/ecos/packages/redboot/current/src/version.c
i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static
-L/ecos-d/workdir/redboot_realtek/redboot_install/lib -Ttarget.ld -o
/ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf
/ecos-d/workdir/redboot_realtek/redboot_install/lib/version.o
/tools/H-I686~1/bin/../lib/gcc/i386-elf/4.3.3/../../../../../H-i686-pc-cygwin/i386-elf/bin/ld:
cannot find libgcc.a
collect2: ld returned 1 exit status
make[1]: *** [/ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf]
Error 1
make[1]: Leaving directory
`/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
make: *** [build] Error 2
make: Leaving directory `/ecos-d/workdir/redboot_realtek/redboot_build'

<----------------------------------------------------------------------------------------------------------------

eCos Configuration Tool gives me this error after building 89% of
RedBoot. Maybe I'm doing some small configuration error, if somebody
could build RedBoot for PC target with "Realtek RTL8139 Family PCI
Fast Ethernet NIC" successfully, please give some light...

Thanking for any help,
Nodir.

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

* [ECOS] Re: Default Network Interface Card support in examples of book    Anthony J. Massa - "eCos S/W dev"
  2009-04-04 15:05 [ECOS] Re: Default Network Interface Card support in examples of book Anthony J. Massa - "eCos S/W dev" Nodir Qodirov
@ 2009-04-04 15:58 ` John Dallaway
  2009-04-04 16:11   ` Nodir Qodirov
  0 siblings, 1 reply; 3+ messages in thread
From: John Dallaway @ 2009-04-04 15:58 UTC (permalink / raw)
  To: Nodir Qodirov; +Cc: ecos-discuss

Hi Nodir

Nodir Qodirov wrote:

>>> -------------------------------->
>>> make[1]: *** [src/hal_misc.o.d] Error 1
>>> make[1]: *** Waiting for unfinished jobs....
>>> cc1.exe: Invalid option `-finline-limit=7000'
> 
>> It looks like you need to upgrade your compiler. It does not recognize
>> this compiler option, which is should do. So i guess you have an old
>> version of the compiler.
>>      Andrew
> 
> Dear Andrew, first of all thanks for advice!
> 
> I updated all of my development tools with latest available ones
> (binutils-2.19.1. insight-6.8. gcc-4.3.3.) and with latest eCos
> repository too. I tried again and again 3 times (2 times at one

[ snip ]

> i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static
> -L/ecos-d/workdir/redboot_realtek/redboot_install/lib -Ttarget.ld -o
> /ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf
> /ecos-d/workdir/redboot_realtek/redboot_install/lib/version.o
> /tools/H-I686~1/bin/../lib/gcc/i386-elf/4.3.3/../../../../../H-i686-pc-cygwin/i386-elf/bin/ld:
> cannot find libgcc.a
> collect2: ld returned 1 exit status
> make[1]: *** [/ecos-d/workdir/redboot_realtek/redboot_install/bin/redboot.elf]
> Error 1
> make[1]: Leaving directory
> `/ecos-d/workdir/redboot_realtek/redboot_build/redboot/current'
> make: *** [build] Error 2
> make: Leaving directory `/ecos-d/workdir/redboot_realtek/redboot_build'

I suggest you verify correct linking with the latest pre-built
Cygwin-hosted eCos i386-elf toolchain. It can be downloaded at:

ftp://ecos.sourceware.org/pub/ecos/gnutools/cygwin/ecoscentric-gnutools-i386-elf-20081107-sw.cygwin.tar.bz2

or at the equivalent location on your local sourceware.org mirror site.

John Dallaway

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

* [ECOS] Re: Default Network Interface Card support in examples of book   Anthony J. Massa - "eCos S/W dev"
  2009-04-04 15:58 ` John Dallaway
@ 2009-04-04 16:11   ` Nodir Qodirov
  0 siblings, 0 replies; 3+ messages in thread
From: Nodir Qodirov @ 2009-04-04 16:11 UTC (permalink / raw)
  To: John Dallaway; +Cc: ecos-discuss

> I suggest you verify correct linking with the latest pre-built
> Cygwin-hosted eCos i386-elf toolchain. It can be downloaded at:
>
> ftp://ecos.sourceware.org/pub/ecos/gnutools/cygwin/ecoscentric-gnutools-i386-elf-20081107-sw.cygwin.tar.bz2
>
> or at the equivalent location on your local sourceware.org mirror site.
>
> John Dallaway
>

Thank you so much John!

Using your cross development tools I could easily build RedBoot for
RealTek! Now when I boot target PC from FLOPPY I'm getting:

Ethernet eth0: MAC address 00:02:2a:dd:96:4e

IP: 192.168.0.10/255.255.255.0, Gateway: 0.0.0.0
Default server: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [FLOPPY]
Non-certified release, version UNKNOWN - built 00:29:34, Apr  5 2009

Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
RedBoot is free software, covered by the eCos license, derived from the
GNU General Public License. You are welcome to change it and/or distribute
copies of it under certain conditions. Under the license terms, RedBoot's
source code and full license terms must have been made available to you.
Redboot comes with ABSOLUTELY NO WARRANTY.

Platform: PC (I386)
RAM: 0x00000000-0x000a0000 [0x0008de70-0x000a0000 available]
RedBoot>

All is working fine!!!

-- 
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:[~2009-04-04 15:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-04 15:05 [ECOS] Re: Default Network Interface Card support in examples of book Anthony J. Massa - "eCos S/W dev" Nodir Qodirov
2009-04-04 15:58 ` John Dallaway
2009-04-04 16:11   ` Nodir Qodirov

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