It’s in peripheral mode you need to change it to host mode, or just wire up the second USB port on the side, same pins as the am335x pocketbeagle using an adafruit adapter
i’m using a usb-c to A adapter to a usb-to-ssd adapter (weme), which is powered. connecting this to the usb-c, no drive appears in lsblk output. with another usb-to-ssd adapter (ugreen) there are some debug messages printed to the console “read descriptors” and “read strings” but nothing from lsblk
now this same usb-to-ssd adapter (weme) connected to the second usb (on P1), lsblk shows a sda drive attached, but no sda1. ok, this may be related to the usb-to-ssd adapter, switch of a different brand (ugreen) and i get the sda1 in lsblk output
i also connected a flash drive to both usb connectors, the second usb (on P1) shows a sda1 with lsblk, however the usb-c connector shows nothing.
i verified the usb-c adapter works when it is connected to a smartphone with a flash drive.
any ideas on getting the usb-c to work in host mode ??
Hi slush should also show devices that aren’t a block device, so you can see it it is detected at all. The loaded device free can be found in /proc/device-tree so you can check there if the overlay works and has been applied where it was needed.
to get USB-C to work with a SSD using usb-to-ssd adapter
with USB-C (USB0) configured as dr_mode = “host” in k3-am6232-pocketbeagle2.dts
ya need to connect P1.07 VIN.USB (USB_5V) to 5V, P1.24 VOUT - VSYS
all of the usb-to-ssd adapters listed above worked on USB-C
weme, ugreen, benfei, and Inland
CAUTION:
USB_V5 provided by USB-C when connected to a USB power source is used to supply VSYS via LM73100RPW which powers the PB2
P1.24 VOUT (5V) VSYS
P1.07 VIN.USB (USB_5V)
shorting P1.07 USB_5V to P1.24 VSYS may have undesired consequences, when powering PB2 via USB-C
the LM73100RPW has a reverse voltage blocking diode, so maybe I’m being over cautious
someone with more understanding of this board will need to clarify if this is an issue.