boundarydevices / imx_usb_loader

USB & UART loader for i.MX5/6/7/8 series

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imx6UL DART booting

opened this issue · comments

Hello,
When using the tool I get these messages:

./imx_usb mx6ull_usb_work.conf 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=0x0080 file_name=mx6ull_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
vid=0x1fc9 pid=0x012b file_name=mx8mq_usb_work.conf
vid=0x1fc9 pid=0x0134 file_name=mx8mm_usb_work.conf
vid=0x3016 pid=0x1000 file_name=mx8mm_usb_sdp_spl.conf
vid=0x3016 pid=0x1001 file_name=mx8mq_usb_sdp_spl.conf
config file <.//mx6ull_usb_work.conf>
parse .//mx6ull_usb_work.conf
Trying to open device vid=0x15a2 pid=0x0080
Interface 0 claimed
do_command err=-7, last_trans=0
do_command err=-7, last_trans=0
do_command err=-7, last_trans=0
do_command err=-7, last_trans=0
do_command err=-7, last_trans=0
status failed

If I reset the board and try again I get:

config file <.//mx6ull_usb_work.conf>
parse .//mx6ull_usb_work.conf
Trying to open device vid=0x15a2 pid=0x0080
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename mx6ull_usb_work.conf
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 3
jump_addr 0x00000000
== end work item
header not found 400:7536786d, 0
do_download failed, err=-22
HAB security state: development mode (0x56787856)

Details

I am using a Variscite board. I did myself a USB-USB male to male and I am running PC<->BOARD [USB2] (power disconnected) it after figuring out form schematics.
The emmc is blank, the boot pins are set to boot from emmc. Upon plugin the USB and reseting the iMX I get

[16233.869051] usb 1-2: new high-speed USB device number 33 using xhci_hcd
[16234.017959] usb 1-2: New USB device found, idVendor=15a2, idProduct=0080, bcdDevice= 0.01
[16234.017964] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[16234.017968] usb 1-2: Product: SE Blank 6ULL
[16234.017971] usb 1-2: Manufacturer: Freescale SemiConductor Inc 
[16234.020371] hid-generic 0003:15A2:0080.000C: hiddev1,hidraw3: USB HID v1.10 Device [Freescale SemiConductor Inc  SE Blank 6ULL] on usb-0000:00:14.0-2/input0

I have the git commit

commit 052170c6a043eec4e73fad80955876cf1ba5e4f2 (HEAD -> master, origin/master, origin/HEAD)
Author: Tom Rini <trini@konsulko.com>
Date:   Wed Jan 22 13:38:00 2020 -0500

I got this u-boot git://git.denx.de/u-boot-imx.git

make imx6ul_isiot_emmc_defconfig
make u-boot.imx

I used mfgtool and issued USB timeout, but on a closer loog debugging the msfgtool I found out that the
uboot imx I use has no DCD