Part Number:AM6421
软件:sdk11,
芯片:TI AM6421
在Linux下加载PRU ICCSG的网卡驱动模块时,没有生成全部pru设备节点(When loading the PRU ICCSG NIC driver module for the AM6421 under Linux, not all PRU device nodes get created.)
在系统中依次插入下面的模块(Insert the following modules into the system in sequence)
insmod hsr.koinsmod sch_mqprio_lib.ko
insmod icss_iep.koinsmod pruss.ko
insmod sch_mqprio.koinsmod sch_taprio.koinsmod pru_rproc.ko
此时,内核打印(At this point, the kernel prints.)
[ 120.269968] remoteproc remoteproc0: 3000a000.txpru is available
[ 120.286654] remoteproc remoteproc1: 3000c000.txpru is available
[ 120.303852] remoteproc remoteproc2: 3008a000.txpru is available
[ 120.321842] remoteproc remoteproc3: 3008c000.txpru is available
Only 4 txpru,Neither pru nor rtu were detected, resulting in the subsequent failure to load the network port driver.
Lydia:
您好,
已经收到了您的案例,调查需要些时间,感谢您的耐心等待。
,
Ma Pan:
谢谢!
,
Vivian Gao:
客户是否启用了PRU以太网驱动程序?从驱动程序/net/ethernet/ti/Kconfig:
config TI_ICSSG_PRUETH tristate "TI Gigabit PRU Ethernet driver" select PHYLIB select TI_ICSS_IEP select TI_K3_CPPI_DESC_POOL select PAGE_POOL depends on PRU_REMOTEPROC depends on NET_SWITCHDEV depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER depends on PTP_1588_CLOCK_OPTIONAL depends on NET_SCH_TAPRIO help Support dual Gigabit Ethernet ports over the ICSSG PRU Subsystem. This subsystem is available starting with the AM65 platform.
This driver requires firmware binaries which will run on the PRUs to support the Ethernet operation. Currently, it supports Ethernet with 1G and 100M link speed.
,
Ma Pan:
ti的回复答非所问,帮忙补充一下:SDK11的Linux内核只能把icssg-prueth的网卡驱动编译成模块,我们插入模块的顺序如下:insmod hsr.ko insmod sch_mqprio_lib.ko insmod icss_iep.ko insmod pruss.koinsmod sch_mqprio.ko insmod sch_taprio.ko insmod pru_rproc.koinsmod icssg.koinsmod icssg-prueth.ko当insmod pru_rproc.ko时,发生现象如之前问题描述。
TI中文支持网




