Bare bone kernel based on tutorial http://wiki.osdev.org/
You need a set of cross-platform tools to build the kernel. To build such a tool-chain, you can run make dependencies
. The tool-chain will be installed at /usr/local/cross
by default. If you want to install to another place, run
export CROSS_PATH=<Your path here>
make dependencies
, or CROSS_PATH=<Your path here> make dependencies
directly.
If you prefer to build a cross-platform tool-chain by yourself, make sure to export its path prefix to CROSS_PATH
before building the kernel.
To build an image of zxOS, you will need to install xorriso
:
sudo apt-get install xorriso
And you can also launch zxOS locally in a virtual machine with qemu
. To install:
sudo apt-get install qemu
With all prerequisites met, you can build zxOS by simply running
make
make install
The system image can be built by running
make image
The generated iso image can be found under image/
.
To start a qemu virtual machine, run
make qemu-run