descriptionµString real-time microkernel
homepage URLhttp://jarios.org
repository URLgit://rep.jarios.org/muistring.git
ownerjust.asgard@gmail.com
last changeFri, 11 May 2012 10:36:40 +0000 (11 13:36 +0300)
last refreshSat, 31 Oct 2009 21:19:09 +0000 (31 22:19 +0100)
content tags
add:
README
How to build
============

1) Before configuring and building the kernel make sure that
you have the following packages installed on your system:
 * flex
 * bison
 * gperf

2) Configure the kernel:
  % make config - Configure the kernel using simple text-based config
   or
  % make menuconfig - Configure the kernel with GUI configuration tool.
                      NOTE: menuconfig requires libncurses.

3) And finally build the kernel itself:
  % make

After step [3] you'll see vmuielf and muielf files in your build directory.
 vmuielf is a MuString kernel raw binaries.
 muielf is a MuString kernel in ELF binary format.

4) Step four is optional. If you want to run microkernel on emulator, type:
  % make image

After this command you'll see boot.img in your build directory.
It can be launched via bochs, kvm or quemu.

Building the kernel with toolchain
==================================

Steps 1 and 2 are the same as above. Step three is a bit different.
You have to specify the path to your toolchain binaries via TOOLCHAIN
variable. For example let suppose that you have any architecture distinguishing
from amd64 and you really want to build amd64 kernel.
For this purpose you must have a working x86_64 toolchain(if you don't have one
try crosstool to build it[http://www.kegel.com/crosstool/]).

So let suppose that your toolchain sits in /opt/crosstool. Make:
 % make TOOLCHAIN=/opt/crosstool/gcc-3.4.4-glibc-2.3.4/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-

Still have building problems?
=============================

Try to set VERBOSE variable to 'y'. It should show you useful more output from GNU make.
For example:
 % make VERBOSE=y

If it didn't help you, report a bug with detailed description of how to reproduce it.

FYI
===

1) type "make help" to see all available building options.
2) If you found out a BUG or have a question, mail us: jarios-dev@lists.jarios.org
shortlog
2012-05-11 Alfeiks Kaanoken... added script for Grub2 image creation;masterx86_32
2012-04-16 Alfeiks Kaanoken... returning value fixed in message read;
2012-04-16 Alfeiks Kaanoken... changelog updates
2012-04-16 Alfeiks Kaanoken... fixes to run on non-SMP systems (should be tested more);
2011-12-22 Alfeiks Kaanoken... fixed macro name;
2011-11-30 Alfeiks Kaanoken... changelog 0.1.3 updated;
2011-11-13 Dmitry GromadaMerge branch 'master' of git@rep.jarios.org:muistring
2011-11-13 Dmitry GromadaKilling the whole process if any thread receives a...
2011-10-27 Alfeiks Kaanoken... sys_kill is domain-ruled now;
2011-10-27 Alfeiks Kaanoken... namespace renamed, now domain...;
2011-10-26 Alfeiks Kaanoken... new version, new changelog.
2011-09-29 Alfeiks Kaanoken... chanhelog updated version 0.1.2 is ready
2011-09-22 Alfeiks Kaanoken... ipc_msgread now returns amount of bytes ridden
2011-08-29 Alfeiks Kaanoken... fixed locking
2011-08-25 Alfeiks Kaanoken... added ppid for carrier check out
2011-08-24 Alfeiks Kaanoken... fixed bug with cloning of the channels.
...
tags
14 years ago stable.0.1 Stable kernel, version=0.1
14 years ago alpha MuString microkernel alpha
heads
11 years ago x86_32
11 years ago master
13 years ago namespace
14 years ago stable