ls1028A how to enable eno3

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ls1028A how to enable eno3

ソリューションへジャンプ
2,214件の閲覧回数
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 件の賞賛
返信
1 解決策
2,204件の閲覧回数
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 件の賞賛
返信
6 返答(返信)
2,205件の閲覧回数
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 件の賞賛
返信
2,197件の閲覧回数
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 件の賞賛
返信
2,158件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please create a new thread for your new question.

0 件の賞賛
返信
2,152件の閲覧回数
Dmitriy_emb
Contributor I

Good! Now I investigate it.

0 件の賞賛
返信
1,288件の閲覧回数
xinliwang
Contributor III

Hi, @Dmitriy_emb 

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

thank you 

0 件の賞賛
返信
1,264件の閲覧回数
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 件の賞賛
返信