Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

The bootloader U-Boot

263 bytes removed, 09:20, 8 May 2018
no edit summary
Clone the u-boot repository using git address:
<span style="color: #002d87;"><code><span style="color: #002d87;">$ git clone @git.isee.biz:arm-boot/u-boot-arm.git</span></code></span>
or
|- style="height: 44px;"
! style="background-color: #ffffff; width: 203px;"|'''<span id="Clone_the_u-boot_repo" class="mw-headline">Clone the u-boot repo</span>'''
| style="width: 648px; height: 44px;"|Clone the u-boot repository using git address: <br /code> <span style="color: #002d87;">$ git clone git@git.isee.biz:arm-boot/u-boot-imx.git git</span></code> 
or
 <code><span style="color: #002d87;">$ git clone</span> [https://git.isee.biz/arm-boot/u-boot-imx.git https://git.isee.biz/arm-boot/u-boot-imx.git]</code>
 
<code></code>
|- style="height: 89px;"
! style="background-color: #ffffff; width: 203px;"|'''<span id="Checkout_u-boot_repo" class="mw-headline">Checkout u-boot repo </span>'''
| style="width: 648px; height: 89px;"|
Go to the u-boot-imx directory and checkout the version <span style="color: #ff0000;">2015.04</span>.y as:
<span style="color: #002d87;">$ cd u-boot-imx<br>$ 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="width: 898px885px; height: 1296px;"
|-
! style="width: 872px854px; 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; width: 209px;"|Model! style="background-color: #f2f2f2; width: 148px;"|U-BOOT Version! style="width: 528px497px; background-color: #f2f2f2;"|Example
|-
! style="background-color: #ffffff; width: 159px209px;"|IGEPv2| style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"| u-boot-ARM| style="width: 528px497px;"|
<span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0020_defconfig</span>
|-
! style="background-color: #ffffff; width: 159px209px;"|IGEP COM Module | style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px497px;"|
<span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0030_defconfig </span>
|-
! style="background-color: #ffffff; width: 159px209px;"|IGEP COM PROTON | style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px497px;"|
<span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0032_defconfig</span>
|-
! style="background-color: #ffffff; width: 159px209px;"|IGEP COM AQUILA | style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px497px;"|
<span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0033_defconfig</span>
|-
! style="background-color: #ffffff; width: 159px209px;"|IGEPv5| style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px497px;"|
<span style="color: #002d87;">----</span>
|-
! style="background-color: #ffffff; width: 159px209px;"|IGEP SMARC AM335x | style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px497px;"|
<span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_defconfig</span>
|-
! style="background-color: #ffffff; width: 159px209px;"|IGEP SMARC AM335x Lite| style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-ARM | style="width: 528px497px;"|
<span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_lite_defconfig</span>
|-
! style="background-color: #ffffff; width: 159px209px;"|
'''IGEP0046 SMARC Solo'''
| style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-IMX| style="width: 528px497px;"|
<span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- xxxxx </span>
|-
! style="background-color: #ffffff; width: 159px209px;"|'''IGEP0046 SMARC Dual lite'''| style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-IMX| style="width: 528px497px;"|
<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: 159px209px;"| '''IGEP0046 SMARC Dual '''| style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-IMX| style="width: 528px497px;"|<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: 159px209px;"| '''IGEP0046 SMARC Quad'''| style="background-color: #ffffff; width: 167px148px; text-align: center; vertical-align: middle;"|u-boot-IMX| style="width: 528px497px;"|
<span style="color: #002d87;"> $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0046_imx6q_2G_defconfig</span>
|}
 
The result for '''Texas Instruments''' processor based board will be a '''MLO''' and '''u-boot.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>
 
You can build u-boot executing this command: 
In order to compile and build the U-Boot for IGEP PROCESSOR BOARDS you should set the CROSS_COMPILE variable. Set this to the prefix of your toolchain (including the trailing dash <span style="color: #002d87;"><code><span style="-color: #002d87;"). So if your toolchain is invoked as say '''>$ make ARCH=arm-linux-gnueabi-gcc''', just chop off that trailing gcc and that's what you use: CROSS_COMPILE=arm-linux-gnueabihf-.</span></code></span>
As example, once you've downloaded the u-boot source, you should follow these steps:
* The result for '''Texas Instruments''' processor based board will be a '''MLO''' and '''u-boot.img'''.
* The result for <strong style="font-size: 0.939em;">iMX6 </strong><span style="font-size: 0.939em;">processor based will be a </span><strong style="font-size: 0.939em;">u-boot.imx.</strong>
<span style="color: #002d87;"><code><span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-</span></code></span>
You can install these files, for example, in the boot partition of a SD-card.
==== ====  
===<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