How to download Linux image files through the usb2.0 interface on imx8qm

cancel
Showing results for 
Search instead for 
Did you mean: 

How to download Linux image files through the usb2.0 interface on imx8qm

489 Views
Contributor III

Hi NXP:

          By default,Imx8qm dewnload linux image files through the type-C interface. As shown in the picture "Default Download". But now i want download linux image files througt the USBOH interface.  I refer to the "8.5 How to enable USB 2.0 in U-Boot for i.MX 8QuadMax/8QuadXPlus"section of "Android_User's_Guide.pdf", The modifications on linux is invalid. But it's work on Android platform.

What other modifications do i need to make on linux ?

微信截图_20200323104028.png

微信截图_20200323105755.png

0 Kudos
8 Replies

15 Views
Contributor III
0 Kudos

15 Views
NXP TechSupport
NXP TechSupport

Hi yingjin,

For using usb2.0 through uuu, you need to modify u-boot and rebuild it. How to rebuild you can refer to the "8.5 How to enable USB 2.0 in U-Boot for i.MX 8QuadMax/8QuadXPlus"section of "Android_User's_Guide.pdf".

You can try it and then give me the result.

Have a nice day

Best Regards

Rita

0 Kudos

15 Views
Contributor III

Thanks for your reply.

In linux project, I modify u-boot and rebuild it, But it still doesn't work.

In android project, I modify u-boot and rebuild it,  Android images can be downloaded through usb2.0. What othre changes need to be done in linux project?

0 Kudos

15 Views
NXP TechSupport
NXP TechSupport

Software modify you can refer to the https://community.nxp.com/docs/DOC-346008 

0 Kudos

15 Views
Contributor III

In imx8qm dts only have usbotg1 and usb2, there is no configuration associated with the typec.

dts_usb.png

0 Kudos

15 Views
NXP TechSupport
NXP TechSupport

The method is the same with android BPS, you need to remove the CONFIG_USB_TCPC in the fsl-imx8qm-evk.dts. The above is  for  i.MX8MM & i.MX8MQ you just can refer to. Not the same.

The modify content you can follow the 微信截图_20200323105755.png

You can try and then give me the result. If it still not work contact me.

0 Kudos

15 Views
Contributor III

I tried to change all these files, but it still not work.微信截图_20200401104207.png

0 Kudos

15 Views
NXP TechSupport
NXP TechSupport

Hi yingjin,

You can to to http://www.nxp.com/support/support:SUPPORTHOME to create new case, describe this question in the case you said  to weidong sun, he will confirm it for you.

Have a nice day

Best Regards

Rita

0 Kudos