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?
I am use s32g274a_rdb2
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