D-Link DGS-1210-10MP rev F1

From TechInfoDepot
Jump to navigationJump to search
multiple revisions of this device, use caution
10-Port Gigabit Smart Managed PoE+ Switch
3rd Party Firmware
dd-wrt Status Unknown
OpenWrt Partial Support
Tomato any flavor Incompatible
Gargoyle Status Unknown
Platform
Brand • Model • Rev D-Link DGS-1210-10MP
Series DGS-1210
CPU1 checkY Realtek RTL8380M
CPU1 Type MIPS 4KEc
CPU1 Speed 500 MHz
Flash1 Size 32 MiB 33,554,432 B <br />262,144 Kib <br />32,768 KiB <br />256 Mib <br />0.0313 GiB <br />
RAM1 Size 128 MiB 134,217,728 B <br />1,048,576 Kib <br />131,072 KiB <br />1,024 Mib <br />0.125 GiB <br />
ETH chip1 Realtek RTL8380M
Switch Realtek RTL8380M
Ethernet Port Count 10-1GbE
Ethernet connector 8P8C
Wired Standard IEEE 802.3i/3u/3ab
Auto-MDIX unspecified
Switch Class managed

Ethernet OUI: none specified

Expansion IF types SFP
SFP ports 2
Stock bootloader U-Boot
PoE 802.3at, 802.3af, standard
Power 100-240 VAC ~ 50/60 Hz, ? A
Connector type AC (direct)
Serial Port (UART) yes, 3.3V TTL, (115200 8N1)
JTAG Port yes
3rd Party Firmware Support OpenWrt • (List | Dev | DLs)
 Switch brandSwitch2 brand
D-Link DGS-1210-10 rev F1Realtek
D-Link DGS-1210-10MP rev F1Realtek
D-Link DGS-1210-10P rev A1Marvell
D-Link DGS-1210-10P rev B1MarvellMarvell
D-Link DGS-1210-10P rev F1Realtek
D-Link DGS-1210-10P rev R1Realtek
D-Link DGS-1210-16 rev A1MarvellMarvell
D-Link DGS-1210-16 rev G1Realtek

For a list of all currently documented Realtek chipsets with specifications, see Realtek.

For a list of all currently documented D-Link devices with specifications, see D-Link.


Flashing

Flashing OpenWrt

Target: realtek
Subtarget: rtl838x
Package architecture: mips_4kec
Supported Since Commit
Support started version: 23.05.0
Current supported version: 25.12.1
Unsupported Functions:
poe related leds, mode key
LAN Comment: 2 gigabit SFP ports, 8x 802.3af/at PoE ports (130W total)
Installation method(s):
see devicepage
Recovery method(s):
U-Boot TFTP + serial recovery
Comment:
Fan less design, rack mountable
git • >>
realtek: d-link: add support for dgs-1210-10mp
General hardware info:
-------------------------------------------------------------------------------

D-Link DGS-1210-10MP is a switch with 8 ethernet ports and 2 SFP ports, all
ports Gbit capable. It is based on a RTL8380 SoC @ 500MHz, DRAM 128MB and
32MB flash. All ethernet ports are 802.3af/at PoE capable
with a total PoE power budget of 130W.

File info:
-------------------------------------------------------------------------------
The dgs-1210-10mp is very similar to dgs-1210-10p so I used that as a start.

rtl838x.mk:
 - Removed lua-rs232 package since it was a leftover from the old rtl83xx-poe
   package.
 - Updated the soc to 8380.
 - Specified device variant: F.
 - Installed the new realtek-poe package.

rtl8380_d-link_dgs-1210-10mp.dts:
 - Moved dgs-1210 family common parts and non PoE related ports on rtl8231
   to the new device tree dtsi files.

Serial connection:
-------------------------------------------------------------------------------
The UART for the SoC (115200 8N1) is available close to the front panel next
to the LED/key card connector via unpopulated standard 0.1" pin header
marked j4. Pin1 is marked with arrow and square.

Pin 1: Vcc 3,3V
Pin 2: Tx
Pin 3: Rx
Pin 4: Gnd

Installation with TFTP from u-boot
-------------------------------------------------------------------------------
I originally used the install procedure:
'OpenWrt installation using the TFTP method and serial console access' found
in the device wiki for the dgs-1210-16.
< https://openwrt.org/toh/d-link/dgs-1210-16_g1#openwrt_installation_using
_the_tftp_method_and_serial_console_access >

About the realtek-poe package
-------------------------------------------------------------------------------
The realtek-poe package is installed but there isn't any automatic PoE config
setting at this time so for now the PoE config must be edited manually.

Original OEM hardware/firmware data at first installation
-------------------------------------------------------------------------------
It has been installed, developed, and tested on a device with these OEM
hardware and firmware versions.

- U-boot: 2011.12.(2.1.5.67086)-Candidate1 (Jun 22 2020 - 15:03:58)
- Boot version: 1.01.001
- Firmware version: 6.20.007
- Hardware version: F1

Things to be done when support are developed
-------------------------------------------------------------------------------
 - realtek-poe has been included in OpenWrt but the automatic config handling
   has not been solved yet so in the future there will probably be some minor
   updates for this device to handle the poe config.
 - LED link_act and poe are per function supposed to be connected to the PoE
   system.
   But some software development is also needed to make this LED work and
   shift the LED array between act and poe indication and to shift the mode
   lights with mode key.
 - LED poe_max should probably be used as straight forward error output from
   the realtek-poe package error handling. But no code has been written for
   this.
 - SFP is currently not hot pluggable. Development is under progress to get
   working I2C communication with SFP and have them hot pluggable.
   When any device in the dgs-1210 family gets this working, I expect it
   should be possible to implement the same solution in this device.