Part Number: AM625
Tool/software:
How to enable USB0 in UBOOT?
no matter with default .dts, or copy usb0 configuration from Kernel to UBOOT dts. same result as below I got on AM62-SK-P1
Customer target to use USB0 in UBOOT as Host to support USB-MSC.
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0042.k3_2D00_am625_2D00_sk.dts
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0042.k3_2D00_am62_2D00_main.dtsi
U-Boot SPL 2023.04-dirty (Jun 05 2024 - 12:41:56 +0800) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)') SPL initial stack usage: 13408 bytes Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed Authentication passed Authentication passed Starting ATF on ARM64 core... NOTICE: BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty NOTICE: BL31: Built : 16:09:05, Feb 9 2024 U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)') SPL initial stack usage: 1856 bytes Trying to boot from MMC2 Authentication passed Authentication passed U-Boot 2023.04-dirty (Jun 05 2024 - 12:42:42 +0800) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK EEPROM not available at 80, trying to read at 81 Board: AM62B-SKEVM-P1 rev A DRAM: 2 GiB Core: 72 devices, 32 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Net: eth0: ethernet@8000000port@1 => => usb start starting USB... Bus usb@31100000: generic_phy_get_bulk : no phys property Register 1000840 NbrPorts 1 Starting the controller USB XHCI 1.10
#2. UBOOT dts did not update USB configuration, but it is updated in Kernel dts.
usbss0: dwc3-usb@f900000 {
compatible = "ti,am62-usb";
reg = <0x00 0x0f900000 0x00 0x800>,
+ <0x00 0x0f908000 0x00 0x400>;
#3. Insert U flash and power again, found 2 USB devices on usb@31100000, why have 2 on USB1?
=> usb start
starting USB...
Bus usb@31100000: Register 1000840 NbrPorts 1
Starting the controller
USB XHCI 1.10
scanning bus usb@31100000 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
=>