Hi everyone!
I am trying to load SPL and u-boot on my SABRESDB board via the uuu utility on ubuntu, and am facing some difficulty that i hope someone can help me with.
I have a working SPL and u-boot.img files built from source ( i know they are working because i can load them to an SD card and boot successfully). I wanted to test the uuu utility to see if i can prepare a production script to load our images to an emmc.
I understand that the uuu first loads bootloaders to RAM, and then uses the u-boot fastboot protocol to write to emmc. However, when i try to load u-boot via uuu, i face the following issue:
Step 1: I can see that my chip is in SDP mode, and will accept SDP commands:
sudo ./uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-3-gf895947
Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion
==================================================
3:2 MX6Q SDP: 0x15A2 0x0054 0x0001
Step 2: I use uuu to load my SPL:
sudo ./uuu sdp: boot -f ../SPL
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-3-gf895947
Success 0 Failure 0
3:2 1/ 1 [=================100%=================] sdp: boot -f ../SPL
Okay
Step 3: I check that the board is in fact running the SPL (looks OK)
sudo ./uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-3-gf895947
Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion
==================================================
3:2 SPL SDPU: 0x0525 0xB4A4 0x0221
Step 4: I want to load u-boot now:
sudo ./uuu sdpu: write -f ../u-boot.img
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-3-gf895947
Success 0 Failure 1
3:2 1/ 1 [HID(W):LIBUSB_ERROR_TIMEOUT ] sdpu: write -f ../u-boot.img
Error: HID(W):LIBUSB_ERROR_TIMEOUT
Does anyone here know why i'm getting LIBUSB_ERROR_TIMEOUT?
Thank you.