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.

[参考译文] TMDX654GPEVM:最新的 SDK (07_00_01_06)是否可以支持 eth1 eth2 (icssg-prueth)?

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/948149/tmdx654gpevm-does-the-latest-sdk-07_00_01_06-can-support-eth1-eth2-icssg-prueth


尊敬的 TI 和帮助者:

我直接使用了最新的 DTS 和 Image SDK-07_00_01_06 (software-dl.ti.com/.../index_FDS.html)
prebuit 映像是否支持 PRU-icssg eth1/2?

日志中有一些调用跟踪和"超时"打印

--------
电路板支持/预构建图像信息:
945a6b33f44f5e35520dcd520d10d3b5 k3-am654-base-board.dtb
1cd819c4ed1c21aad6ceaed984af88 图像

UBoot 信息:
U-Boot SPL 2020.01-gf9b0d030d3 (2020年8月10日- 17:47:39 +0000)
SYSFW ABI:3.0 (固件版本0x0014 '20.04.1-v2020.04a (极好的 LLA')
尝试从 MMC2引导
在 ARM64内核上启动 ATF...
注意: BL31:v2.3 ():07.00.005-脏
注意: BL31:构建时间:2020年8月10日17:03:45
U-Boot SPL 2020.01-gf9b0d030d3 (2020年8月10日- 17:11:07 +0000)
SYSFW ABI:3.0 (固件版本0x0014 '20.04.1-v2020.04a (极好的 LLA')
检测到:SER-PCIEUSBEVM 版本 E3
尝试从 MMC2引导
U-Boot 2020.01-gf9b0d030d3 (2020年8月10日- 17:11:07 +0000)


将网线插入 PEU2 ETHO/ETH1

-------- 测试日志---

root@am65xx-EVM:~# ethtool -i eth1
驱动程序:icssg-prueth
版本:
固件版本:
扩展 ROM 版本:
总线信息:pruss2_eth
支持统计信息:是
支持-测试:否
支持 EEPROM 访问:否
支持寄存器转储:否
supports-priv-flags:否


root@am65xx-EVM:~# ifconfig eth1 up
[373.181685] remoteproc remoteproc13:为 b234000.PRU 加电
[373.193419] remoteproc remoteproc 13:引导 FW 映像 ti-pruss/am65x-sr2-pru0-prueth-Fw.elf、大小为32912
[373.202998] PRU-rproc b234000.PRU:已配置 system_events[159-0]= 00000000、00000000、00000000、01000000
[373.213279] PRU-rproc b234000.PRU:配置的 intr_channels = 0x00000001 host_intr = 0x00000004
[373.222005] remoteproc remoteproc13:远程处理器 b234000.PRU 现已启动
[373.228997] remoteproc remoteproc14:为 b204000.RTU 加电
[373.239021] remoteproc remoteproc14:引导 FW 映像 ti-pruss/am65x-sr2-rtu0-prueth-Fw.elf、大小为29432
[373.248456] Remoteproc Remoteproc14:远程处理器 b204000.RTU 现已启动
[373.255445] remoteproc remoteproc15:为 b20a000.txpru 加电
[373.265165] remoteproc remoteproc15:引导 FW 映像 ti-pruss/am65x-sr2-txpru0-prueth-Fw.elf、大小26408
[373.274824] remoteproc remoteproc15:远程处理器 b20a000.txpru 现已启动
[373.282374] TI DP83867 b232400.MDIO:00:连接的 PHY 驱动程序[TI DP83867](MII_BUS:phy_addr=b232400.MDIO:00、IRQ=POLL)
[373.294250] net eth1:已启动
[373.297312] icssg-prueth pruss2_eth eth1:send_cmd:no free buf
root@am65xx-EVM:~#

root@am65xx-evm:~#[515.619548] icssg-prueth pruss2_eth eth1:链路已打开- 100Mbps/全-流控制已关闭
[515.627568] IPv6:ADDRCONF (NETDEV_CHANGE):ETH1:链路就绪

