Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

[sk-rzg1m] How to detect an USB mass storage from u-boot on USB0 (port CN22, "OTG")

$
0
0

Hello!

Board used : SK-RZG1M (https://elinux.org/RZ-G/Boards/SK-RZG1M)


u-boot used : https://elinux.org/File:G1M_U-boot.srec.zip

How to detect, from u-boot, an USB mass storage, connected on USB0 (micro-AB connector "CN22") ? With the port CN7 (USB1), our USB mass storage is correctly detected.

Is there some "#define" to add in the "porter.h" header (https://github.com/u-boot/u-boot/blob/master/include/configs/porter.h) ?


Thank you for your time.

On USB0:

=> usb start
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found

On USB1:

=> usb start
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found


Viewing all articles
Browse latest Browse all 1583

Trending Articles