ls1028A how to enable eno3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ls1028A how to enable eno3

Jump to solution
2,344 Views
Dmitriy_emb
Contributor I

Hello.

I would like to enable eno3 interface.

According to manual:

Connected internally (MAC to MAC) to swp5. This is used to carry switch controlled traffic between the switch and the Linux bridge. This interface is present if bit 851 is set in RCW.

How do I count 851 bit? How to change it inside rcw_1500.rcw file?

I see a string ENETC_RCW=3. Is it connected to 851 bit?

Thank you.

 

 

 

0 Kudos
Reply
1 Solution
2,334 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to file rcw/ls1028asi/ls1028a.rcwi, ENETC_RCW is RCW[857:850].

So in ls1028ardb/R_SQPH_0x85be/rcw_1500.rcw, configuring ENETC_RCW as 3 means configuring RCW[851] as 1.

View solution in original post

0 Kudos
Reply
6 Replies
2,335 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to file rcw/ls1028asi/ls1028a.rcwi, ENETC_RCW is RCW[857:850].

So in ls1028ardb/R_SQPH_0x85be/rcw_1500.rcw, configuring ENETC_RCW as 3 means configuring RCW[851] as 1.

0 Kudos
Reply
2,327 Views
Dmitriy_emb
Contributor I

Thank you for information, this is useful for me.
But I have additional question.
Now Ethernet cable is connected to the SWP0 connector.
By default, I can use it by commands:

ifconfig eno2 up
ifconfig swp0 up
ifconfig swp4 up
dhclient swp0

After these operations, I have the Internet.
But I would like to use eno3 interface.

For this purpose, I modified fsl-ls1028a.dtsi device-tree file.
Please take a look to the attached diff file.

After it, I can't connect to the Internet via both interfaces:

ifconfig eno2 up
ifconfig swp0 up
ifconfig swp4 up
dhclient swp0
As a result - no IP address

ifconfig eno3 up
ifconfig swp0 up
ifconfig swp5 up
dhclient swp0
As a result - no IP address

What is my mistake?

0 Kudos
Reply
2,288 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please create a new thread for your new question.

0 Kudos
Reply
2,282 Views
Dmitriy_emb
Contributor I

Good! Now I investigate it.

0 Kudos
Reply
1,418 Views
xinliwang
Contributor III

Hi, @Dmitriy_emb 

Did you figure out how to use both eno3 and eno2 at the same time?

thank you 

0 Kudos
Reply
1,394 Views
Dmitriy_emb
Contributor I
Hello.
Sorry, but I don't remember. I worked with this board only for introducing. And these interfaces was not my main goal.
0 Kudos
Reply