imx8mm: change Serial downloader to USB OTG2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8mm: change Serial downloader to USB OTG2

2,012件の閲覧回数
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 返答(返信)

2,001件の閲覧回数
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,987件の閲覧回数
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,970件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信

1,966件の閲覧回数
siva_prabhakara
Contributor III

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

0 件の賞賛
返信