This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Unable to recognize USB 3.0

Part Number: TDA4VM

Hi, experts

I encountered an issue while developing the features of USB3.0.

The situation is as follows:

On our customized board, our hardware colleagues changed the circuit of the TYPE-C interface inside USB0 to TYPE-A circuit, but the physical connector is still TYPE-C.

Currently, we are using Lane 1 of SerDes3, and I have seen from TRM that this Lane is always enabled, regardless of whether there is a TYPE-C connection.

I think the connection on SerDes is correct, and it should be possible not to modify the device tree.

But after I plugged in the HUB of USB3.0, the board could only recognize it as USB2.0.

In summary, I have two questions:

Firstly, is it feasible for my hardware colleagues to modify the circuit from TYPE-C to TYPE-A.

Secondly, if the answer to question one is feasible, how can I modify the software to enable the board to correctly recognize USB 3.0 ?

RTOS SDK version: ti-processor-sdk-rtos-j721e-evm-08_01_00_11

Linux SDK version: ti-processor-sdk-linux-j7-evm-08_01_00_07

Best regards,

Tao

  • HI Tao,

    From the software side the dtsi changes are already there we are using serdes3 lan 0 and lane 1 for the type C

    lane 0 and lane 1 both are used to achieve the lane swap functionality.

    Firstly, is it feasible for my hardware colleagues to modify the circuit from TYPE-C to TYPE-A.

    Can you share the schematic changes you did for this will check with the HW expert on this .

    Regards
    Diwakar

  • Hi, Diwakar

    Thank you for your reply and assistance. This issue is indeed troubling me.

    Can you share the schematic changes you did for this will check with the HW expert on this .

    Yes, the following is the schematic diagram of our USB part. Please check it

    USB_Schematic_Diagram.zip

    Additionally, I have noticed a phenomenon where I need to annotate the following content in the device tree in order for the board to recognize USB devices as USB 2.0. If this part is not annotated, plugging in a USB device will not have any response.

    This seems to indicate that I need to remove the typec feature.

    &serdes_wiz3 {
    	typec-dir-gpios = <&main_gpio1 3 GPIO_ACTIVE_HIGH>;
    	typec-dir-debounce-ms = <700>;	/* TUSB321, tCCB_DEFAULT 133 ms */
    };

    Best regards,

    Tao

  • Hi Tao 

    Can also share the dtsi which is you are using?

    Regards
    Diwakar

  • Hi,Diwakar

    The attachment is the device tree we are using:

    3704.DTS.zip

    I tested it on EVM and found that it can be recognized as USB3.0

    This is the information obtained using lsusb on EVM:

    root@j7-evm:~# lsusb -t
    /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
        |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M

    The device on bus 4 is my device.

    Then, this is the information obtained using lsusb on the customized board:

    root@j7-evm:~# lsusb -t
    /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
        |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    

    On the customized board, my device is connected to bus 1.

    Best regards,

    Tao

  • Hi Tao,

    I will let our HW expert review your schematic can you send me the full boot log tp see of there is any failure.

    Regards
    Diwakar

  • Hi, Diwakar

    The attachment is the complete startup log, including some logs obtained after connecting to USB devices.

    ���0@���@�@�@@@@~��`����f@ �@@@~���@0�`@@�@@0@@@���@@@@ @@�@@@�x�x������
    U-Boot SPL 2021.01 (Dec 06 2023 - 18:24:59 +0800)
    Model: Texas Instruments K3 J721E SoC
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.01.00.006-dirty
    NOTICE:  BL31: Built : 16:34:52, Dec 20 2021
    
    U-Boot SPL 2021.01 (Dec 06 2023 - 18:24:46 +0800)
    Model: Texas Instruments K3 J721E SoC
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01 (Dec 06 2023 - 18:24:46 +0800)
    
    SoC:   J721E SR2.0
    Model: Texas Instruments K3 J721E SoC
    DRAM:  2 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   Could not get PHY for ethernet@46000000: addr 0
    am65_cpsw_nuss_slave ethernet@46000000: phy_connect() failed
    No ethernet found.
    
    Not enable AB OTA, use default config to boot
    
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    0 bytes read in 0 ms
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    13477896 bytes read in 544 ms (23.6 MiB/s)
    101051 bytes read in 16 ms (6 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fee4000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.65+ (cloud@cloud-System-Product-Name) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Wed Dec 6 18:22:52 CST 2023
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 2 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@ac000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac200000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@ac200000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
    [    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
    [    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
    [    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000abffffff]
    [    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 2 pages/cpu s48920 r8192 d73960 u131072
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 32736
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=d7b6c354-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 4, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1319104K/2097152K available (7614K kernel code, 1130K rwdata, 2816K rodata, 1216K init, 630K bss, 253760K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @a9000000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000000abcc0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000abcd0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x31c/0x4c0 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008346] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.019017] pid_max: default: 32768 minimum: 301
    [    0.023763] LSM: Security Framework initializing
    [    0.028509] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.036076] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.044968] rcu: Hierarchical SRCU implementation.
    [    0.050017] Platform MSI: msi-controller@1820000 domain created
    [    0.056331] smp: Bringing up secondary CPUs ...
    [    0.061562] Detected PIPT I-cache on CPU1
    [    0.061584] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.061595] GICv3: CPU1: using allocated LPI pending table @0x00000000abce0000
    [    0.061629] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.061683] smp: Brought up 1 node, 2 CPUs
    [    0.091029] SMP: Total of 2 processors activated.
    [    0.095834] CPU features: detected: 32-bit EL0 Support
    [    0.101088] CPU features: detected: CRC32 instructions
    [    0.112749] CPU: All CPU(s) started at EL2
    [    0.116943] alternatives: patching kernel code
    [    0.121884] devtmpfs: initialized
    [    0.129753] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.139723] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.147536] pinctrl core: initialized pinctrl subsystem
    [    0.153399] NET: Registered protocol family 16
    [    0.161043] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.168401] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.176383] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.184673] thermal_sys: Registered thermal governor 'step_wise'
    [    0.184675] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.191100] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.204732] ASID allocator initialised with 65536 entries
    [    0.225368] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.232223] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.238980] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.246598] cryptd: max_cpu_qlen set to 1000
    [    0.252163] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.261032] vsys_3v3: supplied by evm_12v0
    [    0.265389] vsys_5v0: supplied by evm_12v0
    [    0.269959] iommu: Default domain type: Translated 
    [    0.275091] SCSI subsystem initialized
    [    0.279191] pps_core: LinuxPPS API ver. 1 registered
    [    0.284270] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.293608] PTP clock support registered
    [    0.297625] EDAC MC: Ver: 3.0.0
    [    0.301608] clocksource: Switched to clocksource arch_sys_counter
    [    0.308017] VFS: Disk quotas dquot_6.6.0
    [    0.312064] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.319742] NET: Registered protocol family 2
    [    0.324280] IP idents hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.332466] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.341243] TCP established hash table entries: 16384 (order: 1, 131072 bytes, linear)
    [    0.349388] TCP bind hash table entries: 16384 (order: 2, 262144 bytes, linear)
    [    0.356992] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.363716] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.370606] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.377989] NET: Registered protocol family 1
    [    0.382739] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.392772] Initialise system trusted keyrings
    [    0.397390] workingset: timestamp_bits=46 max_order=15 bucket_order=0
    [    0.405560] ntfs: driver 2.1.32 [Flags: R/W DEBUG].
    [    0.430268] Key type asymmetric registered
    [    0.434458] Asymmetric key parser 'x509' registered
    [    0.439455] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.447015] io scheduler mq-deadline registered
    [    0.451640] io scheduler kyber registered
    [    0.456814] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.462983] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.469879] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.476130] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.496126] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.504147] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001f8f)
    [    0.513183] arm-smmu-v3 36600000.iommu: allocated 524288 entries for cmdq
    [    0.522048] arm-smmu-v3 36600000.iommu: allocated 524288 entries for evtq
    [    0.529755] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.597730] libphy: Fixed MDIO Bus: probed
    [    0.602554] VFIO - User Level meta-driver version: 0.3
    [    0.607858] i2c /dev entries driver
    [    0.611675] Error: Driver 'k3-soc-thermal' is already registered, aborting...
    [    0.619098] sdhci: Secure Digital Host Controller Interface driver
    [    0.625412] sdhci: Copyright(c) Pierre Ossman
    [    0.630032] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.636236] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.643085] optee: probing for conduit method.
    [    0.647636] optee: revision 3.12 (3d47a131)
    [    0.647860] optee: initialized driver
    [    0.656645] NET: Registered protocol family 17
    [    0.661221] Key type dns_resolver registered
    [    0.665641] Loading compiled-in X.509 certificates
    [    0.672847] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.679158] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.686372] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')
    [    0.716832] random: fast init done
    [    0.751251] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.757304] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.763325] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.770009] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.776330] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.782375] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    0.788944] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    0.794965] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    0.800909] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    0.807124] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    0.813291] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    0.823267] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    0.832083] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    0.841929] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    0.864465] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    0.874356] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    0.881115] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    0.890040] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    0.900184] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    0.906946] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    0.915067] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
    [    0.924522] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 33, base_baud = 3000000) is a 8250
    [    0.933267] printk: console [ttyS2] enabled
    [    0.933267] printk: console [ttyS2] enabled
    [    0.941705] printk: bootconsole [ns16550a0] disabled
    [    0.941705] printk: bootconsole [ns16550a0] disabled
    [    0.952221] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 34, base_baud = 3000000) is a 8250
    [    0.961218] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 35, base_baud = 3000000) is a 8250
    [    1.069611] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.077258] libphy: 46000f00.mdio: probed
    [    1.084160] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver Broadcom BCM89881
    [    1.093064] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.106947] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    1.115326] value of fuse 0 is 0x2bb2daee
    [    1.119329] value of fuse 1 is 0x0
    [    1.122728] value of fuse 2 is 0xd999a000
    [    1.126725] value of fuse 3 is 0x199999
    [    1.130552] k3_bandgap_probe and count is 5
    [    1.134724] id is 0 and i is 0 and err is -18
    [    1.139068] id is 0 and i is 1 and err is -51
    [    1.143410] id is 0 and i is 2 and err is 0
    [    1.147580] WORKAROUND NEEDED
    [    1.150537] The errors in adc code for -40C, 30C & 125C 150C respectively:: -18 -51 0 0
    [    1.158521] slope m1::-7 and const c1::-104
    [    1.162693] slope m2::9 and const c2::730
    [    1.166694] Enters the inifinte slope path x2 = x1
    [    1.171508] id is 1 and i is 0 and err is -21
    [    1.175851] id is 1 and i is 1 and err is -52
    [    1.180194] id is 1 and i is 2 and err is 0
    [    1.184377] id is 2 and i is 0 and err is -19
    [    1.188721] id is 2 and i is 1 and err is -50
    [    1.193066] id is 2 and i is 2 and err is 0
    [    1.197250] id is 3 and i is 0 and err is -20
    [    1.201593] id is 3 and i is 1 and err is -52
    [    1.205936] id is 3 and i is 2 and err is 0
    [    1.210121] id is 4 and i is 0 and err is -21
    [    1.214463] id is 4 and i is 1 and err is -52
    [    1.218806] id is 4 and i is 2 and err is 0
    [    1.222994] Value of CTRLMMR_WKUP_RESET_SRC_STAT Register is 0x0
    [    1.229501] mmc0: CQHCI version 5.10
    [    1.229557] mmc1: CQHCI version 5.10
    [    1.242731] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.249593] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.256420] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    1.263258] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    1.270064] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    1.272227] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.277178] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.294658] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    1.363210] mmc0: Command Queue Engine enabled
    [    1.367659] mmc0: new high speed MMC card at address 0001
    [    1.373311] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB 
    [    1.377919] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB
    [    1.383902] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB
    [    1.389885] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (243:0)
    [    1.399241]  mmcblk0: p1 p2 p3
    [    1.405624] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.413268] libphy: 46000f00.mdio: probed
    [    1.420077] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver Broadcom BCM89881
    [    1.428984] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.442598] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.449610] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.456821] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.463123] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    1.473655] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
    [    1.480931] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
    [    1.489113] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    1.496425] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    1.503729] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    1.511030] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    2.294498] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.302452] Waiting for root device PARTUUID=d7b6c354-02...
    [    2.337811] mmc1: new high speed SDHC card at address aaaa
    [    2.343602] mmcblk1: mmc1:aaaa SC16G 14.8 GiB 
    [    2.355648]  mmcblk1: p1 p2
    [    3.437373] EXT4-fs (mmcblk1p2): recovery complete
    [    3.447832] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.455939] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    3.467210] devtmpfs: mounted
    [    3.470355] Freeing unused kernel memory: 1216K
    [    3.474899] Run /sbin/init as init process
    [    3.738096] systemd[1]: System time before build time, advancing clock.
    [    3.794482] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    3.816192] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    3.861221] systemd[1]: Set hostname to <j7-evm>.
    [    4.093329] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    4.102221] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    4.129576] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
    [    4.204262] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.210989] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    4.223315] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    4.233166] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    4.253685] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.260959] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.281677] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.288859] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    4.309802] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    4.333728] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    4.357716] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    4.373671] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    4.393660] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    4.409669] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    4.429998] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    4.453683] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    4.478745] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    4.501796] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    4.536474] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    4.544788] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    4.565880] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    4.581932] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    4.605842] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.625781] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    4.648449] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    4.667744] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    4.692185] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    4.715712] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    4.736460] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [    4.764152] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    4.788673] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    4.801780] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    4.813356] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.839000] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.859921] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.874552] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    4.883924] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    4.912129] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    4.929963] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    5.149823] systemd-journald[151]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting udev Wait for Complete Device Initialization...
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [    5.827368] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000
    [    5.909471] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
    [    5.966415] k3-dsp-rproc 4d80800000.dsp: local reset is deasserted for device
    [    5.985716] remoteproc remoteproc0: 4d80800000.dsp is available
    [    5.994504] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000
    [    6.015613] remoteproc remoteproc0: powering up 4d80800000.dsp
    [    6.021526] remoteproc remoteproc0: Booting fw image j7-c66_0-fw, size 144332
    [    6.037788] k3-dsp-rproc 4d80800000.dsp: booting DSP core using boot addr = 0xa6200400
    [    6.045981]  remoteproc0#vdev0buffer: assigned reserved memory node c66-dma-memory@a7000000
    [    6.056244] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.062414]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    6.071080] remoteproc remoteproc0: remote processor 4d80800000.dsp is now up
    [    6.080473] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.091428] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    6.105953] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode
    [    6.121725] k3-dsp-rproc 4d81800000.dsp: local reset is deasserted for device
    [    6.136610] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    6.163925] remoteproc remoteproc1: 4d81800000.dsp is available
    [    6.201023] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
    [    6.202268] platform 41000000.r5f: configured R5F for IPC-only mode
    [    6.216816] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    6.226549] remoteproc remoteproc3: 64800000.dsp is available
    [    6.232516] remoteproc remoteproc1: powering up 4d81800000.dsp
    [    6.237730] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.238518] remoteproc remoteproc1: Booting fw image j7-c66_1-fw, size 144332
    [    6.262047] k3-dsp-rproc 4d81800000.dsp: booting DSP core using boot addr = 0xa7200400
    [    6.272554]  remoteproc1#vdev0buffer: assigned reserved memory node c66-dma-memory@a6000000
    [    6.280836] remoteproc remoteproc2: 41000000.r5f is available
    [    6.281176] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.288534] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.292151]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    6.301817] remoteproc remoteproc2: attaching to 41000000.r5f
    [    6.306275] remoteproc remoteproc1: remote processor 4d81800000.dsp is now up
    [    6.311866] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    6.331800] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    6.343137]  remoteproc2#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.356091] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    6.362615]  remoteproc2#vdev0buffer: registered virtio2 (type 7)
    [    6.369879] remoteproc remoteproc2: remote processor 41000000.r5f is now attached
    [    6.380728] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    6.388461] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.396537] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.405359] remoteproc remoteproc4: 5c00000.r5f is available
    [    6.414415] platform 5d00000.r5f: configured R5F for remoteproc mode
    [    6.426976] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.438509] remoteproc remoteproc5: 5d00000.r5f is available
    [    6.455738] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    6.477968] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    6.500146] remoteproc remoteproc6: 5e00000.r5f is available
    [    6.532332] platform 5f00000.r5f: configured R5F for remoteproc mode
    [    6.544332] platform 5f00000.r5f: assigned reserved memory node r5f-dma-memory@a5000000
    [    6.553073] remoteproc remoteproc7: 5f00000.r5f is available
    [    6.588191] remoteproc remoteproc5: powering up 5d00000.r5f
    [    6.593939] remoteproc remoteproc4: powering up 5c00000.r5f
    [    6.599598] remoteproc remoteproc4: Booting fw image j7-main-r5f0_0-fw, size 626036
    [    6.607446] remoteproc remoteproc5: Booting fw image j7-main-r5f0_1-fw, size 97676
    [    6.620095]  remoteproc5#vdev0buffer: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.628482]  remoteproc4#vdev0buffer: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.638708] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    6.646110] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    6.651627]  remoteproc5#vdev0buffer: registered virtio3 (type 7)
    [    6.657775]  remoteproc4#vdev0buffer: registered virtio4 (type 7)
    [    6.669646] remoteproc remoteproc5: remote processor 5d00000.r5f is now up
    [    6.676746] remoteproc remoteproc6: powering up 5e00000.r5f
    [    6.682416] remoteproc remoteproc7: powering up 5f00000.r5f
    [    6.688041] remoteproc remoteproc7: Booting fw image j7-main-r5f1_1-fw, size 97676
    [    6.695627] remoteproc remoteproc6: Booting fw image j7-main-r5f1_0-fw, size 97676
    [    6.703206] remoteproc remoteproc4: remote processor 5c00000.r5f is now up
    [    6.712241]  remoteproc7#vdev0buffer: assigned reserved memory node r5f-dma-memory@a5000000
    [    6.720670]  remoteproc6#vdev0buffer: assigned reserved memory node r5f-dma-memory@a4000000
    [    6.729915] virtio_rpmsg_bus virtio5: rpmsg host is online
    [    6.735489]  remoteproc7#vdev0buffer: registered virtio5 (type 7)
    [    6.741887] virtio_rpmsg_bus virtio6: rpmsg host is online
    [    6.747414]  remoteproc6#vdev0buffer: registered virtio6 (type 7)
    [    6.753511] remoteproc remoteproc7: remote processor 5f00000.r5f is now up
    [    6.760858] remoteproc remoteproc6: remote processor 5e00000.r5f is now up
    [    6.768104] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.850972] virtio_rpmsg_bus virtio5: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.860636] virtio_rpmsg_bus virtio6: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.894831] remoteproc remoteproc3: powering up 64800000.dsp
    [    6.900650] remoteproc remoteproc3: Booting fw image j7-c71_0-fw, size 10489000
    [    6.909721] remoteproc remoteproc3: unsupported resource 65538
    [    6.917752] k3-dsp-rproc 64800000.dsp: booting DSP core using boot addr = 0xa8e00000
    [    6.927157]  remoteproc3#vdev0buffer: assigned reserved memory node c71-dma-memory@a8000000
    [    6.937312] virtio_rpmsg_bus virtio7: rpmsg host is online
    [    6.942889]  remoteproc3#vdev0buffer: registered virtio7 (type 7)
    [    6.949893] remoteproc remoteproc3: remote processor 64800000.dsp is now up
    [    6.957328] virtio_rpmsg_bus virtio7: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.964956] virtio_rpmsg_bus virtio7: creating channel rpmsg_chrdev addr 0xe
    [    6.972132] virtio_rpmsg_bus virtio5: creating channel rpmsg_chrdev addr 0xe
    [    6.979287] virtio_rpmsg_bus virtio6: creating channel rpmsg_chrdev addr 0xe
    [    6.986518] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xe
    [    7.604588] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    7.825660] random: crng init done
    [    7.829063] random: 7 urandom warning(s) missed due to ratelimiting
    [    7.876677] remoteproc remoteproc8: b034000.pru is available
    [    7.887210] remoteproc remoteproc9: b004000.rtu is available
    [    7.896034] remoteproc remoteproc10: b00a000.txpru is available
    [    7.906444] remoteproc remoteproc11: b038000.pru is available
    [    7.912311] virtio_rpmsg_bus virtio4: creating channel ti.ethfw.notifyservice addr 0x1e
    [    7.924995] remoteproc remoteproc12: b006000.rtu is available
    [  OK  ] Started Load/Save Random Seed.[    7.934503] remoteproc remoteproc13: b00c000.txpru is available
    
    [    7.949516] remoteproc remoteproc14: b134000.pru is available
    [    7.956211] remoteproc remoteproc15: b104000.rtu is available
    [    7.962884] remoteproc remoteproc16: b10a000.txpru is available
    [    7.968883] virtio_rpmsg_bus virtio4: creating channel rpmsg-kdrv addr 0x1a
    [    7.978289] rpmsg-kdrv-eth-switch rpmsg-kdrv-1-mpu_1_0_ethswitch-device-0: Device info: permissions: 3FFFFFFF uart_id: 2
    [    7.990644] usbcore: registered new interface driver usbfs
    [    7.996257] rpmsg-kdrv-eth-switch rpmsg-kdrv-1-mpu_1_0_ethswitch-device-0: FW ver 0.2 (rev 0)  4/Nov/2021 SHA:9fe47caa
    [    8.007083] rpmsg-kdrv-eth-switch rpmsg-kdrv-3-mpu_1_0_ethmac-device-1: Device info: permissions: 3FFFFFFF uart_id: 2
    [    8.018129] remoteproc remoteproc17: b138000.pru is available
    [    8.023948] rpmsg-kdrv-eth-switch rpmsg-kdrv-3-mpu_1_0_ethmac-device-1: FW ver 0.2 (rev 0)  4/Nov/2021 SHA:9fe47caa
    [    8.035412] usbcore: registered new interface driver hub
    [    8.041445] remoteproc remoteproc18: b106000.rtu is available
    [    8.047356] usbcore: registered new device driver usb
    [    8.053664] remoteproc remoteproc19: b10c000.txpru is available
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [    8.133860] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: rpmsg attach_ext - rx_mtu:1522 features:0000000B tx_mtu[0]:2024 flow_idx:172 tx_cpsw_psil_dst_id:51712 mac_addr:70:ff:76:1d:92:c1 mac-only:0
    [    8.166484] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: virt_cpsw_nuss mac loaded
    [    8.174426] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: rdev_features:0000000B rdev_mtu:1522 flow_id:172 tx_psil_dst_id:4A00 mac_only:0
    [    8.193641] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: local_mac_addr:00:00:00:00:00:00 rdev_mac_addr:70:ff:76:1d:92:c1
    [    8.272708] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: rpmsg attach_ext - rx_mtu:1522 features:00000007 tx_mtu[0]:2024 flow_idx:173 tx_cpsw_psil_dst_id:51713 mac_addr:70:ff:76:1d:92:c2 mac-only:1
    [    8.302627] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: virt_cpsw_nuss mac loaded
    [    8.312804] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: rdev_features:00000007 rdev_mtu:1522 flow_id:173 tx_psil_dst_id:4A01 mac_only:1
    [    8.334789] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: local_mac_addr:00:00:00:00:00:00 rdev_mac_addr:70:ff:76:1d:92:c2
    [    8.395159] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    8.402800] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    8.414043] xhci-hcd xhci-hcd.0.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010
    [    8.425850] xhci-hcd xhci-hcd.0.auto: irq 650, io mem 0x06010000
    [    8.432258] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    8.440963] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    8.448671] usb usb1: Product: xHCI Host Controller
    [    8.454048] usb usb1: Manufacturer: Linux 5.10.65+ xhci-hcd
    [    8.460922] usb usb1: SerialNumber: xhci-hcd.0.auto
    [    8.468148] hub 1-0:1.0: USB hub found
    [    8.494558] hub 1-0:1.0: 1 port detected
    [    8.529340] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    8.537791] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    8.557211] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [    8.569751] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [  OK  ] Found device /dev/mmcblk0p2.
             Starting File System Check on /dev/mmcblk0p2    8.596953] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    0m...
    [    8.612427] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    8.629857] usb usb2: Product: xHCI Host Controller
    [  OK  ] Found device /dev/mmcblk0p3.
    [    8.635685] usb usb2: Manufacturer: Linux 5.10.65+ xhci-hcd
    [  OK  ] Found device /dev/mmcblk0p1.[    8.650340] usb usb2: SerialNumber: xhci-hcd.0.auto
    
             Starting File System Check on /dev/mmcblk0p1    8.660536] hub 2-0:1.0: USB hub found
    0m...
             Starting File System Check on /dev/mmcb[    8.667626] hub 2-0:1.0: 1 port detected
    lk0p3...
    [    8.677568] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    8.677581] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
    [    8.678269] xhci-hcd xhci-hcd.1.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010
    [    8.678308] xhci-hcd xhci-hcd.1.auto: irq 653, io mem 0x06410000
    [    8.678528] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    8.678531] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    8.678533] usb usb3: Product: xHCI Host Controller
    [    8.678535] usb usb3: Manufacturer: Linux 5.10.65+ xhci-hcd
    [    8.678537] usb usb3: SerialNumber: xhci-hcd.1.auto
    [    8.678812] hub 3-0:1.0: USB hub found
    [    8.678829] hub 3-0:1.0: 1 port detected
    [    8.679960] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    8.679969] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
    [    8.679979] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
    [    8.680024] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [    8.680069] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [    8.680072] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    8.680074] usb usb4: Product: xHCI Host Controller
    [    8.680076] usb usb4: Manufacturer: Linux 5.10.65+ xhci-hcd
    [    8.680078] usb usb4: SerialNumber: xhci-hcd.1.auto
    [    8.680298] hub 4-0:1.0: USB hub found
    [    8.680318] hub 4-0:1.0: 1 port detected
    [  OK  ] Found device /dev/mmcblk1p1.
    [  OK  ] Started File System Check on /dev/mmcblk0p1.
             Mounting /run/media/mmcblk0p1...
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Started File System Check on /dev/mmcblk0p2.
             Mounting /run/media/mmcblk0p2...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
          [    9.037561] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
       Starting rc.pvr.service...
             Starting startwlan...
             Starting Login Service...
             Starting Update weston ini… based on the platform name...
    [  OK  ] Started File System Check on /dev/mmcblk0p3.
    [  OK  ] Started Reboot and dump vmcore via kexec.
             Mounting /run/media/mmcblk0p3...
    [  OK  ] Mounted /run/media/mmcblk0p2.
    [    9.108960] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    [    9.155830] startwlan.sh[741]: Starting WLAN AP setup
    [    9.156248] startwlan.sh[756]: Starting WLAN AP setup
    [    9.157616] startwlan.sh[756]: odprobe: FATAL: Module iwlmvm not found in directory
    [    9.157896] startwlan.sh[757]: odprobe: FATAL: Module iwlmvm not found in directory
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Started Update weston ini …ge based on the platform name.
    [  OK  ] Mounted /run/media/mmcblk0p3.
    [  OK  ] Started Telephony service.
    [  OK  ] Reached target Network (Pre).
             Mounting /run/media/mmcblk1p1...
             Starting Network Service...
    [  OK  ] Started Login Service.
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [    9.843985] j721e-cpsw-virt-mac main-r5fss-cpsw9g-virt-mac1: virt_cpsw_nuss mac started
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [   10.195712] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: virt_cpsw_nuss mac started
    [   10.218014] dansphy---- test bcm89881_config_init.
    [   10.228094] dansphy----Loading patch code...dansphy----Broadcom Masterdansphy----AutoNeg Offdansphy----AutoNeg Off----Masterdansphy---- disable superisolate
    [   10.213827] startwlan.sh[757]: odprobe: FATAL: Module
    [   10.298146] Broadcom BCM89881 46000f00.mdio:00: attached PHY driver [Broadcom BCM89881] (mii_bus:phy_addr=46000f00.mdio:00, irq=POLL)
    [   10.235796] startwlan.sh[789]: odprobe: FATAL: Mod
    [   10.318784] dansphy--- test bcm89881_config_aneg.
    [   10.248704] startwlan.sh[794]: odprobe: FATAL: Mod[   10.327725] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down 
    
    [   10.325407] startwlan.sh[799]: odprobe: FATAL: Mod
    [   10.326246] startwlan.sh[804]: odprobe: FATAL: Mod
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [   10.433858] startwlan.sh[804]: ddin
    [   10.434210] startwlan.sh[805]: ddin
    [   10.441674] startwlan.sh[805]: s: cannot access '/sys/class/ieee80211/': No such file or direct
    [   10.539517] startwlan.sh[810]: s: cannot access '/
    [   10.540358] startwlan.sh[812]: s: cannot access '/
    [   10.550461] startwlan.sh[812]: onfiguration file: /usr/share/intenl80211: 'nl80211' generic netlink not found
    [   10.550650] startwlan.sh[812]: Failed to initialize driver 'nl80211'
    [   10.550710] startwlan.sh[812]: wlp1s0: interface state UNINITIALIZED->DISABLED
    [   10.550767] startwlan.sh[812]: wlp1s0: AP-DISABLED
    [   10.550823] startwlan.sh[812]: wlp1s0: CTRL-EVENT-TERMINATING
    [   10.550880] startwlan.sh[812]: hostapd_free_hapd_data: Interface wlp1s0 wasn't started
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [   11.469921] startwlan.sh[817]: SIOCSIFADDR: No such device
    [   11.485429] startwlan.sh[817]: wlp1s0: ERROR while getting interface flags: No such device
    [   11.501433] startwlan.sh[817]: SIOCSIFNETMASK: No such device
    [   11.518694] startwlan.sh[817]: wlp1s0: ERROR while getting interface flags: No such device
    [  OK  ] Started startwlan.
    [   12.623680] startwlan.sh[995]: iperf3: error - unable to start listener for connections: Cannot assign requested address
    [   12.623842] startwlan.sh[995]: iperf3: exiting
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	bash-dev
    	bash
    	bc
    	binutils
    	cifs-utils
    	coreutils-stdbuf
    	coreutils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	glmark2
    	gstreamer1.0-libav-dev
    	gstreamer1.0-libav
    	gzip
    	less
    	libasm1
    	libbfd
    	libdw1
    	libelf1
    	libgdbm-compat4
    	libgdbm-dev
    	libgdbm6
    	libgettextlib
    	libgettextsrc
    	libgmp-dev
    	libgmp10
    	libgmpxx4
    	libidn2-0
    	libidn2-dev
    	libmpc3
    	libmpfr6
    	libreadline-dev
    	libreadline8
    	libunistring-dev
    	libunistring2
    	m4-dev
    	m4
    	make
    	nettle-dev
    	nettle
    	parted
    	python3-rfc3987
    	python3-strict-rfc3339
    	tar
    	which
    	zeromq
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started weston.service.
             Starting DEMO...
             Starting telnetd.service...
    [  OK  ] Started DEMO.
    [  OK  ] Started telnetd.service.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org j7-evm ttyS2
    
    Arago 2021.09 j7-evm ttyS2
    
    j7-evm login: root
    root@j7-evm:~# lsusb -t
    /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    root@j7-evm:~# [   31.785622] tps659411: disabling
    [   32.925613] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   33.087301] usb 1-1: New USB device found, idVendor=04e8, idProduct=61f5, bcdDevice= 1.00
    [   33.095466] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [   33.102776] usb 1-1: Product: Portable SSD T5
    [   33.107135] usb 1-1: Manufacturer: Samsung
    [   33.111225] usb 1-1: SerialNumber: 12345684A6CB
    [   33.168793] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   33.175184] scsi host0: usb-storage 1-1:1.0
    [   33.180221] usbcore: registered new interface driver usb-storage
    [   34.186112] scsi 0:0:0:0: Direct-Access     Samsung  Portable SSD T5  0    PQ: 0 ANSI: 6
    [   34.194932] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
    [   34.204428] sd 0:0:0:0: [sda] Write Protect is off
    [   34.209686] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [   34.237260]  sda: sda1
    [   34.240856] sd 0:0:0:0: [sda] Attached SCSI disk
    [   34.829731] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    
    root@j7-evm:~# lsusb -t
    /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
        |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    root@j7-evm:~# 

    By the way, our custom board's USB interface has been configured as host.

    Best regards,

    Tao

  • Hi Tao 

    I see that you are using lANE1 of seredes 3 for a usb functionality but in the dtsi LANE0 and LANE1 si configured .

    I made couple of changes can you check with that 

    3704_changed.DTS.zip

    Regards
    Diwakar

  • Hi, Diwakar

    Thank you for your suggestion. I have tested it and can only recognize it as USB 2.0.

    I tested the configuration on EVM and found that it can only be recognized as USB 2.0 on EVM

    But I found that the status of our customized boards varies. Some can recognize USB devices (USB2.0), but others cannot. I am currently communicating with my hardware colleagues.

    Best regards,

    Tao

  • Hi, Diwakar

    But I found that the status of our customized boards varies. Some can recognize USB devices (USB2.0), but others cannot. I am currently communicating with my hardware colleagues.

    I confirmed with our hardware colleagues that there is an issue with the power supply of the board that cannot recognize the USB device, and the board cannot provide power to the USB device. Therefore, I think this is not related to the issue of not being able to recognize USB3.0.

    Best regards,

    Tao

  • Hi Tao 

    I confirmed with our hardware colleagues that there is an issue with the power supply of the board that cannot recognize the USB device, and the board cannot provide power to the USB device. Therefore, I think this is not related to the issue of not being able to recognize USB3.0.

    Okay so lets close this issue then 

    After making the HW changes if still you are facing  any issue you can raise the new e2e.

    Regards
    Diwakar

  • Hi, Diwakar

    What I mean is that some custom boards have power supply issues, but other boards are functioning normally.

    But other boards with normal power supply have issues with not being able to recognize USB3.0. My previous answer was just to indicate that the issue of not being able to recognize USB3.0 and the power supply issue are two separate issues, and now we can focus on the issue of not being able to recognize USB3.0.

    Best regards,

    Tao

  • Hi Tao 

    Can you dump these register in linux

    0010 40A0h --> CTRLMMR_SERDES2_LN0_CTRL

    0010 40A4h --> CTRLMMR_SERDES2_LN1_CTRL

    0010 40B0h--> CTRLMMR_SERDES3_LN0_CTRL

    0010 40B4h --> CTRLMMR_SERDES3_LN1_CTRL

    0503 0408 Serdes Top Level Control
    0503 040C Serdes reset
    0503 0480 Lane Control 0
    0503 0484 Lane Divider 0
    0503 0488 Lane Align 0
    0503 048C Lane Status 0
    0503 04C0 Lane Control 1
    0503 04C4 Lane Divider 1
    0503 04C8 Lane Align 1
    0503 04CC Lane Status 1
    0503 E000 PMA common control register

    ex :  devmem2 0x104080

    Regards
    Diwakar

  • Hi,Diwakar

    These are the printed register values:

    0x001040A0h      0x00000001
    0x001040A4h      0x00000001
    0x001040B0h      0x00000003
    0x001040B4h      0x00000002
    0x05030408h       0x9A000000
    0x0503040Ch      0xB1000000
    0x05030480h      0x30000000
    0x05030484h      0x00000000
    0x05030488h      0x00000000
    0x0503048Ch      0x00000002
    0x050304C0h      0x70000000
    0x050304C4h      0x00000000
    0x050304C8h      0x00000000
    0x050304CCh     0x00000003
    0x0503E000h      0x00002435

    I compared the values printed on the EVM and custom board, and they are the same.

    I tested the configuration on EVM and found that it can only be recognized as USB 2.0 on EVM

    I found out today that when using the configuration you provided on EVM, if the Type C interface is inserted in reverse, EVM can recognize it as USB3.0. I think this is because only one SerDes is configured.

    Therefore, I believe that the device tree has been configured with TypeA functionality, but unfortunately, on our customized board, both forward and reverse insertion can only be recognized as USB 2.0.

    Is there a problem with the schematic design? Or do I need to modify the USB driver?

    Best regards,

    Tao

  • Hi, Diwakar

    Have we received any results from the review of our schematic? Also, any other suggestions?

    Best regards,

    Tao

  • Reply received from the schematic expert on the issue:

    "USB2 is working, issue is with USB3. TI's EVM uses internal mux to switch the USB3 lanes, so software has to look at DIR signal (GPIO) to determine which set of SERDES lanes to configure. For Type A - only one set of SERDES lanes so should just have to configure that one lane"

    It makes sense that inserting the typeC in reverse the usb3.0 is recognized, since the DIR signal is setup correctly for it (assuming typeA)

  • Hi, experts

    Thank you for your help. Currently, I can recognize USB3.0 on the customized board.
    But it is very unstable and can only occasionally recognize USB 3.0 USB drives, and it cannot recognize USB 3.0 hubs and SSDs.

    I have already opened another thread to discuss this issue and will close the current thread. Please go to the new thread to discuss.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1304087/tda4vm-usb-3-0-unstable

    Best regards,

    Tao