Part Number: AM3356
Hi sir,
I am trying to implement RedBox functionality on our device based on AM335x.
Platform Details:
SoC: TI AM3356 (custom board)
SDK: AM335xSDK 07_00_00_00
Linux kernel: 4.14.67
Ethernet ports: 2 native Ethernet + 2 USB-to-Ethernet adapters
PRU-ICSS: Not used
What I Have tried....
1. PRP using Userspace Daemon
I used a PRP daemon from ZHAW and bridged the resulting PRP interface with a SAN interface using the Linux bridge.
The solution I tried with PRP is:
- Is entirely user space + Linux bridge based
- Doesn't use the kernel reference implementation for client node PRP, because it doesn't work with the kernel and ip link util version I am using for the system.
- Doesn't use PRU-ICSS acceleration as that is not enabled in our system design
2. HSR using Kernel Support
For HSR, I attempted to use the Linux kernel's client node HSR reference implementation.
I attempted to use the Linux bridge, but it fails. Kernel logs indicate VLAN and bridge compatibility issues.
Error Observed:
RTNETLINK answers: Invalid argument
Kernel logs:
hsr0: port-a failed for add vid
hsr0: failed to initialize vlan filtering on this port
3. RedBox via interlink option (Not Supported in Kernel 4.14)
I also explored the possibility of using HSR/PRP RedBox (interlink) support introduced in newer kernel and ip utils.
However Kernel version 4.14.67 does not support this feature, and results in following errors.
Error Observed:
RTNETLINK answers: Invalid argument
Kernel log:
hsr0 (uninitialized): HSR: wrong vlan params: vid 0, pcp 0, cfi 7
I would like to understand TI SoC design constraints and official support for hardware offloaded RedBox.
- Does TI officially support IEC 62439-3 RedBox functionality on AM335x or any other Sitara devices?
- Is native hardware offloaded RedBox functionality planned or supported in existing TI SDKs for AM335x, later chip revisions, or upcoming SoCs?
Please advise us regarding the design constraints in using AM335x TI SoC for implementing RedBox in software using main CPU cycles. We use CPSW architecture, don't have PRU-ICSS, kernel version is as mentioned above, and our main application (different from RedBox functionality) has to share compute and network bandwidth with RedBox. Also, please share any TI reference designs, app notes, or recommendations regarding this?