root@am65xx-EVM:~#
root@am65xx-EVM:~#
根目录@am65xx-EVM:~编号[520.930634] ------ [在此处剪切]-----
[520.935278] NETDEV 看门狗:eth1 (icssg-prueth):发送队列0超时
[520.942389] 警告:CPU:2 PID:0 at net/sched/sch_generic.c:447 DEV_watchdog+0x2ec/0x2f8
[520.950636] 链接模块:XT_conntrack XT_masquerade XT_addrtype iptable_filter iptable_NAT NF_NF_conntrack NF6
[521.005548] CPU:2 PID:0 Comm:swapper/2被污染:G          O     5.4.40-g66cf445b76 #1
[521.013880] 硬件名称:德州仪器(TI) AM654基板(DT)
[521.020048] 状态:20000005 (nzCv daif -PAN -UAO)
[521.024832] PC:DEV_安全 装置+0x2ec/0x2f8
[521.028833] LR:DEV_安全 装置+0x2ec/0x2f8
[521.032831] sp:ff80001004fdb0
[521.036136] X29:ff80001004fdb0 x28:ff0008454cfc80
[521.041438] X27:000000000004 x26:0000000000000140
[521.046739] x25:00000000ffff x24:0000000000000002
[521.052040] x23:ff00084133e41c x22:ff00084133e000
[521.057341] x21:ff00084133e440 x20:ff800010fd1000
[521.062642] x19:000000000000 x18:000000000010
[521.067943] X17:000000000000 x16:0000000000000000
[521.073244] x15:ffff0008401bad28 x14:ffffffffffffffffffff
[521.078545] X13:ff80009004fb07 x12:ff80001004fb0f
[521.083846] x11:ff800010轻 量000 x10:ff8000110a6b30
[521.089146] x9:000000000000 x8:ff8000110a7000
[521.094447] x7:ff8000105957b8 x6:00000000000001b6
[521.099748] x5:0000000000000000 x4:0000000000000004
[521.105049] x3:0000000000000004 x2:0000000000000100
[521.110350] x1:b6c羽490e4d600 x0:0000000000000000
[521.115650] 呼叫跟踪:
[521.118094]  DEV_WATCHDOS+0x2ec/0x2f8
[521.121752]  call_timer_fn.isra.0+0x20/0x78
[521.125926]  run_timer_softirq+0x1a0/0x408
[521.130015]  __do_softirq+0x120/0x23c
[521.133670]  IRQ_EXIT+0xb8/0xd8
[521.136806]  __Handle_domain_IRQ+0x64/0xb8
[521.140892]  GIC_Handle_IRQ+0x5c/0x148
[521.144632]  el1_IRQ+0xb8/0x180
[521.147767]  arch_cpu_idle+0x10/0x18
[521.151336]  do_idle+0xc0/0x140
[521.154471]  CPU_STARTUP_END+0x24/0x40
[521.158387]  secondary _start_kernel+0x148/0x180
[521.162905] --[结束线迹 b6b8c70153be710c ]--
[521.167544] icssg-prueth pruss2_eth eth1:Xmit 超时

root@am65xx-EVM:~# ethtool -i eth1
驱动程序:icssg-prueth
版本:
固件版本:
扩展 ROM 版本:
总线信息:pruss2_eth
支持统计信息:是
支持-测试:否
支持 EEPROM 访问:否
支持寄存器转储:否
supports-priv-flags:否

root@am65xx-evm:~#[568.802658] icssg-prueth pruss2_eth eth1:Xmit 超时
[573.922642] icssg-prueth pruss2_eth eth1:Xmit 超时
[579.042667] icssg-prueth pruss2_eth eth1:Xmit 超时
[584.930649] icssg-prueth pruss2_eth eth1:Xmit 超时
[590.050661] icssg-prueth pruss2_eth eth1:Xmit 超时
[595.938644] icssg-prueth pruss2_eth eth1:Xmit 超时
[600.802657] icssg-prueth pruss2_eth eth1:Xmit 超时
[605.922644] icssg-prueth pruss2_eth eth1:Xmit 超时
[611.042655] icssg-prueth pruss2_eth eth1:Xmit 超时

非常感谢

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

    您好、Jun、

    请使用 AM654的7.1 SDK 版本。 它在 Linux 上支持 PRU ICSSG。 详细信息、请参阅 SDK 文档。

    此致

    葡萄园