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"
config SPL_SDP_USB_DEV
int "SDP USB controller index"
default 0
depends on SPL_USB_SDP_SUPPORT
help
Some boards have USB controller other than 0. Define this option
so it can be used in compiled environment.
endif
Will changing this config to 1 will be enough? Anyone else in the similar situation?
Hi Siva
seems usage USB2 in serial downloader is not possible as described in
sect.6.1.2.4 Serial Downloader i.MX 8M Mini Applications Processor Reference Manual
Best regards
igor
@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.
one can look at suggestions provided on
Best regards
igor
hi @igorpadykov this link has nothing to do with using the SDP protocol defined in SPL