Configuring U-Boot

Showing results for 
Search instead for 
Did you mean: 

Configuring U-Boot

No ratings

Configuring U-Boot

LTIB Creating Uimage Uboot

U-boot expects uImage format for the kernel image.

In order to LTIB generate a uImage file:

$ export SYSCFG_KTARG=uImage $ ./ltib -p kernel 

Setup in U-Boot the kernel bootargs:

u-boot> setenv bootargs noinitrd console=ttymxc0,115200 init=/linuxrc root=/dev/nfs nfsroot= ip=dhcp 

Change to your host IP.

The procedure above is needed when default bootloader used by ltib was redboot.

In some ltib releases (before 2010) default bootloader is u-boot. In this case, ltib will create uImage by default

Configuration file for fw_(printenv/saveenv) utility

# Configuration file for fw_(printenv/saveenv) utility.

# Up to two entries are valid, in this case the redundant

# environment sector is assumed present.

# Notice, that the "Number of sectors" is ignored on NOR.


# MTD device name Device offset Env. size Flash sector size Number of sectors

#/dev/mtd1 0x0000 0x4000 0x4000

#/dev/mtd2 0x0000 0x4000 0x4000

# NAND example

/dev/mtd0 0x80000 0x40000 0x20000 2

Add new i.MX5x board on LTIB

After porting u-boot to your i.MX5x board you might want add it on LTIB menu, "Choose your board for u-boot" section. For this, edit ltib/config/platform/imx/main.lkc to add your board:

Enter board on menu:

comment "Choose your board for u-boot"


prompt "board"

default BOARD_MX51_BBG

depends on PLATFORM = "imx51"


This menu will let you choose the board you use.



+ bool "mx53_myboard"



Add the "mx53_myboard_config" that matches your board configuration on the u-boot Makefile to PKG_U_BOOT_CONFIG_TYPE:




+ default "mx53_myboard_config" if ( PLATFORM = "imx51" && BOARD_MX53_MYBOARD && !PKG_KERNEL_UPDATER )


Labels (3)
Version history
Revision #:
2 of 2
Last update:
‎09-10-2020 02:03 AM
Updated by: