|
Message
From: Jeremy Bennett<jeremy.bennett@e...>
Date: Tue Aug 19 15:22:41 CEST 2008
Subject: [openrisc] Problems building rtems toolchain
On Tue, 2008-08-19 at 10:57 +0200, ailiag@o... wrote: > I want to run rtems on the or1ksim-0.2 simulator in Red Hat Enterprise. > > I have built and installed the simulator binary as described by the > opencores site (I got a config error when I tried to make the files > for or1ksim 0.1). I have also downloaded or1k gcc, binutils and newlib > files as well as the rtems source code from there. > > However, I cannot find any documentation telling me how to set up and > build all these files together. There are no readme files available > for gcc and binutils either. > > I would appreciate a step by step procedure allowing me to run a > simple Hello world project if possible, or otherwise a pointer to any > available documentation. > Thanx a bunch.
Hi Ailia,
There is an application note, describing how to build the tool chain from the sources at
http://www.embecosm.com/download.html
This uses the stable 0.2.0 build of Or1ksim, patched to fix some bugs.
To make things even easier, Rich D'Addio has a script which will automate the build for you:
http://www.opencores.org/projects.cgi/web/or1k/vmware_image/MOF_ORSOC_TCHN_v3b.sh
And to make things even easier, there is an Ubuntu virtual image for VMWare with all the tools already installed at:
http://www.opencores.org/projects.cgi/web/opencores/tmp_news4
These all describe using the tool chain to build Linux. However it will give you the tool chain, and from there you should be able to build RTEMS.
HTH,
Jeremy
-- Tel: +44 (1202) 416955 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@e... Web: www.embecosm.com
|
 |