[README] update with some changes to how qemu is started
This commit is contained in:
16
README.md
16
README.md
@@ -1,20 +1,20 @@
|
||||
# lk
|
||||
# LK
|
||||
|
||||
The LK embedded kernel. An SMP-aware kernel designed for small systems.
|
||||
|
||||
See travisg/lk for the latest version.
|
||||
|
||||
## build and test for ARM on linux
|
||||
## to build and test for ARM on linux
|
||||
|
||||
1. install qemu
|
||||
1. install or build qemu. v2.4 and above is recommended.
|
||||
2. install gcc for embedded arm (see note 1)
|
||||
3. run scripts/do-qemu (from the lk directory)
|
||||
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 vexpress_a9 emulation. type 'help' for commands.
|
||||
arm machine 'virt' emulation. type 'help' for commands.
|
||||
|
||||
To quit you might need to kill <quemu-pid>.
|
||||
|
||||
note 1: for ubuntu this seem to work:
|
||||
note 1: for ubuntu:
|
||||
sudo apt-get install gcc-arm-none-eabi
|
||||
or fetch a prebuilt toolchain from
|
||||
http://newos.org/toolchains/arm-eabi-5.2.0-Linux-x86_64.tar.xz
|
||||
|
||||
Reference in New Issue
Block a user