IMX6ULL/VIOLA boot over UART in recovery mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6ULL/VIOLA boot over UART in recovery mode

3,034 Views
ge73for
Contributor I

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 : https://github.com/boundarydevices/imx_usb_loader.

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

Labels (2)
0 Kudos
Reply
7 Replies

2,689 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kavya

pre-built images may not work on custom board, for custom board first

recommended to run ddr test i.MX6/7 DDR Stress Test Tool V3.00 

and update image with new ddr calibration coefficients placed in uboot/board/freescale/

mx6ullevk/imximage.cfg

Usb_loader usage is described on

i.MX USB Loader 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

2,689 Views
ge73for
Contributor I

Hallo Igor,

Thank you for the reply. I should have probably mentioned earlier , that the board i am using is the Colibri IMX6ULL with the Viola carrier board(V1.2).

Would ddr test be required in this case ?

The link shared by you seems to be about USB loader which works for the board.

The board works with the imx_usb. I am trying to boot the board over the UART.

Thanks & Regards,

Kavya

0 Kudos
Reply

2,689 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kavya

Colibri IMX6ULL is not supported by nxp, issue may be posted

on its vendor forum :

Welcome to - Toradex Community 

Best regards
igor

0 Kudos
Reply

2,689 Views
ge73for
Contributor I

Hallo Igor,

Thank you. I have also posted in the Toradex Forum. The Colibri IMX6ULL is based on the NXP IMX6ULL System-on-Chip . so i wanted to know if booting over UART works for the NXP IMX6ULL .

Thanks & Regards,

Kavya B C

0 Kudos
Reply

2,689 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kavya

 

yes booting over UART works for the IMX6ULL.

 

Best regards
igor

0 Kudos
Reply

2,689 Views
ge73for
Contributor I

Hallo Igor,

Could you please let me know about the steps and the connections followed ? 

Thanks & Regards,

Kavya B C

0 Kudos
Reply

2,689 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kavya 

NXP does not support booting over UART in its bsps (it is supported

by some third parties like boundary devices via imx_usb_loader tool).

NXP does not support imx_usb_loader tool. Supported loading using MFG Tools,

description can be found for example on below presentation:

 Manufacturing Tools for i.MX Applications Processors AMF-ACC-T1652

AMF-ACC-T1652 

For issues related to Colibri IMX6ULL with  imx_usb_loader tool suggest to

post issue on forum :

Welcome to - Toradex Community 

Best regards
igor

0 Kudos
Reply