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.

AM3356: Redbox support using AM3356 board

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?

  • Hi,

    I’ve assigned your query to the concerned expert. Please note that today is a TI US holiday, so responses may be delayed.

    Thanks for your understanding.

    Regards,
    Johnson

  • Hello Jayasankar, 

    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?

    To my knowledge, TI Sitara AM6x SoCs currently do not officially RedBox functionality. I don't believe that AM335x had support for RedBox but I will double check internally.

    - Is native hardware offloaded RedBox functionality planned or supported in existing TI SDKs for AM335x, later chip revisions, or upcoming SoCs?

    RedBox functionality is currently not on our software roadmap but we are evaluating if/when it be placed in our software roadmap.

    Can you clarify what you mean by "hardware offloaded" RedBox? My understanding is that out of the current AM6x SoCs, AM64x has the hardware capability for RedBox (sufficient number of ports) but the software is not currently enabled for it, but its currently being evaluated if/when it will be on the roadmap.

    -Daolin