i.MX8MQ Custom board u-boot flash and boot up issue

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

i.MX8MQ Custom board u-boot flash and boot up issue

Jump to solution
762 Views
neel_desai
Contributor I

Hi NXP Team,

We have used imx8mq_evk for development purposes. Based on the imx8mq evk design we have developed a custom board.

Flash process:

Below are the processes which we have followed:

1. I have refer to the DDR calibration tool and doing a DDR stress test.

2. After the stress test successfully,  I have generated lpddr.c file.

3. After generating lpddr.c stress file I have integrated this file into the u-boot.

4. Compile the u-boot and try to flash the u-boot using uuu tool.

Flash process Observation:

We got the below observation

  • When I try to flash the u-boot in serial mode and if the UART1 port console connected then the flash process stuck at below lines:

         Wait for Known USB Device Appear...
         New USB Device Attached at 1:10
         1:10>Start Cmd:SDP: boot -f bin1/imx-boot-emmc.bin-flash_evk
         6400%1:10>Okay (0.354s)
         New USB Device Attached at 1:10
         1:10>Start Cmd:SDPV: delay 1000
         1:10>Okay (1s)
         1:10>Start Cmd:SDPV: write -f bin1/imx-boot-emmc.bin-flash_evk -skipspl
         99%1:10>Okay (1.601s)
         1:10>Start Cmd:SDPV: jump
         6400%1:10>Okay (0.127s)

  • When I removed the UART1 port console then I successfully flash the u-boot images.

Question:

1. So, the Question is why u-boot flash is not succeeded when I connected the UART com port to the system?

Labels (1)
0 Kudos
1 Solution
754 Views
igorpadykov
NXP Employee
NXP Employee

Hi neel_desai

 

such behaviour may be caused by uart circuits, probably wrong connections,

short circuits, bad cable. One can check uart voltages with oscilloscope and

compare them with EVK:

Design Files for the i.MX 8M Evaluation Kit (EVKB)

 

Best regards
igor

View solution in original post

2 Replies
755 Views
igorpadykov
NXP Employee
NXP Employee

Hi neel_desai

 

such behaviour may be caused by uart circuits, probably wrong connections,

short circuits, bad cable. One can check uart voltages with oscilloscope and

compare them with EVK:

Design Files for the i.MX 8M Evaluation Kit (EVKB)

 

Best regards
igor

737 Views
neel_desai
Contributor I

Hi,

Thanks for the quick reply. The issue has been resolved. There is an issue in the UART cable. 

But I am curious why the UART cable will affect the flash process done by the USB interface? 

0 Kudos