器件型号: AM6548
尊敬的 TI 团队:
我在以太网方面遇到了一些问题:
-
连接网络电缆时(并且我可以成功 ping) 。
-
我在不拔下网络电缆的情况下直接关闭电源。
-
再次开机。
-
端口变得不可用。 即使我将接口 关闭然后再打开、它仍然无法使用
-
Re 插接电缆仍然不能使端口正常工作。
但是、如果我在开机前拔下网络电缆、并且只在进入 用户空间后重新插入、则以太网功能是正常的。 在不拔下网络电缆的情况下启动时、此问题可重现 100。
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
尊敬的 TI 团队:
我在以太网方面遇到了一些问题:
连接网络电缆时(并且我可以成功 ping) 。
我在不拔下网络电缆的情况下直接关闭电源。
再次开机。
端口变得不可用。 即使我将接口 关闭然后再打开、它仍然无法使用
Re 插接电缆仍然不能使端口正常工作。
但是、如果我在开机前拔下网络电缆、并且只在进入 用户空间后重新插入、则以太网功能是正常的。 在不拔下网络电缆的情况下启动时、此问题可重现 100。
尊敬的 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
尊敬的 Daolin:
下面的两个日志分别记录成功案例和失败案例的事件。 目前、我们总共仅使用两个 ETH 端口:ICSSG1 和 ICSSG2。
Ping 失败日志:
Ping 确定日志: