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.

[参考译文] AM6548:以太网端口问题

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1594500/am6548-ethernet-port-issue

器件型号: AM6548

尊敬的 TI 团队:

我在以太网方面遇到了一些问题:

  1. 连接网络电缆时(并且我可以成功 ping) 。

  2. 我在不拔下网络电缆的情况下直接关闭电源。

  3. 再次开机。

  4. 端口变得不可用。 即使我将接口 关闭然后再打开、它仍然无法使用

  5. Re 插接电缆仍然不能使端口正常工作。

但是、如果我在开机前拔下网络电缆、并且只在进入 用户空间后重新插入、则以太网功能是正常的。   在不拔下网络电缆的情况下启动时、此问题可重现 100。

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

    您好、Tsai、  

    对延迟响应表示歉意。 首先、我有几个澄清问题:

    1.您使用的是哪个 Linux SDK 版本? 我假设您使用的是 Linux、如果我错了、请纠正我。

    2.您是在 TI EVM 还是定制电路板上进行测试?

    3.您正在测试 CPSW 还是 PRU-ICSS 以太网?

    4.在导致问题的步骤序列中的步骤 3 之后、您是否可以共享引导日志?

    -道林

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

    尊敬的 Daolin:  

    1.我使用的是 Linux RT 6.1 (SDK 09_03-05-02)

    2.我正在定制电路板上进行测试。 以前使用内核 5.x 版本时、功能完全正常。 在我们尝试升级到 6.1 版后、问题开始出现

    3.目前我正在测试 PRU-ICSS 以太网

    4.日志如下: 我怀疑这与 PRU ETH 有关,但我的理解是 PRU ETH 固件是由 SDK 提供的。

    root@AX-564EB0MB1T:~# ls /lib/firmware/ti-pruss/
    am65x-pru0-prueth-fw.elf        am65x-sr2-pru0-prusw-fw.elf     am65x-sr2-rtu0-prusw-fw.elf     am65x-sr2-txpru0-prusw-fw.elf
    am65x-pru1-prueth-fw.elf        am65x-sr2-pru1-prueth-fw.elf    am65x-sr2-rtu1-prueth-fw.elf    am65x-sr2-txpru1-prueth-fw.elf
    am65x-rtu0-prueth-fw.elf        am65x-sr2-pru1-pruhsr-fw.elf    am65x-sr2-rtu1-pruhsr-fw.elf    am65x-sr2-txpru1-pruhsr-fw.elf
    am65x-rtu1-prueth-fw.elf        am65x-sr2-pru1-prusw-fw.elf     am65x-sr2-rtu1-prusw-fw.elf     am65x-sr2-txpru1-prusw-fw.elf
    am65x-sr2-pru0-prueth-fw.elf    am65x-sr2-rtu0-prueth-fw.elf    am65x-sr2-txpru0-prueth-fw.elf
    am65x-sr2-pru0-pruhsr-fw.elf    am65x-sr2-rtu0-pruhsr-fw.elf    am65x-sr2-txpru0-pruhsr-fw.elf
    root@AX-564EB0MB1T:~#
    

             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
             Starting D-Bus System Message Bus...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting User Login Management...
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started User Login Management.
    [  OK  ] Started Network Configuration.
             Starting Network Name Resolution...
    [    8.674996] remoteproc remoteproc17: powering up b134000.pru
    [    8.677883] remoteproc remoteproc17: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 39636
    [    8.677910] remoteproc remoteproc17: unsupported resource 5
    [    8.677939] remoteproc remoteproc17: remote processor b134000.pru is now up
    [    8.677969] remoteproc remoteproc18: powering up b104000.rtu
    [    8.680594] remoteproc remoteproc18: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 30444
    [    8.680634] remoteproc remoteproc18: remote processor b104000.rtu is now up
    [    8.680660] remoteproc remoteproc3: powering up b10a000.txpru
    [    8.682583] remoteproc remoteproc3: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 39080
    [    8.682626] remoteproc remoteproc3: remote processor b10a000.txpru is now up
    [    8.683985] pps pps0: new PPS source ptp2
    [    8.757076] remoteproc remoteproc11: powering up b234000.pru
    [    8.757231] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 39636
    [    8.757254] remoteproc remoteproc11: unsupported resource 5
    [    8.757283] remoteproc remoteproc11: remote processor b234000.pru is now up
    [    8.757308] remoteproc remoteproc12: powering up b204000.rtu
    [    8.757403] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 30444
    [    8.757429] remoteproc remoteproc12: remote processor b204000.rtu is now up
    [    8.757447] remoteproc remoteproc5: powering up b20a000.txpru
    [    8.759653] remoteproc remoteproc5: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 39080
    [    8.759699] remoteproc remoteproc5: remote processor b20a000.txpru is now up
    [    8.761053] pps pps1: new PPS source ptp3
    [    8.795704] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:03] driver [TI DP83822] (irq=POLL)
    [    8.795729] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rmii link mode
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Service to commit… boot to U-Boot environment...
    [  OK  ] Started Netperf Benchmark Server.
             Starting Delta AX-564 Startup Service...
             Starting Permit User Sessions...
    [  OK  ] Finished Permit User Sessions.
    [    9.147956] g_serial gadget.0: Gadget Serial v2.4
    [    9.147972] g_serial gadget.0: g_serial ready
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [    9.253666] am65-cpsw-nuss 46000000.ethernet EtherCAT: renamed from eth0
    [    9.356020] am65-cpsw-nuss 46000000.ethernet EtherCAT: PHY [46000f00.mdio:03] driver [TI DP83822] (irq=POLL)
    [    9.356051] am65-cpsw-nuss 46000000.ethernet EtherCAT: configuring for phy/rmii link mode
    [    9.414916] remoteproc remoteproc5: stopped remote processor b20a000.txpru
    [    9.414939] remoteproc remoteproc12: stopped remote processor b204000.rtu
    [    9.414948] remoteproc remoteproc11: stopped remote processor b234000.pru
    [  OK  ] Finished Service to commit…ul boot to U-Boot environment.
    [    9.477407] icssg-prueth icssg2-eth EthernetX1: renamed from eth1
    [  OK  ] Finished Synchronize System and HW clocks.
    [    9.537020] remoteproc remoteproc11: powering up b234000.pru
    [    9.537196] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 39636
    [    9.537222] remoteproc remoteproc11: unsupported resource 5
    [    9.537252] remoteproc remoteproc11: remote processor b234000.pru is now up
    [    9.537276] remoteproc remoteproc12: powering up b204000.rtu
    [    9.537362] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 30444
    [    9.537388] remoteproc remoteproc12: remote processor b204000.rtu is now up
    [    9.537405] remoteproc remoteproc5: powering up b20a000.txpru
    [    9.541561] remoteproc remoteproc5: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 39080
    [    9.541607] remoteproc remoteproc5: remote processor b20a000.txpru is now up
    [    9.543295] pps pps1: new PPS source ptp3
    [    9.594514] remoteproc remoteproc3: stopped remote processor b10a000.txpru
    [    9.594535] remoteproc remoteproc18: stopped remote processor b104000.rtu
    [    9.594544] remoteproc remoteproc17: stopped remote processor b134000.pru
    [    9.650305] icssg-prueth icssg1-eth EthernetX2: renamed from eth2
    [    9.684990] remoteproc remoteproc17: powering up b134000.pru
    [    9.685161] remoteproc remoteproc17: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 39636
    [    9.685185] remoteproc remoteproc17: unsupported resource 5
    [    9.685215] remoteproc remoteproc17: remote processor b134000.pru is now up
    [    9.685242] remoteproc remoteproc18: powering up b104000.rtu
    [    9.685326] remoteproc remoteproc18: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 30444
    [    9.685350] remoteproc remoteproc18: remote processor b104000.rtu is now up
    [    9.685366] remoteproc remoteproc3: powering up b10a000.txpru
    [    9.685454] remoteproc remoteproc3: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 39080
    [    9.685543] remoteproc remoteproc3: remote processor b10a000.txpru is now up
    

    e2e.ti.com/.../4382.Log.txt

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

    您好、Tsai、  

    感谢您分享详细信息和日志。

    连接网络电缆时(我可以成功 ping) 。

    您是否还可以共享步骤 1 中的引导日志?

    您正在使用多少个 PRU-ICSS 端口? 从(故障情况的)引导日志中、我可以看到 icssg1-eth 和 icssg2-eth。

    因为这是 PRU-ICSS、所以我还请合适的人来为您提供帮助。  

    -道林

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

    尊敬的 Daolin:

    下面的两个日志分别记录成功案例和失败案例的事件。 目前、我们总共仅使用两个 ETH 端口:ICSSG1 和 ICSSG2

    Ping 失败日志:  

    e2e.ti.com/.../ping-fail.txt

    Ping 确定日志:

    e2e.ti.com/.../ping-OK.txt