Skip to content
Alexey Shmalko edited this page Oct 29, 2013 · 2 revisions

To get started with akernel, you should set-up your environment firstly.

Step 1. Getting sources

To get sources you should clone this repository to your computer. Use a command git clone https://github.com/rasendubi/akernel.git

Step 2. Cross-compiler

In order to compile kernel for different arch than your computer, you should install cross-compiler for ARM.

For deb-based systems: sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded && sudo apt-get update && sudo apt-get install gcc-arm-none-eabi

For Gentoo: sudo crossdev -s1 arm-none-eabi

Step 3. Qemu

If you have no ARM-based board, you should install emulator.

Step 4. Running

To launch a kernel in qemu, execute make run command in akernel directory.

Clone this wiki locally