Hi weidong sun:
By default, Imx8qm download 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. The attached file is my modification of u-boot.
What other modifications do i need to make on linux ?
Hello yingjin,
我问I.MX Expert team请教了这个问题,专家有些疑问,也给出了一个方案。
----------------
疑问:(第一次回复)
What is the Linux BSP version customer used is ?
Cusotmer used board is MEK or their own board ?
Customer want is use UUU download image though USB 2.0 port , right ?
Customer said android u-boot change is worked , can we suppose the android image download through usb2.0 port is ok ? then did they could only replace download file from "android image" to "linux image"?
Can you share both ok and fail log of it.
方案:(第二次回复)
I found the latest rel_imx_5.4.3_2.0.0 bsp , had support the both usb 2.0 and 3.0 port:
commit 1aa6e3f84c65e99de1219aa5d58d454cef1129f9
Author: Sherry Sun <sherry.sun@nxp.com>
Date: Wed Jul 31 15:31:46 2019 -0400
MLK-22357-4 imx8: Enable usb2 configs on imx8 platform
Enable the configs of usb2 so that both usb2 and usb3 gadget
drivers are now supported on imx8 plaform. And add
CONFIG_USB_PORT_AUTO to support usb port autodetect function
for SDP/fastboot.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
See default 5.4.3 uboot code configs/imx8qm_mek_defconfig:
CONFIG_CI_UDC=y
CONFIG_USB_PORT_AUTO=y
CONFIG_USB_CDNS3=y
CONFIG_SPL_SDP_USB_DEV=1 //this and below macro may be need change to zero
CONFIG_FASTBOOT_USB_DEV=1
Customer could try 5.4.3_2.0.0 u-boot , at uboot-imx - i.MX U-Boot , and chage the USB_DEV , to try the result.
------------------------------
请你看一下上面的expert的两次回复,如果没有给你解决问题,请一 一回复他提出来的疑问。
谢谢!
weidong