Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:c2_building_kernel [2016/03/11 12:59] brian.kim |
en:c2_building_kernel [2016/03/11 17:26] brian.kim [Native Compile - ODROID-C2/Ubuntu] |
||
---|---|---|---|
Line 124: | Line 124: | ||
===== Native Compile - ODROID-C2/Ubuntu ===== | ===== Native Compile - ODROID-C2/Ubuntu ===== | ||
+ | <WRAP center round important 100%> | ||
+ | **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. | ||
+ | </WRAP> | ||
==== Installing required packages ==== | ==== Installing required packages ==== | ||
You will need install required packages before you start to build Linux kernel on your Ubuntu ODROID-C2. | You will need install required packages before you start to build Linux kernel on your Ubuntu ODROID-C2. | ||
Line 153: | Line 157: | ||
</code> | </code> | ||
- | ==== Compile ==== | + | ==== Compile & Installation ==== |
- | <WRAP center round important 100%> | + | |
- | **Note** | + | |
- | * 8GB eMMC/SD card have not enough space to build kernel source. | + | |
- | </WRAP> | + | |
<code> | <code> | ||
odroid@odroid64:~/linux$ make odroidc2_defconfig | odroid@odroid64:~/linux$ make odroidc2_defconfig | ||
odroid@odroid64:~/linux$ make -j4 | odroid@odroid64:~/linux$ make -j4 | ||
- | </code> | ||
- | |||
- | ==== Installation ==== | ||
- | <code> | ||
odroid@odroid64:~/linux$ sudo make modules_install | odroid@odroid64:~/linux$ sudo make modules_install | ||
odroid@odroid64:~/linux$ sudo cp -f arch/arm64/boot/Image arch/arm64/boot/dts/meson64_odroidc2.dtb /media/boot/ | odroid@odroid64:~/linux$ sudo cp -f arch/arm64/boot/Image arch/arm64/boot/dts/meson64_odroidc2.dtb /media/boot/ | ||
+ | odroid@odroid64:~/linux$ sudo sync | ||
odroid@odroid64:~/linux$ sudo reboot | odroid@odroid64:~/linux$ sudo reboot | ||
</code> | </code> |