Difference between revisions of "U-Boot Texas Instruments Series"

From IGEP - ISEE Wiki

Jump to: navigation, search
(What next...)
(U-Boot 2015.04.y [EOL])
Line 60: Line 60:
 
* Boot from Network.
 
* Boot from Network.
  
==U-Boot 2015.04.y [EOL]==
+
__TOC__
===Clone the u-boot repo===
 
Clone the u-boot repository using git address:
 
  
<code>$ git clone git@git.isee.biz:arm-boot/u-boot-fslc.git</code>
+
=Introduction=
 +
This article is for '''specific 2014.01.y U-Boot branch''' serie.<br />
 +
It is interesting read [[The bootloader U-Boot]] article previously.
  
or
+
On this 2014.01.y version, supported IGEP Processor Boards are:
  
 <code>$ git clone https://git.isee.biz/arm-boot/u-boot-fslc.git</code>
+
* IGEPv5 (IGEP0050)
  
===Checkout u-boot repo===
+
Binaries: latest stable u-boot version is: '''2014.01-0-omap5 (20140131)'''
Go to the u-boot-fscl directory and checkout the version 2015.04.y as:
 
  
<code>$ cd u-boot-fscl</code>
+
{| border="1"
 +
|-
 +
!|'''Platform'''
 +
!|'''Sources'''
 +
!|'''SPL binary'''
 +
!|'''U-Boot binaries'''
 +
|-
 +
||&nbsp;IGEP0050&nbsp;
 +
||[http://downloads.isee.biz/pub/releases/uboot/v2014.01-0-omap5/u-boot-2014.01-0-omap5.tar.gz 2014.01-0-omap5] ([http://downloads.isee.biz/pub/releases/uboot/v2014.01-0-omap5/u-boot-2014.01-0-omap5.tar.gz.md5 md5sum])
 +
||[http://downloads.isee.biz/pub/releases/uboot/v2014.01-0-omap5/MLO-2014.01-0-omap5.bin MLO-2014.01-0-omap5.bin] ([http://downloads.isee.biz/pub/releases/uboot/v2014.01-0-omap5/SPL-2014.01-0-omap5.bin.md5 md5sum])
 +
||[http://downloads.isee.biz/pub/releases/uboot/v2014.01-0-omap5/u-boot-2014.01-0-omap5.img u-boot-2014.01-0-omap5.img] ([http://downloads.isee.biz/pub/releases/uboot/v2014.01-0-omap5/u-boot-2014.01-0-omap5.img.md5 md5sum)]
 +
|}
  
<code>$ git checkout remotes/origin/isee-imx-patches-2015.04-next -b isee-imx-patches-2015.04-next.local</code> 
+
=Build u-boot from sources=
 +
'''Download''' the latest stable version sources and follow next steps:
  
===Set the board configuration===
+
wget http://downloads.isee.biz/pub/releases/uboot/v2014.01-0-omap5/u-boot-2014.01-0-omap5.tar.gz
Now build the u-boot, first set the configuration with:
+
tar xzf u-boot-2014.01-0-omap5.tar.gz
 +
cd [u-boot version]
  
IGEP0046 SMARC Quad:
+
or from [http://git.isee.biz/ ISEE GIT Repository]
  
<code>$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mx6q_igep0046_defconfig</code>
+
git clone git://git.isee.biz/pub/scm/u-boot-arm.git
 +
cd u-boot-arm/
 +
git checkout origin/u-boot-2014.01.y -b u-boot-2014.01.y.local
  
IGEP0046 SMARC Dual lite
+
Also, it could download from GIT Repositories ([http://git.isee.biz/ http://git.isee.biz/]) and test the last unstable version at your own risk (see "''U-Boot Mainline Series''" chapter in [[The bootloader U-Boot]])<br />
 +
<br />
 +
'''Configure''' U-Boot for IGEPv5 device.
  
<code>$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mx6dl_igep0046_defconfig</code>
+
make CROSS_COMPILE=[your cross compiler] omap5_igep0050_config
  
IGEP0046 SMARC Solo
+
Then '''build''' the SPL and the u-boot image. The result will be an ''MLO'' file and an ''u-boot.img'' file in current directory. Execute:
  
<code>$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mx6s_igep0046_defconfig</code>
+
make CROSS_COMPILE=[your cross compiler]
  
===Build u-boot===
+
=Changelog=
You can build u-boot executing this command:
+
* [http://git.isee.biz/?p=pub/scm/u-boot-arm.git;a=commit;h=44efc5c2396dc80b426384ea5a19c27873c881f3 Release 2014.01-0-omap5]
 +
** First release for 2014.01.y series
  
<code>$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-</code>
+
[[Category:U-Boot]]
 
 
===What next...===
 
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.
 
 
 
* Boot from MicroSD Card.
 
* Boot from NAND flash.
 
* Boot from eMMC.
 
* Boot from USB.
 
* Boot from Network.
 

Revision as of 16:05, 8 March 2018

U-boot isee_v2017.03

Clone the u-boot repo

Clone the u-boot repository using git address:

$ git@git.isee.biz:arm-boot/u-boot-arm.git

or

 $ https://git.isee.biz/arm-boot/u-boot-arm.git

Checkout u-boot repo

Go to the u-boot-arm directory and checkout the isee_v2017.03 as:

$ cd u-boot-arm

$ git checkout remotes/origin/isee_v2017.03 -b isee_v2017.03 

Set the board configuration

Now build the u-boot, first set the configuration with:

IGEP COM AQUILA RB11 (256MB RAM)

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0033_defconfig

IGEP COM AQUILA RB30 (512MB RAM) (IGEP0033)

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0033_RB30_defconfig

IGEP COM PROTON OMAP3530 (IGEP0032)

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0032_defconfig

IGEP SMARC AM335x (IGEP0034)

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_defconfig

IGEP SMARC AM335x (IGEP0034) Lite

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_igep0034_lite_defconfig

IGEP COM Module DM3730 (IGEP0030)

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0030_defconfig

IGEP COM Module DM3730 (IGEP0020)

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- igep0020_defconfig

Build u-boot

You can build u-boot executing this command:

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

What next...

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.

  • Boot from MicroSD Card.
  • Boot from NAND flash or eMMC.
  • Boot from USB.
  • Boot from Network.

Introduction

This article is for specific 2014.01.y U-Boot branch serie.
It is interesting read The bootloader U-Boot article previously.

On this 2014.01.y version, supported IGEP Processor Boards are:

  • IGEPv5 (IGEP0050)

Binaries: latest stable u-boot version is: 2014.01-0-omap5 (20140131)

Platform Sources SPL binary U-Boot binaries
 IGEP0050  2014.01-0-omap5 (md5sum) MLO-2014.01-0-omap5.bin (md5sum) u-boot-2014.01-0-omap5.img (md5sum)

Build u-boot from sources

Download the latest stable version sources and follow next steps:

wget http://downloads.isee.biz/pub/releases/uboot/v2014.01-0-omap5/u-boot-2014.01-0-omap5.tar.gz
tar xzf u-boot-2014.01-0-omap5.tar.gz
cd [u-boot version]

or from ISEE GIT Repository

git clone git://git.isee.biz/pub/scm/u-boot-arm.git 
cd u-boot-arm/
git checkout origin/u-boot-2014.01.y -b u-boot-2014.01.y.local

Also, it could download from GIT Repositories (http://git.isee.biz/) and test the last unstable version at your own risk (see "U-Boot Mainline Series" chapter in The bootloader U-Boot)

Configure U-Boot for IGEPv5 device.

make CROSS_COMPILE=[your cross compiler] omap5_igep0050_config

Then build the SPL and the u-boot image. The result will be an MLO file and an u-boot.img file in current directory. Execute:

make CROSS_COMPILE=[your cross compiler]

Changelog