summaryrefslogtreecommitdiffstats
path: root/kernel/README.md
blob: 6808b2b79ecf671aff3d5bc9b72f0c3cf5da5607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Kernel Build Notes
==================

QEMU ARM Emulator
-----------------

Use the script 'build-kernel-qemu' to build a kernel image that
can be used to boot QEMU. The script can build a soft or hard
float kernel. (for soft-float, comment out "HARDFLOAT=yes" near
the top of the script).

Assumptions
-----------

An appropriate cross compiler toolchain is available at:

* for soft float : /usr/bin/arm-linux-gnueabi-*
* for hard float : /usr/bin/arm-linux-gnueabihf-*

Tests
-----

Tested by booting Raspberry-Pi Arch Linux system images in QEMU:

* for soft float : archlinuxarm-13-06-2012.img
* for hard float : archlinux-hf-2012-09-18.img

References
----------
http://xecdesign.com/compiling-a-kernel/
http://balau82.wordpress.com/2010/03/22/compiling-linux-kernel-for-qemu-arm-emulator/