hello, on our custom board based on imx8mm, we have USB2 configured for USB OTG.
I am trying to figure out how to change the serial downloader to use USB2 for OTG mode for downloading/use MfgTool.
Under u-boot-imx/common/spl/Kconfig, i see a config option "SPL_SDP_USB_DEV"
int "SDP USB controller index"
depends on SPL_USB_SDP_SUPPORT
Some boards have USB controller other than 0. Define this option
so it can be used in compiled environment.
Will changing this config to 1 will be enough? Anyone else in the similar situation?
@igorpadykov hi, i am actually looking for the SDP protocol which is added in uboot by NXP.
I would like to know how to use it, which will also provide serial downloader in SPL (not the serial downloader in Boot rom code)
This is acheived using the SPL config SPL_SDP_USB_DEV as i mentioned before.