iMX6 uboot recovery

Hi!

I have uboot break. I did put the toradex in recovery mode, but when i run update.sh -d script it drops an error.
Exactly:
./imx_usb: 1: ./imx_usb: Syntax error: word unexpected (expecting “)”)
Have you any idea, what causes this error?
Thanks!

regrads,
Dani

What exact software (module and development workstation) versions of things are you talking about?

Most possibly you are missing some of the pre-requisites (e.g. libusb or the like).

module colibri imx6dl 512mb V1.1A

I used raspberry 3B+ and Colibri_iMX6_LinuxImageV2.5(i have to uImages boot,thats why use this version). I realized that rpi architeture causes the syntax error. I installed a 32bit virtual debian i doesn’t drop syntax error, but doesn’t see the Evalution board. Can I flash over usb with virtual machine?

lsusb
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

./update.sh -d
Colibri iMX6 rootfs detected
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=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
no matching USB device found

Thank you very much, it works!

You are very welcome.

lsusb Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

No, you are connected to the wrong USB client connector. The FTDI one is for the serial debug console (e.g. where you later may execute run setupdate; run update) rather than the regular USB device one as used for recovery.