imx8mm: change Serial downloader to USB OTG2

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8mm: change Serial downloader to USB OTG2

163 Views
siva_prabhakara
Contributor III

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?

Labels (1)
Tags (2)
0 Kudos
4 Replies

152 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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

0 Kudos

137 Views
siva_prabhakara
Contributor III

@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.

0 Kudos

120 Views
igorpadykov
NXP TechSupport
NXP TechSupport
0 Kudos

116 Views
siva_prabhakara
Contributor III

hi @igorpadykov this link has nothing to do with using the SDP protocol defined in SPL

0 Kudos