FSL P1020RDB Realtek 8367 ethernet switch support

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

FSL P1020RDB Realtek 8367 ethernet switch support

2,454 Views
jeypatel
Contributor I

Hi All,

I am using fsl p1020rdb board. It is having on board realtek ethernet switch (8367). I want to add kernel driver and supported packages for rtl8367 switch.

However when I am enabling rtl8367 driver in kernel is getting crash.

The realtek switch version  is 8367RB-CG.

I went through the freescale kernel source code provided by freescale, but did not find any code or support for ethernet switch.

Can someone guide me if facing same issue or show me some path to resolve the issue.

Thanks in advance.

Thanks & regards,

Jey

0 Kudos
5 Replies

1,690 Views
eltoddo
Contributor I

This documentation is quite helpful, thanks for sharing this. It definitely points me in the right direction for doing what I'm trying to achieve.

0 Kudos

1,690 Views
Pavel
NXP Employee
NXP Employee

Look at the following pages about Ethernet swatch using under Linux:

https://bootlin.com/pub/conferences/2018/elc/belloni-switchdev/belloni-switchdev.pdf

 

and

 

https://github.com/torvalds/linux/blob/master/Documentation/networking/switchdev.txt


Have a great day,
Pavel Chubakov

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

0 Kudos

1,690 Views
eltoddo
Contributor I

Hi Pavel, thanks for your response. So is there a generic driver I can use instead? How would a generic driver know which registers in the RTL8367 to alter for functionality?

Or are you saying there's no driver period? I've been unsuccessful in getting any reply from anyone at Realtek.

0 Kudos

1,690 Views
Pavel
NXP Employee
NXP Employee

There is no special driver for the RTL8367 in NXP SDK for the P1020RDB board. Usually special driver is not needed for Ethernet switch using.


Have a great day,
Pavel Chubakov

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

0 Kudos

1,690 Views
eltoddo
Contributor I

I'd be interested to know how this went. I also have a design which uses an RTL8367N part and I'm looking for a driver for it.

0 Kudos