Commit 3f9f3aa1ca1322edb565d4efc3ad14dcebd2ec21
1 parent
31febb71
MIPS, ARM and SMP updates
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1724 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
60 additions
and
19 deletions
qemu-doc.texi
| @@ -22,9 +22,9 @@ QEMU has two operating modes: | @@ -22,9 +22,9 @@ QEMU has two operating modes: | ||
| 22 | 22 | ||
| 23 | @item | 23 | @item |
| 24 | Full system emulation. In this mode, QEMU emulates a full system (for | 24 | Full system emulation. In this mode, QEMU emulates a full system (for |
| 25 | -example a PC), including a processor and various peripherals. It can | ||
| 26 | -be used to launch different Operating Systems without rebooting the | ||
| 27 | -PC or to debug system code. | 25 | +example a PC), including one or several processors and various |
| 26 | +peripherals. It can be used to launch different Operating Systems | ||
| 27 | +without rebooting the PC or to debug system code. | ||
| 28 | 28 | ||
| 29 | @item | 29 | @item |
| 30 | User mode emulation (Linux host only). In this mode, QEMU can launch | 30 | User mode emulation (Linux host only). In this mode, QEMU can launch |
| @@ -40,15 +40,17 @@ performance. | @@ -40,15 +40,17 @@ performance. | ||
| 40 | For system emulation, the following hardware targets are supported: | 40 | For system emulation, the following hardware targets are supported: |
| 41 | @itemize | 41 | @itemize |
| 42 | @item PC (x86 or x86_64 processor) | 42 | @item PC (x86 or x86_64 processor) |
| 43 | +@item ISA PC (old style PC without PCI bus) | ||
| 43 | @item PREP (PowerPC processor) | 44 | @item PREP (PowerPC processor) |
| 44 | @item G3 BW PowerMac (PowerPC processor) | 45 | @item G3 BW PowerMac (PowerPC processor) |
| 45 | @item Mac99 PowerMac (PowerPC processor, in progress) | 46 | @item Mac99 PowerMac (PowerPC processor, in progress) |
| 46 | @item Sun4m (32-bit Sparc processor) | 47 | @item Sun4m (32-bit Sparc processor) |
| 47 | @item Sun4u (64-bit Sparc processor, in progress) | 48 | @item Sun4u (64-bit Sparc processor, in progress) |
| 48 | -@item Malta board (32-bit MIPS processor, in progress) | 49 | +@item Malta board (32-bit MIPS processor) |
| 50 | +@item ARM Integrator/CP (ARM1026E processor) | ||
| 49 | @end itemize | 51 | @end itemize |
| 50 | 52 | ||
| 51 | -For user emulation, x86, PowerPC, ARM, and Sparc32/64 CPUs are supported. | 53 | +For user emulation, x86, PowerPC, ARM, MIPS, and Sparc32/64 CPUs are supported. |
| 52 | 54 | ||
| 53 | @chapter Installation | 55 | @chapter Installation |
| 54 | 56 | ||
| @@ -69,14 +71,14 @@ Download the experimental binary installer at | @@ -69,14 +71,14 @@ Download the experimental binary installer at | ||
| 69 | Download the experimental binary installer at | 71 | Download the experimental binary installer at |
| 70 | @url{http://www.freeoszoo.org/download.php}. | 72 | @url{http://www.freeoszoo.org/download.php}. |
| 71 | 73 | ||
| 72 | -@chapter QEMU PC System emulator invocation | 74 | +@chapter QEMU PC System emulator |
| 73 | 75 | ||
| 74 | @section Introduction | 76 | @section Introduction |
| 75 | 77 | ||
| 76 | @c man begin DESCRIPTION | 78 | @c man begin DESCRIPTION |
| 77 | 79 | ||
| 78 | -The QEMU System emulator simulates the | ||
| 79 | -following PC peripherals: | 80 | +The QEMU PC System emulator simulates the |
| 81 | +following peripherals: | ||
| 80 | 82 | ||
| 81 | @itemize @minus | 83 | @itemize @minus |
| 82 | @item | 84 | @item |
| @@ -104,6 +106,8 @@ Adlib(OPL2) - Yamaha YM3812 compatible chip | @@ -104,6 +106,8 @@ Adlib(OPL2) - Yamaha YM3812 compatible chip | ||
| 104 | PCI UHCI USB controller and a virtual USB hub. | 106 | PCI UHCI USB controller and a virtual USB hub. |
| 105 | @end itemize | 107 | @end itemize |
| 106 | 108 | ||
| 109 | +SMP is supported with up to 255 CPUs. | ||
| 110 | + | ||
| 107 | Note that adlib is only available when QEMU was configured with | 111 | Note that adlib is only available when QEMU was configured with |
| 108 | -enable-adlib | 112 | -enable-adlib |
| 109 | 113 | ||
| @@ -169,6 +173,10 @@ the write back by pressing @key{C-a s} (@xref{disk_images}). | @@ -169,6 +173,10 @@ the write back by pressing @key{C-a s} (@xref{disk_images}). | ||
| 169 | @item -m megs | 173 | @item -m megs |
| 170 | Set virtual RAM size to @var{megs} megabytes. Default is 128 MB. | 174 | Set virtual RAM size to @var{megs} megabytes. Default is 128 MB. |
| 171 | 175 | ||
| 176 | +@item -smp n | ||
| 177 | +Simulate an SMP system with @var{n} CPUs. On the PC target, up to 255 | ||
| 178 | +CPUs are supported. | ||
| 179 | + | ||
| 172 | @item -nographic | 180 | @item -nographic |
| 173 | 181 | ||
| 174 | Normally, QEMU uses SDL to display the VGA output. With this option, | 182 | Normally, QEMU uses SDL to display the VGA output. With this option, |
| @@ -1212,7 +1220,13 @@ it takes host CPU cycles even when idle. You can install the utility | @@ -1212,7 +1220,13 @@ it takes host CPU cycles even when idle. You can install the utility | ||
| 1212 | from @url{http://www.vmware.com/software/dosidle210.zip} to solve this | 1220 | from @url{http://www.vmware.com/software/dosidle210.zip} to solve this |
| 1213 | problem. | 1221 | problem. |
| 1214 | 1222 | ||
| 1215 | -@chapter QEMU PowerPC System emulator invocation | 1223 | +@chapter QEMU System emulator for non PC targets |
| 1224 | + | ||
| 1225 | +QEMU is a generic emulator and it emulates many non PC | ||
| 1226 | +machines. Most of the options are similar to the PC emulator. The | ||
| 1227 | +differences are mentionned in the following sections. | ||
| 1228 | + | ||
| 1229 | +@section QEMU PowerPC System emulator | ||
| 1216 | 1230 | ||
| 1217 | Use the executable @file{qemu-system-ppc} to simulate a complete PREP | 1231 | Use the executable @file{qemu-system-ppc} to simulate a complete PREP |
| 1218 | or PowerMac PowerPC system. | 1232 | or PowerMac PowerPC system. |
| @@ -1256,10 +1270,7 @@ PC compatible keyboard and mouse. | @@ -1256,10 +1270,7 @@ PC compatible keyboard and mouse. | ||
| 1256 | @end itemize | 1270 | @end itemize |
| 1257 | 1271 | ||
| 1258 | QEMU uses the Open Hack'Ware Open Firmware Compatible BIOS available at | 1272 | QEMU uses the Open Hack'Ware Open Firmware Compatible BIOS available at |
| 1259 | -@url{http://site.voila.fr/jmayer/OpenHackWare/index.htm}. | ||
| 1260 | - | ||
| 1261 | -You can read the qemu PC system emulation chapter to have more | ||
| 1262 | -informations about QEMU usage. | 1273 | +@url{http://perso.magic.fr/l_indien/OpenHackWare/index.htm}. |
| 1263 | 1274 | ||
| 1264 | @c man begin OPTIONS | 1275 | @c man begin OPTIONS |
| 1265 | 1276 | ||
| @@ -1277,9 +1288,9 @@ Set the initial VGA graphic mode. The default is 800x600x15. | @@ -1277,9 +1288,9 @@ Set the initial VGA graphic mode. The default is 800x600x15. | ||
| 1277 | 1288 | ||
| 1278 | 1289 | ||
| 1279 | More information is available at | 1290 | More information is available at |
| 1280 | -@url{http://jocelyn.mayer.free.fr/qemu-ppc/}. | 1291 | +@url{http://perso.magic.fr/l_indien/qemu-ppc/}. |
| 1281 | 1292 | ||
| 1282 | -@chapter Sparc32 System emulator invocation | 1293 | +@section Sparc32 System emulator invocation |
| 1283 | 1294 | ||
| 1284 | Use the executable @file{qemu-system-sparc} to simulate a JavaStation | 1295 | Use the executable @file{qemu-system-sparc} to simulate a JavaStation |
| 1285 | (sun4m architecture). The emulation is somewhat complete. | 1296 | (sun4m architecture). The emulation is somewhat complete. |
| @@ -1328,7 +1339,7 @@ Set the initial TCX graphic mode. The default is 1024x768. | @@ -1328,7 +1339,7 @@ Set the initial TCX graphic mode. The default is 1024x768. | ||
| 1328 | 1339 | ||
| 1329 | @c man end | 1340 | @c man end |
| 1330 | 1341 | ||
| 1331 | -@chapter Sparc64 System emulator invocation | 1342 | +@section Sparc64 System emulator invocation |
| 1332 | 1343 | ||
| 1333 | Use the executable @file{qemu-system-sparc64} to simulate a Sun4u machine. | 1344 | Use the executable @file{qemu-system-sparc64} to simulate a Sun4u machine. |
| 1334 | The emulator is not usable for anything yet. | 1345 | The emulator is not usable for anything yet. |
| @@ -1346,12 +1357,42 @@ Non Volatile RAM M48T59 | @@ -1346,12 +1357,42 @@ Non Volatile RAM M48T59 | ||
| 1346 | PC-compatible serial ports | 1357 | PC-compatible serial ports |
| 1347 | @end itemize | 1358 | @end itemize |
| 1348 | 1359 | ||
| 1349 | -@chapter MIPS System emulator invocation | 1360 | +@section MIPS System emulator invocation |
| 1350 | 1361 | ||
| 1351 | Use the executable @file{qemu-system-mips} to simulate a MIPS machine. | 1362 | Use the executable @file{qemu-system-mips} to simulate a MIPS machine. |
| 1352 | -The emulator begins to launch a Linux kernel. | 1363 | +The emulator is able to boot a Linux kernel and to run a Linux Debian |
| 1364 | +installation from NFS. The following devices are emulated: | ||
| 1365 | + | ||
| 1366 | +@itemize @minus | ||
| 1367 | +@item | ||
| 1368 | +MIPS R4K CPU | ||
| 1369 | +@item | ||
| 1370 | +PC style serial port | ||
| 1371 | +@item | ||
| 1372 | +NE2000 network card | ||
| 1373 | +@end itemize | ||
| 1374 | + | ||
| 1375 | +More information is available in the QEMU mailing-list archive. | ||
| 1376 | + | ||
| 1377 | +@section ARM System emulator invocation | ||
| 1378 | + | ||
| 1379 | +Use the executable @file{qemu-system-arm} to simulate a ARM | ||
| 1380 | +machine. The ARM Integrator/CP board is emulated with the following | ||
| 1381 | +devices: | ||
| 1382 | + | ||
| 1383 | +@itemize @minus | ||
| 1384 | +@item | ||
| 1385 | +ARM1026E CPU | ||
| 1386 | +@item | ||
| 1387 | +Two PL011 UARTs | ||
| 1388 | +@item | ||
| 1389 | +SMC 91c111 Ethernet adapter | ||
| 1390 | +@end itemize | ||
| 1391 | + | ||
| 1392 | +A Linux 2.6 test image is available on the QEMU web site. More | ||
| 1393 | +information is available in the QEMU mailing-list archive. | ||
| 1353 | 1394 | ||
| 1354 | -@chapter QEMU User space emulator invocation | 1395 | +@chapter QEMU Linux User space emulator |
| 1355 | 1396 | ||
| 1356 | @section Quick Start | 1397 | @section Quick Start |
| 1357 | 1398 |