T1040RDB: Layer 2 Switch initialization

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

T1040RDB: Layer 2 Switch initialization

Jump to solution
1,210 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
968 Views
konradgräfe
Contributor III

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

View solution in original post

0 Kudos
Reply
3 Replies
968 Views
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 Kudos
Reply
968 Views
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 Kudos
Reply
969 Views
konradgräfe
Contributor III

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

0 Kudos
Reply