T1040RDB L2 Switch port ping fails

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

T1040RDB L2 Switch port ping fails

975 Views
rajaramghosh
Contributor I
T1040RDB L2 Switch port ping fails after sometimes when connected to external L2 switch; we are using SDK 1.7.
Below is the setup
 
 
Inline image 1
 
Follow these steps
 
1) Connect the systems according to the above diagram
2) Power on the PC and the external L2 Switch (but not the T1040RDB)
3) From PC start pinging the T1040RDB (it would not ping as T1040RDB is not yet powered on)
4) Power on T1040RDB ( switch application should be running and fm1-gb1 IP should be set; we are doing it through a boot script)
 
1st Observation: 
1) In this case the moment T1040RDB is booted up the ping from PC is expected to be successful, but it is not pinging
 
1st option: Now if you reconnect the cable between T1040RDB and the external L2 Switch, the ping will be successful. 
 
2nd option: instead of reconnecting the cable if we do a soft reset (linux 'reboot' command) then the T1040RDB start pinging. 
 
2) If you change the external L2 Switch from 10/100Mbps to 10/100/1000Mpbs (different switch in our case), it starts pinging (without reconnecting the cable) as expected after T1040RDB power on. 
 
3) If you repeat this test without connecting any external L2 Switch in the middle (connect T1040RDB to PC directly), it start pinging (without reconnecting the cable or reboot) as expected after T1040RDB power on .
 
In all cases Auto Negotiation is Enabled in T1040RDB (FYI T1040RDB does not advertise Flow Control - 'Flow Control Disabled')
 
 
 
2nd Observation
 
1) Irrespective of we using 10/100Mbps or 10/100/1000Mpbs external L2 Switch, the ping stops after sometimes (large variability in time), and in this case even if we reconnect the cable the ping does not come back; but if we do a soft reset (linux 'reboot' command) then the T1040RDB starts pinging. 
 
 
Labels (1)
0 Kudos
Reply
3 Replies

618 Views
rajaramghosh
Contributor I

The board is T1040RDB, it is not supported in SDK 2.0.

Can we upgrade only the switch related stuff in SDK 1.7 with the latest one available, i.e. UIO Module, l2swich demo app, etc. or there are other dependencies, like the kernel version (in SDK 1.7 the kernel is 3.12)

0 Kudos
Reply

618 Views
Pavel
NXP Employee
NXP Employee

The SDK 2.0 supports DDR4 for the T1040RDB board.

 

Only SDK-v1.8 supports T1040 with DDR3.  In SDK-v1.9, it only supports the T1040 with DDR4.  You can modify the U-boot configuration file to support DDR3.  You can remove the SYS_FSL_DDR4 definition in the file <u-boot directory>/configs/T1040D4RDB_defconfig

 

From

CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040D4RDB,T104XD4RDB,SYS_FSL_DDR4"

 

To

CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040D4RDB,T104XD4RDB"


Have a great day,
Pavel Chubakov

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

0 Kudos
Reply

618 Views
Pavel
NXP Employee
NXP Employee

It is strange behavior.

Can you test this scenario using the latest SDK 2.0?

A few bugs are fixed in the last version of the SDK 2.0.


Have a great day,
Pavel Chubakov

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

0 Kudos
Reply