<br><br><div class="gmail_quote">On Tue, Aug 7, 2012 at 6:20 PM, Binkowski, Cassio <span dir="ltr"><<a href="mailto:cassioiks@gmail.com" target="_blank">cassioiks@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div class="im">On Tue, Aug 7, 2012 at 4:33 PM, Joel Sherrill <span dir="ltr"><<a href="mailto:joel.sherrill@oarcorp.com" target="_blank">joel.sherrill@oarcorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div>
On 08/07/2012 02:30 PM, Binkowski, Cassio wrote:
<blockquote type="cite">Thank you Steven!
<div>I was able to get it from your tips.</div>
<div><br>
</div>
<div>Now, another doubt. I know the following won't do it for
PowerPC:</div>
<div><br>
</div>
<div>~/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</div>
<div><br>
</div>
<div>Besides using <b>qemu-system-ppc</b> and <b>-M prep</b>,
what else do I have to change to make it work?</div>
<div>I know that I'll have to change the -FDA term, but I don't
what to change it for. </div>
<div>Does anybody know this?</div>
<div><br>
</div>
</blockquote></div>
Check out rtems-testing from git. There is a directory in there
called<br>
sim-scripts which has wrappers for almost all of the simulators <br>
we know you can run RTEMS on. You are looking for "qemuppc" :)</div></blockquote></div><div>:)</div><div><br></div><div>Got it. </div><div><br></div><div>It generates and error on line 227:</div><div><br></div>
<div>
<div>227. type ${runBSP}</div><div>228. check_status $? "Path appears to be broken (cannot find ${runBSP})"</div></div><div><br></div><div>runBSP is declared in line 168:</div><div><br></div><div>168. runBSP=qemu-system-ppc</div>
<div><br></div><div>Am I missing something?</div><div>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"</div>
<div><br></div></div></blockquote><div>Put "." in your PATH or install qemu-system-ppc to a location in your PATH. The latter is a better option.<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="gmail_quote"><div></div><div>Regards</div><div><div class="h5"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
<div><div><br>
<blockquote type="cite">
<div>Thanks</div>
<div><br>
<div class="gmail_quote">On Tue, Aug 7, 2012 at 9:49 AM, Steven
Grunza <span dir="ltr"><<a href="mailto:sgrunza@ctdi.com" target="_blank">sgrunza@ctdi.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Looks
like you tried to configure within the qemu source
directory. I usually build in a separate directory.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">mkdir
b-qemu</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">cd
b-qemu</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">../qemu.git/configure
--target-list="ppc-softmmu" --prefix=/usr/local/bin</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Install
prefix /usr/local/bin</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">BIOS
directory /usr/local/bin/share/qemu</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">binary
directory /usr/local/bin/bin</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">library
directory /usr/local/bin/lib</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">include
directory /usr/local/bin/include</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">config
directory /usr/local/bin/etc</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Manual
directory /usr/local/bin/share/man</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">ELF
interp prefix /usr/gnemul/qemu-%M</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Source
path /home/grunzasr/qemu.git</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">C
compiler gcc</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Host
C compiler gcc</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">CFLAGS
-O2 -D_FORTIFY_SOURCE=2 -g </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">QEMU_CFLAGS
-fPIE -DPIE -m64 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Wstrict-prototypes -Wredundant-decls -Wall -Wundef
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Wwrite-strings
-Wmissing-prototypes -fno-strict-aliasing -Werror
-fstack-protector-all -Wendif-labels
-Wmissing-include-dirs -Wnested-externs </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Wformat-security
-Wformat-y2k -Winit-self -Wold-style-definition
-I/usr/include/libpng12 </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">LDFLAGS
-Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m64
-g </span></p>
<p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">make
make</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">install
install</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">python
python</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">smbd
/usr/sbin/smbd</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">host
CPU x86_64</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">host
big endian no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">target
list ppc-softmmu</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">tcg
debug enabled no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Mon
debug enabled no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">gprof
enabled no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">sparse
enabled no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">strip
binaries yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">profiler
no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">static
build no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Werror
enabled yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">SDL
support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">curses
support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">curl
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">mingw32
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Audio
drivers oss</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Extra
audio cards ac97 es1370 sb16 hda</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Block
whitelist </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Mixer
emulation no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">VirtFS
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">VNC
support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">VNC
TLS support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">VNC
SASL support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">VNC
JPEG support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">VNC
PNG support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">xen
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">brlapi
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">bluez
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Documentation
yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">NPTL
support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">GUEST_BASE
yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">PIE
yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">vde
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Linux
AIO support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">ATTR/XATTR
support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Install
blobs yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">KVM
support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">TCG
interpreter no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">fdt
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">preadv
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">fdatasync
yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">madvise
yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">posix_madvise
yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">uuid
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">libcap-ng
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">vhost-net
support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Trace
backend nop</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Trace
output file trace-<pid></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">spice
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">rbd
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">xfsctl
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">nss
used no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">usb
net redir no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">OpenGL
support yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">libiscsi
support no</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">build
guest agent yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">coroutine
backend ucontext</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">grunzasr@stm32dbg%
ls -FC</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">config-host.ld
config.log libdis/ libhw32/ libuser/
Makefile@ ppc-softmmu/ qdict-test-data.txt@
roms/</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">config-host.mak
libcacard/ libdis-user/ libhw64/ linux-headers/
pc-bios/ qapi-generated/ QMP/
tests/</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">grunzasr@stm32dbg%</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I
don’t know if the code will build but the “make” is
currently running…</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:rtems-users-bounces@rtems.org" target="_blank">rtems-users-bounces@rtems.org</a>
[mailto:<a href="mailto:rtems-users-bounces@rtems.org" target="_blank">rtems-users-bounces@rtems.org</a>]
<b>On Behalf Of </b>Binkowski, Cassio<br>
<b>Sent:</b> Tuesday, August 07, 2012 6:54 AM<br>
<b>To:</b> Joel Sherrill<br>
<b>Cc:</b> <a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<b>Subject:</b> Re: Simulator for MPC5200</span></p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Ok. Downloaded the tools.</p>
<div>
<p class="MsoNormal">I'm trying to build Qemu for
PowerPC now. I run the following line, as I
found in the Notes file inside QEMU directory:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">./configure
--target-list="ppc-softmmu"
--prefix=/home/rtems/qemu/install >c.log
2>&1 ; echo $?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">... and get this:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<div>
<p class="MsoNormal">head: cannot open
`/root/Desktop/rtems\'' for reading: No such
file or directory</p>
</div>
<div>
<p class="MsoNormal">head: cannot open
`Home/qemu/qemu/VERSION' for reading: No such
file or directory</p>
</div>
<div>
<p class="MsoNormal">ln: creating symbolic link
`Home/qemu/qemu/Makefile.dis': No such file or
directory</p>
</div>
<div>
<p class="MsoNormal">ln: creating symbolic link
`Home/qemu/qemu/Makefile.dis': No such file or
directory</p>
</div>
<div>
<p class="MsoNormal">ln: creating symbolic link
`Home/qemu/qemu/linux-headers/asm-x86': No
such file or directory</p>
</div>
<div>
<p class="MsoNormal">ln: creating symbolic link
`Home/qemu/qemu/Makefile.target': No such file
or directory</p>
</div>
<div>
<p class="MsoNormal">ln: creating symbolic link
`Home/qemu/qemu/Makefile.hw': No such file or
directory</p>
</div>
<div>
<p class="MsoNormal">ln: creating symbolic link
`Home/qemu/qemu/Makefile.hw': No such file or
directory</p>
</div>
<div>
<p class="MsoNormal">./configure: line 3876: [:
too many arguments</p>
</div>
<div>
<p class="MsoNormal">ln: creating symbolic link
`Home/qemu/qemu/Makefile.user': No such file
or directory</p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">
Has anyone had this before?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Best regards</p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</div></div><div><pre cols="72">--
Joel Sherrill, Ph.D. Director of Research& Development
<a href="mailto:joel.sherrill@OARcorp.com" target="_blank">joel.sherrill@OARcorp.com</a> On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available <a href="tel:%28256%29%20722-9985" value="+12567229985" target="_blank">(256) 722-9985</a>
</pre>
</div></div>
</blockquote></div></div></div><br>
<br>_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br></blockquote></div><br>