Toro kernel

A dedicated kernel for multi-threading applications.

Monday, April 18, 2016

Compiling and Testing TORO on Windows 10

Introduction 

Hi folks, I just fixed some bugs to compile Toro by using fpc-2.6.4, and to simulate it in Windows 10 by using qemu. I present some tips to do it.

Compilation 


I am currently using MIGW64 to compile TORO from the command line.  It is only necessary to run make in the toro-code/tests, and then, run the corresponding .sh file to compile the example, e.g., ToroHello.sh by invoking ./ToroHello.sh. The last commits fix any problem during the compilation. The outputting screen should look like in the picture.
  

Debuging

The debugging works well by using the last version of qemu. After installed qemu, it is only necessary to invoke the corresponding .sh by passing the -e argument, e.g., ./ToroHello.sh -e. By doing so, we get a pretty TORO outputing saying that he is alive. 




Wednesday, February 04, 2015

FOSDEM2015

Hi folks,

after a weekend in Brussels, I am again in Nice. It was a really interesting experience at FOSDEM. I put some pictures of the talk. I really enjoyed. I also left the link to the presentation. In any case, I think the presentation will be online soon at fosdem.org.

Regards, Matias.






Sunday, January 11, 2015

Toro Hello world

In this post, we explain how toro's examples can be compiled, and then simulated.

1) Installs YASM and FPC/Lazarus.

$ apt-get install yasm

To install Lazarus/FPC, please follows the instruction here.

2) Clones TORO repository.

$ git clone git://toro.git.sourceforge.net/gitroot/toro/toro

3) Compile tools

Before to compile the toro's examples, we have to compile the tools needed to generate the Toro's image. To do so, runs "make" at /toro/tests.

4) Toro Hello world.

The toro/tests directory has examples that can be simulated by using qemu. These are good examples to start with Toro. Here, we explain how the hello world toro example can be compiled and simulated. To do so, it is only necessary to run:

$ bash ToroHello.sh -e

This will compile the ToroHello.pas example, and generate the ToroImage.img image, if the compilation was successfully. The "-e" parameter is used to execute qemu to perform the simulation of the generated image.

Matias E. Vara
torokernel.io   


Wednesday, December 10, 2014

TORO in FOSDEM 2015

I have the pleasure to give a talk in FOSDEM 2015 about TORO. The talk will be at devroom microkernel on Sunday. Here you have a summing of the talk. I will be at the conference the whole weekend so don't hesitate to contact me to talk.

Matias E. Vara