[PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm

Jaap Crezee jaap at jcz.nl
Mon Mar 28 12:41:07 CEST 2022


Hello Tommaso,

On 3/28/22 12:26, Tommaso Merciai wrote:
> Hi Jaap,
> Actually I'm able to use SDP on imx8mm_evk over SPL. You need to apply
> the following patchset:
> 
> https://patchwork.ozlabs.org/project/uboot/list/?series=251796&state=*
> 
> plus you need the following configs:
> 
> CONFIG_SPL_USB_HOST=y
> CONFIG_SDP_LOADADDR=0x40400000
> 
> All described here:
> 
> https://www.mail-archive.com/u-boot@lists.denx.de/msg433984.html
> 
> I share with you also all config that I use on U-Boot 2022-04-rc4:
> 
> CONFIG_SPL_USB_HOST=y
> CONFIG_SPL_USB_HOST_SUPPORT=y
> CONFIG_SPL_USB_GADGET=y
> CONFIG_SPL_USB_SDP_SUPPORT=y
> CONFIG_CMD_USB=y
> CONFIG_CMD_USB_SDP=y
> CONFIG_CMD_USB_MASS_STORAGE=y
> CONFIG_POWER_DOMAIN=y
> CONFIG_IMX8M_POWER_DOMAIN=y
> CONFIG_USB=y
> CONFIG_DM_USB=y
> # CONFIG_SPL_DM_USB is not set
> CONFIG_USB_EHCI_HCD=y
> CONFIG_MXC_USB_OTG_HACTIVE=y
> CONFIG_USB_GADGET=y
> CONFIG_USB_GADGET_MANUFACTURER="FSL"
> CONFIG_USB_GADGET_VENDOR_NUM=0x0525
> CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
> CONFIG_CI_UDC=y
> CONFIG_USB_GADGET_DOWNLOAD=y
> CONFIG_SDP_LOADADDR=0x40400000

Thank you. I will give this another try, but I still assume imx8mq_evk != imx8mm_evk and it seems imx8mm is having code which imx8mq does not have 
(board/spl).
Once I have done more research I will report back.

greetings,

Jaap


More information about the U-Boot mailing list