u-boot usb command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

u-boot usb command

1,300 Views
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 Kudos
Reply
3 Replies

1,291 Views
shanlan123
Contributor II

I am use s32g274a_rdb2

0 Kudos
Reply

1,267 Views
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 Kudos
Reply

1,215 Views
shanlan123
Contributor II
I have done that, but when I type "usb start", it print "No working controllers found"
0 Kudos
Reply