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.

[参考译文] DRA821U:定制板上支持 SGMII 和 USB3组合模式

Guru**** 2754655 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1222539/dra821u-sgmii-and-usb3-combination-mode-support-on-custom-board

器件型号:DRA821U
主题中讨论的其他器件:DRA821

你好,Diwakar

由于在 EVM 上已识别您的补丁、因此这是客户电路板上的 SGMII 和 USB3模式支持的新主题。

您能否查看该问题以确定是否也激活 SGMII?

这是随附的有关 SGMII 和 USB3组合测试的故障日志。

e2e.ti.com/.../7331.SGMII_5F00_USB3_5F00_SAME_5F00_TIME.txt

谢谢。

此致、  

插孔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好,Jack  

    进行此操作将在下周开始时向您分享一个补丁。

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好,Diwakar  

    是否尚未准备好补丁?

    此致

    洞修克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、TI

     是否有任何更新?

    此致  

    洞修克  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Denseuk:

    您是否使用 Ethfw 或本机 Linux 驱动程序作为以太网控制器?

    此致、
    坦迈

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好, 坦迈

    使用 ethfw 作为以太网控制器。
    我们何时可以获取补丁?

    此致、

    洞修克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    金喜

    如果您使用 ethfw、那么您还需要在 uboot 中进行这些更改、此外还需要在 Linux 上的补丁程序上进行这些更改、该补丁程序是我针对 QSGMI +USB3共享 erlier 的

     https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1216862/dra821u-using-ethernet-qsgmii-and-usb-3-0-at-the-same-time/4605483#4605483

    diff --git a/arch/arm/dts/k3-j7200-common-proc-board.dts b/arch/arm/dts/k3-j7200-common-proc-board.dts
    index 8292ca7806..5c80a3ad53 100644
    --- a/arch/arm/dts/k3-j7200-common-proc-board.dts
    +++ b/arch/arm/dts/k3-j7200-common-proc-board.dts
    @@ -300,7 +300,7 @@
                    reg = <2>;
                    cdns,num-lanes = <1>;
                    #phy-cells = <0>;
    -               cdns,phy-type = <PHY_TYPE_QSGMII>;
    +               cdns,phy-type = <PHY_TYPE_SGMII>;
                    resets = <&serdes_wiz0 3>;
            };
     };
    

    还需要为 SGMI 配置以太网控制器。

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Diwakar:

    我已经测试过了、但我已经再次测试过、但情况仍然是一样的。
    附加的文件是当前使用的 DTS (uboot、Linux)。
    想知道 SGMII 和 USB 3.0是否同时可用?
    请检查。

    e2e.ti.com/.../USB3.0.zip

    此致

    洞修克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、TI

    是否有任何更新?

    此致  

    洞修克  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    金喜

    还需要为 SGMI 配置以太网控制器。

    [/报价]

    你做过这件事吗?

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好,迪瓦克

    器件树的设置方式与上面附加的文件类似、SGMII 在没有 usb3.0的情况下可以正常工作。
    上述以太网控制器设置在哪里?

    此致、

    洞修克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    上面提到的以太网控制器设置在哪里?

    在您使用基于 Ethfw 的方法时、您能否确认您是否对 Ethfw 进行了任何与 SGMII 配置相关的更改? 如果是、请与我们分享。

    如果未进行任何更改、请将与用例中所用物理端口对应的端口中的 MAC 端口配置更改为 SGMII。
       对于在 QSGMII 中默认配置的 SGMII、将下面的.MII 模式更改为".mii ={ENET_MAC_LAYER_GMII、ENET_MAC_SUBYER_SERIAL}"。  

    根据连接到 MAC 端口的每个 PHY 的.phycfg。

    此外、对于 SGMII、请在"Board_ethConfigCpsw9g"函数中使用有效的端口配置。

    在对 Linux 设备树文件和 Ethfw 进行所有必要的更改后、请告知我们该观察结果、还可共享日志(Linux 终端整体日志 以及 ethfw 日志)进行分析。

    此致、
    苏德黑尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    H! 苏德黑尔

    如上所述、当同时启用 USB 3.0和 CPSW5G 时、只能使用 USB 3.0、而不会创建 CPSW5G 的 ETH1接口。

    请求的日志和 ethfw 设置如下

    1)串行器/解串器(以太网)

    2)端口配置(ethfw)

    3) Ethfw 日志

    root@tgu:~# cat /sys/kernel/debug/remoteproc/remoteproc*/trace0
    Sciclient_boardCfgRm init Passed
    DM Built On: Jun 16 2022 04:04:08
    Sciserver Version: v2022.01.1.0-REL.CORESDK.08.02.01.03-1-g59713
    RM_PM_HAL Version: REL.CORESDK.08.02.01.03-1-g59713
    Starting Sciserver..... PASSED
    IPC_echo_test (core : mcu1_0) .....
    mcu1_0 <--> mcu2_1, Ping- 10000, pong - 10000 completed
    =======================================================
                CPSW Ethernet Firmware
    =======================================================
    Warning: Using 6 MAC address(es) from static pool
    ETHFW: Shared multicasts (software fanout):
      01:00:5e:00:00:01
      01:00:5e:00:00:fb
      01:00:5e:00:00:fc
      33:33:00:00:00:01
      33:33:ff:1d:92:c2
      01:80:c2:00:00:00
      01:80:c2:00:00:03
    ETHFW: Reserved multicasts:
      01:80:c2:00:00:0e
      01:1b:19:00:00:00
    EnetMcm: CPSW_5G on MAIN NAVSS
    PHY 3 is alive
    PHY 5 is alive
    PHY 6 is alive
    EnetPhy_open: Enter EnetPhy_open
    EnetPhy_open: PHY 5 linkcfg speed : 2 duplexity : 1
    EnetPhy_initState: PHY 5: Enter EnetPhy_initState
    EnetPhy_setNextState: PHY 5: INIT -> FINDING (20 ticks)
    EnetPhy_setNextState: PHY 5: FINDING -> FOUND (0 ticks)
    EnetPhy_bindDriver: Enter  EnetPhy_bindDriver
    EnetPhy_bindDriver: PHY 5: OUI:000ac2 Model:32 Ver:01 <-> 'mv81111'
    Mv81111_isPhyDevSupported: Mv81111_isPhyDevSupported OUI:0x ac2 MODEL:0x  32 REv:0x   1
    Mv81111_isPhyDevSupported: Mv81111_isPhyDevSupported Not support -----
    EnetPhy_bindDriver: PHY 5: OUI:000ac2 Model:32 Ver:01 <-> 'mv82221'
    Mv82221_isPhyDevSupported: Mv82221_isPhyDevSupported OUI:0x ac2 MODEL:0x  32 REv:0x   1
    Mv82221_isMacModeSupported: Mv82221_isMacModeSupported mii : 4 ------
    EnetPhy_bindDriver: PHY 5: OUI:000ac2 Model:32 Ver:01 <-> 'mv82221' : OK
    EnetPhy_open: Enter EnetPhy_open
    EnetPhy_open: PHY 6 linkcfg speed : 2 duplexity : 1
    EnetPhy_initState: PHY 6: Enter EnetPhy_initState
    EnetPhy_setNextState: PHY 6: INIT -> FINDING (20 ticks)
    EnetPhy_setNextState: PHY 6: FINDING -> FOUND (0 ticks)
    EnetPhy_bindDriver: Enter  EnetPhy_bindDriver
    EnetPhy_bindDriver: PHY 6: OUI:000ac2 Model:32 Ver:01 <-> 'mv81111'
    Mv81111_isPhyDevSupported: Mv81111_isPhyDevSupported OUI:0x ac2 MODEL:0x  32 REv:0x   1
    Mv81111_isPhyDevSupported: Mv81111_isPhyDevSupported Not support -----
    EnetPhy_bindDriver: PHY 6: OUI:000ac2 Model:32 Ver:01 <-> 'mv82221'
    Mv82221_isPhyDevSupported: Mv82221_isPhyDevSupported OUI:0x ac2 MODEL:0x  32 REv:0x   1
    Mv82221_isMacModeSupported: Mv82221_isMacModeSupported mii : 4 ------
    EnetPhy_bindDriver: PHY 6: OUI:000ac2 Model:32 Ver:01 <-> 'mv82221' : OK
    EnetPhy_open: Enter EnetPhy_open
    EnetPhy_open: PHY 3 linkcfg speed : 1 duplexity : 1
    EnetPhy_initState: PHY 3: Enter EnetPhy_initState
    EnetPhy_initState: PHY 3: Set 100Mbit Speed Fullduplex
    EnetPhy_setNextState: PHY 3: INIT -> FINDING (20 ticks)
    EnetPhy_setNextState: PHY 3: FINDING -> FOUND (0 ticks)
    EnetPhy_bindDriver: Enter  EnetPhy_bindDriver
    EnetPhy_bindDriver: PHY 3: OUI:000ac2 Model:32 Ver:01 <-> 'mv81111'
    Mv81111_isPhyDevSupported: Mv81111_isPhyDevSupported OUI:0x ac2 MODEL:0x  32 REv:0x   1
    Mv81111_isMacModeSupported: Mv81111_isMacModeSupported mii : 1 ------
    EnetPhy_bindDriver: PHY 3: 'mv81111' doesn't support MAC mode 1
    EnetPhy_bindDriver: PHY 3: OUI:000ac2 Model:32 Ver:01 <-> 'mv81111' : OK
    
    ETHFW Version   : 0.02.00
    ETHFW Build Date: Jun 13, 2023
    ETHFW Build Time: 15:49:15
    ETHFW Commit SHA: 0764e7a8
    
    Starting lwIP, local interface IP is dhcp-enabled
    Host MAC address: 70:ff:76:1d:92:c2
    [LWIPIF_LWIP] Enet LLD netif initialized successfully
    [LWIPIF_LWIP_IC] Interface started successfully
    [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    [LWIPIF_LWIP_IC] Interface started successfully
    [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    Added interface 'br4', IP is 0.0.0.0
    CpswProxyServer: Virtual port configuration:
      mpu_1_0 <-> Switch port 0: mpu_1_0_ethswitch-device-0
      mcu_2_1 <-> Switch port 1: mcu_2_1_ethswitch-device-1
    CpswProxyServer: initialization completed (core: mcu2_0)
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
    Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:5
    EnetPhy_setNextState: PHY 6: FOUND -> RESET_WAIT (10 ticks)
    EnetPhy_rmwReg: PHY 3: read reg 0 val 0x200c
    EnetPhy_rmwReg: PHY 3: write reg 0 val 0xa00c
    EnetPhy_setNextState: PHY 3: FOUND -> RESET_WAIT (10 ticks)
    EnetPhy_setNextState: PHY 5: FOUND -> RESET_WAIT (10 ticks)
    EnetPhy_setNextState: PHY 6: RESET_WAIT -> ENABLE (0 ticks)
    EnetPhy_readReg: group 0 : PHY 3: reg 0 val 0x200c
    EnetPhy_setNextState: PHY 3: RESET_WAIT -> ENABLE (0 ticks)
    EnetPhy_setNextState: PHY 5: RESET_WAIT -> ENABLE (0 ticks)
    EnetPhy_enableState: PHY 6: enable
    Mv82221_config: Mv82221_config speed 1000 ----------
    initQ222XGe: PHY 6: rev B0 for initial PHY
    EnetPhy_rmwC45Reg: PHY 6: read MMD 3 reg 32768 val 0x0008
    EnetPhy_rmwC45Reg: PHY 6: write MMD 3 reg 32768 val 0x0000
    EnetPhy_rmwC45Reg: PHY 6: read MMD 4 reg 32794 val 0x0042
    EnetPhy_rmwC45Reg: PHY 6: write MMD 4 reg 32794 val 0x0043
    Mv82221_config: >> Link Status: Up
    Mv82221_config: >> Latched Link Status 1: Down
    Mv82221_config: >> Real Time Link Status: Up
    Mv82221_config: >> Latched Link Status 2: Up
    Mv82221_config: >> Master/Slave: Master
    Mv82221_config: >> Speed: GE/1000
    EnetPhy_enableState: PHY 6: manual setup
    EnetPhy_setNextState: PHY 6: ENABLE -> LINK_WAIT (50 ticks)
    EnetPhy_enableState: PHY 3: enable
    Mv81111_config: Mv81111_config enter ----------
    setMaterSlave: setMaterSlave  Enter mode 1 IPC_echo_test (core : mcu2_1) .....
    mcu2_1 <--> mcu1_0, Ping- 10000, pong - 10000 completed

    4)内核日志  

    root@tgu:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.120 (dongsukkim@auto-dev71) (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 Tue Jun 13 15:32:40 KST 2023
    [    0.000000] Machine model: Texas Instruments K3 J7200 SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    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 0x00000000a5000000, size 2 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5200000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@a5200000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    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-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000a4ffffff]
    [    0.000000]   node   0: [mem 0x00000000a5000000-0x00000000a6ffffff]
    [    0.000000]   node   0: [mem 0x00000000a7000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0 totalpages: 1048576
    [    0.000000]   DMA zone: 8192 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 524288 pages, LIFO batch:63
    [    0.000000]   Normal zone: 8192 pages used for memmap
    [    0.000000]   Normal zone: 524288 pages, LIFO batch:63
    [    0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
    [    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 22 pages/cpu s49368 r8192 d32552 u90112
    [    0.000000] pcpu-alloc: s49368 r8192 d32552 u90112 alloc=22*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: EL2 vector hardening
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,230400n8 earlycon=ns16550a,mmio32,0x02800000 earlycon=ns16550a,mmio32,0x02800000 ethaddr=34:08:e1:59:f0:4e eth1addr= wifiaddr=02:D0:20:00:11:22 root=PARTUUID=cf5a1ea0-4407-1d45-8522-7a0d5c7d666f rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
    [    0.000000] Memory: 3379108K/4194304K available (7936K kernel code, 932K rwdata, 3044K rodata, 1408K init, 355K bss, 290908K 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: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
    [    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.004271] Console: colour dummy device 80x25
    [    0.006587] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.011987] pid_max: default: 32768 minimum: 301
    [    0.014445] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.018301] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.023364] rcu: Hierarchical SRCU implementation.
    [    0.026021] Platform MSI: msi-controller@1820000 domain created
    [    0.029222] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.033957] EFI services will not be available.
    [    0.036452] smp: Bringing up secondary CPUs ...
    [    0.039444] Detected PIPT I-cache on CPU1
    [    0.039469] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.039482] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.039522] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.039593] smp: Brought up 1 node, 2 CPUs
    [    0.054445] SMP: Total of 2 processors activated.
    [    0.056880] CPU features: detected: 32-bit EL0 Support
    [    0.059533] CPU features: detected: CRC32 instructions
    [    0.068676] CPU: All CPU(s) started at EL2
    [    0.070820] alternatives: patching kernel code
    [    0.073623] devtmpfs: initialized
    [    0.078516] KASLR disabled due to lack of seed
    [    0.080950] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.085998] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.101199] pinctrl core: initialized pinctrl subsystem
    [    0.104269] DMI not present or invalid.
    [    0.106600] NET: Registered protocol family 16
    [    0.109560] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.113327] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.117472] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.121799] thermal_sys: Registered thermal governor 'step_wise'
    [    0.121802] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.125208] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.132147] ASID allocator initialised with 65536 entries
    [    0.145999] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.149474] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.152935] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.156398] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.523059] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [    0.527832] iommu: Default domain type: Translated
    [    0.530780] pps_core: LinuxPPS API ver. 1 registered
    [    0.533390] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.538131] EDAC MC: Ver: 3.0.0
    [    0.540895] clocksource: Switched to clocksource arch_sys_counter
    [    0.547010] NET: Registered protocol family 2
    [    0.549709] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.554872] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.559336] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.563551] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.567812] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.571407] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.574939] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.578823] NET: Registered protocol family 1
    [    0.581128] PCI: CLS 0 bytes, default 64
    [    0.583499] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.588379] Initialise system trusted keyrings
    [    0.590839] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.596099] Key type asymmetric registered
    [    0.598235] Asymmetric key parser 'x509' registered
    [    0.600774] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.604597] io scheduler mq-deadline registered
    [    0.606939] io scheduler kyber registered
    [    0.611021] pinctrl-single 4301c000.pinctrl: 120 pins, size 480
    [    0.614420] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.619506] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.622729] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.627360] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.636715] brd: module loaded
    [    0.641997] loop: module loaded
    [    0.645370] tun: Universal TUN/TAP device driver, 1.6
    [    0.648284] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.651543] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.654638] sky2: driver version 1.30
    [    0.657202] i2c /dev entries driver
    [    0.659571] sdhci: Secure Digital Host Controller Interface driver
    [    0.662785] sdhci: Copyright(c) Pierre Ossman
    [    0.665233] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.668623] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.671966] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.675767] optee: probing for conduit method.
    [    0.678094] optee: revision 3.17 (f9e55014)
    [    0.678369] optee: initialized driver
    [    0.683264] NET: Registered protocol family 17
    [    0.685623] Key type dns_resolver registered
    [    0.687910] Loading compiled-in X.509 certificates
    [    0.692613] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.695907] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.701083] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
    [    0.726317] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.729771] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.733201] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.736814] pca953x 3-0021: supply vcc not found, using dummy regulator
    [    0.740335] pca953x 3-0021: using no AI
    [    0.764943] pca953x 3-0021: failed writing register
    [    0.767535] pca953x: probe of 3-0021 failed with error -121
    [    0.770621] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    0.774111] pca953x 3-0022: using AI
    [    0.776024] pca953x 3-0022: failed writing register
    [    0.778620] pca953x: probe of 3-0022 failed with error -121
    [    0.781551] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.785024] omap_i2c 2010000.i2c: bus 4 rev0.12 at 100 kHz
    [    0.788398] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
    [    0.791774] omap_i2c 2030000.i2c: bus 6 rev0.12 at 100 kHz
    [    0.795191] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    0.798571] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    0.801954] omap_i2c 2060000.i2c: bus 9 rev0.12 at 100 kHz
    [    0.805301] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    0.810425] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    0.814946] ti-sci-intr bus@100000:bus@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    0.820109] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    0.827830] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    0.832854] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    0.836277] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.842275] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    0.847428] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    0.850851] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.855211] 42300000.serial: ttyS0 at MMIO 0x42300000 (irq = 15, base_baud = 3000000) is a 8250
    [    0.860490] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 16, base_baud = 6000000) is a 8250
    [    0.865662] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 22, base_baud = 3000000) is a 8250
    [    0.870110] printk: console [ttyS2] enabled
    [    0.874359] printk: bootconsole [ns16550a0] disabled
    [    0.880060] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 23, base_baud = 3000000) is a 8250
    [    0.884993] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 24, base_baud = 3000000) is a 8250
    [    0.889911] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 25, base_baud = 3000000) is a 8250
    [    0.894861] 2850000.serial: ttyS7 at MMIO 0x2850000 (irq = 26, base_baud = 3000000) is a 8250
    [    0.899792] 2860000.serial: ttyS8 at MMIO 0x2860000 (irq = 27, base_baud = 3000000) is a 8250
    [    0.904731] 2890000.serial: ttyS9 at MMIO 0x2890000 (irq = 28, base_baud = 3000000) is a 8250
    [    0.910510] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.080904] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000
    [    1.085573] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver unknown
    [    1.089656] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.197694] mmc0: CQHCI version 5.10
    [    1.199634] mmc1: CQHCI version 5.10
    [    1.205333] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    1.208977] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    1.212920] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.218653] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    1.224494] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.235091] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.238864] invalid of gpio : -2
    [    1.240924] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.244681] Wi-Fi enable with gpio
    [    1.292022] mmc1: new ultra high speed SDR104 SDIO card at address 0001
    [    1.317833] mmc0: Command Queue Engine enabled
    [    1.320060] mmc0: new HS400 MMC card at address 0001
    [    1.322896] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB
    [    1.325299] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB
    [    1.328375] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB
    [    1.331459] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (242:0)
    [    1.336779]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16
    [    1.392912] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000
    [    1.397610] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver unknown
    [    1.401695] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.408977] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.412732] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.416357] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.421834] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    1.463510] EXT4-fs (mmcblk0p7): recovery complete
    [    1.466476] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
    [    1.470560] VFS: Mounted root (ext4 filesystem) on device 179:7.
    [    1.473781] devtmpfs: mounted
    [    1.476399] Freeing unused kernel memory: 1408K
    [    1.478775] Run /sbin/init as init process
    [    1.480820]   with arguments:
    [    1.480822]     /sbin/init
    [    1.480824]   with environment:
    [    1.480826]     HOME=/
    [    1.480828]     TERM=linux
    [    1.480830]     ethaddr=34:08:e1:59:f0:4e
    [    1.480832]     eth1addr=
    [    1.480833]     wifiaddr=02:D0:20:00:11:22
    [    1.522336] systemd[1]: System time before build time, advancing clock.
    [    1.540122] NET: Registered protocol family 10
    [    1.542974] Segment Routing with IPv6
    [    1.550666] 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)
    [    1.561701] systemd[1]: Detected architecture arm64.
    [    1.581254] systemd[1]: Set hostname to <tgu>.
    [    1.708657] systemd[1]: redis.service: Failed to open /usr/local/systemd/system/redis.service: No such file or directory
    [    1.714279] systemd[1]: Configuration file /etc/systemd/system/opt-utils.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.723592] systemd[1]: Configuration file /etc/systemd/system/kernel-module.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.732567] systemd[1]: Configuration file /etc/systemd/system/set_wifi_macaddress.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.740882] systemd[1]: Configuration file /etc/systemd/system/set_eth1_macaddress.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.749247] systemd[1]: Configuration file /etc/systemd/system/set_eth0_macaddress.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.757553] systemd[1]: Configuration file /etc/systemd/system/can6-intf.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.765497] systemd[1]: Configuration file /etc/systemd/system/can5-intf.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.773409] systemd[1]: Configuration file /etc/systemd/system/can4-intf.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.781310] systemd[1]: Configuration file /etc/systemd/system/can3-intf.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.789220] systemd[1]: Configuration file /etc/systemd/system/can2-intf.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.797156] systemd[1]: Configuration file /etc/systemd/system/can1-intf.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.813068] systemd[1]: Configuration file /etc/systemd/system/coredump.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.821538] systemd[1]: Configuration file /etc/systemd/system/bootcount_reset.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.829619] systemd[1]: Configuration file /etc/systemd/system/5g-modem.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.889834] random: systemd: uninitialized urandom read (16 bytes read)
    [    1.893301] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    1.899491] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    1.905441] systemd[1]: Created slice system-getty.slice.
    [    1.921020] random: systemd: uninitialized urandom read (16 bytes read)
    [    1.925081] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    1.941011] random: systemd: uninitialized urandom read (16 bytes read)
    [    1.945063] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [    1.961714] systemd[1]: Created slice User and Session Slice.
    [    1.977249] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    1.993183] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.009200] systemd[1]: Reached target Network is Online.
    [    2.025043] systemd[1]: Reached target Paths.
    [    2.041028] systemd[1]: Reached target Remote File Systems.
    [    2.057029] systemd[1]: Reached target Slices.
    [    2.073037] systemd[1]: Reached target Swap.
    [    2.090837] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    2.109062] systemd[1]: Reached target RPC Port Mapper.
    [    2.125862] systemd[1]: Listening on Syslog Socket.
    [    2.143076] systemd[1]: Listening on Process Core Dump Socket.
    [    2.161203] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    2.180333] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    2.185252] systemd[1]: Listening on Journal Socket (/dev/log).
    [    2.201386] systemd[1]: Listening on Journal Socket.
    [    2.217431] systemd[1]: Listening on udev Control Socket.
    [    2.233242] systemd[1]: Listening on udev Kernel Socket.
    [    2.251547] systemd[1]: Mounting Huge Pages File System...
    [    2.271433] systemd[1]: Mounting POSIX Message Queue File System...
    [    2.291499] systemd[1]: Mounting Kernel Debug File System...
    [    2.311476] systemd[1]: Mounting Temporary Directory (/tmp)...
    [    2.331774] systemd[1]: Starting Create list of static device nodes for the current kernel...
    [    2.351923] systemd[1]: Starting RPC Bind...
    [    2.365152] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    2.372755] systemd[1]: Starting Journal Service...
    [    2.393191] systemd[1]: Starting Load Kernel Modules...
    [    2.408149] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    2.429571] systemd[1]: Starting udev Coldplug all Devices...
    [    2.437927] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
    [    2.440699] ext4 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff)
    [    2.452610] systemd[1]: Started RPC Bind.
    [    2.465558] systemd[1]: Started Journal Service.
    [    2.610895] systemd-journald[98]: Received client request to flush runtime journal.
    [    2.934706] urandom_read_iter: 56 callbacks suppressed
    [    2.934710] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.996537] CAN device driver interface
    [    3.138029] m_can_platform 2701000.can: m_can device registered (irq=39, version=32)
    [    3.190443] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.193853] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.199286] m_can_platform 2741000.can: m_can device registered (irq=41, version=32)
    [    3.325207] m_can_platform 27a1000.can: m_can device registered (irq=43, version=32)
    [    3.397818] m_can_platform 27c1000.can: m_can device registered (irq=45, version=32)
    [    3.469210] m_can_platform 27d1000.can: m_can device registered (irq=47, version=32)
    [    3.549577] m_can_platform 2691000.can: m_can device registered (irq=49, version=32)
    [    3.599944] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    3.942420] urandom_read_iter: 63 callbacks suppressed
    [    3.942424] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [    3.954198] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null)
    [    4.019344] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.022753] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.051524] EXT4-fs (mmcblk0p15): mounted filesystem with ordered data mode. Opts: (null)
    [    4.092606] platform 41000000.r5f: configured R5F for IPC-only mode
    [    4.189746] EXT4-fs (mmcblk0p16): mounted filesystem with ordered data mode. Opts: (null)
    [    4.193888] ext4 filesystem being mounted at /opt6 supports timestamps until 2038 (0x7fffffff)
    [    4.298551] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    4.390756] remoteproc remoteproc0: 41000000.r5f is available
    [    4.475697] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts: (null)
    [    4.516955] random: crng init done
    [    4.518665] random: 63 urandom warning(s) missed due to ratelimiting
    [    4.525116] remoteproc remoteproc0: attaching to 41000000.r5f
    [    4.531657] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    4.537907]  remoteproc0#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000
    [    4.545241]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    4.550995] remoteproc remoteproc0: remote processor 41000000.r5f is now attached
    [    4.555024] EXT4-fs (mmcblk0p14): mounted filesystem with ordered data mode. Opts: (null)
    [    4.577051] EXT4-fs (mmcblk0p12): mounted filesystem with ordered data mode. Opts: (null)
    [    4.590356] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    4.606028] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    4.610619] remoteproc remoteproc1: 5c00000.r5f is available
    [    4.625409] remoteproc remoteproc1: powering up 5c00000.r5f
    [    4.628209] remoteproc remoteproc1: Booting fw image j7200-main-r5f0_0-fw, size 609620
    [    4.637952] platform 5d00000.r5f: configured R5F for remoteproc mode
    [    4.649041]  remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@a2000000
    [    4.653341]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    4.656392] remoteproc remoteproc1: remote processor 5c00000.r5f is now up
    [    4.663712] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    4.698173] remoteproc remoteproc2: 5d00000.r5f is available
    [    4.702807] remoteproc remoteproc2: powering up 5d00000.r5f
    [    4.705938] remoteproc remoteproc2: Booting fw image j7200-main-r5f0_1-fw, size 83820
    [    4.714243]  remoteproc2#vdev0buffer: assigned reserved memory node r5f-dma-memory@a3000000
    [    4.714395]  remoteproc2#vdev0buffer: registered virtio2 (type 7)
    [    4.714404] remoteproc remoteproc2: remote processor 5d00000.r5f is now up
    [    4.785915] EXT4-fs (mmcblk0p13): mounted filesystem with ordered data mode. Opts: (null)
    [    4.865966] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
    [    4.870179] ext4 filesystem being mounted at /mnt/nvlog supports timestamps until 2038 (0x7fffffff)
    [    5.219575] usbcore: registered new interface driver usbfs
    [    5.224464] usbcore: registered new interface driver hub
    [    5.228374] usbcore: registered new device driver usb
    [    5.303233] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    5.307600] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    5.312623] virtio_rpmsg_bus virtio1: creating channel rpmsg-kdrv addr 0x1a
    [    5.316600] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    5.321928] rpmsg-kdrv-eth-switch rpmsg-kdrv-1-mpu_1_0_ethswitch-device-0: Device info: permissions: 3FFFFFFF uart_id: 3
    [    5.331581] rpmsg-kdrv-eth-switch rpmsg-kdrv-1-mpu_1_0_ethswitch-device-0: FW ver 0.2 (rev 0) 13/Jun/2023 SHA:0764e7a8
    [    5.342501] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.352828] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    5.356066] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    5.362677] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.369032] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    5.473782] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    5.476555] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [    5.510913] IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
    [    5.645632] xhci-hcd xhci-hcd.1.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010
    [    5.671105] xhci-hcd xhci-hcd.1.auto: irq 527, io mem 0x06010000
    [    5.681362] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    5.692628] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.714524] mhi_init Quectel_Linux_PCIE_MHI_Driver_V1.3.1
    [    5.768056] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    5.769632] usb usb1: Product: xHCI Host Controller
    [    5.774557] usb usb1: Manufacturer: Linux 5.10.120 xhci-hcd
    [    5.798078] usb usb1: SerialNumber: xhci-hcd.1.auto
    [    5.857441] hub 1-0:1.0: USB hub found
    [    5.859436] hub 1-0:1.0: 1 port detected
    [    5.859730] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    5.866385] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    5.871297] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
    [    5.875238] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    5.879475] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [    5.883834] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.887682] usb usb2: Product: xHCI Host Controller
    [    5.887687] usb usb2: Manufacturer: Linux 5.10.120 xhci-hcd
    [    5.887690] usb usb2: SerialNumber: xhci-hcd.1.auto
    [    5.890595] hub 2-0:1.0: USB hub found
    [    5.959917] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    5.964398] hub 2-0:1.0: 1 port detected
    [    6.005459] wlan: Loading MWLAN driver
    [    6.008403] wlan: Register to Bus Driver...
    [    6.016000] vendor=0x02DF device=0x914D class=0 function=1
    [    6.021862] Attach moal handle ops, card interface type: 0x106
    [    6.026289] SD9098: init module param from usr cfg
    [    6.028718] card_type: SD9098, config block: 0
    [    6.031542] cfg80211_wext=0xf
    [    6.033392] max_vir_bss=1
    [    6.034713] cal_data_cfg=none
    [    6.036219] ps_mode = 2
    [    6.036222] auto_ds = 2
    [    6.036229] host_mlme=enable
    [    6.040177] fw_name=nxp/sdiouart9098_combo_v1.bin
    [    6.045503] SDIO: max_segs=128 max_seg_size=65536
    [    6.048370] rx_work=1 cpu_num=2
    [    6.050022] Attach mlan adapter operations.card_type is 0x106.
    [    6.053265] wlan: Enable TX SG mode
    [    6.055010] wlan: Enable RX SG mode
    [    6.060987] Request firmware: nxp/sdiouart9098_combo_v1.bin
    [    6.455868] Wlan: FW download over, firmwarelen=845044 downloaded 685820
    [    6.532920] IPv6: ADDRCONF(NETDEV_CHANGE): can2: link becomes ready
    [    6.536343] IPv6: ADDRCONF(NETDEV_CHANGE): can3: link becomes ready
    [    6.540282] IPv6: ADDRCONF(NETDEV_CHANGE): can4: link becomes ready
    [    6.543980] IPv6: ADDRCONF(NETDEV_CHANGE): can5: link becomes ready
    [    6.547657] IPv6: ADDRCONF(NETDEV_CHANGE): can6: link becomes ready
    [    6.716936] WLAN FW is active
    [    6.718423] on_time is 6681540060
    [    6.723960] VDLL image: len=159224
    [    6.725965] fw_cap_info=0xc8fcffa3, dev_cap_mask=0xffffffff
    [    6.728758] max_p2p_conn = 8, max_sta_conn = 64
    [    6.734400] wlan: mlan0 set max_mtu 2000
    [    6.757405] wlan: uap0 set max_mtu 2000
    [    6.763174] wlan: wfd0 set max_mtu 2000
    [    6.781961] wlan: version = SD9098----17.92.1.p116.1-MM5X17344.p3-GPL-(FP92)
    [    6.789585] vendor=0x02DF device=0x914E class=0 function=2
    [    6.793682] Attach moal handle ops, card interface type: 0x106
    [    6.799671] SD9098: init module param from usr cfg
    [    6.833006] card_type: SD9098, config block: 1
    [    6.835270] cfg80211_wext=0xf
    [    6.835272] max_vir_bss=1
    [    6.835278] cal_data_cfg=none
    [    6.835280] ps_mode = 2
    [    6.835282] auto_ds = 2
    [    6.835286] host_mlme=enable
    [    6.835291] fw_name=nxp/sdiouart9098_combo_v1.bin
    [    6.846254] SDIO: max_segs=128 max_seg_size=65536
    [    6.851452] rx_work=1 cpu_num=2
    [    6.853605] Attach mlan adapter operations.card_type is 0x106.
    [    6.866736] wlan: Enable TX SG mode
    [    6.868488] wlan: Enable RX SG mode
    [    6.881106] Request firmware: nxp/sdiouart9098_combo_v1.bin
    [    6.885113] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
    [    6.889140] WLAN FW already running! Skip FW download
    [    6.891737] WLAN FW is active
    [    6.893399] on_time is 6856510535
    [    6.895500] VDLL image: len=159224
    [    6.897937] fw_cap_info=0x68fcffa3, dev_cap_mask=0xffffffff
    [    6.900730] max_p2p_conn = 8, max_sta_conn = 64
    [    6.906856] usb 2-1: LPM exit latency is zeroed, disabling LPM.
    [    6.911562] usb 2-1: New USB device found, idVendor=2c7c, idProduct=0801, bcdDevice= 5.04
    [    6.915879] wlan: mmlan0 set max_mtu 2000
    [    6.918088] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    6.928959] usb 2-1: Product: RM520N-GL
    [    6.931406] usb 2-1: Manufacturer: Quectel
    [    6.936949] usb 2-1: SerialNumber: d956d465
    [    6.940199] wlan: muap0 set max_mtu 2000
    [    6.950464] wlan: mwfd0 set max_mtu 2000
    [    6.963451] wlan: version = SD9098----17.92.1.p116.1-MM5X17344.p3-GPL-(FP92)
    [    6.969085] wlan: Register to Bus Driver Done
    [    6.971298] wlan: Driver loaded successfully
    [    7.014565] usbcore: registered new interface driver option
    [    7.018147] usbcore: registered new interface driver cdc_wdm
    [    7.030248] usbserial: USB Serial support registered for GSM modem (1-port)
    [    7.052123] qmi_wwan_q 2-1:1.4: cdc-wdm0: USB WDM device
    [    7.070690] qmi_wwan_q 2-1:1.4: Quectel RM520N-GL work on RawIP mode
    [    7.079277] qmi_wwan_q 2-1:1.4: rx_urb_size = 31744
    [    7.083392] qmi_wwan_q 2-1:1.4 wwan0: register 'qmi_wwan_q' at usb-xhci-hcd.1.auto-1, RMNET/USB device, b6:fe:68:68:ea:9a
    [    7.092572] net wwan0: qmap_register_device wwan0_1
    [    7.097325] option 2-1:1.0: GSM modem (1-port) converter detected
    [    7.102140] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
    [    7.106728] usbcore: registered new interface driver qmi_wwan_q
    [    7.110478] option 2-1:1.1: GSM modem (1-port) converter detected
    [    7.118968] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
    [    7.125407] option 2-1:1.2: GSM modem (1-port) converter detected
    [    7.131162] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
    [    7.135645] option 2-1:1.3: GSM modem (1-port) converter detected
    [    7.142335] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3
    [   10.794164] can: controller area network core
    [   10.796394] NET: Registered protocol family 29
    [   10.802940] can: raw protocol
    [   14.469523] net wwan0: ul_data_aggregation_max_datagrams=11, ul_data_aggregation_max_size=8192, dl_minimum_padding=0

    尊重,

    洞修克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    看起来 VirtMAC 驱动程序好像没有探测。

    您是否可以 使用 modprobe 命令插入 VirtMAC 驱动程序、如下所示并检查一次。

    # modprobe ti-j721e-cpsw-virt-mac

    此致、
    苏德黑尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!  

    正如我之前所说的, cpsw5g ( SGMII)在没有 usb3.0的情况下可以正常工作。
    当查看装载有 lsmod 的模块时,下面的模块似乎已经很好地注册了。

    您能否建议在 ethfw 或内核驱动程序设置 SerDes 中进行修复和测试?
    如果您告诉我、我将分享测试和结果。

    此致、

    dongseuk,

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    正如我之前所说,cpsw5g (SGMII)在没有 usb3.0的情况下可以正常工作。

    您能否共享适用于 SGMII 的器件树文件和 ethfw 更改。
    此外、您是否可以共享用于 USB3.0的器件压力文件和 ethfw 更改

    此外、提供合并的(SGMII + USB3.0)器件树文件和 ethfw 更改、查看并确认合并更改是否合理?

    此致、
    苏德黑尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!  

    当 SGMII + USB 3.0协同工作时、只有 USB 3.0工作、上述 DTS 文件之前是共享的。 请参阅上面的.USB3.0链接。
    为了仅运行 SGMII、在 DTS 中禁用 USB、如下所示。

    // SPDX-License-Identifier: GPL-2.0
    /*
     * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
     */
    
    /dts-v1/;
    
    #include "k3-tgu_B0.dtsi"
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/net/ti-dp83867.h>
    #include <dt-bindings/mux/ti-serdes.h>
    #include <dt-bindings/phy/phy.h>
    
    / {
    	chosen {
    		stdout-path = "serial2:230400n8";
    		bootargs = "console=ttyS2,230400n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait loglevel=0";
    	};
    
    	cpsw5g_virt_mac: main_r5fss_cpsw5g_virt_mac0 {
    		compatible = "ti,j721e-cpsw-virt-mac";
    		dma-coherent;
    		ti,psil-base = <0x4a00>;
    		ti,remote-name = "mpu_1_0_ethswitch-device-0";
    
    		dmas = <&main_udmap 0xca00>,
    		       <&main_udmap 0xca01>,
    		       <&main_udmap 0xca02>,
    		       <&main_udmap 0xca03>,
    		       <&main_udmap 0xca04>,
    		       <&main_udmap 0xca05>,
    		       <&main_udmap 0xca06>,
    		       <&main_udmap 0xca07>,
    		       <&main_udmap 0x4a00>;
    		dma-names = "tx0", "tx1", "tx2", "tx3",
    			    "tx4", "tx5", "tx6", "tx7",
    			    "rx";
    
    		virt_emac_port {
    			ti,label = "virt-port";
    			/* local-mac-address = [0 0 0 0 0 0]; */
    		};
    	};
    
    /* tgu not support regulator
    
    	evm_12v0: fixedregulator-evm12v0 {
    
    		compatible = "regulator-fixed";
    		regulator-name = "evm_12v0";
    		regulator-min-microvolt = <12000000>;
    		regulator-max-microvolt = <12000000>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vsys_3v3: fixedregulator-vsys3v3 {
    
    		compatible = "regulator-fixed";
    		regulator-name = "vsys_3v3";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&evm_12v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vsys_5v0: fixedregulator-vsys5v0 {
    
    		compatible = "regulator-fixed";
    		regulator-name = "vsys_5v0";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		vin-supply = <&evm_12v0>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    */
    /*
    	vdd_mmc1: fixedregulator-sd {*/
    		/* Output of TPS22918 */
    /*		compatible = "regulator-fixed";
    		regulator-name = "vdd_mmc1";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-boot-on;
    		enable-active-high;
    		vin-supply = <&vsys_3v3>;
    		gpio = <&exp2 2 GPIO_ACTIVE_HIGH>;
    	};
    
    	vdd_sd_dv: gpio-regulator-TLV71033 {*/
    		/* Output of TLV71033 */
    /*		compatible = "regulator-gpio";
    		regulator-name = "tlv71033";
    		pinctrl-names = "default";
    		pinctrl-0 = <&vdd_sd_dv_pins_default>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-boot-on;
    		vin-supply = <&vsys_5v0>;
    		gpios = <&main_gpio0 55 GPIO_ACTIVE_HIGH>;
    		states = <1800000 0x0>,
    			 <3300000 0x1>;
    	};
    */
    
    	gpio_keys {
    		compatible = "gpio-keys";
    		#address-cells = <1>;
    		#size-cells = <0>;
    
    		switch0 {
    		    label = "key_on";
    		    linux,code = <115>;
    		    gpios = <&main_gpio0 23 GPIO_ACTIVE_LOW>;
    		    debounce-interval = <300>;
    		    wakeup-source;
    		};
    
    		switch1 {
    		    label = "alternator_on";
    		    linux,code = <118>;
    		    gpios = <&main_gpio0 11 GPIO_ACTIVE_LOW>;
    		    debounce-interval = <300>;
    		    wakeup-source;
    		};
    
    		switch2 {
    		    label = "acc_on";
    		    linux,code = <120>;
    		    gpios = <&wkup_gpio0 8 GPIO_ACTIVE_LOW>;
    		    debounce-interval = <300>;
    		    wakeup-source;
    		};
    	};
    };
    
    &wkup_pmx0 {
            pinctrl-names = "default";
            pinctrl-0 = <&wkup_gpio_pins_default>;
    
    	mcu_cpsw_pins_default: mcu-cpsw-pins-default {
    		pinctrl-single,pins = <
    			J721E_WKUP_IOPAD(0x68, PIN_INPUT, 1) /* (D11) MCU_RGMII1_TX_CTL.MCU_RMII1_CRS_DV */
    			J721E_WKUP_IOPAD(0x84, PIN_INPUT, 1) /* (B10) MCU_RGMII1_RXC.MCU_RMII1_REF_CLK */
    			J721E_WKUP_IOPAD(0x94, PIN_INPUT, 1) /* (A9) MCU_RGMII1_RD0.MCU_RMII1_RXD0 */
    			J721E_WKUP_IOPAD(0x90, PIN_INPUT, 1) /* (B9) MCU_RGMII1_RD1.MCU_RMII1_RXD1 */
    			J721E_WKUP_IOPAD(0x6c, PIN_INPUT, 1) /* (A11) MCU_RGMII1_RX_CTL.MCU_RMII1_RX_ER */
    			J721E_WKUP_IOPAD(0x7c, PIN_OUTPUT, 1) /* (D10) MCU_RGMII1_TD0.MCU_RMII1_TXD0 */
    			J721E_WKUP_IOPAD(0x78, PIN_OUTPUT, 1) /* (B11) MCU_RGMII1_TD1.MCU_RMII1_TXD1 */
    			J721E_WKUP_IOPAD(0x80, PIN_OUTPUT, 1) /* (A12) MCU_RGMII1_TXC.MCU_RMII1_TX_EN */
    		>;
    	};
    
    	mcu_mdio_pins_default: mcu-mdio1-pins-default {
    		pinctrl-single,pins = <
    			J721E_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0) /* (D9) MCU_MDIO0_MDC */
    			J721E_WKUP_IOPAD(0x0098, PIN_INPUT, 0) /* (C9) MCU_MDIO0_MDIO */
    		>;
    	};
    	wkup_gpio_pins_default: wkup_gpio_pins_default {
    		pinctrl-single,pins = <
    			J721E_WKUP_IOPAD(0xc0, PIN_INPUT, 7) /* (B18) WKUP_GPIO0_0 */
    			J721E_WKUP_IOPAD(0xc4, PIN_OUTPUT, 7) /* (B19) WKUP_GPIO0_1 */
    			J721E_WKUP_IOPAD(0xc8, PIN_OUTPUT, 7) /* (D14) WKUP_GPIO0_2 */
    			J721E_WKUP_IOPAD(0xcc, PIN_OUTPUT, 7) /* (B21) WKUP_GPIO0_3 */
    			J721E_WKUP_IOPAD(0xd0, PIN_OUTPUT, 7) /* (D13) WKUP_GPIO0_4 */
    			J721E_WKUP_IOPAD(0xd4, PIN_OUTPUT, 7) /* (B16) WKUP_GPIO0_5 */
    			J721E_WKUP_IOPAD(0xd8, PIN_OUTPUT, 7) /* (C14) WKUP_GPIO0_6 */
    			J721E_WKUP_IOPAD(0xdc, PIN_INPUT, 7) /* (C18) WKUP_GPIO0_7 */
    			J721E_WKUP_IOPAD(0xe0, PIN_INPUT, 7) /* (C21) WKUP_GPIO0_8 */
    			J721E_WKUP_IOPAD(0xe4, PIN_OUTPUT, 7) /* (C19) WKUP_GPIO0_9 */
    			J721E_WKUP_IOPAD(0xe8, PIN_OUTPUT, 7) /* (C20) WKUP_GPIO0_10 */
    			J721E_WKUP_IOPAD(0xec, PIN_OUTPUT, 7) /* (C16) WKUP_GPIO0_11 */
    			J721E_WKUP_IOPAD(0xf8, PIN_OUTPUT, 7) /* (E20) WKUP_GPIO0_14 */
    			J721E_WKUP_IOPAD(0xfc, PIN_OUTPUT, 7) /* (E21) WKUP_GPIO0_15 */
    			J721E_WKUP_IOPAD(0x38, PIN_INPUT, 7) /* (C6) MCU_OSPI0_CSn2.WKUP_GPIO0_30 */
    			J721E_WKUP_IOPAD(0x3c, PIN_INPUT, 7) /* (D5) MCU_OSPI0_CSn3.WKUP_GPIO0_31 */
    			J721E_WKUP_IOPAD(0x70, PIN_INPUT, 7) /* (C12) MCU_RGMII1_TD3.WKUP_GPIO0_44 */
    			J721E_WKUP_IOPAD(0x74, PIN_INPUT, 7) /* (B12) MCU_RGMII1_TD2.WKUP_GPIO0_45 */
    			J721E_WKUP_IOPAD(0x88, PIN_OUTPUT, 7) /* (C10) MCU_RGMII1_RD3.WKUP_GPIO0_50 */
    			J721E_WKUP_IOPAD(0x8c, PIN_INPUT, 7) /* (A10) MCU_RGMII1_RD2.WKUP_GPIO0_51 */
    			J721E_WKUP_IOPAD(0xa0, PIN_OUTPUT, 7) /* (C13) MCU_SPI0_CLK.WKUP_GPIO0_56 */
    			J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 7) /* (A20) MCU_SPI0_D0.WKUP_GPIO0_57 */
    			J721E_WKUP_IOPAD(0xa8, PIN_OUTPUT, 7) /* (B17) MCU_SPI0_D1.WKUP_GPIO0_58 */
    			J721E_WKUP_IOPAD(0xac, PIN_OUTPUT, 7) /* (A19) MCU_SPI0_CS0.WKUP_GPIO0_59 */
    			J721E_WKUP_IOPAD(0xb8, PIN_INPUT, 7) /* (A16) MCU_MCAN0_TX.WKUP_GPIO0_62 */
    			J721E_WKUP_IOPAD(0xbc, PIN_INPUT, 7) /* (A17) MCU_MCAN0_RX.WKUP_GPIO0_63 */
    			J721E_WKUP_IOPAD(0x120, PIN_OUTPUT, 7) /* (D21) WKUP_GPIO0_77 */
    			J721E_WKUP_IOPAD(0x17c, PIN_INPUT, 7) /* (E19) WKUP_GPIO0_78 */
    			J721E_WKUP_IOPAD(0x180, PIN_OUTPUT, 7) /* (D18) WKUP_GPIO0_80 */
    			J721E_WKUP_IOPAD(0x190, PIN_INPUT, 7) /* (E18) WKUP_GPIO0_84 */
    		>;
    	};
    
    	wifi_gpio_pins_default: wifi_gpio_pins_default {
    		pinctrl-single,pins = <
    			J721E_WKUP_IOPAD(0x30, PIN_OUTPUT, 7) /* (D7) MCU_OSPI0_CSn1.WKUP_GPIO0_28 */
    		>;
    	};
    
    	general_adc_pins_default: general_adc_pins_default {
    		pinctrl-single,pins = <
    			J721E_WKUP_IOPAD(0x134, PIN_INPUT, 0) /* (H17) MCU_ADC0_AIN0 */
    			J721E_WKUP_IOPAD(0x138, PIN_INPUT, 0) /* (K18) MCU_ADC0_AIN1 */
    			J721E_WKUP_IOPAD(0x13c, PIN_INPUT, 0) /* (M17) MCU_ADC0_AIN2 */
    			J721E_WKUP_IOPAD(0x140, PIN_INPUT, 0) /* (L18) MCU_ADC0_AIN3 */
    			J721E_WKUP_IOPAD(0x144, PIN_INPUT, 0) /* (J18) MCU_ADC0_AIN4 */
    			J721E_WKUP_IOPAD(0x148, PIN_INPUT, 0) /* (J17) MCU_ADC0_AIN5 */
    			J721E_WKUP_IOPAD(0x14c, PIN_INPUT, 0) /* (K17) MCU_ADC0_AIN6 */
    			J721E_WKUP_IOPAD(0x150, PIN_INPUT, 0) /* (L17) MCU_ADC0_AIN7 */
    		>;
    	};
    
    
    
    	mywkup_uart1_pins_default: mywkup_uart1_pins_default {
    		pinctrl-single,pins = <
    			J721E_WKUP_IOPAD(0xb0, PIN_INPUT, 0) /* (B14) WKUP_UART0_RXD */
    			J721E_WKUP_IOPAD(0xb4, PIN_OUTPUT, 0) /* (A14) WKUP_UART0_TXD */
    		>;
    	};
    
    	mymcu_uart1_pins_default: mymcu_uart1_pins_default {
    		pinctrl-single,pins = <
    			J721E_WKUP_IOPAD(0xf4, PIN_INPUT, 0) /* (D20) WKUP_GPIO0_13.MCU_UART0_RXD */
    			J721E_WKUP_IOPAD(0xf0, PIN_OUTPUT, 0) /* (D19) WKUP_GPIO0_12.MCU_UART0_TXD */
    		>;
    	};
    
    	mywkup_system1_pins_default: mywkup_system1_pins_default {
    		pinctrl-single,pins = <
    			J721E_WKUP_IOPAD(0x11c, PIN_OUTPUT, 0) /* (B13) MCU_RESETSTATz */
    			J721E_WKUP_IOPAD(0x118, PIN_INPUT, 0) /* (A18) MCU_RESETz */
    			J721E_WKUP_IOPAD(0x114, PIN_INPUT, 0) /* (G18) MCU_SAFETY_ERRORn */
    			J721E_WKUP_IOPAD(0x110, PIN_OUTPUT, 0) /* (C15) PMIC_POWER_EN1 */
    			J721E_WKUP_IOPAD(0x124, PIN_OUTPUT, 0) /* (T19) PMIC_WAKE0 */
    			J721E_WKUP_IOPAD(0x178, PIN_INPUT, 0) /* (H20) PORz */
    			J721E_WKUP_IOPAD(0x174, PIN_INPUT, 0) /* (A15) RESET_REQz */
    		>;
    	};
    
    };
    
    
    &main_pmx0 {
            pinctrl-names = "default";
            pinctrl-0 = <&gpio_pins_default>;
    
    	main_i2c0_pins_default: main-i2c0-pins-default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0xd4, PIN_INPUT_PULLUP, 0) /* (V3) I2C0_SCL */
    			J721E_IOPAD(0xd8, PIN_INPUT_PULLUP, 0) /* (W2) I2C0_SDA */
    		>;
    	};
    
    	main_mmc1_pins_default: main-mmc1-pins-default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x104, PIN_INPUT, 0) /* (M20) MMC1_CMD */
    			J721E_IOPAD(0x100, PIN_INPUT, 0) /* (P21) MMC1_CLK */
    /*			J721E_IOPAD(0xfc, PIN_INPUT, 0) */ /* (P25) MMC1_CLKLB */
    			J721E_IOPAD(0xf8, PIN_INPUT, 0) /* (M19) MMC1_DAT0 */
    			J721E_IOPAD(0xf4, PIN_INPUT, 0) /* (N21) MMC1_DAT1 */
    			J721E_IOPAD(0xf0, PIN_INPUT, 0) /* (N20) MMC1_DAT2 */
    			J721E_IOPAD(0xec, PIN_INPUT, 0) /* (N19) MMC1_DAT3 */
    			J721E_IOPAD(0xe4, PIN_INPUT, 8) /* (V1) TIMER_IO0.MMC1_SDCD */
    		>;
    	};
    
    	main_usbss0_pins_default: main-usbss0-pins-default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x120, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */
    		>;
    	};
    /*
    	vdd_sd_dv_pins_default: vdd-sd-dv-pins-default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0xd0, PIN_OUTPUT, 7)*/ /* (T5) SPI0_D1.GPIO0_55 */
    /*		>;
    	};
    */
    
    	gpio_pins_default: gpio_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x28, PIN_INPUT, 7) /* (W21) MCAN1_TX.GPIO0_11 */
    			J721E_IOPAD(0x2c, PIN_OUTPUT, 7) /* (V16) MCAN1_RX.GPIO0_12 */
    			J721E_IOPAD(0x38, PIN_OUTPUT, 7) /* (Y21) MCAN3_TX.GPIO0_15 */
    			J721E_IOPAD(0x3c, PIN_OUTPUT, 7) /* (W16) MCAN3_RX.GPIO0_16 */
    			J721E_IOPAD(0x48, PIN_INPUT, 7) /* (V21) MCAN5_TX.GPIO0_19 */
    			J721E_IOPAD(0x58, PIN_OUTPUT, 7) /* (U16) MCAN7_TX.GPIO0_23 */
    			J721E_IOPAD(0x68, PIN_OUTPUT, 7) /* (T14) MCAN9_TX.GPIO0_27 */
    			J721E_IOPAD(0x6c, PIN_INPUT, 7) /* (U18) MCAN9_RX.GPIO0_28 */
    			J721E_IOPAD(0x7c, PIN_OUTPUT, 7) /* (Y13) MCAN11_RX.GPIO0_32 */
    			J721E_IOPAD(0x98, PIN_INPUT, 7) /* (V14) UART2_RXD.GPIO0_39 */
    			J721E_IOPAD(0x9c, PIN_OUTPUT, 7) /* (V13) UART2_TXD.GPIO0_40 */
    			J721E_IOPAD(0xa0, PIN_INPUT, 7) /* (U12) GPIO0_41 */
    			J721E_IOPAD(0xac, PIN_OUTPUT, 7) /* (U13) GPMC0_CLK.GPIO0_44 */
    			J721E_IOPAD(0x168, PIN_OUTPUT, 7) /* (U21) MCAN16_RX.GPIO0_46 */
    			J721E_IOPAD(0xc4, PIN_OUTPUT , 7) /* (U5) SPI0_CS1 */
    		>;
    	};
    	main_rmii3_pins_default: main_rmii3_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x54, PIN_INPUT, 5) /* (U14) MCAN6_RX.RMII3_CRS_DV */
    			J721E_IOPAD(0x4c, PIN_INPUT, 5) /* (V19) MCAN5_RX.RMII3_RXD0 */
    			J721E_IOPAD(0x50, PIN_INPUT, 5) /* (T13) MCAN6_TX.RMII3_RXD1 */
    			J721E_IOPAD(0x5c, PIN_OUTPUT, 5) /* (U15) MCAN7_RX.RMII3_TXD0 */
    			J721E_IOPAD(0x64, PIN_OUTPUT, 5) /* (U19) MCAN8_RX.RMII3_TXD1 */
    			J721E_IOPAD(0x60, PIN_OUTPUT, 5) /* (T15) MCAN8_TX.RMII3_TX_EN */
    		>;
    	};
    
    	main_stbgpio_pins_default: main_stbgpio_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0xc, PIN_OUTPUT, 7) /* (AA20) RMII1_CRS_DV.GPIO0_4 */
    		>;
    	};
    
    	main_mcan0_pins_default: main_mcan0_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x20, PIN_OUTPUT, 0) 	/* (V18) MCAN0_TX.CAN_CH3 */
    			J721E_IOPAD(0x24, PIN_INPUT, 0) 	/* (V20) MCAN0_RX.CAN_CH3 */
    		>;
    	};
    
    	main_mcan10_pins_default: main_mcan10_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x74, PIN_INPUT, 0) /* (U20) MCAN10_RX */
    			J721E_IOPAD(0x70, PIN_OUTPUT, 0) /* (U17) MCAN10_TX */
    		>;
    	};
    
    	main_mcan4_pins_default: main_mcan4_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x44, PIN_INPUT, 0) /* (Y20) MCAN4_RX */
    			J721E_IOPAD(0x40, PIN_OUTPUT, 0) /* (W15) MCAN4_TX */
    		>;
    	};
    
    	main_mcan12_pins_default: main_mcan12_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x84, PIN_INPUT, 0) /* (AA14) MCAN12_RX */
    			J721E_IOPAD(0x80, PIN_OUTPUT, 0) /* (AA15) MCAN12_TX */
    		>;
    	};
    
    	main_mcan13_pins_default: main_mcan13_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x8c, PIN_INPUT, 0) /* (AA16) MCAN13_RX */
    			J721E_IOPAD(0x88, PIN_OUTPUT, 0) /* (AA18) MCAN13_TX */
    		>;
    	};
    
    	main_mcan15_pins_default: main_mcan15_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x90, PIN_OUTPUT, 0) 	/* (W17) MCAN15_TX.CAN_CH4 */
    			J721E_IOPAD(0x94, PIN_INPUT, 0) 	/* (W20) MCAN15_RX.CAN_CH4 */
    		>;
    	};
    
    	main_eth_phy_pins_default: main_eth_phy_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0xa8, PIN_OUTPUT, 5) /* (W19) UART8_TXD.MDIO0_MDC */
    			J721E_IOPAD(0xa4, PIN_INPUT, 5) /* (W14) UART8_RXD.MDIO0_MDIO */
    		>;
    	};
    
    	spi0_pins_default: spi0_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0xc8, PIN_INPUT_PULLUP, 0) /* (Y1) SPI0_CLK */
    			J721E_IOPAD(0xcc, PIN_INPUT_PULLUP, 0) /* (V4) SPI0_D0 */
    			J721E_IOPAD(0xd0, PIN_INPUT_PULLUP, 0) /* (T5) SPI0_D1 */
    			J721E_IOPAD(0xc0, PIN_INPUT_PULLUP, 0) /* (W3) SPI0_CS0 */
    			J721E_IOPAD(0x78, PIN_INPUT_PULLUP, 10) /* (Y14) MCAN11_TX.SPI0_CS2 */
    		>;
    	};
    
    
    	ap_uart_pins_default: ap_uart_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0xb0, PIN_INPUT, 0) /* (T16) UART0_RXD */
    			J721E_IOPAD(0xb4, PIN_OUTPUT, 0) /* (T17) UART0_TXD */
    		>;
    	};
    
    	sat_uart_pins_default: sat_uart_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0xb8, PIN_INPUT, 0) /* (T18) UART1_RXD */
    			J721E_IOPAD(0xbc, PIN_OUTPUT, 0) /* (T20) UART1_TXD */
    		>;
    	};
    
    	ext2_uart_pins_default: ext2_uart_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x14, PIN_INPUT, 11) /* (Y16) RMII1_TXD0.UART6_RXD */
    			J721E_IOPAD(0x10, PIN_OUTPUT, 11) /* (Y17) RMII1_RX_ER.UART6_TXD */
    		>;
    	};
    
    	gnss_uart_pins_default: gnss_uart_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x8, PIN_INPUT, 11) /* (Y15) RMII1_RXD1.UART5_RXD */
    			J721E_IOPAD(0x4, PIN_OUTPUT, 11) /* (AA17) RMII1_RXD0.UART5_TXD */
    		>;
    	};
    
    	ext1_uart_pins_default: ext1_uart_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0xDC, PIN_INPUT_PULLUP, 5) /* (U3) ECAP0_IN_APWM_OUT.UART3_RXD */
    			J721E_IOPAD(0xe0, PIN_OUTPUT_PULLDOWN, 5) /* (T3) EXT_REFCLK1.UART3_TXD */
    		>;
    	};
    
    	bt_uart_pins_default: bt_uart_pins_default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x30, PIN_INPUT, 13) /* (Y18) MCAN2_TX.UART9_CTSn */
    			J721E_IOPAD(0x34, PIN_OUTPUT, 13) /* (Y19) MCAN2_RX.UART9_RTSn */
    			J721E_IOPAD(0x1c, PIN_INPUT, 11) /* (AA19) RMII1_TXD1.UART9_RXD */
    			J721E_IOPAD(0x18, PIN_OUTPUT, 11) /* (V17) RMII1_TX_EN.UART9_TXD */
    		>;
    	};
    };
    
    &wkup_uart0 {
    
    	pinctrl-names = "default";
    	pinctrl-0 = <&mywkup_uart1_pins_default>;
    
    	status = "okay";
    };
    
    &mcu_uart0 {
    
    	pinctrl-names = "default";
    	pinctrl-0 = <&mymcu_uart1_pins_default>;
    
    	status = "okay";
    };
    
    &main_uart0 {
    	/* Shared with ATF on this platform */
    	power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
    };
    
    &main_uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&sat_uart_pins_default>;
    
    	status = "okay";
    };
    /*
    &main_uart2 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&cell_uart_pins_default>;
    	status = "okay";
    };
    */
    &main_uart3 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&ext1_uart_pins_default>;
    	status = "okay";
    };
    
    &main_uart4 {
    	/* UART not brought out */
    	status = "disabled";
    };
    
    &main_uart5 {
    
    	pinctrl-names = "default";
    	pinctrl-0 = <&gnss_uart_pins_default>;
    
    	status = "okay";
    };
    
    &main_uart6 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&ext2_uart_pins_default>;
    
    	status = "okay";
    };
    
    &main_uart7 {
    	/* UART not brought out */
    	status = "disabled";
    };
    
    &main_uart8 {
    	/* UART not brought out */
    	status = "disabled";
    };
    
    &main_uart9 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&bt_uart_pins_default>;
    
    	status = "okay";
    };
    
    &main_gpio2 {
    	status = "disabled";
    };
    
    &main_gpio4 {
    	status = "disabled";
    };
    
    &main_gpio6 {
    	status = "disabled";
    };
    
    &wkup_gpio1 {
    	status = "disabled";
    };
    
    &mcu_cpsw {
    	pinctrl-names = "default";
    	pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
    };
    
    &davinci_mdio {
    	bus_freq = <20000>;
    
    	phy0: ethernet-phy@0 {
    		reg = <0>;
    		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	};
    };
    
    &cpsw_port1 {
    	phy-mode = "rmii";
    	phy-handle = <&phy0>;
    };
    
    &main_i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c0_pins_default>;
    	clock-frequency = <400000>;
    /*
    	exp1: gpio@20 {
    		compatible = "ti,tca6416";
    		reg = <0x20>;
    		gpio-controller;
    		#gpio-cells = <2>;
    	};
    */
    	exp2: gpio@22 {
    		compatible = "ti,tca6424";
    		reg = <0x22>;
    		gpio-controller;
    		#gpio-cells = <2>;
    	};
    };
    
    /*
     * The j7200 CPB board is identical to the CPB used for J721E, the SOMs can be
     * swapped on the CPB.
     *
     * main_i2c1 of J7200 is connected to the CPB i2c bus labeled as i2c3.
     * The i2c1 of the CPB (as it is labeled) is not connected to j7200.
     */
    /*
    &main_i2c1 {
    	status = "disabled";
    
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c1_pins_default>;
    	clock-frequency = <400000>;
    
    	exp3: gpio@20 {
    		compatible = "ti,tca6408";
    		reg = <0x20>;
    		gpio-controller;
    		#gpio-cells = <2>;
    		gpio-line-names = "CODEC_RSTz", "CODEC_SPARE1", "UB926_RESETn",
    				  "UB926_LOCK", "UB926_PWR_SW_CNTRL",
    				  "UB926_TUNER_RESET", "UB926_GPIO_SPARE", "";
    	};
    };
    */
    &main_sdhci0 {
    	/* eMMC */
    	non-removable;
    
    	ti,driver-strength-ohm = <50>;
    	disable-wp;
    };
    
    &main_sdhci1 {
    	/* WIFI */
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc1_pins_default &wifi_gpio_pins_default>;
    	//pinctrl-0 = <&main_mmc1_pins_default >;
    //	pinctrl-1 = <&wifi_enable_defaul
    
    	ti,driver-strength-ohm = <50>;
    	cap-mmc-highspeed;
    	cap-sd-highspeed;
    
    /*	sdhci-caps-mask = <0x8000000F 0x0>; */
    	keep-power-in-suspend;
    	clock-frequency = <200000000>;
    	max-frequency = <200000000>;
    /*
    	sd-uhs-sdr12;
    	sd-uhs-sdr25;
    	sd-uhs-sdr50;
    	sd-uhs-sdr104;
    */
    	/* enable-sdio-wakeup; */
    	non-removable;
    	disable-wp;
    
    	cd-gpios = <&wkup_gpio0 28 GPIO_ACTIVE_HIGH>;
    
    };
    
    &serdes_ln_ctrl {
    	idle-states = <J7200_SERDES0_LANE0_IP3_UNUSED>, <J7200_SERDES0_LANE1_IP4_UNUSED>,
    		      <J7200_SERDES0_LANE2_IP4_UNUSED>, <J7200_SERDES0_LANE3_IP4_UNUSED>;
    };
    
    //&usb_serdes_mux {
    // 	idle-states = <1>; /* USB0 to SERDES lane 3 */
    //};
    
    //&usbss0 {
    // 	pinctrl-names = "default";
    // 	pinctrl-0 = <&main_usbss0_pins_default>;
    // 	ti,vbus-divider;
    // 	ti,usb2-only;
    //};
    
    //&usb0 {
    // 	dr_mode = "otg";
    // 	maximum-speed = "high-speed";
    //};
    
    &tscadc0 {
    	adc {
    		ti,adc-channels = <0 1 2 3 4 5 6 7>;
    	};
    };
    
    &serdes_refclk {
    	clock-frequency = <100000000>;
    };
    
    
    &cpsw0 {
    	/* Disable cpsw0 since cpsw5g_virt_mac is the default Ethernet
    	 * controller. cpsw0 is enabled with overlay for native
    	 * Ethernet driver support
    	 */
    	status = "disabled";
    };
    
    /*
    &pcie1_rc {
    
    	phys = <&serdes0_pcie_link>;
    	phy-names = "pcie-phy";
    	num-lanes = <1>;
    };
    */
    
    &mcan0 { /* TGU CH-1 */
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mcan0_pins_default &main_stbgpio_pins_default>;
    	gpio_can_stb = <&main_gpio0 4 GPIO_ACTIVE_HIGH>;
    	can-transceiver {
    		max-bitrate = <5000000>;
    	};
    };
    
    &mcan1 { /* TGU CH-2 */
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mcan4_pins_default>;
    	can-transceiver {
    		max-bitrate = <5000000>;
    	};
    };
    
    &mcan2 { /* TGU CH-3 */
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mcan10_pins_default>;
    	can-transceiver {
    		max-bitrate = <5000000>;
    	};
    };
    
    &mcan3 { /* TGU CH-4 */
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mcan12_pins_default>;
    	can-transceiver {
    		max-bitrate = <5000000>;
    	};
    };
    
    &mcan4 { /* TGU FD CH-1 */
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mcan13_pins_default>;
    	can-transceiver {
    		max-bitrate = <5000000>;
    	};
    };
    
    &mcan5 { /* TGU FD CH-2 */
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mcan15_pins_default>;
    	can-transceiver {
    		max-bitrate = <5000000>;
    	};
    };
    
    
    &main_spi0 {
    	status = "okay";
    
    	pinctrl-names = "default";
    	pinctrl-0 = <&spi0_pins_default>;
    	ti,pindir-d0-out-d1-in;
    	ti,spi-num-cs = <1>;
    
    	spidev@0 {
    			spi-max-frequency = <24000000>;
    			reg = <0>;
    			compatible = "linux,spidev";
    	};
    
    };
    
    /*
    &serdes0 {
            #address-cells = <1>;
            #size-cells = <0>;
    
            serdes0_usb_link: phy@2 {
                    reg = <3>;
                    cdns,num-lanes = <1>;
                    #phy-cells = <0>;
                    cdns,phy-type = <PHY_TYPE_USB3>;
                    resets = <&serdes_wiz0 4>;
            };
    };
    */
    
    
    //&serdes0_qsgmii_link {
    //        status = "disabled";
    //};
    
    //&usbss0 {
    //        /delete-property/ ti,usb2-only;
    //};
    
    //&usb0 {
    //        maximum-speed = "super-speed";
    //        phys = <&serdes0_usb_link>;
    //        phy-names = "cdns3,usb3-phy";
    //};
    
    

    两者的 ethfw 是相同的、请检查随附的补丁文件中有关 SGMII 设置的配置。

    e2e.ti.com/.../sgmii_5F00_patch.zip

    此致、

    洞修克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Kim、

    让我 总结一下 、由于同一个问题有多个线程提出、因此很难跟踪问题

    2022年11月24日、我们共享了一个补丁、以在 EVM 上启用 QSGMI +USB、因为该  https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1163963/dra821u-device-tree-configuration-to-support-both-usb3-and-qsgmii 上提出了相关要求 

    您 根据本主题 https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1216862/dra821u-using-ethernet-qsgmii-and-usb-3-0-at-the-same-time/4615657#4615657中提到的此连接更改了串行器/解串器配置

    通道0 ->未使用  
    通道1 -> SGMI
    通道2 -> SGMI
    通道3 -> USB  

    您在 https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1222539/dra821u-sgmii-and-usb3-combination-mode-support-on-custom-board/4643657#4643657响应中共享了 dtsi 文件更改 、并且只有 USB 正常工作。 如果我漏掉了某些内容、  

    您的操作项目

    现在,我们发现了几个问题,你的 dtsi 更改,修复,并附加了新文件

    e2e.ti.com/.../corrected_5F00_USB3.0.zip

    此外、在 uBoot 驱动程序中进行这些更改以支持 SGMI

    https://github.com/torvalds/linux/commit/27ecdd07e3e16684fd996730100637a61d9ac2ee 编译和引导  

    停止时间 UBoot 转储这些寄存器值  

    0506 0408h
    0506 040通道
    0506 0480h
    0506 0484h
    0506 0488h
    0506 048通道
    0506 04C0h
    0506 04C4h
    0506 04C8h
    0506 04CCh
    0506 0500h
    0506 0504h
    0506 0508h
    0506050Ch
    0506 0540小时
    0506 0544h
    0506 0548h

    0506 054通道

    0506 E000h

    注意 确保您没有在 uboot 中加载 ethfw 在 Linux 中执行此操作  

    现在引导至 Linux、再次转储上述寄存器并共享结果  

    此致
    迪瓦卡尔

     

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!  

    在 uboot 中应用您分享的 DTS 文件和驱动程序修改、只有 SGMII 在测试期间正常工作、USB 3.0不工作。

    对于上面的寄存器转储、从 uboot
    "md.l 0x050605081"时发生错误、如下所示。

    05060408:
    ERROR:   Unhandled External Abort received on 0x80000000 from EL2
    ERROR:   exception reason=0 syndrome=0xbf000000
    Unhandled Exception from EL2
    x0             = 0x00000000fdeb0de0
    x1             = 0x00000000fdeb0a28
    x2             = 0x0000000000000020
    x3             = 0x0000000000000000
    x4             = 0x0000000005060408
    x5             = 0x0000000000000000
    x6             = 0x00000000fffaf2f1
    x7             = 0x0000000000000004
    x8             = 0x00000000fdeb0ee8
    x9             = 0x0000000000000008
    x10            = 0x00000000ffffffd0
    x11            = 0x0000000000000010
    x12            = 0x00000000000077ac
    x13            = 0x00000000fdeb0e7c
    x14            = 0x00000000fdeb12b0
    x15            = 0x0000000000000021
    x16            = 0x00000000fff45d8c
    x17            = 0x0000000000000000
    x18            = 0x00000000fdebddf0
    x19            = 0x00000000fffaf2f1
    x20            = 0x0000000005060408
    x21            = 0x0000000005060408
    x22            = 0x00000000fffae6d2
    x23            = 0x0000000000000008
    x24            = 0x0000000000000009
    x25            = 0x0000000000000004
    x26            = 0x0000000000000004
    x27            = 0x00000000fdeb0fa8
    x28            = 0x0000000000000004
    x29            = 0x00000000fdeb09e0
    x30            = 0x00000000fff8c3b8
    scr_el3        = 0x000000000000073d
    sctlr_el3      = 0x0000000030cd183f
    cptr_el3       = 0x0000000000000000
    tcr_el3        = 0x0000000080803520
    daif           = 0x00000000000002c0
    mair_el3       = 0x00000000004404ff
    spsr_el3       = 0x00000000600002c9
    elr_el3        = 0x00000000fff8f8e4
    ttbr0_el3      = 0x0000000070011cc0
    esr_el3        = 0x00000000bf000000
    far_el3        = 0x0000000000000000
    spsr_el1       = 0x0000000000000000
    elr_el1        = 0x0000000000000000
    spsr_abt       = 0x0000000000000000
    spsr_und       = 0x0000000000000000
    spsr_irq       = 0x0000000000000000
    spsr_fiq       = 0x0000000000000000
    sctlr_el1      = 0x0000000030d00801
    actlr_el1      = 0x0000000000000000
    cpacr_el1      = 0x0000000000000000
    csselr_el1     = 0x0000000000000000
    sp_el1         = 0x0000000000000000
    esr_el1        = 0x0000000000000000
    ttbr0_el1      = 0x0000000000000000
    ttbr1_el1      = 0x0000000000000000
    mair_el1       = 0x0000000000000000
    amair_el1      = 0x0000000000000000
    tcr_el1        = 0x0000000000800080
    tpidr_el1      = 0x0000000000000000
    tpidr_el0      = 0x0000000000000000
    tpidrro_el0    = 0x0000000000000000
    par_el1        = 0x0000000000000000
    mpidr_el1      = 0x0000000080000000
    afsr0_el1      = 0x0000000000000000
    afsr1_el1      = 0x0000000000000000
    contextidr_el1 = 0x0000000000000000
    vbar_el1       = 0x0000000000000000
    cntp_ctl_el0   = 0x0000000000000000
    cntp_cval_el0  = 0x0000000000000000
    cntv_ctl_el0   = 0x0000000000000000
    cntv_cval_el0  = 0x0000000000000000
    cntkctl_el1    = 0x0000000000000000
    sp_el0         = 0x000000007000b380
    isr_el1        = 0x0000000000000000
    dacr32_el2     = 0x0000000000000000
    ifsr32_el2     = 0x0000000000000000
    cpuectlr_el1   = 0x0000001b00000040
    cpumerrsr_el1  = 0x0000000000000000
    l2merrsr_el1   = 0x0000000000000000

    我应该为寄存器映射地址中的地址提供什么、即 MD 后的参数?

    Linux 启动后的寄存器值如下所示。

    root@tgu:~# ./regdump.sh
    /dev/mem opened.
    Memory mapped at address 0xffffa1c38000.
    Read at address  0x05060408 (0xffffa1c38408): 0x18000000
    /dev/mem opened.
    Memory mapped at address 0xffff8efe6000.
    Read at address  0x0506040C (0xffff8efe640c): 0xB1000000
    /dev/mem opened.
    Memory mapped at address 0xffffb3cbe000.
    Read at address  0x05060480 (0xffffb3cbe480): 0x70800000
    /dev/mem opened.
    Memory mapped at address 0xffffa5148000.
    Read at address  0x05060484 (0xffffa5148484): 0x00010002
    /dev/mem opened.
    Memory mapped at address 0xffff9d621000.
    Read at address  0x05060488 (0xffff9d621488): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xffffa6a16000.
    Read at address  0x0506048C (0xffffa6a1648c): 0x00000002
    /dev/mem opened.
    Memory mapped at address 0xffffa6519000.
    Read at address  0x050604C0 (0xffffa65194c0): 0x70800000
    /dev/mem opened.
    Memory mapped at address 0xffffabedc000.
    Read at address  0x050604C4 (0xffffabedc4c4): 0x00010002
    /dev/mem opened.
    Memory mapped at address 0xffff9612c000.
    Read at address  0x050604C8 (0xffff9612c4c8): 0x00000008
    /dev/mem opened.
    Memory mapped at address 0xffff7fcb5000.
    Read at address  0x050604CC (0xffff7fcb54cc): 0x00000002
    /dev/mem opened.
    Memory mapped at address 0xffff87d1f000.
    Read at address  0x05060500 (0xffff87d1f500): 0x70800000
    /dev/mem opened.
    Memory mapped at address 0xffff94658000.
    Read at address  0x05060504 (0xffff94658504): 0x00010002
    /dev/mem opened.
    Memory mapped at address 0xffffbca92000.
    Read at address  0x05060508 (0xffffbca92508): 0x00000007
    /dev/mem opened.
    Memory mapped at address 0xffff933ea000.
    Read at address  0x0506050C (0xffff933ea50c): 0x00000002
    /dev/mem opened.
    Memory mapped at address 0xffff86ded000.
    Read at address  0x05060540 (0xffff86ded540): 0x70800000
    /dev/mem opened.
    Memory mapped at address 0xffff9d570000.
    Read at address  0x05060544 (0xffff9d570544): 0x00010002
    /dev/mem opened.
    Memory mapped at address 0xffff8271a000.
    Read at address  0x05060548 (0xffff8271a548): 0x00000000
    /dev/mem opened.
    Memory mapped at address 0xffffa2df1000.
    Read at address  0x0506054C (0xffffa2df154c): 0x00000002
    /dev/mem opened.
    Memory mapped at address 0xffffbb026000.
    Read at address  0x0506E000 (0xffffbb026000): 0x00490011

    此致、

    洞修克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    金喜

    我应该在寄存器映射地址(即 MD 后的参数)中提供什么地址?

    您是否可以连接调试器,然后转储值?

    您是否还能帮助我获取这些寄存器的值、我们怀疑 ethfw 正在重新配置 寄存器。

    0x104080
    0x104084
    0x104088
    0010408C

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    从开发之初就没有使用 JTAG 调试器。
    原因是 DRA821 EVM 不支持 JTAG 调试器。
    正如我们在下面的 E2E 中谈到的、最近似乎已经获得了支持。
    但是、我们购买的调试器目前只给 Jack 提供使用指南、我们还没有收到调试器和指南。

    还有其他方法可以在 uboot 上寄存转储?

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1203876/dra821u-q1-how-to-debug-u-boot-and-kernel-using-xds560-jtag-on-top-of-j7200-evm

    当我在 Linux 上检查所请求的寄存器时、结果如下所示。

    root@TGU:~#./regdump_second.sh
    /dev/mem 打开。
    存储器映射在地址0xffffff85e16000。
    在地址0x00104080 (0xFFff85e16080):0x00000003处读取
    /dev/mem 打开。
    存储器映射在地址0xffffff8beb3000。
    在地址0x00104084 (0xFFF8BEB3084):0x00000000处读取
    /dev/mem 打开。
    存储器映射地址为0xFFFbb128000。
    在地址0x00104088 (0xffbb128088):0x00000000处读取
    /dev/mem 打开。
    将存储器映射在地址0xffa0ad7000。
    在地址0x0010408C (0xffa0ad708c):0x00000003处读取

    此致、

    dongseuk.  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    金喜  

    还有其他方法可以在 uboot 上寄存转储?

    [/报价]

    以这种方式尝试  

    => MD 0x00104080 0x1

    root~ TGU:@#./regdump_second.sh
    /dev/mem 打开。
    存储器映射在地址0xffffff85e16000。
    在地址0x00104080 (0xFFff85e16080):0x00000003处读取
    /dev/mem 打开。
    存储器映射在地址0xffffff8beb3000。
    在地址0x00104084 (0xFFF8BEB3084):0x00000000处读取
    /dev/mem 打开。
    存储器映射地址为0xFFFbb128000。
    在地址0x00104088 (0xffbb128088):0x00000000处读取
    /dev/mem 打开。
    将存储器映射在地址0xffa0ad7000。
    在地址0x0010408C (0xffffff0ad708c)处读取:0x00000003

    似乎有人正在修改 SerDes 通道配置。通道3 被配置为未使用、 这就是 SGMI 仅起作用的原因。  

    您是否能够如上所述在 uboot 中共享转储。

    此致
    迪瓦卡尔

    [/quote]
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Kim、

    在 uboot 中应用您共享的 DTS 文件和驱动程序修改,只有 SGMII 在测试期间才能工作,USB 3.0无法工作。

    当您仅针对 SGMII 在 ethfw 中配置串行器/解串器时、这可能就是 USB 无法正常工作的原因。

    您可以尝试以下选项:
    1.在"SGMII + USB"多链路中配置 SerDes。 需要配置但当前不支持 ethfw 提供的这些配置的应用程序。
    2.您可以通过从以下突出显示的"EthApp_boardInit"中删除"ETHFW_Board_SERDES_CONFIG"来从 Ethfw 跳过串行器/解串器配置。  

      

    您能否通过进行上述更改来避免 Ethfw 的串行器/解串器配置进行检查。

    此致、
    苏德黑尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好,Sudheer!

    我删除了 ETHFW_BOODER_SERDES_CONFIG 并在内核中设置 SerDes、以确认 SGMII 和 USB 3.0可同时工作。
    似乎在 Ethfw 中设置 SerDes 存在问题、是否有任何解决方案?

    谢谢!

    此致、

    洞修克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    金喜  

    似乎在 Ethfw 中设置 SerDes 存在问题、是否有任何解决方案?

    [/报价]

    ethfw 正在重新配置 SerDes,因为 USB 早期没有工作。

    在当前的实现中,ethfw 不检查 SerDes 是否已配置。

     USB 和 SGMI 都在工作吗?

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好,Diwakar  

    USB 和 SGMII 现在正常工作。 如果有任何故障或查询、我将再次与您联系。

    此致  

    洞修克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    公里长  

    很高兴在这里,我们可以关闭这个线程吗? 如果仍有问题、您可以提交一个与此相关的新问题。

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好! 迪瓦卡尔

    好! 感谢你的帮助。  

    尊重  

    洞修克