Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PowerPC, uCOS-II, GCC port

55 views
Skip to first unread message

Rick

unread,
Dec 21, 2007, 7:51:49 PM12/21/07
to

Just getting started on a new project consisting of a PowerPC 405
processor on a custom board (i.e. no BSP available, we'll have to
build one).

Operating system is Micrium MicroC/OS-II; development environment is
Eclipse on Windows XP; language is C.

Eclipse on Windows seems most happy with MinGW as a compatibility
layer with GCC; it seems less happy with Cygwin although I would
imagine it can be made to work. In any case current plans are to use
MinGW if we can.

First thing I'll need is a PPC-405 cross compiler port of GCC, that
runs under MinGW. Micrium appears not to have a PPC port of GCC at
all, in any flavor or for any platform... they told me to contact
Corelis and buy their CodeSymphony. I did that (contacted them,
didn't buy CS yet) and the information I have is that CodeSymphony is
designed for use with the Corelis JTAG controllers only, and to the
best of my knowledge and belief there are no plans to implement JTAG
in general or Corelis JTAG controllers in particular, on this board.

So, first of all, does anyone know of an available PowerPC GCC port
for MinGW? If not, can someone point me in the direction of some
literature that I can use to teach myself how to build it?

While all of this is going on, I'll have to investigate this project
further and see what plans have been made for board bring-up and BSP
(currently I'm only involved in a relatively small part of the
software on this board, not involved in the hardware at all).

Thanks...

tesla

unread,
Dec 22, 2007, 2:54:59 AM12/22/07
to

For initial board bring-up & ease of development, it is good to have a
bootloader like uboot or redboot.
They are ported to many targets I believe yo can find similar boards
yo yours.

www.denx.de has released ELDK 4.1 for Windows hosts, (complete linux
environment in Windows)
It is based on coLinux and supports (out-of-the box) AMCC PPC.
you can install target toolchain for other ppc variants also.
You need to download ELDK installation CD.
It is coming with uboot & linux kernel sources..
No Eclipse ready

http://www.macraigor.com/Eclipse/index.htm -- Cygwin based, looks
very complete..

http://www.ronetix.at/software.html -- This might be built with Mingw

good luck

MT

unread,
Dec 22, 2007, 12:50:57 PM12/22/07
to
look at www.denx.de www.openwrt.org www.openembedded.org you findt all what
you need for free.


Rick

unread,
Dec 24, 2007, 2:12:32 PM12/24/07
to
On Fri, 21 Dec 2007 23:54:59 -0800 (PST), tesla <yusuf...@gmail.com>
wrote:

>> http://www.macraigor.com/Eclipse/index.htm -- Cygwin based, looks
>> very complete..

Good afternoon, tesla.

I have downloaded everything I need from www.macraigor.com, thanks
for the pointer.

I installed the PowerPC port for GCC, which the installer put in
C:/cygwin/usr/local/bin (and ALSO put copies of it all in
C:/cygwin/usr/local for some reason, doesn't seem to matter...).

Then I tried one of Macraigor's demo projects and it worked fine.

THEN... I set up a project for the uCOS-II sources and when I went to
compile them, Eclipse took the normal GCC toolchain in
C:/cygwin/usr/bin, which of course is the x86 toolset and won't
compile PowerPC assembly code (which has been my problem all along).

I have looked everywhere I can find and can't find information on how
to change toolsets within Eclipse, and point it to the PowerPC toolset
in /usr/local/bin. I looked through all the help, googled everything
I could think of, inspected the properties and preferences for the
Macraigor's demo projects, and it's all hidden too deeply for me to
find.

I'm out of ideas... can anyone help?

0 new messages