Clone this repo:
  1. 06cc30e [clang][make] Add clang support by Roberto Pereira · 8 months ago master
  2. f80e4f7 [clang][lib][libc] Define unwinding stubs when using clang by Roberto Pereira · 4 weeks ago
  3. 6baf272 [clang][arch][arm] Remove -mthumb-interwork by Roberto Pereira · 4 weeks ago
  4. 24d7aaa [clang][arch][arm] Add format string to dprintfs by Roberto Pereira · 4 weeks ago
  5. 9055846 [arch][arm64][mmu] Add STATIC_ASSERT on MMU_USER_SIZE_SHIFT by Arve Hjønnevåg · 4 weeks ago


The LK embedded kernel. An SMP-aware kernel designed for small systems.

See for the latest version.

See for documentation.


Build Status

To build and test for ARM on linux

  1. install or build qemu. v2.4 and above is recommended.
  2. install gcc for embedded arm (see note 1)
  3. run scripts/do-qemuarm (from the lk directory)
  4. you should see ‘welcome to lk/MP’

This will get you a interactive prompt into LK which is running in qemu arm machine ‘virt’ emulation. type ‘help’ for commands.

note 1: for ubuntu: sudo apt-get install gcc-arm-none-eabi or fetch a prebuilt toolchain from