T1040RDB: Layer 2 Switch initialization

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

T1040RDB: Layer 2 Switch initialization

ソリューションへジャンプ
1,785件の閲覧回数
konradgräfe
Contributor III

Hello NXP team,

I am currently experimenting with the Layer 2 Switch of a T1040RDB board (not T1040D4RDB).

In general, the switch is working fine, but it does not work for test devices that are already plugged in when the T1040RDB boots up (or reboots). In that situation it will neither learn their MAC addresses ("l2switch-cfg mac dump") nor will it switch packets between those devices.

I can fix the situation by either

  • Unplugging and re-plugging the test devices or
  • issuing "ifconfig eth0 down up" on all test devices

However, those "solutions" aren't satisfying of course.

I am using the Linux kernel 'fsl-sdk-v1.9' from Freescale Git​.

Is that a known behavior? Can you help me out here?

Please ask me if you need more information.

Regards,

Konrad Gräfe

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
1,543件の閲覧回数
konradgräfe
Contributor III

Updating the U-Boot resolves the issue. Issuing the command "ethsw port all show" is not necessary.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,543件の閲覧回数
bpe
NXP Employee
NXP Employee

Can you try issuing "ethsw port all show" command at u-Boot stage as a workaround? This command restarts autoneg on all ports then displays link status.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,543件の閲覧回数
konradgräfe
Contributor III

Thank you for your suggestion.

I just noticed that my bootloader is very old ("U-Boot 2014.01QorIQ-SDK-T1040-BSP0.2 (Mar 07 2014 - 01:04:58)") and therefore does not have the command "ethsw", which was implemented in January 2015. I will try to update my U-Boot.

0 件の賞賛
返信
1,544件の閲覧回数
konradgräfe
Contributor III

Updating the U-Boot resolves the issue. Issuing the command "ethsw port all show" is not necessary.

0 件の賞賛
返信