T1040RDB: Layer 2 Switch initialization

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

T1040RDB: Layer 2 Switch initialization

跳至解决方案
1,787 次查看
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,545 次查看
konradgräfe
Contributor III

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,545 次查看
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,545 次查看
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,546 次查看
konradgräfe
Contributor III

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

0 项奖励
回复