1,381
edits
Changes
From IGEP - ISEE Wiki
→Download Binary package
__TOC__
==Overview==
<span style="color: #000000;">This page is meant to be a starting point for people to learn build a u-boot image and show to people the current status of different u-boot versions for IGEP Processor Boards.</span>
==Necessary package==
{{Message/Information Message|message=The following steps has been tested using '''Ubuntu 16.04''' and the '''4.9 version''' of the '''arm-linux-'''<span class="mw-headline">'''gnueabihf''' compiler</span>}}
{| class="contenttable sortable"|-!|'''Commercial Name'''!|'''Technical name'''|-| style="background-colorwidth: #f2f2f2; text-align: center;" colspan="2"|'''Texas instruments'''|-||IGEPv2||<span style="color: #002d87;">IGEP0020, DM3730</span>|-||IGEP COM MODULE||<span style="color: #002d87;">IGEP0030, DM3730</span>|-||IGEP COM PROTON||<span style="color: #002d87;">IGEP0032, OMAP3530</span>|-||IGEP COM AQUILA||<span style="color: #002d87887px;">IGEP0033, AM335x</span>
|-
! style="width: 344px;"||IGEPv5<span style="color: #000000;">'''Commercial Name'''</span>|! style="width: 527px;"|<span style="color: #002d87000000;">IGEP0050, OMAP5'''U-Boot Series'''</span>
|-
||IGEP SMARC AM335x|style="width: 344px;"|<span style="color: #002d87000000;">IGEP0034, AM335xIGEPv2 DM3730</span>| style="width: 527px;"|<span dir="auto">U-boot-ARM</span>
|-
||IGEP SMARC AM335x Lite|style="width: 344px;"|<span style="color: #002d87000000;">IGEP0034, Lite, AM335xIGEP COM MODULE </span>DM3730/AM3703| style="width: 527px;"|<span dir="auto">U-boot-ARM</span>
|-
| style="background-width: 344px;"|<span style="color: #f2f2f2000000;">IGEP COM AQUILA AM335x</span>| style="width: 527px; text-align"|<span style="color: center#000000;" colspan><span dir="2auto"|'''Freescale>U-boot-NXP'''ARM</span> </span>
|-
||IGEP SMARC iMX6 Solo|style="width: 344px;"|<span style="color: #002d87000000;">IGEPv5 OMAP5432</span>| style="width: 527px;"|<span dir="auto">IGEP0046, IMX6XXU-boot-ARM</span>
|-
|style="width: 344px;"|<span style="color: #000000;">IGEP SMARC iMX6 Dual LiteAM335x</span>|style="width: 527px;"|<span styledir="color: #002d87;auto">IGEP0046, iMX6DLU-boot-ARM</span>
|-
||IGEP SMARC iMX6 Dual|style="width: 344px;"|<span style="color: #002d87000000;">IGEP0046, iMX6XXIGEP SMARC iMX6 </span>|-||IGEP SMARC iMX6 Quad|style="width: 527px;"|<span styledir="color: #002d87;auto">IGEP0046, iMX6QU-boot-</span>Freescale-NXP
|}
* Once we know which U-Boot have we will clone the corresponding git repository.
====<span dir="auto">U-Boot '''Texas InstrumentsARM''' Series</span>====<div class="clearfix">First : If we have an ARM series we will download the follow this table to get our source of U-Boot file for be able to make the configuration.</div><div class="clearfix"></div><div class="clearfix">{| class="contenttable sortable" style="width: 882px881px; height: 298px;"|- style="height: 2816.0313px5781px;"! style="width: 854px855px; height: 2816.0313px5781px; text-align: center; vertical-align: middle;" colspan="2"|===='''Downloading binary files====/U-Boot Source'''|- style="height: 31px44px;"! style="background-color: #ffffff; heightwidth: 31px225px; widthheight: 214px44px;"|'''<span id="Clone_the_u-boot_repo" class="mw-headline">Clone the u-boot reporepository</span>'''| style="width: 540px621px; height: 31px44px;"|
Clone the u-boot repository using git address:
|- style="height: 110px;"
! style="background-color: #ffffff; width: 225px; height: 110px; width: 214px;"|'''<span id="Checkout_u-boot_repo" class="mw-headline">Checkout u-boot repo repository</span>'''| style="width: 640px621px; height: 110px;"|
Go to the u-boot-arm directory and checkout the isee_v2017.03 as:
====<span dir="auto">U-Boot '''Freescale-NXP''' Serie</span>====
<div class="clearfix">
: If we have an Freescale-NXP series we will follow this table to get our source of U-Boot
</div>
{| class="contenttable sortable" style="width: 888px883px; height: 441px;"|-! style="width: 862px; text-align: center; vertical-align: middle;" colspan="2"|====<span id="Set_the_board_configuration" class="mw-headline">Set the board</span><span id="Set_the_board_configuration" class="mw-headline"> configuratio</span><span id="Set_the_board_configuration" class="mw-headline">n(Prepare your U-BOOT)</span>====|-! style="background-color: #ffffff; width: 209px;"|IGEPv2| style="width: 644px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0020_defconfig</span>|-! style="background-color: #ffffff; width: 209px;"|IGEP COM Module | style="width: 644px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0030_defconfig </span>|-! style="background-color: #ffffff; width: 209px;"|IGEP COM PROTON | style="width: 644px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0032_defconfig</span>|-! style="background-color: #ffffff; width: 209px;"|IGEP COM AQUILA | style="width: 644px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0033_defconfig</span>|-! style="background-color: #ffffff; width: 209px;"|IGEPv5| style="width: 644px;"| <span style="color: #002d87;">----</span>|-! style="background-color: #ffffff; width: 209px;"|IGEP SMARC AM335x | style="width: 644px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_defconfig</span>|-! style="background-color: #ffffff; width: 209px;"|IGEP SMARC AM335x Lite| style="width: 644px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_lite_defconfig</span>|} The result for '''Texas Instruments''' processor based board will be a '''MLO''' and '''u-boot.img'''. ====<span id="Build_u-boot" class="mw-headline">Build u-boot</span>====You can build u-boot executing this command: <span style="color: #ff0000;">COMPROVAR</span> <span style="color: #002d87;"><code><span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-</span></code></span> ===<span dir="auto">U-Boot '''Freescale-NXP iMX6''' Series</span>===<div class="clearfix">First we will download the U-Boot file for be able to make the configuration.</div>{| class="contenttable sortable" style="font-size: 15.024px; width: 885px263px;"
|- style="height: 22px;"
! style="width: 851px849px; height: 22px; text-align: center; vertical-align: middle;" colspan="2"|===='''Downloading binary files====/U-Boot Source'''
|- style="height: 44px;"
! style="background-color: #ffffff; width: 203px223px;"|'''<span id="Clone_the_u-boot_repo" class="mw-headline">Clone the u-boot reporepository</span>'''| style="width: 648px626px; height: 44px;"|<span style="color: #000000;">Clone the u-boot repository using git address:<br /span> <span style="color: #002d87000000;">$ <code>git clone git@https://git.isee.biz:/cgit/arm-boot/u-boot-imx.git git</code></span>or
|- style="height: 89px;"
! style="background-color: #ffffff; width: 203px223px;"|'''<span id="Checkout_u-boot_repo" class="mw-headline">Checkout u-boot repo repository</span>'''| style="width: 648px626px; height: 89px;"|<span style="color: #000000;">Go to the u-boot-imx directory and checkout the version 2015isee_imx_v2017.0403.y as:<br /span> <span style="color: #002d87000000;">$ <code>cd u-boot-imx</span><brcode><span style="color: #002d87;">$ git checkout remotes/origin/isee_imx_v2017.03_4.9.11_1.0.0_ga -b isee_imx_v2017.03_4.9.11_1.0.0_ga</span>|}
|}
{| class="contenttable sortable" style="font-size: 15.024px; width: 889px;"|-! style="width: 361px;"|<span style="color: #999999;">Modules</span>! style="width: 361px;"|<span style="color: #999999;">Files</span>|-! style="background-color: #ffffff; width: 361px; text-align: left;"|<span style="color: #999999;">IGEP0046 SMARC iMX6 Duallite 2GB</span>| style="background-color: #ffffff; width: 361px872px; text-align: left;"|<span style="colorheight: #999999317px;">igep0046_imx6dl_2G_defconfig </span>
|-
! style="background-color: #ffffff; width: 361px; text-align: left196px;"|<span Module! style="colorwidth: #99999910px;">IGEP0046 SMARC iMX6 DUAL</span>|Defconfig| ! style="background-color: #ffffff; width: 361px; text-align: left644px;"| Example
|-
|-
|-
|-
|-
|-
|-
|-
|}
==Build your U-BOOT==After running the defconfig. You can build the U-Boot by executing this command: <span style="font-size: 28.2451px; color: #000000;">Stable U make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-Boot</span>Once the compile process has sucesfully finished, we will find the resulting files inside the u-boot root folder. Depending on the processor the generated files will be different:
* The result for '''ARM''' processor based board will be a '''MLO''' and '''u-boot.img'''.* The result for '''Freescale'''-'''NXP'''<strong style="font-size: 0.939em;"> </strong><span style="colorfont-size: #0000000.939em;">The software git repository is located [httpsprocessor based will be a </span><strong style="font-size://git0.isee.biz/arm939em;">u-boot here].imx.</spanstrong>
{{Message/Information Message|title=TITLE|message= <span style="color: #000000;">In case of the Freescale-NXP Porcessor Boards, it is not possible to copy directly the u-boot firmware binaries can be downloaded from here.imx file. It is necessary to copy in the first blocks of the boot device using the dd command. It is explained in the following post [[How to prepare a bootable MicroSD Card|How to prepare a bootable MicroSD Card]].</span>}}
==<span style="color: #999999;">u-boot Texas Instruments AM335x, OMAP3, DM3730, OMAP5432 series</span>Download Binary package==* <span style="color[http: #999999;">[[u-boot_Texas_Instruments_Series|u-boot Texas Instruments Series//downloads.isee.biz/ You can download binary packages from here.]]</span>
==<span styleid="color: #999999;What_next..."class="mw-headline">What next...</span>==After build u-boot you have to download and compile [[Category:U-BootLinux Kernel 4.9.y|kernel]]</span>