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.

AM5718: IP addresses

Part Number: AM5718
Other Parts Discussed in Thread: TMDXIDK5718

Hi, Good morning.

We are in the process of selecting AM5718 processor and using EVM TMDXIDK5718 for new product development..

I have one query regarding 6 ethernet ports availabe on AM5718.

Can processor and ti Linux package supports followign ip addresses specifically if all ports have same subnet. 

(1) will the system work with such combination if we are using 2 Gigabit ethernet ports and 4 Ethernet ports from PRU1 and PRU2.

(2) will the system work with such combination if we are using 2 Gigabit ethernet ports and 2 Ethernet ports from PRU1 and PRU2.

Port Number

Ip Address

Ip Address

Ip Address

Ethernet Port 1

192.168.1.1

192.168.2.1

192.X.X.X.X

Ethernet Port 2

192.168.1.2

192.168.3.1

198.X.X.X.X

Ethernet Port 3

192.168.1.3

192.168.4.1

200.X.X.X.X

Ethernet Port 4

192.168.1.4

192.168.5.2

174.X.X.X.X

Ethernet Port 5

192.168.1.5

192.168.6.3

192.X.X.X.X

Ethernet Port 6

192.168.1.6

192.168.7.3

80.X.X.X.X

Regards,

Mahesh

  • Hi,

    The first question concerning multiple interfaces with the same subnet is not possible. This is not a TI Linux kernel limitation but a Linux one in general. There are examples on that confirm this and some have hinted that this might be possible with configuring IP tables a certain way but I have not seen an example that has worked. The link to the training presentation goes into why multiple interfaces on the same subnet doesn't work and has a couple of discussions on other options if the purpose of such a topology is for redundancy.

    Link to Ethernet Presentation, please view the section about same subnet starting with slide 51.

    The answer to (1) is that all ports can be used simultaneously on a custom board. But please review the pin mux to make sure that the peripherals for your board are available when all 6 ports are in use.

    The answer to (2) I will need to check with a colleague. At the moment I would say yes. If only one PRU is used for two ports then I would definitely say yes.

    I am not sure I am following the chart that you attached. I will comment that the second column would work in the 6 port case with the different subnets for each interface is an example of how the interfaces should have IP addresses assigned to answer your original question. 

    Best Regards,

    Schuyler

  • Hi,

    Thanks for the reply.

    I have freeze the requirement for my products.

    I have gone through the AM5718 data sheet and user manual.

    Based on my configuration/requirement we are planning to use 4 ethernet ports.

    Q1->please give me an idea of which option can be good from following:

    OptionA:   Port3 and port4 is taken from PRU1

    RGMII0 - Ethernet Port1

    RGMII1 - Ethernet Port2 

    PRU1 MII0 - Ethernet Port3 

    PRU1 MII1 - Ethernet Port4 

    OptionB:   Port3 is taken from PRU1 and Port4 is taken from PRU2

    RGMII0 - Ethernet Port1

    RGMII1 - Ethernet Port2 

    PRU1 MII0 - Ethernet Port3 

    PRU2 MII0 - Ethernet Port4 

    Q2-> Can the all above ports have IP addresses with same subnet  for either OptionA or OptionB? 

    Please respond.

    Regards,

    Mahesh

  • Hi,

    Either option A or B will work. This will come down to whatever pin mux works best for your project.  

    I answered Q2 in the previous thread post saying the placing all the interfaces on the same subnet is not possible with a link to a presentation describing what the reason was which is Linux related. If the project is looking for link redundancy there are other techniques that can be found on the web.

    Best Regards,

    Schuyler

  • Note that Single EMAC (i.e., only using one PRU Ethernet port per ICSS) is enabled on Linux Processors SDK 5.3 and later, see post Single PRU Ethernet MII for more information.

    For information about how to modify the device tree to switch from Dual EMAC to Single EMAC, see the bindings documentation in your SDK at Documentation/devicetree/bindings/net/ti-prueth.txt

    Regards,

    Nick