IMX6ULL/Viola Carrier Board Boot over UART in Recovery mode

Hallo Team,

I am trying to boot my board via UART. I use the u-boot from the pre-built images. I am using the following application : GitHub - boundarydevices/imx_usb_loader: USB & UART loader for i.MX5/6/7/8 series.

The device is brought into the recovery mode(by shorting the pins). The following command is run : “./imx_uart -n /dev/ttyUSB0 mx6ull_usb_work.conf u-boot.imx”. Ideally the board(in recovery mode) should respond and then boot.

The UART A of the viola board is used , with the RTS /CTS pins shorted.

The output is the following :

trailing slash == 0x5579de0d2161:/imx_uart
checking with conf_path /usr/etc/imx-loader.d/
checking with base_path ./
config file <.//mx6ull_usb_work.conf>
parse .//mx6ull_usb_work.conf
starting associating phase…
magic missmatch, response was 0x00000000

From the above i can infer that the board is not responding.

When not in recovery mode , if i run the command there is no mismatch and the board seems to respond.(But the u-boot does not load and by my understanding it should not).

  1. Does the IMX6ULL support UART-boot in recovery mode ?
  2. Is there any other connections or settings which must be performed for the UART-Boot to function ?

When the board is in recovery mode and the command “./imx_usb u-boot-nand.imx” is run , the board boots and hence the USB option works.

Thank You

Hi @kavya

According to the Reference Manual of the SoC iMX6ULL, boot over UART is supported but we never tested it.

Could you share the imx_uart binary and imx6ull conf file?

Best regards,
Jaski

Hello @jaski.tx ,

Thank you for the reply . Please find attached the imx_uart binary and imx6ull conf file.link text

Hello @jaski.tx ,

Any updates on the issue ?

I also tried connecting the RTS and CTS and executing “./imx_uart /dev/ttyUSB0 mx6ull_usb_work.conf u-boot.imx” (Without the -n option) and the output still remains the same.

Next i tried recovery mode from u-boot : bmode usb
The output is the same. Is there something I am missing ?

Hi @kavya

No, I tried this once with vybrid uart downloader but I had no success till now. Currently I am working on other topics. I will come this week back to you, once I have more Information.

Best regards,
Jaski

Hello @jaski.tx ,

Thank you , that would be great.

Hi @kavya

I did not make any progress on this. I will let you know once I got more Information about this.

Best regards,
Jaski

Do you have any news of this topic … I am having the issue magic mismatch, response was ox00000000 too

HI @neuberfran

Unfortunately there is no progress till now. We will let you know once we got more Information.

Best regards,
Jaski

HI @kavya

The Subject Boot over UART in Recovery mode, was discussed in R&D Team and we concluded that Toradex won’t provide and work on this feature since it is recommended by Toradex to use USB OTG connection to recover the iMX(X)s modules.

We are sorry for the delayed answer and any inconvenience.

Best regards,
Jaski