imx8mm: change Serial downloader to USB OTG2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8mm: change Serial downloader to USB OTG2

1,351 次查看
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?

标签 (1)
标记 (2)
0 项奖励
4 回复数

1,340 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励

1,326 次查看
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 项奖励

1,309 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励

1,305 次查看
siva_prabhakara
Contributor III

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

0 项奖励