Simulator for MPC5200

Steven Grunza sgrunza at ctdi.com
Wed Aug 8 14:52:40 UTC 2012


Perhaps also add a reminder that it's ok to trim the extra stuff at the
end of a much-replied to message that isn't necessary, such as the
output of the configure command I had posted...

 

------------------------------------------------------------------------
---------------------------

 

Steven Grunza

Products Engineer

 

 

CTDI | Products Division

1373 Enterprise Dr.

West Chester, PA 19380
phone: 610-793-8527
e-mail: sgrunza at ctdi.com <mailto:jhomsey at ctdi.com%7C>  

 

A: Because it messes up the order in which people normally read text.

Q: Why is top-posting such a bad thing?

A: Top-posting.

Q: What is the most annoying thing in e-mail?

 

From: rtems-users-bounces at rtems.org
[mailto:rtems-users-bounces at rtems.org] On Behalf Of Joel Sherrill
Sent: Wednesday, August 08, 2012 9:56 AM
To: Gedare Bloom
Cc: rtems-users at rtems.org
Subject: Re: Simulator for MPC5200

 

FYI I just bumped the maximum message size for this list.
My response was over the old limit. :)

On 08/08/2012 08:19 AM, Gedare Bloom wrote: 

 

On Tue, Aug 7, 2012 at 8:09 PM, Gedare Bloom <gedare at rtems.org> wrote:

 

On Tue, Aug 7, 2012 at 6:20 PM, Binkowski, Cassio <cassioiks at gmail.com>
wrote:

 

On Tue, Aug 7, 2012 at 4:33 PM, Joel Sherrill <
joel.sherrill at oarcorp.com> wrote:

On 08/07/2012 02:30 PM, Binkowski, Cassio wrote: 

Thank you Steven! 

I was able to get it from your tips.

 

Now, another doubt. I know the following won't do it for PowerPC:

 

~/qemu/install/bin/qemu-system-i386 -M pc -m 128     -boot a -fda
/home/rtems/qemu/pc386_fda -hda fat:/home/rtems/qemu/hd/ -serial stdio
--no-reboot

 

Besides using qemu-system-ppc and -M prep, what else do I have to change
to make it work?

I know that I'll have to change the -FDA term, but I don't what to
change it for. 

Does anybody know this?

 

Check out rtems-testing from git. There is a directory in there called
sim-scripts which has wrappers for almost all of the simulators 
we know you can run RTEMS on. You are looking for "qemuppc" :)

:)

 

Got it. 

 

It generates and error on line 227:

 

227. type ${runBSP}

228. check_status $? "Path appears to be broken (cannot find ${runBSP})"

 

runBSP is declared in line 168:

 

168. runBSP=qemu-system-ppc

 

Am I missing something?

P.S: The file "qemu-system-ppc" is in the same directory level as the
script and I'm passing the following parameters "./qemuppc -i test.exe"

 

Put "." in your PATH or install qemu-system-ppc to a location in your
PATH. The latter is a better option.
 

I should add that putting "." in your PATH is a security risk. It is
much better to install the binary to the appropriate location (which
most likely is /usr/local/bin and already in your PATH).

-Gedare
 

		Regards

		 

			
			
			

			Thanks

			 

			On Tue, Aug 7, 2012 at 9:49 AM, Steven Grunza <
sgrunza at ctdi.com> wrote:

			Looks like you tried to configure within the
qemu source directory.  I usually build in a separate directory.

			 

			mkdir b-qemu

			cd b-qemu

			 [snip]

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120808/9165a8c0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1722 bytes
Desc: image001.jpg
URL: <http://lists.rtems.org/pipermail/users/attachments/20120808/9165a8c0/attachment-0001.jpg>


More information about the users mailing list