AnsweredAssumed Answered

imx_usb_loader is not working when the Plugin mode is enabled.

Question asked by Manoj Sampathkumar on Apr 10, 2018
Latest reply on Apr 17, 2018 by igorpadykov

Hi

 

I am using uboot v2016  and I  tried to boot iMX6 Quad with plugin mode enabled uboot.imx. In that, I used imx_usb_loader  to boot iMx6 Quad but it fails to boot it. when I try after a reset (i.e)  second  time it is boots perfectly. In SCMiMX6DQ  it doesn't load at all. But in iMX6 SOLO it boots perfectly when using with  imx_usb_loader  what is the reason for not working with QUAD properly.

The uboot images work and boots properly when flashed in emmc, only creates a problem (or fails to load ) when using imx USB to load u-boot.

Is there any drawback in imx USB loader which does not allow to load uboot with the plugin enabled.?

 

Any fix or patches available?

 

Regards

Manoj

 

 

 FAIL_LOG:

config file </home/user/imx_usb_loader//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=0x0080 file_name=mx6_usb_work.conf
vid=0x1fc9 pid=0x0128 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0076 file_name=mx7_usb_work.conf
vid=0x1fc9 pid=0x0126 file_name=mx7ulp_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
vid=0x1b67 pid=0x4fff file_name=mx6_usb_sdp_spl.conf
vid=0x0525 pid=0xb4a4 file_name=mx6_usb_sdp_spl.conf
config file </home/user/imx_usb_loader//mx6_usb_work.conf>
parse /home/user/imx_usb_loader//mx6_usb_work.conf
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename /home/root/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(/home/user/u-boot.imx) to 00907400, skip=0, fsize=3c00 type=aa

<<<15360, 15360 bytes>>>
succeeded (status 0x88888888)
jumping to 0x00907400
HAB security state: development mode (0x00000000)
Interface 0 claimed
HAB security state: development mode (0x00000000)
status failed

SUCCESS_LOG:

config file </home/user/imx_usb_loader//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=0x0080 file_name=mx6_usb_work.conf
vid=0x1fc9 pid=0x0128 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0076 file_name=mx7_usb_work.conf
vid=0x1fc9 pid=0x0126 file_name=mx7ulp_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
vid=0x1b67 pid=0x4fff file_name=mx6_usb_sdp_spl.conf
vid=0x0525 pid=0xb4a4 file_name=mx6_usb_sdp_spl.conf
config file </home/user//mx6_usb_work.conf>
parse /home/user//mx6_usb_work.conf
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename /home/user/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(/home/user/u-boot.imx) to 00907400, skip=0, fsize=3c00 type=aa

<<<15360, 15360 bytes>>>
succeeded (status 0x88888888)
jumping to 0x00907400
HAB security state: development mode (0x00000000)
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename /home/user/u-boot.imx
load_size 0 bytes
load_addr 0x00000000
dcd 0
clear_dcd 0
plug 0
jump_mode 2
jump_addr 0x00000000
== end work item
header_max=3fe0

loading binary file(/home/user/u-boot.imx) to 177fbfd4, skip=0, fsize=5502c type=aa

<<<348204, 349184 bytes>>>
succeeded (status 0x88888888)
jumping to 0x177fc424

Outcomes