Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Linux Kernel 4.9.y

535 bytes added, 16:44, 7 May 2018
No summary
# Select the corresponding branch inside the git repository.
# Select the correct default configuration (defconfig)
# Compile the zImageKernel Image, Device Tree and Modules of that configuration.
=<span id="How_to_cross_compile_the_linux_kernel" class="mw-headline">Prepare the environment<br /></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.<br /span><span class="mw-headline">In this case the Linux Kernel has been compiled using an '''''Ubuntu 16.04''''' and the compiler '''''gcc version 4.9.3 (Ubuntu/Linaro 4.9.3-13ubuntu2)'''''.</span> <span class="mw-headline">If we want to install a particular compiler, for example the 4.9 we can use the following </span> <span class="mw-headline">In addition we can install this extra packages that could be necessaries: </span> <code><span class="mw-headline">sudo apt-get install libc6-armel-cross libc6-armhf-cross libc6-dev-armel-cross libc6-dev-armhf-cross binutils-arm-linux-gnueabihf libncurses5-dev</span></code>
<span class="mw-headline">gcc version 4.9.3 (Ubuntu/Linaro 4.9.3-13ubuntu2)</span>
59
edits