public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] configtool issue
@ 2005-06-27  1:32 Chris Hiszpanski
  2005-06-27  7:19 ` Andrew Lunn
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Hiszpanski @ 2005-06-27  1:32 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I am new to eCos. I have installed the eCos tools on Windows XP under 
Cygwin, following the install instructions presented in the documentation 
(II. Installing eCos) exactly. Moving on the part III. Programming with 
eCos, I run into problems, in particular when running configtool.

When I start configtool I see a flurry of messages. Here is a snippet of 
what I see:
...
ecos.db, package CYGPKG_DEVS_FLASH_POWERPC_TS1000: warning
    This package does not have any valid version subdirectories.
ecos.db, package CYGPKG_DEVS_ETH_POWERPC_TS1000 warning
    Version subdirectory `ts1000' does not have a CDL script 
`ts1000_eth_drivers.cdl'
...
<repeated hundreds of times for various packages>
...
Is this normal?
Where do I go from here?
The documentation does not seem that it is meant to be followed 
sequentially. It seems that I should next follow section VI. Configuration 
and the Package Repository to create an eCos build tree for my project. Is 
this true?
Following section VI, I tried ecosconfig new arm7tdmi. As expected arm7tdmi 
is not a valid target. Where are the valid targets lists?

My current goal is to get eCos and its TCP/IP stack running to a pingable 
state on my own hardware (see 
http://www.its.caltech.edu/~hiszpans/ethphone/ethphone.html for minimal 
documentation). I'm somewhat lost as how to do this. Do I need to create a 
custom ecos.ecc file for my hardware? Some pointers would be helpful and 
appreciated.

Cheers,
Chris

_________________________________________________________________
DonÂ’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


-- 
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] 8+ messages in thread

* Re: [ECOS] configtool issue
  2005-06-27  1:32 [ECOS] configtool issue Chris Hiszpanski
@ 2005-06-27  7:19 ` Andrew Lunn
  2005-06-27 22:35   ` [ECOS] MIPS issue neuwald
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Lunn @ 2005-06-27  7:19 UTC (permalink / raw)
  To: Chris Hiszpanski; +Cc: ecos-discuss

On Mon, Jun 27, 2005 at 01:32:10AM +0000, Chris Hiszpanski wrote:
> Hello,
> 
> I am new to eCos. I have installed the eCos tools on Windows XP under 
> Cygwin, following the install instructions presented in the documentation 
> (II. Installing eCos) exactly. Moving on the part III. Programming with 
> eCos, I run into problems, in particular when running configtool.
> 
> When I start configtool I see a flurry of messages. Here is a snippet of 
> what I see:
> ...
> ecos.db, package CYGPKG_DEVS_FLASH_POWERPC_TS1000: warning
>    This package does not have any valid version subdirectories.
> ecos.db, package CYGPKG_DEVS_ETH_POWERPC_TS1000 warning
>    Version subdirectory `ts1000' does not have a CDL script 
> `ts1000_eth_drivers.cdl'
> ...
> <repeated hundreds of times for various packages>
> ...
> Is this normal?

Sort of. Its a bug which appears with recent cygwin packages. See

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000095

You can get an updated version of configtool from 

http://www.ecoscentric.com/devzone/configtool.shtml

> Following section VI, I tried ecosconfig new arm7tdmi. As expected arm7tdmi 
> is not a valid target. Where are the valid targets lists?

ecos.db in the packages target. arm7tdmi is a processor not a
target. eCos targets are real boards, not processors, since a target
is much more than just the processor.

> My current goal is to get eCos and its TCP/IP stack running to a pingable 
> state on my own hardware (see 
> http://www.its.caltech.edu/~hiszpans/ethphone/ethphone.html for minimal 
> documentation). I'm somewhat lost as how to do this. Do I need to create a 
> custom ecos.ecc file for my hardware? Some pointers would be helpful and 
> appreciated.

You need to compare your hardware with the other ARM targets and
decide which is the closet. You then need to use that as a starting
point for your port. There is information about porting eCos in

http://ecos.sourceware.org/docs-latest/ref/hal-porting-guide.html

And the book "Embedded Software Development with eCos"

        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

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

* [ECOS] MIPS issue
  2005-06-27  7:19 ` Andrew Lunn
