Board.KolibriOS.org

Official KolibriOS board
It is currently Wed Jul 28, 2021 11:46 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat May 29, 2021 1:42 am 
Offline
Mentor
User avatar

Joined: Mon Oct 19, 2009 10:58 am
Posts: 660
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.


Attachments:
kolibrios.simics [1.41 KiB]
Downloaded 18 times
Top
   
PostPosted: Thu Jun 24, 2021 11:31 pm 
Offline
Mentor
User avatar

Joined: Mon Oct 19, 2009 10:58 am
Posts: 660
Here is a step-by-step guide on how to install Simics(R) under Linux(R) and run KolibriOS.

  1. Download Simics package manager (ISPM) and Simics itself from its home page at Intel site.
  2. Unpack ISPM to, say, /opt/simics.
    Code:
    $ sudo mkdir /opt/simics
    $ cd /opt/simics/
    $ sudo tar -xf /data/trash/simics/intel-simics-package-manager-1.0.0-linux64.tar.gz
  3. Install Simics and packages included to the downloaded bundle.
    Code:
    $ 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
  4. There is an issue with permissions, fix it.
    Code:
    $ sudo chmod o+r -R .
    Installation completed!

  5. Now create a directory and set up a Simics project in it.
    Code:
    $ cd /path/to/your/project
    $ /opt/simics/simics-6.0.83/bin/project-setup
  6. Install packages to the newly created project.
    Code:
    $ ./bin/addon-manager -bc
    $ ./bin/addon-manager -bs /opt/simics/simics-qsp-x86-6.0.43/
  7. Download kolibrios.simics file attached to this post, edit path to kolibri.raw file in it and put kolibrios.simics to targets/qsp-x86/.
  8. Copy four more files.
    Code:
    $ 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/
    Project setup is done!

  9. Run Simics.
    Code:
    $ ./bin/simics -no-gui targets/qsp-x86/kolibrios.simics
  10. Run simulation.
    Code:
    run

Documentation is in your project.
Quote:
$ 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 6 times
Top
   
PostPosted: Wed Jun 30, 2021 2:44 pm 
Offline
User avatar

Joined: Mon Aug 26, 2019 10:14 pm
Posts: 45
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.

_________________
Если программа не юзабельна под ХРюшей с 128МБ памяти и IDE винчестером, она отстой


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited