Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Linux Kernel 4.9.y

1,392 bytes added, 10:28, 11 March 2019
no edit summary
=What is Linux?=
Linux is a clone the result of merging the computational Kernel made by Linux Torval and the operating scheme present in any Unix operative system Unix, Kernel was written from scratch by Linus Torvalds with assistance from and a loosely-knit team of hackers across the Net. It aims towards POSIX standard and Single UNIX Specification compliance.
It has all the features you would expect in a modern fully-fledged Unix, including true multitasking, virtual memory, shared libraries, demand loading, shared copy-on-write executables, proper memory management, and multistack networking including IPv4 and IPv6.
<span class="mw-headline">If it is necessary we can install this extra packages that could be necessaries: </span>
<span class="mw-headline">sudo apt-get install libc6-armel-cross libc6-armhf-cross libc6-dev-armel-cross libncurses5-dev<br><br>sudo apt-get install lzop<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>
! style="width: 324.217px;"|GIT REPOSITORY
! style="width: 275.783px;"|BRANCH
|-
| style="width: 97px;"|OMAP5432
| style="width: 324.217px;"|https://git.isee.biz/linux-kernel/linux-omap-2.6.git
| style="width: 275.783px;"|isee-linux-v.4.9.y
|-
| style="width: 97px;"|DM3730
In the following table it can be found the name of each default configuration associated to each IGEP PROCESSORS BOARDS:
{| class="contenttable sortable" style="width: 890px888px;"|-! style="width: 160px;"|BOARD! style="width: 163px;"|DEFCONFIG! style="width: 527px;"|EXAMPLE
|-
! | style="width: 160.1px160px;"|BOARDIGEPv5 OMAP5432! | style="width: 124.9px163px;"|DEFCONFIG[https://git.isee.biz/linux-kernel/linux-omap-2.6/blob/isee-linux-v.4.9.y/arch/arm/configs/omap2plus_defconfig omap2plus_defconfig]! | style="width: 566px527px;"|EXAMPLE<span style="color: #000000;"><code class="java plain">make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- omap2plus_defconfig  <br /></code></span>
|-
| style="width: 160.1px160px;"|IGEPv5 OMAP5432IGEPv2 DM3730|style="width: 163px;"|[https://git.isee.biz/linux-kernel/linux-omap-2.6/blob/isee-linux-v.4.9.y/arch/arm/configs/omap2plus_defconfig omap2plus_defconfig]| style="width: 566px527px;"|<span style="color: #000000;"><code class="java plain">make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- <br /> omap2plus_defconfig</code></span>
|-
| style="width: 160.1px160px;"|IGEPv2 DM3730IGEP COM AQUILA AM335x| style="width: 124.9px163px;"|[https://git.isee.biz/linux-kernel/linux-omap-2.6/blob/isee-linux-v.4.9.y/arch/arm/configs/omap2plus_defconfig omap2plus_defconfigam335x_igep0034_defconfig am335x_igep0034_defconfig]| style="width: 566px527px;"|<span style="color: #000000;"><code class="java plain">make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-am335x_igep0034_defconfig</code></span>
|-
| style="width: 160.1px160px;"|IGEP COM AQUILA AM335xMODULE DM3730/AM3703| style="width: 124.9px163px;"|[https://git.isee.biz/linux-kernel/linux-omap-2.6/blob/isee-linux-v.4.9.y/arch/arm/configs/am335x_igep0034_defconfig am335x_igep0034_defconfigomap2plus_defconfig omap2plus_defconfig]| style="width: 566px527px;"|<span style="color: #000000;"><code class="java plain">make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-omap2plus_defconfig</code></span>
|-
| style="width: 160.1px160px;"|IGEP COM MODULE DM3730/AM3703SMARC AM335x| style="width: 124.9px163px;"|[https://git.isee.biz/linux-kernel/linux-omap-2.6/blob/isee-linux-v.4.9.y/arch/arm/configs/omap2plus_defconfig omap2plus_defconfigam335x_igep0034_defconfig am335x_igep0034_defconfig]| style="width: 566px527px;"|<span style="color: #000000;"><code class="java plain">make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_defconfig</code></span>
|-
| style="width: 160.1px160px;"|IGEP SMARC iMX6iMX6S/DL/Q| style="width: 124.9px163px;"|[https://git.isee.biz/linux-kernel/linux-imx/blob/isee-imx_4.9.11_1.0.0_ga/arch/arm/configs/imx6_igep0046_defconfig imx6_igep0046_defconfig]| style="width: 566px527px;"|<span style="color: #000000;"><code class="java plain">make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- imx6_igep0046_defconfig</code></span>
|-
| style="width: 160.1px160px;"|IGEP SMARC AM335xiMX6UL/ULL| style="width: 124.9px;"|[https://git.isee.biz/linux-kernel/linux-omap-2.6imx/blob/isee-linux-vimx_4.9.411_1.90.y0_ga/arch/arm/configs/am335x_igep0034_defconfig am335x_igep0034_defconfigimx6_igep0146_defconfig imx6_igep0146_defconfig]| style="width: 566px527px;"|<span style="color: #000000;"><code class="java plain">make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_defconfig imx6_igep0146_defconfig</code></span>
|}
Once the default configuration has been loaded, it is time to compile the Linux Kernel. There are three important elements to compile:
|-
| style="width: 281.467px;"|IGEP COM AQUILA AM335x
| style="width: 588.533px;"|[https://git.isee.biz/linux-kernel/linux-omap-2.6/blob/isee-linux-v.4.9.y/arch/arm/boot/dts/am335x-igep0033base0033.dtsi dts am335x-igep0033base0033.dtsidts]
|-
| style="width: 281.467px;"|IGEPv5 OMAP5432
| style="width: 281.467px;"|IGEP SMARC iMX6 Dual Lite
| style="width: 588.533px;"|[https://git.isee.biz/linux-kernel/linux-imx/blob/isee-imx_4.9.11_1.0.0_ga/arch/arm/boot/dts/imx6dl-igep-base0040rd102.dts imx6dl-igep-base0040rd102.dts]
|-
| style="width: 281.467px;"|IGEP SMARC iMX6 Ultra Lite
||[https://git.isee.biz/linux-kernel/linux-imx/blob/isee-imx_4.9.11_1.0.0_ga/arch/arm/boot/dts/imx6ul-igep-base0040rd102.dts imx6ul-igep-base0040rd102.dts], [https://git.isee.biz/linux-kernel/linux-imx/blob/isee-imx_4.9.11_1.0.0_ga/arch/arm/boot/dts/imx6ul-igep-base0040rd102-wifi.dts imx6ul-igep-base0040rd102-wifi.dts]
|}
''' '''
Once you have to compile the Kernel, you have to copy de Zimage and dtb in /media/user/boot.'''<br />''' zImage example: <span style="color: #000000;"><code class="java plain">cp arch/arm/boot/zimage /media/user/boot</code></span>  <span style="color: #000000;"><code class="java plain">cp arch/arm/boot/dts/omap3-igep0020-rev-f.dtb /media/user/boot</code></span>  '''Before to install the modules, you need to choose a [[IGEP Firmware set-up|rootfs]] and copy in your SDCard or Nand/MMC rootfs parition.'''  '''Finally''', the last step is to''' install the modules inside the desired rootfs'''. It can be done by typingFor example, if the rootfs is located in a external storage device mounted on the /media folder sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/media/user/rootfs/ modules_install==<span id="Linux_kernels" class="mw-headline">Linux kernels</span>==To get more information about our Kernel and their compatibilities * [[Linux Kernel 4.1.y|Linux Kernel 4.1]]* [[Linux Kernel 3.8.y|Linux Kernel 3.8]]
sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH= modules_install
For example, if the rootfs is located in a external storage device mounted on the /media folder:
sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/media/rootfs/ modules_install
[[Category:Linux]]
[[Category:Linux_Kernel]]
560
edits