@ 2005-06-27 22:35   ` neuwald
  2005-06-28  2:48     ` [ECOS] GDB install error neuwald
  2005-06-28 13:49     ` [ECOS] MIPS neuwald
  0 siblings, 2 replies; 8+ messages in thread
From: neuwald @ 2005-06-27 22:35 UTC (permalink / raw)
  To: ecos-discuss

Hello,


Hi all,

I would like to build an application to perform on MIPS simulator. I read the
"Embedded Software Development with eCos" and online documentation. Isn't
possible for me to use redboot because I don't have floppy disk, how is showed
in the examples of book.
Is it possible to build and run a simple "Hello wolrd" to run on MIPS 
simulator
without to use redboot?

Regards,
Evandro


-- 
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] 8+ messages in thread

* [ECOS] GDB install error
  2005-06-27 22:35   ` [ECOS] MIPS issue neuwald
@ 2005-06-28  2:48     ` neuwald
  2005-06-28 13:08       ` [ECOS] GDB error neuwald
  2005-06-28 13:49     ` [ECOS] MIPS neuwald
  1 sibling, 1 reply; 8+ messages in thread
From: neuwald @ 2005-06-28  2:48 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I want install gdb-6.3 for mips-tx39-elf target, but when I used the make
utility:

make -w all install CC='gcc -mwin32' 2>&1 | tee make.out

I got the followin error:

gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2  -I. 
-I/src/gdb/gdb-6.3/libiberty/../inclu
de  -W -Wall -Wtraditional -pedantic 
/src/gdb/gdb-6.3/libiberty/lrealpath.c -o l
realpath.o
/src/gdb/gdb-6.3/libiberty/lrealpath.c: In function `lrealpath':
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: `MAX_PATH' 
undeclared (first
use in this function)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: (Each undeclared 
identifier i
s reported only once
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: for each function it 
appears
in.)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: `DWORD' undeclared 
(first use
in this function)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: parse error before "len"
/src/gdb/gdb-6.3/libiberty/lrealpath.c:143: error: `len' undeclared 
(first use i
n this function)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:150: warning: implicit 
declaration of fun
ction `CharLowerBuff'
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: warning: unused variable `buf'
/src/gdb/gdb-6.3/libiberty/lrealpath.c:141: warning: unused variable 
`basename'
make[1]: *** [lrealpath.o] Error 1
make[1]: Leaving directory `/tmp/build/gdb/libiberty'
make: *** [all-libiberty] Error 2
make: Leaving directory `/tmp/build/gdb'

Can anybody help me to solve this error??

Evandro




-- 
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] 8+ messages in thread

* [ECOS] GDB error
  2005-06-28  2:48     ` [ECOS] GDB install error neuwald
@ 2005-06-28 13:08       ` neuwald
  2005-06-28 13:30         ` Andrew Lunn
  2005-06-29 15:55         ` Bart Veer
  0 siblings, 2 replies; 8+ messages in thread
From: neuwald @ 2005-06-28 13:08 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I want install gdb-6.3 for mips-tx39-elf target, but when I used the comand
make:

make -w all install CC='gcc -mwin32' 2>&1 | tee make.out

I got the followin error:

gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2  -I. 
-I/src/gdb/gdb-6.3/libiberty/../inclu
de  -W -Wall -Wtraditional -pedantic 
/src/gdb/gdb-6.3/libiberty/lrealpath.c -o l
realpath.o
/src/gdb/gdb-6.3/libiberty/lrealpath.c: In function `lrealpath':
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: `MAX_PATH' 
undeclared (first
use in this function)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: (Each undeclared 
identifier i
s reported only once
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: for each function it 
appears
in.)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: `DWORD' undeclared 
(first use
in this function)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: parse error before "len"
/src/gdb/gdb-6.3/libiberty/lrealpath.c:143: error: `len' undeclared 
(first use i
n this function)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:150: warning: implicit 
declaration of fun
ction `CharLowerBuff'
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: warning: unused variable `buf'
/src/gdb/gdb-6.3/libiberty/lrealpath.c:141: warning: unused variable 
`basename'
make[1]: *** [lrealpath.o] Error 1
make[1]: Leaving directory `/tmp/build/gdb/libiberty'
make: *** [all-libiberty] Error 2
make: Leaving directory `/tmp/build/gdb'

Can anybody help me to solve this error??

Evandro



-- 
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] 8+ messages in thread

* Re: [ECOS] GDB error
  2005-06-28 13:08       ` [ECOS] GDB error neuwald
@ 2005-06-28 13:30         ` Andrew Lunn
  2005-06-29 15:55         ` Bart Veer
  1 sibling, 0 replies; 8+ messages in thread
From: Andrew Lunn @ 2005-06-28 13:30 UTC (permalink / raw)
  To: neuwald; +Cc: ecos-discuss

