How to use L2 switch on Vybrid processor ?

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

How to use L2 switch on Vybrid processor ?

1,399 Views
jeremyesquirol
Contributor III

Hi,

I'm trying to use L2 switch on Mvf6x-TWR with linux.

For kernel compilation, I changed this two parameters on menuconfig :

   + Drivers for National Semiconductor dp8348 dp83849 PHYs => driver for the TWR-SER2 chip

   + Ethernet switch controller (Freescale Coldfire and Vybrid platform) => add ethernet L2 switch driver

After rebooting, i can see that the switch is init on my screen :

     Ethernet Switch Version 1.0

     eth_switch_probe: ethernet switch init

     fsl l2 switch MII Bus: probed

     fsl l2 switch MII Bus mdiobus(0) register ok.

     eth0: ethernet switch 00:04:9f:00:b3:49

My problem is that it seems to not work, and with ifconfig, the ETH0 iface does not exist.  Does someone know about this?

Thank you.

0 Kudos
Reply
4 Replies

543 Views
timesyssupport
Senior Contributor II

Hi Jérémy,


I wanted to let you know that we are looking into this, and should have an update by the end of the week.


Thanks,


Timesys Support

0 Kudos
Reply

543 Views
timesyssupport
Senior Contributor II

Hi Jérémy,

Did you encounter a specific issue with the l2 switch driver, or were you just seeking instructions for using it? We could not reproduce the missing eth0 interface in ifconfig output with the l2 switch driver enabled; if you send your kernel config, we can review to see if the issue lies here.

Thanks,

Timesys Support

0 Kudos
Reply

543 Views
jeremyesquirol
Contributor III

Hi,

I'm sorry. It was an error on my side.

I changed the MAC addr for iface eth0 in the /etc/network/interface file  because i've two board on the same LAN and it looks like the driver don't like that.

Thks for your replies.

0 Kudos
Reply

543 Views
naoumgitnik
Senior Contributor V

Dear timesyssupport,

May you comment on this, please?

And/or refer to a code sample to use as a starting point?

Regards, Naoum Gitnik.

0 Kudos
Reply