Hi
CPU:imx8qx6avlf
SDK:Android Q10.0.0_2.2.0_AUTO
Reference Android_User's_Guide.pdf 8.5 modification
--- a/android_build/vendor/nxp-opensource/uboot-imx/configs/imx8qxp_mek_androidauto_trusty_defconfig
+++ b/android_build/vendor/nxp-opensource/uboot-imx/configs/imx8qxp_mek_androidauto_trusty_defconfig
@@ -103,13 +103,11 @@ CONFIG_SPL_DM_USB_GADGET=y
CONFIG_USB=y
CONFIG_USB_GADGET=y
-#CONFIG_CI_UDC=y
+CONFIG_CI_UDC=y
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_USB_GADGET_MANUFACTURER="FSL"
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
-CONFIG_USB_CDNS3=y
-CONFIG_USB_CDNS3_GADGET=y
CONFIG_USB_GADGET_DUALSPEED=y
CONFIG_SPL_USB_GADGET=y
CONFIG_SPL_USB_SDP_SUPPORT=y
@@ -124,7 +122,7 @@ CONFIG_FSL_FASTBOOT=y
CONFIG_FASTBOOT_BUF_ADDR=0x98000000
CONFIG_FASTBOOT_BUF_SIZE=0x19000000
CONFIG_FASTBOOT_FLASH=y
-CONFIG_FASTBOOT_USB_DEV=1
+CONFIG_FASTBOOT_USB_DEV=0
CONFIG_SYS_I2C_IMX_VIRT_I2C=y
CONFIG_I2C_MUX_IMX_VIRT=y
CONFIG_IMX_VSERVICE_SHARED_BUFFER=0x90400000
diff --git a/android_build/vendor/nxp-opensource/uboot-imx/include/configs/imx8qxp_mek_android_auto.h b/android_build/vendor/nxp-opensource/uboot-imx/include/configs/imx8qxp_mek_android_auto.h
index eb9617b..4ab8627 100644
--- a/android_build/vendor/nxp-opensource/uboot-imx/include/configs/imx8qxp_mek_android_auto.h
+++ b/android_build/vendor/nxp-opensource/uboot-imx/include/configs/imx8qxp_mek_android_auto.h
@@ -40,7 +40,6 @@
#define KEYSLOT_BLKS 0x3FFF
#define CONFIG_SKIP_RESOURCE_CHECKING
-#define CONFIG_FASTBOOT_USB_DEV 1
#define CONFIG_ANDROID_RECOVERY
#define CONFIG_CMD_BOOTA
Cannot use USB 2.0 to download image
Stuck in this position
Solved! Go to Solution.
We gave up, so we didn’t test.
Hello,
Could you please share your device tree file configuration?
BR,
Ivan.
Hello,
Please try the below change; removed xhci related :
--- a/configs/imx8qxp_mek_spl_defconfig
+++ b/configs/imx8qxp_mek_spl_defconfig
@@ -38,8 +38,9 @@ CONFIG_FASTBOOT_FLASH=y
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
CONFIG_FASTBOOT_USB_DEV=1
-CONFIG_USB_XHCI_HCD=y
-CONFIG_USB_XHCI_IMX8=y
+#CONFIG_USB_XHCI_HCD=y
+#CONFIG_USB_XHCI_IMX8=y
+CONFIG_USB_EHCI_HCD=y
CONFIG_DM_USB=y
@@ -47,14 +48,14 @@ CONFIG_USB=y
CONFIG_USB_TCPC=y
CONFIG_USB_GADGET=y
-# CONFIG_CI_UDC=y
+CONFIG_CI_UDC=y
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_USB_GADGET_MANUFACTURER="FSL"
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
-CONFIG_USB_CDNS3=y
-CONFIG_USB_CDNS3_GADGET=y
+#CONFIG_USB_CDNS3=y
+#CONFIG_USB_CDNS3_GADGET=y
CONFIG_USB_GADGET_DUALSPEED=y
CONFIG_CMD_GPIO=y
@@ -107,7 +108,7 @@ CONFIG_CMD_MEMTEST=y
CONFIG_SPL_USB_HOST_SUPPORT=y
CONFIG_SPL_USB_GADGET_SUPPORT=y
CONFIG_SPL_USB_SDP_SUPPORT=y
-CONFIG_SPL_SDP_USB_DEV=1
+CONFIG_SPL_SDP_USB_DEV=0
CONFIG_SDP_LOADADDR=0x80400000
CONFIG_SYS_I2C_IMX_VIRT_I2C=y
diff --git a/include/configs/imx8qxp_mek.h b/include/configs/imx8qxp_mek.h
index 6c8b8b1..7e09715 100644
--- a/include/configs/imx8qxp_mek.h
+++ b/include/configs/imx8qxp_mek.h
@@ -399,14 +399,12 @@
#define CONFIG_USB_GADGET_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
-#define CONFIG_USB_EHCI_HCD
#endif
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
/* USB OTG controller configs */
#ifdef CONFIG_USB_EHCI_HCD
-#define CONFIG_USB_EHCI_MX6
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
Hope it helps!
BR,
Ivan.