主题中讨论的其他器件:AM62L
工具/软件:
将 k3-am62l3.dtsi 更改为单核、导致以太网无法正常工作。
#include "k3-am62l.dtsi" / { cpus { #address-cells = <1>; #size-cells = <0>; cpu-map { cluster0: cluster0 { core0 { cpu = <&cpu0>; }; /* core1 { cpu = <&cpu1>; }; */ }; }; cpu0: cpu@0 { compatible = "arm,cortex-a53"; reg = <0x000>; device_type = "cpu"; enable-method = "psci"; i-cache-size = <0x8000>; i-cache-line-size = <64>; i-cache-sets = <256>; d-cache-size = <0x8000>; d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&l2_0>; }; /* cpu1: cpu@1 { compatible = "arm,cortex-a53"; reg = <0x001>; device_type = "cpu"; enable-method = "psci"; i-cache-size = <0x8000>; i-cache-line-size = <64>; i-cache-sets = <256>; d-cache-size = <0x8000>; d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&l2_0>; }; */ };
root@am62lxx-evm:~# cat /proc/cpuinfo processor : 0 BogoMIPS : 400.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4
连接以太网电缆时、使输出日志保持如下所示、任一端口相同。
[ 77.795889] am65-cpsw-nuss 8000000.ethernet eth0: txq:1 DRV_XOFF:0 tmo:49722 dql_avail:-217 free_desc:515 [ 82.915882] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 1 timed out 54842 ms [ 82.915915] am65-cpsw-nuss 8000000.ethernet eth0: txq:1 DRV_XOFF:0 tmo:54842 dql_avail:-217 free_desc:515 [ 88.035911] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 1 timed out 59962 ms
[ 268.859856] am65-cpsw-nuss 8000000.ethernet eth1: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 5006 ms [ 268.859887] am65-cpsw-nuss 8000000.ethernet eth1: txq:2 DRV_XOFF:0 tmo:5006 dql_avail:-90 free_desc:514 [ 268.963857] am65-cpsw-nuss 8000000.ethernet eth1: NETDEV WATCHDOG: CPU: 0: transmit queue 0 timed out 5008 ms [ 268.963886] am65-cpsw-nuss 8000000.ethernet eth1: txq:0 DRV_XOFF:0 tmo:5008 dql_avail:-86 free_desc:515 [ 274.915861] am65-cpsw-nuss 8000000.ethernet eth1: NETDEV WATCHDOG: CPU: 0: transmit queue 0 timed out 10960 ms [ 274.915892] am65-cpsw-nuss 8000000.ethernet eth1: txq:0 DRV_XOFF:0 tmo:10960 dql_avail:-86 free_desc:515 [ 280.035864] am65-cpsw-nuss 8000000.ethernet eth1: NETDEV WATCHDOG: CPU: 0: transmit queue 0 timed out 16080 ms [ 280.035894] am65-cpsw-nuss 8000000.ethernet eth1: txq:0 DRV_XOFF:0 tmo:16080 dql_avail:-86 free_desc:515
[ 77.795889] am65-cpsw-nuss 8000000.ethernet eth0: txq:1 DRV_XOFF:0 tmo:49722 dql_avail:-217 free_desc:515 [ 82.915882] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 1 timed out 54842 ms [ 82.915915] am65-cpsw-nuss 8000000.ethernet eth0: txq:1 DRV_XOFF:0 tmo:54842 dql_avail:-217 free_desc:515 [ 88.035911] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 1 timed out 59962 ms [ 88.035942] am65-cpsw-nuss 8000000.ethernet eth0: txq:1 DRV_XOFF:0 tmo:59962 dql_avail:-217 free_desc:515 [ 94.179861] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 1 timed out 66106 ms [ 94.179894] am65-cpsw-nuss 8000000.ethernet eth0: txq:1 DRV_XOFF:0 tmo:66106 dql_avail:-217 free_desc:515 [ 99.811859] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 1 timed out 71738 ms
[ 268.859856] am65-cpsw-nuss 8000000.ethernet eth1: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 5006 ms [ 268.859887] am65-cpsw-nuss 8000000.ethernet eth1: txq:2 DRV_XOFF:0 tmo:5006 dql_avail:-90 free_desc:514 [ 268.963857] am65-cpsw-nuss 8000000.ethernet eth1: NETDEV WATCHDOG: CPU: 0: transmit queue 0 timed out 5008 ms [ 268.963886] am65-cpsw-nuss 8000000.ethernet eth1: txq:0 DRV_XOFF:0 tmo:5008 dql_avail:-86 free_desc:515