1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GXemul: PowerPC Macintosh emulation</title>
<meta name="robots" content="noarchive,nofollow,noindex">
</head>
<body style="font-family : sans-serif;">
<!-- 10 lines header. -->
<h1>GXemul: PowerPC Macintosh emulation</h1>
<p>
<a href="./">Back to the index.</a>
<!--
Copyright (C) 2006-2019 Anders Gavare. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-->
<p>The macppc mode in GXemul tries to emulate a generic "G4" PowerPC Macintosh,
in order to run <a href="#netbsdmacppcinstall">NetBSD/macppc</a> and
eventually other guest OSes.
<p><br>
<a name="netbsdmacppcinstall"></a>
<h3>NetBSD/macppc:</h3>
<p>It is possible to install and run <a
href="http://www.netbsd.org/ports/macppc/">NetBSD/macppc</a> in GXemul on
an emulated generic PowerPC machine. No specific Machintosh model is
emulated, but it is enough to for NetBSD to recognize it.
<p>
<a href="20070318-netbsd-macppc.png"><img src="20070318-netbsd-macppc_small.png"></a>
<p>To install NetBSD/macppc onto a disk image, follow these instructions:
<p>
<ol start="1">
<li>Create an empty harddisk image, which will be the root disk
that you will install NetBSD/macppc onto:<pre>
<b>dd if=/dev/zero of=nbsd_macppc.img bs=1024 count=1 seek=3000000</b>
</pre>
<li>Download the NetBSD/macppc 4.0.1 ISO image and a generic kernel:<pre>
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/4.0.1/macppccd-4.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/4.0.1/macppccd-4.0.1.iso</a>
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0.1/macppc/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0.1/macppc/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0.1/macppc/binary/kernel/netbsd-GENERIC.MP.gz">netbsd-GENERIC.MP.gz</a>
</pre>
<p>
<li>Start the installation like this:<pre>
<b>gxemul -x -e g4 -d nbsd_macppc.img -d b:macppccd-4.0.1.iso -j macppc/binary/kernel/netbsd-INSTALL</b>
</pre>
and continue as you would do when installing NetBSD on a real
machine.
</ol>
<p>If everything worked, NetBSD/macppc should now be installed on
the disk image.
<p>Use the following command line to boot the emulated machine:<pre>
<b>gxemul -x -e g4 -d nbsd_macppc.img netbsd-GENERIC.MP.gz</b>
</pre>
<p>If asked about <tt>root device</tt>, enter <tt><b>wd0</b></tt>.
<p><br>
<a name="helenosppc"></a>
<h3>HelenOS/ppc:</h3>
<p><font color="red">This does not work yet!</font>
<p>
<ol>
<li>Download the HelenOS PPC ISO image:<pre>
<a href="http://www.helenos.org/releases/HelenOS-0.7.1-ppc32.iso">http://www.helenos.org/releases/HelenOS-0.7.1-ppc32.iso</a>
</pre>
<li>Start GXemul using the following command line:<pre>
<b>gxemul -M 256 -v -x -e g4 -d HelenOS-0.7.1-ppc32.iso -j BOOT/image.boot</b>
</pre>
</ol>
<p><br>
</body>
</html>
|