Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Linux Kernel 4.9.y

130 bytes added, 11:22, 8 May 2018
no edit summary
[[File:245px-Tux.svg.png|right|331x391px]]  
=What is Linux?=
# Compile the Kernel Image, Device Tree and Modules of that configuration.
=<span id="How_to_cross_compile_the_linux_kernel" class="mw-headline">Prepare the environment<br data-attributes="%20/"></span>=<span class="mw-headline">{{Message/Information Message|message=The following steps has been followed using an Ubuntu 16.04 and the 4.9.3 cross compiler version (Ubuntu/Linaro 4.9.3-13ubuntu2)}}</span></span>
<span class="mw-headline">In order to compile the Linux Kernel it is necessary to prepare a suitable work environment by checking the compiler and its version are the corresponding. </span>
<span class="mw-headline">sudo apt-get install libc6-armel-cross libc6-armhf-cross libc6-dev-armel-cross libc6-dev-armhf-crossbinutils-arm-linux-gnueabihf libncurses5-dev<br></span>
<span class="mw-headline">The next step is to clone the corresponding git repository. There are different git repositories depending on the model of the processor of the board. The following table shows the steps for each of the <span style="color: #000000;">IGEP PROCESSOR BOARDS</span>:<br data-attributes="%20/"></span>
{| class="contenttable sortable" style="width: 890px;"
|}
=<span id="How_to_cross_compile_the_linux_kernel" class="mw-headline">Compile the Linux Kernel<br data-attributes="%20/"></span>=<span style="color: #000000;"> Once Once the development enviroment environment has been correctly set up, the following steps can be followed in order to compile the Linux Kernel using a Cross Compiler.<br data-attributes="%20/"></span>
<span style="color: #000000;">First of all, the default configuration ''(defconfig)'' has to be loaded. It can be done by writting writing the following command:</span>  <span style="color: #000000;"><code class="java plain">make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- [your_defconfig]</code></span><span style="color: #000000;"><code class="java plain"></code></span>
59
edits