AnsweredAssumed Answered

How to build and load u-boot for i.MX6UltraLite Evaluation Kit

Question asked by Kian Karas on Sep 1, 2016
Latest reply on Sep 2, 2016 by Kian Karas




I'm trying to build u-boot and load it into my mx6ul evk using imx_usb from Boundary Devices. The output from imx_usb states "No dcd table", so I guess my problem is the missing DCD. I'm able to successfully load the u-boot-imx6ulevk_sd.imx file from NXP's prebuilds (L4.1.15_1.1.0_ga_images_MX6ULEVK), so I'm guessing the imx_usb tool is working.


Am I using the correct u-boot repository (and branch)?

u-boot repo (master branch): git://


I'm building u-boot.imx with (our own crossng cross compiler):


export BUILD_DIR=$PWD/build

export ARCH=arm

export CROSS_COMPILE=arm-unknown-linux-gnueabihf-

export PATH=$PATH:/usr/compiler/arm-unknown-linux-gnueabihf/bin

make O=build mrproper

make O=build mx6ul_14x14_evk_defconfig

make O=build u-boot.imx



Output from imx_usb:

./imx_usb ../u-boot/build/u-boot.imx
config file <./imx_usb.conf>
vid=0x066f pid=0x3780 file_name=mx23_usb_work.conf
vid=0x15a2 pid=0x004f file_name=mx28_usb_work.conf
vid=0x15a2 pid=0x0052 file_name=mx50_usb_work.conf
vid=0x15a2 pid=0x0054 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0063 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0071 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x007d file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0076 file_name=mx7_usb_work.conf
vid=0x15a2 pid=0x0041 file_name=mx51_usb_work.conf
vid=0x15a2 pid=0x004e file_name=mx53_usb_work.conf
vid=0x15a2 pid=0x006a file_name=vybrid_usb_work.conf
vid=0x066f pid=0x37ff file_name=linux_gadget.conf
config file <./mx6_usb_work.conf>
parse ./mx6_usb_work.conf
15a2:007d(mx6_qsb) bConfigurationValue =1
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename ../u-boot/build/u-boot.imx
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 2
jump_addr 0x00000000
== end work item
No dcd table, barker=402000d1

loading binary file(../u-boot/build/u-boot.imx) to 877ff400, skip=0, fsize=50c00 type=aa
out err=-7, last_trans=0 cnt=0x4000 max=0x400 transferSize=0x0 retry=0
out err=-7, last_trans=0 cnt=0x4000 max=0x200 transferSize=0x0 retry=1
out err=-7, last_trans=0 cnt=0x4000 max=0x100 transferSize=0x0 retry=2
out err=-7, last_trans=0 cnt=0x4000 max=0x80 transferSize=0x0 retry=3
out err=-7, last_trans=0 cnt=0x4000 max=0x40 transferSize=0x0 retry=4
out err=-7, last_trans=0 cnt=0x4000 max=0x20 transferSize=0x0 retry=5
out err=-7, last_trans=0 cnt=0x4000 max=0x10 transferSize=0x0 retry=6
out err=-7, last_trans=0 cnt=0x4000 max=0x8 transferSize=0x0 retry=7
out err=-7, last_trans=0 cnt=0x4000 max=0x10 transferSize=0x0 retry=8
out err=-7, last_trans=0 cnt=0x4000 max=0x8 transferSize=0x0 retry=9
out err=-7, last_trans=0 cnt=0x4000 max=0x10 transferSize=0x0 retry=10
Giving up
HAB security state: development mode (0x00000000)


imx_usb source:

GitHub - boundarydevices/imx_usb_loader: Usb loader for imx51/53/6x