Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

The bootloader U-Boot

1,533 bytes added, 13:00, 7 May 2018
no edit summary
==Download & Prepare your U-BOOT==
We will relate the commercial names with their technical names. In order to send  will be a clear message distintion between NXP products ( IGEP SMARC iMX6) and not get confussionsTexas products.
In addition, will be a distintion between NXP products ( IGEP SMARC iMX6) and Texas products. {| class="contenttable sortable" style="width: 888px;"
|-
!style="width: 513px;"|<span style="color: #999999;">'''Commercial Name'''</span>!style="width: 358px;"|<span style="color: #999999;">'''Technical name'''</span>
|-
| style="background-color: #f2f2f2; text-align: center; width: 871px;" colspan="2"|<span style="color: #999999;">'''Texas instruments'''</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEPv2</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0020, DM3730</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEP COM MODULE</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0030, DM3730</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEP COM PROTON</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0032, OMAP3530</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEP COM AQUILA</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0033, AM335x</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEPv5</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0050, OMAP5</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEP SMARC AM335x</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0034, AM335x</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEP SMARC AM335x Lite</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0034, Lite, AM335x</span>
|-
| style="background-color: #f2f2f2; text-align: center; width: 871px;" colspan="2"|<span style="color: #999999;">'''Freescale-NXP'''</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEP SMARC iMX6 Solo</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0046, IMX6XX</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEP SMARC iMX6 Dual Lite</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0046, iMX6DL</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEP SMARC iMX6 Dual</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0046, iMX6XX</span>
|-
|style="width: 513px;"|<span style="color: #999999;">IGEP SMARC iMX6 Quad</span>|style="width: 358px;"|<span style="color: #002d87999999;">IGEP0046, iMX6Q</span>
|}
or
 <code><span style="color: #002d87;">$</span> [https://git.isee.biz/arm-boot/u-boot-arm.git https://git.isee.biz/arm-boot/u-boot-arm.git]</code>
|- style="height: 110px;"
<span style="color: #002d87;">$ cd u-boot-arm<br>$ git checkout remotes/origin/isee_v2017.03 -b isee_v2017.03</span>
|}
 
Once we have downloaded we will execute the file called '''defconfig,''' that it variates in function of each module. It's recommended to make a clean of console... 
 
$ make distclean
 
</div>
{| class="contenttable sortable" style="width: 888px; 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>===
|}
Once we have downloaded we will execute the file called '''defconfig,''' that it variates in function of each module. It's recommended to make a clean of console... 
$ make distcleanOnce we have downloaded we will execute the file called '''defconfig,''' that it variates in function of each module.  </div>{| class="contenttable sortable" style="fontwidth: 898px; height: 1296px;"|-! style="width: 872px; text-align: center; vertical-align: middle;" colspan="3"|====<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: #f2f2f2;"|Model! style="background-color: #f2f2f2;"|U-BOOT Version! style="width: 528px; background-color: #f2f2f2;"|Example|-! style="background-color: #ffffff; width: 159px;"|IGEPv2| style="background-color: #ffffff; width: 167px; text-align: center; vertical-sizealign: 15.024pxmiddle;"| u-boot-ARM| style="width: 528px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0020_defconfig</span>|-! style="background-color: #ffffff; width: 159px;"|IGEP COM Module | style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle; "|u-boot-ARM | style="width: 881px528px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0030_defconfig </span>
|-
! style="background-color: #ffffff; width: 159px;"|IGEP COM PROTON | style="background-color: #ffffff; width: 865px167px; text-align: center; vertical-align: middle;" colspan|u-boot-ARM | style="2width: 528px;"|==== <span idstyle="Set_the_board_configuration" class="mw-headlinecolor: #002d87;">Set the board</span><span id$ make ARCH="Set_the_board_configuration" classarm CROSS_COMPILE="mwarm-linux-headline"> configuratio</span><span id="Set_the_board_configuration" class="mwgnueabihf-headline">n igep0032_defconfig</span>====
|-
! style="background-color: #ffffff; width: 159px;"|IGEP COM AQUILA | style="background-color: #ffffff; width: 208px167px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0033_defconfig</span>|-! style="background-color: #ffffff; width: 159px;"|IGEPv5| style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px;"| <span style="color: #002d87;">----</span>|-! style="background-color: #ffffff; width: 159px;"|IGEP SMARC AM335x | style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_defconfig</span>|-! style="background-color: #ffffff; width: 159px;"|IGEP SMARC AM335x Lite| style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_lite_defconfig</span>|-! style="background-color: #ffffff; width: 159px;"|'''IGEP0046 SMARC Solo'''| style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|linux-imx | style="width: 657px528px;"|
<span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- xxxxx </span>
|-
| ! style="background-color: #ffffff; width: 208px159px;"|'''IGEP0046 SMARC Dual lite'''| style="background-color: #ffffff; width: 657px167px; text-align: center; vertical-align: middle;"|linux-imx | style="width: 528px;"| <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0046_imx6dl_2G_defconfig</span><span style="color: #002d87;"> </span>
|-
| ! style="background-color: #ffffff; width: 208px159px;"| '''IGEP0046 SMARC Dual '''| style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|linux-imx | style="width: 657px528px;"|<span style="color: #002d87;"> </span> <span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- xxxxx</span><span style="color: #002d87;"> </span>
|-
| ! style="background-color: #ffffff; width: 208px159px;"| '''IGEP0046 SMARC Quad'''| style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|linux-imx | style="width: 657px528px;"| <span style="color: #002d87;"> $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0046_imx6q_2G_defconfig</span>
|}
The result for '''iMX6 Texas Instruments'''processor based board will be a '''MLO''' and '''u-boot.imx.img'''. <span style="font-size: 15.024px;">The result for </span><strong style="font-size: 15.024px;">iMX6 </strong><span style="font-size: 15.024px;">processor based will be a </span><strong style="font-size: 15.024px;">u-boot.imx.</strong>  
====<span id="Build_u-boot" class="mw-headline">Build u-boot</span>====
<div style="font-size: 15.024px;">You can build u-boot executing this command: <span style="color: #ff0000;">COMPROVAR</span></div>  <div style="font-size: 15.024px;"><span style="color: #002d87;"><code><span style="color: #002d87;">$</span> <span style="color: #002d87;">make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-</span></code></span></div>For both processors we can do... 
==== ====
===<span id="What_next..." class="mw-headline">What next...</span>===
After build u-boot you can use it for boot the board, exist several options for boot, check the Hardware Reference Manual about the options available for your board.
560
edits