We are using imx7d with customized board. We connected board to our laptop via OTG cable. It is detected as "hiddev0,hidraw0: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank ULT1]" device.
We are using 256x16 bit RAM (is43tr16256bl-125kbli).
We are trying to load u-boot from usb otg using imx_usb tool:
$ ./imx_usb u-boot-dtb.imx
It loads binary to 0x877ff400 address, But fails when try to jump on 0x877ff400 address. We think some RAM configuration is required, but dont know how to do it. Let us know there could be any other problem. Please help us on this problem.
These are the logs of imx_usb tool:
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
config file <.//mx7_usb_work.conf>
parse .//mx7_usb_work.conf
Trying to open device vid=0x15a2 pid=0x0076
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename u-boot-dtb.imx
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 3
jump_addr 0x00000000
== end work item
loading DCD table @0x910000
<<<436, 436 bytes>>>
succeeded (security 0x56787856, status 0x128a8a12)
clear dcd_ptr=0x877ff42c
loading binary file(u-boot-dtb.imx) to 877ff400, skip=0, fsize=82c00 type=aa
<<<535552, 535552 bytes>>>
succeeded (security 0x56787856, status 0x88888888)
jumping to 0x877ff400
failed (security 0x56787856, status 0x33220a00)
Hi Devesh
usb_loader tool was developed and supported by third parties, it is not supported by nxp.
One can look at its description below and try to debug it using sources
Imx usb loader - Variscite Wiki
GitHub - boundarydevices/imx_usb_loader: USB & UART loader for i.MX5/6/7/8 series
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------