Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
bochs [2006/06/26 10:23] stockholm created, using info from the old wiki |
bochs [2006/08/31 05:15] (current) stockholm Changing CVS commands to comply with new CVS hostnames at sf.net |
||
---|---|---|---|
Line 7: | Line 7: | ||
==== What is Bochs? ==== | ==== What is Bochs? ==== | ||
Bochs is a program that simulates a complete Intel x86 computer, including hardware. It can be used to test Etherboot. There is a special pseudo NIC ("pnic") implemented in Bochs, with a corresponding driver in Etherboot. (There is also an NE2000 ISA driver in Bochs, but it doesn't seem to quite work.) | Bochs is a program that simulates a complete Intel x86 computer, including hardware. It can be used to test Etherboot. There is a special pseudo NIC ("pnic") implemented in Bochs, with a corresponding driver in Etherboot. (There is also an NE2000 ISA driver in Bochs, but it doesn't seem to quite work.) | ||
+ | |||
==== Getting Bochs running ==== | ==== Getting Bochs running ==== | ||
- | * Get the bochs source code:<file> cvs -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/bochs login | + | * Get the bochs source code:<file> cvs -d:pserver:anonymous:@bochs.cvs.sourceforge.net:/cvsroot/bochs login |
- | cvs -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/bochs co bochs</file> | + | cvs -d:pserver:anonymous:@bochs.cvs.sourceforge.net:/cvsroot/bochs co bochs</file> |
* Configure bochs with<file>./configure --enable-all-optimisations --enable-pci --enable-ne2000 --enable-pnic </file> | * Configure bochs with<file>./configure --enable-all-optimisations --enable-pci --enable-ne2000 --enable-pnic </file> | ||
* Other potentially useful configure options: | * Other potentially useful configure options: | ||
Line 49: | Line 50: | ||
..Me: 10.254.254.1, Server: 10.254.254.2 | ..Me: 10.254.254.1, Server: 10.254.254.2 | ||
Loading 10.254.254.2:/tftpboot/kernel</file> | Loading 10.254.254.2:/tftpboot/kernel</file> | ||
+ | |||
==== Serial console ==== | ==== Serial console ==== | ||
You can use the program ''serial-console'' to obtain a virtual serial console for Etherboot running within Bochs. Simply run <file>./serial-console</file> on a spare tty (e.g. a separate ''xterm window'') before starting Bochs, and ensure that you have compiled Etherboot with appropriate settings such as | You can use the program ''serial-console'' to obtain a virtual serial console for Etherboot running within Bochs. Simply run <file>./serial-console</file> on a spare tty (e.g. a separate ''xterm window'') before starting Bochs, and ensure that you have compiled Etherboot with appropriate settings such as |