#Inside the SimNow Main Window do File->Open BSD, browse to the simnow-linux64-4.4.1pub/bsds directory and load either cheetah_1p.bsd or cheetah_1pjh.bsd (jh is dual-core)<pre><nowiki>Now you have a single Opteron socket motherboard with an AMD-8132 PCI-X controller, an AMD-8111 I/O hub, and a Winbond W83627HF SuperIO.</nowiki></pre>

+

#Inside the SimNow Main Window do File->Open BSD, browse to the simnow-linux64-4.4.1pub/bsds directory and load either cheetah_1p.bsd or cheetah_1pjh.bsd (jh is dual-core)

Revision as of 03:06, 9 March 2009

These are the steps I use to download, install, and use the AMD SimNow simulator.
You may not want to do exactly what I did, but it should get you started.
There is PDF documentation that you can download on the same page as the simulator.

Open a new terminal and type cat /home/myles/.simnow/com1/simnow_out
If you need to send input to the serial port, echo to /home/myles/.simnow/com1/simnow_in

Using the snserial tool

Alternatively, you can use a tool called 'snserial' to interact with the serial ports. snserial will combine the input and output, and provide access to the combined stream through either a psuedo tty, or a telenet port.

You can now connect to the serial stream by typing 'telnet localhost 9000' in a Linux terminal window.

Note: It is a quirk of SimNow that the pipes are not created until the simulation for the BSD is started for the first time. Make sure you start the simulation before running snserial, otherwise you will see this: Couldn't stat /home/<user>/.simnow/com1/simnow_out: No such file or directory. The best course of action is to start the simulation quickly, attach the snserial program, and then restart the simulation to see the early serial output.

Add disks

Hit the Stop Simulation button if the simulation is running

File->Set IDE Primary Master Image

Browse to your hard drive image

File->Set IDE Secondary Master Image

Browse to a CD .iso

Hit Run Simulation again

You should get output from the serial port scrolling in one terminal, and be able to watch the VGA output in the main window.

If you used buildrom to get a BIOS image with coreboot + LAB, you'll end up at a linux prompt where you can mount the disks, etc.

This file is licensed under the Creative CommonsAttribution ShareAlike 3.0 License.In short: you are free to share and make derivative works of the file under the conditions that you appropriately attribute it, and that you distribute it only under a license identical to this one.