Simics is a powerful whole-system simulator with such a killer features as checkpoints and reverse execution. It is now free of charge for open source developers.
Now it should be easier to debug the kernel and drivers.
Freely available packages include an example x86 machine running a Linux target.
KolibriOS can also be run on Simics. I used kolibri.raw image, and I attach kolibrios.simics config file to put it to simics-qsp-x86-6.0.43/targets/qsp-x86/ directory.
Simics is shipped with good documentation including step-by-step installation and beginner's guides.
Simics® is now free (as beer) for open-source developers
-
- Attachments
-
-
kolibrios.simics (1.41 KiB)Downloaded 324 times
-
Here is a step-by-step guide on how to install Simics(R) under Linux(R) and run KolibriOS.
- Download Simics package manager (ISPM) and Simics itself from its home page at Intel site.
- Unpack ISPM to, say, /opt/simics.
Code: Select all
$ sudo mkdir /opt/simics $ cd /opt/simics/ $ sudo tar -xf /data/trash/simics/intel-simics-package-manager-1.0.0-linux64.tar.gz
- Install Simics and packages included to the downloaded bundle.
Code: Select all
$ sudo ./intel-simics-package-manager-1.0.0/ispm packages --non-interactive --trust-unsigned-packages --install-dir . --install-bundle /data/trash/simics/simics-6-packages-2021-16-linux64.ispm
- There is an issue with permissions, fix it.
Installation completed!
Code: Select all
$ sudo chmod o+r -R .
- Now create a directory and set up a Simics project in it.
Code: Select all
$ cd /path/to/your/project $ /opt/simics/simics-6.0.83/bin/project-setup
- Install packages to the newly created project.
Code: Select all
$ ./bin/addon-manager -bc $ ./bin/addon-manager -bs /opt/simics/simics-qsp-x86-6.0.43/
- Download kolibrios.simics file attached to this post, edit path to kolibri.raw file in it and put kolibrios.simics to targets/qsp-x86/.
- Copy four more files.Project setup is done!
Code: Select all
$ cp /opt/simics/simics-qsp-x86-6.0.43/targets/qsp-x86/qsp-system.include targets/qsp-x86/ $ cp /opt/simics/simics-qsp-x86-6.0.43/targets/qsp-x86/qsp-images.include targets/qsp-x86/ $ cp /opt/simics/simics-qsp-x86-6.0.43/targets/qsp-x86/qsp-uefi.include targets/qsp-x86/ $ cp /opt/simics/simics-qsp-x86-6.0.43/targets/qsp-x86/rw-state.include targets/qsp-x86/
- Run Simics.
Code: Select all
$ ./bin/simics -no-gui targets/qsp-x86/kolibrios.simics
- Run simulation.
Code: Select all
run
$ ls -1 ./doc/*pdf
./doc/analyzer-user-guide.pdf
./doc/byte-order-and-byte-swapping.pdf
./doc/cc-device-api.pdf
./doc/CraffFS.pdf
./doc/craff.pdf
./doc/debug-demos.pdf
./doc/debugging-simics.pdf
./doc/dml-1.4-reference-manual.pdf
./doc/dml-reference-manual.pdf
./doc/DOCUMENTATION.pdf
./doc/enterprise-deploy.pdf
./doc/ethernet-networking.pdf
./doc/getting-started.pdf
./doc/installation-guide-linux.pdf
./doc/ip-xact.pdf
./doc/link-library.pdf
./doc/model-builder-user-guide.pdf
./doc/model-development-checklist.pdf
./doc/object-lifetime.pdf
./doc/processor-model-integration-guide.pdf
./doc/rapidio-in-simics.pdf
./doc/reference-manual-api.pdf
./doc/reference-manual-cc-device-api.pdf
./doc/reference-manual-qsp-x86.pdf
./doc/reference-manual-simics-base.pdf
./doc/reference-manual-systemc-library-api.pdf
./doc/RELEASENOTES.pdf
./doc/RELEASENOTES-qsp-x86.pdf
./doc/simics-6-migration-guide.pdf
./doc/simics-product-family.pdf
./doc/simics-support.pdf
./doc/simics-user-guide.pdf
./doc/systemc-checkpoint.pdf
./doc/systemc-library.pdf
./doc/target-guide-qsp-x86.pdf
./doc/understanding-simics-timing.pdf
./doc/windows-kernel-debugging.pdf
- Attachments
-
-
kolibrios.simics (1.25 KiB)Downloaded 255 times
-
Holy Crap this is awesome!
I so wanted to see such a powerful tool available for a poor private user.
My deep respect to Intel.
I so wanted to see such a powerful tool available for a poor private user.
My deep respect to Intel.
Who is online
Users browsing this forum: No registered users and 1 guest