Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c2_building_kernel [2016/03/11 17:26] brian.kim [Native Compile - ODROID-C2/Ubuntu] |
en:c2_building_kernel [2017/02/06 18:25] (current) codewalker [Checkout] |
||
---|---|---|---|
Line 6: | Line 6: | ||
<code> | <code> | ||
$ sudo apt-get update | $ sudo apt-get update | ||
- | $ sudo apt-get install git lzop build-essential gcc libncurses5-dev libc6-i386 | + | $ sudo apt-get install git lzop build-essential gcc libncurses5-dev libc6-i386 lib32stdc++6 zlib1g:i386 |
</code> | </code> | ||
==== Toolchain (4.9.2) ==== | ==== Toolchain (4.9.2) ==== | ||
Click one of the site to download toolchain to build Linux kernel. | Click one of the site to download toolchain to build Linux kernel. | ||
- | * [[https://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz|Download #1]] | + | * [[http://releases.linaro.org/archive/14.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz|Download #1]] |
+ | * [[http://dn.odroid.com/toolchains/gcc-linaro-aarch64-none-elf-4.9-2014.09_linux.tar.xz|Download #2]] | ||
Once the download is done, extract the tarball to **/opt/toolchains/**. | Once the download is done, extract the tarball to **/opt/toolchains/**. | ||
<code> | <code> | ||
Line 44: | Line 45: | ||
=== Android === | === Android === | ||
+ | == Lollipop == | ||
<code> | <code> | ||
$ git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidc2-3.14.y-android | $ git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidc2-3.14.y-android | ||
$ cd linux | $ cd linux | ||
</code> | </code> | ||
+ | == Marshamollow == | ||
+ | <code> | ||
+ | $ git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidc2-3.14.y-android | ||
+ | $ cd linux | ||
+ | </code> | ||
+ | |||
=== Linux === | === Linux === | ||
Line 126: | Line 134: | ||
<WRAP center round important 100%> | <WRAP center round important 100%> | ||
**Note** | **Note** | ||
- | * 8GB eMMC/SD card have not enough space to build kernel source. In order to do native compile, the storage required 5GB free space at least. | + | * 8GB eMMC/SD card have not enough space to build kernel source. In order to do native compile, the **5GB** of storage space is required at least. |
</WRAP> | </WRAP> | ||
==== Installing required packages ==== | ==== Installing required packages ==== |