Hi everyone,
I have iMX8QXP-MEK board and I'm trying to use UUU tool to load my bootloader image into the EMMC (or QSPI). I use Windows Subsystem for Linux to use imx-mkimage utility with prebuild scripts etc.
I have used many community documents such as the followings: i.MX8 Boot process and creating a bootable image - NXP Community or A step-by-step guide to bringing up your NXP i.MX8 - PathPartnerTech .
Q: When I create a binary file which contains preformed u-boot.bin, scfw and secofw, I can see u-boot logs on the shell and I can boot VxWorks by using TFTP Server thanks to the u-boot. But when I compose a bootloader image by using imx-mkimage tool which contains VxWorks.bin as well as preformed u-boot.bin, scfw and secofw, UUU tool prints LIBUSB_ERROR_IO and then aborts the download process. Any idea about this?
Tools
UUU Tool that I use : libuuu_1.4.201-0-g005ff6f
imx-mkimage from imx-mkimage - i.MX Mkimage Bootloader Tool (codeaurora.org)
Hi @beratovic
I hope you are doing well.
By observing this error "LIBUSB_ERROR_IO" it seems USB connection with Windows/Linux machine is not good. For the confirmation one can try Linux command "lsusb" to check whether "IMX8MQ EVK" is able to detect or not. Or else you can check the dmesg logs of Linux machine from that you will be able to find out the error logs of USB.
To resolve this issue one can Re-connect the USB cable Or try with another USB cable.
Thanks & Regards.
Sanket Parekh