Difference between revisions of "HOWTO-Debug-Endian-Issues"

Jump to navigation Jump to search
Use es1370 for the soundhw parameter, and add the two different options
(Final draft of HOWTO Debug Endian Issues)
(Use es1370 for the soundhw parameter, and add the two different options)
(One intermediate revision by the same user not shown)
Line 32: Line 32:
  START qemu-system-ppcw.exe ^
  START qemu-system-ppcw.exe ^
  -name debianPPC ^
  -name debianPPC ^
  -L Bios -vga std -soundhw ac97 ^
  -L Bios -vga std -soundhw es1370 ^
  -m 512M ^
  -m 512M ^
  -boot menu=on,splash=./bootsplash.bmp,splash-time=3000 ^
  -boot menu=on,splash=./bootsplash.bmp,splash-time=3000 ^
Line 42: Line 42:
   
   
  pause
  pause
<br>
Note that for the '''soundhw''' parameter, some valid options are es1370 and ac97. Choose the one that works for you.
<br>
* Install a PPC Linux distribution onto the QEMU PPC VM.
* Install a PPC Linux distribution onto the QEMU PPC VM.
** The full method here is to create a blank QCOW2 disk image file with the qemu-tools and then use this as the main emulated hard disk via the "-hda" option, then add a Linux PPC CDROM ISO image using the "-cdrom" option, start QEMU and do the distribution installation procedure as normal.
** The full method here is to create a blank QCOW2 disk image file with the qemu-tools and then use this as the main emulated hard disk via the "-hda" option, then add a Linux PPC CDROM ISO image using the "-cdrom" option, start QEMU and do the distribution installation procedure as normal.
** However, Debian Linux Squeeze for PPC is suggested as prebuilt disk images are available [http://people.debian.org/~aurel32/qemu/powerpc/ here].
** However, '''Debian Linux Squeeze for PPC''' is suggested as prebuilt disk images are available [http://people.debian.org/~aurel32/qemu/powerpc/ here]. Squeeze is preferred over Wheezy for this.
* Enable VM network access proxied via the host system.
* Enable VM network access proxied via the host system.
** By default, QEMU should be providing a virtual ethernet network adapter to the VM, which will provide access to the internet via the host's connection. This can be checked by the normal methods such as ICMP ping within the VM OS. If this is not working, check on your host machine, then refer to the QEMU documentation for any missing configuration setting and to see if the hosted OS requires any device driver to allow this virtual device to work.
** By default, QEMU should be providing a virtual ethernet network adapter to the VM, which will provide access to the internet via the host's connection. This can be checked by the normal methods such as ICMP ping within the VM OS. If this is not working, check on your host machine, then refer to the QEMU documentation for any missing configuration setting and to see if the hosted OS requires any device driver to allow this virtual device to work.
Line 51: Line 55:
*** Debian: <pre>apt-get update</pre>
*** Debian: <pre>apt-get update</pre>
* Install the ScummVM source code, required libraries and compile a debug build.
* Install the ScummVM source code, required libraries and compile a debug build.
* Within the VM, this can now be done as per a normal Linux build:
* Within the VM, this can now be done as per a normal Linux build. For further information, check our [[Compiling ScummVM/GCC|GCC compilation instructions]] page
** Getting ScummVM source tree: <pre>git clone git://github.com/scummvm/scummvm.git</pre>
** Getting ScummVM source tree: <pre>git clone git://github.com/scummvm/scummvm.git</pre>
*** Refer to [[Developer_Central#Getting_started |here]] for more help.
*** Refer to [[Developer_Central#Getting_started |here]] for more help.
1,489

edits

Navigation menu