On Tue, Jun 28, 2005 at 10:07:59AM -0300, neuwald@inf.ufsc.br wrote:
> Hello,
> 
> I want install gdb-6.3 for mips-tx39-elf target, but when I used the comand
> make:
> 
> make -w all install CC='gcc -mwin32' 2>&1 | tee make.out
> 
> I got the followin error:
> 
> gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2  -I. 
> -I/src/gdb/gdb-6.3/libiberty/../inclu
> de  -W -Wall -Wtraditional -pedantic 
> /src/gdb/gdb-6.3/libiberty/lrealpath.c -o l
> realpath.o
> /src/gdb/gdb-6.3/libiberty/lrealpath.c: In function `lrealpath':
> /src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: `MAX_PATH' 
> undeclared (first
> use in this function)
> /src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: (Each undeclared 
> identifier i
> s reported only once
> /src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: for each function it 
> appears
> in.)
> /src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: `DWORD' undeclared 
> (first use
> in this function)
> /src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: parse error before "len"
> /src/gdb/gdb-6.3/libiberty/lrealpath.c:143: error: `len' undeclared 
> (first use i
> n this function)
> /src/gdb/gdb-6.3/libiberty/lrealpath.c:150: warning: implicit 
> declaration of fun
> ction `CharLowerBuff'
> /src/gdb/gdb-6.3/libiberty/lrealpath.c:140: warning: unused variable `buf'
> /src/gdb/gdb-6.3/libiberty/lrealpath.c:141: warning: unused variable 
> `basename'
> make[1]: *** [lrealpath.o] Error 1
> make[1]: Leaving directory `/tmp/build/gdb/libiberty'
> make: *** [all-libiberty] Error 2
> make: Leaving directory `/tmp/build/gdb'
> 
> Can anybody help me to solve this error??

Probably, if you ask on the gdb mailling list.

        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

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

* [ECOS] MIPS
  2005-06-27 22:35   ` [ECOS] MIPS issue neuwald
  2005-06-28  2:48     ` [ECOS] GDB install error neuwald
@ 2005-06-28 13:49     ` neuwald
  1 sibling, 0 replies; 8+ messages in thread
From: neuwald @ 2005-06-28 13:49 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

> I would like to build an application to perform on MIPS simulator. I saw the
> "Embedded Software Development with eCos" and online documentation. Isn't
> possible for me to use redboot because I don't have floppy disk, how 
> is showed in the examples of book.
> Is it possible to build and run a simple application to MIPS 
> simulator without to use redboot?
>
> Regards,
> Evandro



-- 
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] 8+ messages in thread

* Re: [ECOS] GDB error
  2005-06-28 13:08       ` [ECOS] GDB error neuwald
  2005-06-28 13:30         ` Andrew Lunn
@ 2005-06-29 15:55         ` Bart Veer
  1 sibling, 0 replies; 8+ messages in thread
From: Bart Veer @ 2005-06-29 15:55 UTC (permalink / raw)
  To: neuwald; +Cc: ecos-discuss

>>>>> "Evandro" == neuwald  <neuwald@inf.ufsc.br> writes:

    Evandro> Hello,

    Evandro> I want install gdb-6.3 for mips-tx39-elf target, but when
    Evandro> I used the comand make:

    <snip>

Please do not post the same message twice. There are many reasons why
you might not get a quick response to a question. Maybe nobody knows
the answer, or the people who do know the answer are currently busy
doing other things. People do not get paid for answering questions on
ecos-discuss, it is a volunteer thing. If you are worried about the
unlikely event of the mailing list software dropping a posting, you
can check the archives at http://ecos.sourceware.org/ml/ecos-discuss/

When it comes to toolchain issues like this ecos-discuss is not
normally the appropriate forum. Instead you should ask on a gdb
mailing list, see http://sourceware.org/gdb/

The MIPS TX39 toolchain support is fairly old. I am not sure it gets
much use or testing these days, so the code may have suffered from
bitrot. One possibility is to try an older version, say 5.1, although
then there is a risk that the code no longer builds because of
host-side changes - especially under Windows. 

These days are alternatives to simulators, e.g. the synthetic target
for Linux users (make sure to use anoncvs eCos rather than 2.0), or
the PC target using some old PC hardware that is lying around.

Bart

-- 
Bart Veer                       eCos Configuration Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


-- 
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] 8+ messages in thread

end of thread, other threads:[~2005-06-29 15:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-27  1:32 [ECOS] configtool issue Chris Hiszpanski
2005-06-27  7:19 ` Andrew Lunn
2005-06-27 22:35   ` [ECOS] MIPS issue neuwald
2005-06-28  2:48     ` [ECOS] GDB install error neuwald
2005-06-28 13:08       ` [ECOS] GDB error neuwald
2005-06-28 13:30         ` Andrew Lunn
2005-06-29 15:55         ` Bart Veer
2005-06-28 13:49     ` [ECOS] MIPS neuwald

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