u-boot usb command

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

u-boot usb command

3,439件の閲覧回数
shanlan123
Contributor II

I want to use usb command in u-boot of s32g2, but there is no usb command in u-boot of s32g2.
Is there a compiled u-boot that can solve this problem? Or Is there a document that teaches me how to compile a u-boot with usb command?

0 件の賞賛
返信
3 返答(返信)

3,430件の閲覧回数
shanlan123
Contributor II

I am use s32g274a_rdb2

0 件の賞賛
返信

3,403件の閲覧回数
MayanksPatel
NXP Employee
NXP Employee

Hi @shanlan123,

u-boot USB command is available in the u-boot repo. 

Find the path where the u-boot command handler for USB is written in the u-boot source code:

cmd/usb.c

you can modify and create new commands as per your requirement in the same.

Please find the attached screenshot for your reference.

 

Thanks,

Mayank s Patel

0 件の賞賛
返信

3,351件の閲覧回数
shanlan123
Contributor II
I have done that, but when I type "usb start", it print "No working controllers found"
0 件の賞賛
返信