Tool/software:
Hello,
We are using a custom AM5708-based board and working on enabling PRP functionality using PRU-ICSS. On the previous SDK version ti-processor-sdk-linux-am57xx-evm-05.03.00.07, we were able to configure PRP using the following command:
ethtool -K eth2 prp-rx-offload off
However, on the newer SDK ti-processor-sdk-linux-am57xx-evm-08.02.01.00, the same command fails with the following error:
root@am57xx-evm:~# ethtool -K eth2 prp-rx-offload off
netlink error: bit name not found (offset 56)
netlink error: Operation not supported
root@am57xx-evm:~#
This indicates that the offload bit or its support is no longer available or exposed in this newer kernel. Additionally, there is no clear information on how to switch between standard EMAC mode and PRP on ICSSG in the newer SDK.
We have verified that PRU-related kernel modules are loaded correctly:
root@am57xx-evm:~# lsmod
Not tainted
xt_tcpudp 16384 1
xt_mac 16384 0
arptable_filter 16384 0
arp_tables 20480 1 arptable_filter
iptable_filter 16384 1
iptable_nat 16384 0
nf_nat 45056 1 iptable_nat
nf_conntrack 110592 1 nf_nat
nf_defrag_ipv6 20480 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
libcrc32c 16384 2 nf_nat,nf_conntrack
ip_tables 28672 4 iptable_filter,iptable_nat
xt_u32 16384 1
x_tables 32768 7 xt_tcpudp,xt_mac,arptable_filter,arp_tables,iptable_filter,ip_tables,xt_u32
prueth 61440 0
rpmsg_kdrv_switch 20480 0
virtio_rpmsg_bus 20480 0
rpmsg_pru 16384 0
rpmsg_char 16384 0
rpmsg_proto 16384 0
pru_rproc 24576 1 prueth
pruss 16384 2 prueth,pru_rproc
hsr 57344 1 prueth
icss_iep 24576 1 prueth
irq_pruss_intc 16384 6
I also reviewed a related thread:
e2e.ti.com/.../am5718-latest-sitara-am57x-sdk-linux-not-loading-prp-hsr-firmware-to-pruss
Unfortunately, it did not provide a working solution or clear steps for enabling PRP mode on PRU-ICSS in the newer SDK.
My questions:
1. Has support for prp-rx-offload been removed or changed in 08.02.01.00?
2. What is the correct procedure to enable PRP on PRU-ICSS in this SDK version?
3. How can we switch between standard EMAC and PRP modes—do we need to modify the device tree, firmware, or userspace configuration?
4. Are there updated instructions or documentation for PRP support in the 08.02+ SDK?
Any guidance or pointers would be greatly appreciated.
Thank you,
Mahesh R.