Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

The bootloader U-Boot

475 bytes added, 09:11, 8 May 2018
no edit summary
or
 <code><span style="color: #002d87;">$ git clone</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;"
or
 <code><span style="color: #002d87;">$ git clone clone</span> [https://git.isee.biz/arm-boot/u-boot-imx.git https://git.isee.biz/arm-boot/u-boot-imx.git]</code>
|- style="height: 89px;"
|}
Once we have downloaded we will execute the file called '''defconfig,''' that it variates in function of each modulemodel.
! style="background-color: #ffffff; width: 159px;"|
'''IGEP0046 SMARC Solo'''
| style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|linuxu-imx boot-IMX
| style="width: 528px;"|
<span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- xxxxx </span>
|-
! style="background-color: #ffffff; width: 159px;"|'''IGEP0046 SMARC Dual lite'''
| style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|linuxu-imx boot-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: 159px;"| '''IGEP0046 SMARC Dual '''
| style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|linuxu-imx boot-IMX
| style="width: 528px;"|<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: 159px;"| '''IGEP0046 SMARC Quad'''
| style="background-color: #ffffff; width: 167px; text-align: center; vertical-align: middle;"|linuxu-imx boot-IMX
| style="width: 528px;"|
<span style="color: #002d87;"> $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0046_imx6q_2G_defconfig</span>
====<span id="Build_u-boot" class="mw-headline">Build u-boot</span>====
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 "-"). So if your toolchain is invoked as say '''arm-linux-gnueabi-gcc''', just chop off that trailing gcc and that's what you use: arm-linux-gnueabihf-.
 
 
As example, once you've downloaded the u-boot source, you should follow these steps:
 
 
 
<span style="color: #002d87;"><code><span style="color: #002d87;">$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-</span></code></span>
==== ====
 
===<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.
<span style="color: #999999;">[[Category:U-Boot]]</span>
 
</div>
560
edits