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

From IGEP - ISEE Wiki

Jump to: navigation, search
(U-Boot 2015.04.y [EOL])
(What next...)
Line 59: Line 59:
 
* Boot from USB.
 
* Boot from USB.
 
* Boot from Network.
 
* Boot from Network.
 
__TOC__
 
  
 
=Introduction=
 
=Introduction=

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