public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Porting to H8S
@ 2001-03-08  3:52 hansi hansi
  2001-03-08  4:34 ` Christian Plessl
  0 siblings, 1 reply; 8+ messages in thread
From: hansi hansi @ 2001-03-08  3:52 UTC (permalink / raw)
  To: ecos-discuss

I don't know if anyone can help me. I have searched already into the 
ecos-discus list for an porting of H8 to ecos and I have found only very old 
messages.
Can anyone say me if it is a possible to port (compiler and so on) eCos to 
an H8S?
Thanks for any hint!
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

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

* Re: [ECOS] Porting to H8S
  2001-03-08  3:52 [ECOS] Porting to H8S hansi hansi
@ 2001-03-08  4:34 ` Christian Plessl
  0 siblings, 0 replies; 8+ messages in thread
From: Christian Plessl @ 2001-03-08  4:34 UTC (permalink / raw)
  To: hansi hansi, ecos-discuss

>I don't know if anyone can help me. I have searched already into the 
>ecos-discus list for an porting of H8 to ecos and I have found only very 
>old messages.
>Can anyone say me if it is a possible to port (compiler and so on) eCos to 
>an H8S?

Hitachi H8 is a 16bit uC as far as I know. Altough it seems that gcc 
supports H8, I suppose you will get into trouble if porting a 32bit 
operating system as eCos, if you dont have really good knowledge about 
porting an OS.

/Chris


--
Christian Plessl <cplessl@ee.ethz.ch>

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

* Re: [ECOS] Porting to H8S
@ 2001-03-09  6:01 hansi hansi
  0 siblings, 0 replies; 8+ messages in thread
From: hansi hansi @ 2001-03-09  6:01 UTC (permalink / raw)
  To: bartv; +Cc: ecos-discuss

Thanks a lot


>From: Bart Veer <bartv@redhat.com>
>Reply-To: bartv@redhat.com
>To: hansi86@hotmail.com
>CC: ecos-discuss@sources.redhat.com
>Subject: Re: [ECOS] Porting to H8S
>Date: Fri, 9 Mar 2001 12:42:22 GMT
>
> >>>>> "Hansi" == hansi hansi <hansi86@hotmail.com> writes:
>
>     >> > Another thing that I saw is that the GNUPro tools not supports
>     >> > ELF with the H8. Is this a problem?
>     >>
>     >> That is likely to be a problem. Some of the compiler/linker
>     >> functionality that eCos uses, e.g. constructor priority
>     >> ordering, are relatively easy when using ELF image format but
>     >> not with older formats.
>
>     Hansi> Is the problem for a to old implementation of the compiler
>     Hansi> or is the problem inside the COFF format. Do you think that
>     Hansi> there is a way to make an port to the H8S?
>
>The problem is with COFF format. Things like constructor priority
>ordering and linker garbage collection are implemented using large
>numbers of linker sections. Older image formats like a.out and COFF
>limit the number of linker sections you can have, ELF does not. To
>port eCos to the H8 it would probably be easiest to implement ELF
>support in the compiler and binutils first, rather than try to modify
>eCos to work around tool limitations. For more information on what
>might be involved, see the binutils and gcc projects on
>sources.redhat.com.
>
>Bart

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

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

* Re: [ECOS] Porting to H8S
  2001-03-08 23:34 hansi hansi
@ 2001-03-09  4:42 ` Bart Veer
  0 siblings, 0 replies; 8+ messages in thread
From: Bart Veer @ 2001-03-09  4:42 UTC (permalink / raw)
  To: hansi86; +Cc: ecos-discuss

>>>>> "Hansi" == hansi hansi <hansi86@hotmail.com> writes:

    >> > Another thing that I saw is that the GNUPro tools not supports
    >> > ELF with the H8. Is this a problem?
    >> 
    >> That is likely to be a problem. Some of the compiler/linker
    >> functionality that eCos uses, e.g. constructor priority
    >> ordering, are relatively easy when using ELF image format but
    >> not with older formats.

    Hansi> Is the problem for a to old implementation of the compiler
    Hansi> or is the problem inside the COFF format. Do you think that
    Hansi> there is a way to make an port to the H8S?

The problem is with COFF format. Things like constructor priority
ordering and linker garbage collection are implemented using large
numbers of linker sections. Older image formats like a.out and COFF
limit the number of linker sections you can have, ELF does not. To
port eCos to the H8 it would probably be easiest to implement ELF
support in the compiler and binutils first, rather than try to modify
eCos to work around tool limitations. For more information on what
might be involved, see the binutils and gcc projects on
sources.redhat.com.

Bart

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

* Re: [ECOS] Porting to H8S
@ 2001-03-08 23:34 hansi hansi
  2001-03-09  4:42 ` Bart Veer
  0 siblings, 1 reply; 8+ messages in thread
From: hansi hansi @ 2001-03-08 23:34 UTC (permalink / raw)
  To: bartv; +Cc: ecos-discuss

