public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] eCos synthetic on Linux 2.6 powerpc
@ 2005-08-19 14:49 Jean-Yves Avenard
  2005-08-19 15:10 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Yves Avenard @ 2005-08-19 14:49 UTC (permalink / raw)
  To: ecos-discuss

Hello

I have an Apple powerbook laptop (PowerPC G4 processor)running Fedora
Core 4. I have build all the required toolchain (both the current target
and for arm-elf)

Now the problem:
I have been trying without success to build eCos synthetic on this
machine.
I have downloaded the eCos source code from the CVS repository (either
the latest version or 2.0) and tried to compile the way you normally
compile eCos on i386. (configure/make/make install)

After running the configure script, running make will complete in about
5s (e.g. extremely (too?) fast).
Doing make install will only install usbhost in the destination path
($PREFIX/bin).

Here are the last line returned by the configure script,
configure: warning: Synthetic target ethernet support is only available
on x86 Linux hosts
configure: warning: The synthetic ethernet support cannot be built on
this platform.
updating cache ../../../../../../.././config.cache
creating ./config.status
creating Makefile


Am I missing something obvious?
What is the proper way for building ecos on a non x86 linus (I have to
admit, I've always used the binary release for using ecos on synthetic
target)

BTW, I don't see why the synthetic ethernet support can't be built on
linux-powerpc, looking at the source code there's really nothing
preventing it to be built.

Thank you for your help
Regards
Jean-Yves


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

* Re: [ECOS] eCos synthetic on Linux 2.6 powerpc
  2005-08-19 14:49 [ECOS] eCos synthetic on Linux 2.6 powerpc Jean-Yves Avenard
@ 2005-08-19 15:10 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2005-08-19 15:10 UTC (permalink / raw)
  To: Jean-Yves Avenard; +Cc: ecos-discuss

On Sat, Aug 20, 2005 at 12:48:53AM +1000, Jean-Yves Avenard wrote:
> Hello
> 
> I have an Apple powerbook laptop (PowerPC G4 processor)running Fedora
> Core 4. I have build all the required toolchain (both the current target
> and for arm-elf)
> 
> Now the problem:
> I have been trying without success to build eCos synthetic on this
> machine.
> I have downloaded the eCos source code from the CVS repository (either
> the latest version or 2.0) and tried to compile the way you normally
> compile eCos on i386. (configure/make/make install)
> 
> After running the configure script, running make will complete in about
> 5s (e.g. extremely (too?) fast).
> Doing make install will only install usbhost in the destination path
> ($PREFIX/bin).
> 
> Here are the last line returned by the configure script,
> configure: warning: Synthetic target ethernet support is only available
> on x86 Linux hosts
> configure: warning: The synthetic ethernet support cannot be built on
> this platform.
> updating cache ../../../../../../.././config.cache
> creating ./config.status
> creating Makefile
> 
> 
> Am I missing something obvious?
> What is the proper way for building ecos on a non x86 linus (I have to
> admit, I've always used the binary release for using ecos on synthetic
> target)
> 
> BTW, I don't see why the synthetic ethernet support can't be built on
> linux-powerpc, looking at the source code there's really nothing
> preventing it to be built.

I expect ecosconfig should build and run OK on ppc. As you say, the
ethernet driver and USB driver should be buildable, however at the
moment there is no point. The eCos synthetic port is going to be more
of a problem. It contains bits of x86 assembly language which is not
going to work on your PPC. So without eCos it makes no sense to build
the other tools.

To get the synthetic target working on PPC you will need to port
packages/hal/synth/i386linux

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

end of thread, other threads:[~2005-08-19 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-19 14:49 [ECOS] eCos synthetic on Linux 2.6 powerpc Jean-Yves Avenard
2005-08-19 15:10 ` Andrew Lunn

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