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.

Linux/AM4376: HSR/PRP without PRU

Part Number: AM4376

Tool/software: Linux

Hello.

I want run HSR or PRP funtionality on demo board AM4376-IDK without offload to PRU.

I know that offload to PRU now is not supported for AM4376 (supported only for AM57x). Can I run HSR or PRP linux drivers on AM4376 without offload to PRU? Wiki say that this is possible.

I use demo board AM4376-IDK and ti-processor-sdk-linux-rt-am437x-evm-04.01.00.06.

root@am437x-evm:~# ifconfig eth1 0.0.0.0 down
[   61.288049] ti-pruss 54400000.pruss: unconfigured system_events = 0x0000060000500000 host_intr = 0x00000115
[   61.297861] remoteproc remoteproc1: stopped remote processor 54434000.pru0
[   61.309507] net eth1: stopped
root@am437x-evm:~# ifconfig eth2 0.0.0.0 down
[   69.818012] ti-pruss 54400000.pruss: unconfigured system_events = 0x0060000000a00000 host_intr = 0x0000022a
[   69.827823] remoteproc remoteproc2: stopped remote processor 54438000.pru1
[   69.839232] net eth2: stopped
root@am437x-evm:~# ifconfig eth1 hw ether 70:FF:76:1C:0E:8C
root@am437x-evm:~# ifconfig eth2 hw ether 70:FF:76:1C:0E:8C
root@am437x-evm:~# ethtool -K eth1 hsr-rx-offload off
root@am437x-evm:~# ethtool -K eth2 hsr-rx-offload off
root@am437x-evm:~# ifconfig eth1 up
[  148.494020] remoteproc remoteproc1: powering up 54434000.pru0
[  148.500062] remoteproc remoteproc1: Booting fw image ti-pruss/am437x-pru0-prueth-fw.elf, size 5432
[  148.512711] ti-pruss 54400000.pruss: configured system_events = 0x0000060000500000 intr_channels = 0x00000095 host_intr = 0x00000115
[  148.528046] remoteproc remoteproc1: remote processor 54434000.pru0 is now up
[  148.535535] net eth1: started
[  148.544448] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
root@am437x-evm:~# ifconfig eth2 up
[  153.183705] remoteproc remoteproc2: powering up 54438000.pru1
[  153.189688] remoteproc remoteproc2: Booting fw image ti-pruss/am437x-pru1-prueth-fw.elf, size 5508
[  153.203098] ti-pruss 54400000.pruss: configured system_events = 0x0060000000a00000 intr_channels = 0x0000012a host_intr = 0x0000022a
[  153.218484] remoteproc remoteproc2: remote processor 54438000.pru1 is now up
[  153.226001] net eth2: started
[  153.234843] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
root@am437x-evm:~# ip link add name hsr0 type hsr slave1 eth1 slave2 eth2 supervision 45 version 1
[  176.364256] hsr0 (uninitialized): HSR: Slave1 device not specified
ip: RTNETLINK answers: Invalid argument

How to resolve this problem?

Thanks