>From: Bart Veer <bartv@redhat.com>
>Reply-To: bartv@redhat.com
>To: hansi86@hotmail.com
>CC: ecos-discuss@sources.redhat.com
>Subject: Re: [ECOS] Porting to H8S
>Date: Thu, 8 Mar 2001 17:24:24 GMT
>
> >>>>> " " == hansi hansi <hansi86@hotmail.com> writes:
>
>      > I have in mind that eCos is designed for 16, 32 and 64bit CPUs,
>      > isn't it?
>
>Correct, although to date it has only really been ported to 32-bit
>CPUs. There is no fundamental reason why eCos could not be ported to
>64-bit platforms, but obviously there may well be problems lurking
>here and there. To date nobody has contributed patches related to
>64-bit support or paid for Red Hat to do the relevant work.
>
>Similarly it should be possible to run eCos on at least some 16-bit
>CPUs, although that term is rather more ambiguous than 32-bit or
>64-bit.
>
>      > I'm sure that the work would not be easy.
>      > Another thing that I saw is that the GNUPro tools not supports
>      > ELF with the H8. Is this a problem?
>
>That is likely to be a problem. Some of the compiler/linker
>functionality that eCos uses, e.g. constructor priority ordering, are
>relatively easy when using ELF image format but not with older
>formats.
>
>Bart

Is the problem for a to old implementation of the compiler or is the problem 
inside the COFF format. Do you think that there is a way to make an port to 
the H8S?

Thanks
Hansi

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

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

* Re: [ECOS] Porting to H8S
  2001-03-08  5:28 hansi hansi
  2001-03-08  7:39 ` Christian Plessl
@ 2001-03-08  9:24 ` Bart Veer
  1 sibling, 0 replies; 8+ messages in thread
From: Bart Veer @ 2001-03-08  9:24 UTC (permalink / raw)
  To: hansi86; +Cc: ecos-discuss

>>>>> " " == hansi hansi <hansi86@hotmail.com> writes:

     > I have in mind that eCos is designed for 16, 32 and 64bit CPUs,
     > isn't it?

Correct, although to date it has only really been ported to 32-bit
CPUs. There is no fundamental reason why eCos could not be ported to
64-bit platforms, but obviously there may well be problems lurking
here and there. To date nobody has contributed patches related to
64-bit support or paid for Red Hat to do the relevant work.

Similarly it should be possible to run eCos on at least some 16-bit
CPUs, although that term is rather more ambiguous than 32-bit or
64-bit.

     > I'm sure that the work would not be easy.
     > Another thing that I saw is that the GNUPro tools not supports
     > ELF with the H8. Is this a problem?

That is likely to be a problem. Some of the compiler/linker
functionality that eCos uses, e.g. constructor priority ordering, are
relatively easy when using ELF image format but not with older
formats.

Bart

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

* Re: [ECOS] Porting to H8S
  2001-03-08  5:28 hansi hansi
@ 2001-03-08  7:39 ` Christian Plessl
  2001-03-08  9:24 ` Bart Veer
  1 sibling, 0 replies; 8+ messages in thread
From: Christian Plessl @ 2001-03-08  7:39 UTC (permalink / raw)
  To: hansi hansi, ecos-discuss

Hi Hansi

>I have in mind that eCos is designed for 16, 32 and 64bit CPUs, isn't it?

As far as I know your not right. eCos is running some 64bit CPUs but these 
CPUs are running in 32bit mode, I don't know if anybody did a port to real 
64bit. But this should be much easier, than the other way round, going from 
32 to 16 bit.

>I'm sure that the work would not be easy.
>Another thing that I saw is that the GNUPro tools not supports ELF with 
>the H8. Is this a problem?

I don't know if ELF is required for eCos. Maybe you should search the list 
archives.

/Chris


--
Christian Plessl <cplessl@ee.ethz.ch>


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

* Re: [ECOS] Porting to H8S
@ 2001-03-08  5:28 hansi hansi
  2001-03-08  7:39 ` Christian Plessl
  2001-03-08  9:24 ` Bart Veer
  0 siblings, 2 replies; 8+ messages in thread
From: hansi hansi @ 2001-03-08  5:28 UTC (permalink / raw)
  To: cplessl, ecos-discuss

I have in mind that eCos is designed for 16, 32 and 64bit CPUs, isn't it?
I'm sure that the work would not be easy.
Another thing that I saw is that the GNUPro tools not supports ELF with the 
H8. Is this a problem?

Thanks!


>
>>I don't know if anyone can help me. I have searched already into the
>>ecos-discus list for an porting of H8 to ecos and I have found only very
>>old messages.
>>Can anyone say me if it is a possible to port (compiler and so on) eCos to
>>an H8S?
>
>Hitachi H8 is a 16bit uC as far as I know. Altough it seems that gcc
>supports H8, I suppose you will get into trouble if porting a 32bit
>operating system as eCos, if you dont have really good knowledge about
>porting an OS.
>
>/Chris
>
>
>--
>Christian Plessl <cplessl@ee.ethz.ch>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

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

end of thread, other threads:[~2001-03-09  6:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-08  3:52 [ECOS] Porting to H8S hansi hansi
2001-03-08  4:34 ` Christian Plessl
2001-03-08  5:28 hansi hansi
2001-03-08  7:39 ` Christian Plessl
2001-03-08  9:24 ` Bart Veer
2001-03-08 23:34 hansi hansi
2001-03-09  4:42 ` Bart Veer
2001-03-09  6:01 hansi hansi

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