Re: DSA + Marvell embedded switch question
On Tue, Aug 16, 2016 at 2:17 PM, Andrew Lunnwrote: > On Mon, Aug 15, 2016 at 08:17:24PM -0400, John Fleming wrote: >> Hi all, I have a embedded appliance I bought from a vendor and i'm >> being told to file a RFE for this. >> >> The issue i have is the device has a embedded Marvell switch (88E1514 >> ?). > > Hi John > > 1514 is probably a PHY, not a switch. All switches are 88E6XXX. > I thought this might be the case from poking around Marvell's website. >> LAN1 through LAN6 are part of a single bridge group by default. >> Not sure if that is the correct term because i don't think it was >> created via brctl and doesn't show up in there. >> >> This is what ethtool shows as the driver. Looks like the driver name >> is marvellmod based on lsmod output. >> >> ethtool -i LAN1 >> driver: marvell switch port >> version: 1.0 >> firmware-version: >> bus-info: switch SMI bus >> supports-statistics: no >> supports-test: no >> supports-eeprom-access: no >> supports-register-dump: no >> supports-priv-flags: no >> >> Also found this >> crw-r--r--1 root root 10, 3 Aug 15 17:49 /dev/marvell > > These all tell me it is using some proprietary driver, not mainline > Linux code. > I wondered this as well. I poked around the source tree a bit before asking here. >> Just wondering if anyone can point me to something that could pull >> this information. I don't have any C know how, but if nudged in the >> right direction i think i could figure it out. > > You probably need to contact Marvell and ask them about their > proprietary code. We here don't have access to it. > > Andrew Well, thanks for taking the time to look.I did register on Marvell's website, however i'm pretty sure that won't go anywhere. Anyway, thanks again!
Re: DSA + Marvell embedded switch question
On Mon, Aug 15, 2016 at 08:17:24PM -0400, John Fleming wrote: > Hi all, I have a embedded appliance I bought from a vendor and i'm > being told to file a RFE for this. > > The issue i have is the device has a embedded Marvell switch (88E1514 > ?). Hi John 1514 is probably a PHY, not a switch. All switches are 88E6XXX. > LAN1 through LAN6 are part of a single bridge group by default. > Not sure if that is the correct term because i don't think it was > created via brctl and doesn't show up in there. > > This is what ethtool shows as the driver. Looks like the driver name > is marvellmod based on lsmod output. > > ethtool -i LAN1 > driver: marvell switch port > version: 1.0 > firmware-version: > bus-info: switch SMI bus > supports-statistics: no > supports-test: no > supports-eeprom-access: no > supports-register-dump: no > supports-priv-flags: no > > Also found this > crw-r--r--1 root root 10, 3 Aug 15 17:49 /dev/marvell These all tell me it is using some proprietary driver, not mainline Linux code. > Just wondering if anyone can point me to something that could pull > this information. I don't have any C know how, but if nudged in the > right direction i think i could figure it out. You probably need to contact Marvell and ask them about their proprietary code. We here don't have access to it. Andrew
DSA + Marvell embedded switch question
Hi all, I have a embedded appliance I bought from a vendor and i'm being told to file a RFE for this. The issue i have is the device has a embedded Marvell switch (88E1514 ?). LAN1 through LAN6 are part of a single bridge group by default. Not sure if that is the correct term because i don't think it was created via brctl and doesn't show up in there. This is what ethtool shows as the driver. Looks like the driver name is marvellmod based on lsmod output. ethtool -i LAN1 driver: marvell switch port version: 1.0 firmware-version: bus-info: switch SMI bus supports-statistics: no supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no Also found this crw-r--r--1 root root 10, 3 Aug 15 17:49 /dev/marvell Not sure if there is a way to probe this device for info. kernel is 3.10.20-al-5.0-pr2 #1 SMP Thu Jun 16 14:48:21 IDT 2016 armv7l arm I've also noticed this internal interface called al_eth. Not sure if this is some kind of device that hooks everything together. It doesn't seem to be attached to a physical port. [Expert@FWCKP750]# ethtool -i eth1 driver: al_eth version: 0.2 firmware-version: bus-info: :00:01.0 supports-statistics: no supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no >From what i've read i think the bridge command should be able to read this information, however doing for example bridge show fdb will show all hosts being behind LAN1 even if its really plugged into LAN2 or LAN3. Just wondering if anyone can point me to something that could pull this information. I don't have any C know how, but if nudged in the right direction i think i could figure it out. Thanks!