ws-sw-24p-4s_r1

This is an old revision of the document!


24p POE+ 4sfp

This is an OEM whitelabel managed multi-gigabit POE+ Ethernet switches.

Architecture Overview

The switch makes use of the various SerDeS units on the RTL9301.

SDS Use Connection port(s)
0? RTL8218D QSGMII 0 - 4
1? RTL8218D QSGMII 5 - 7
2? RTL8218D XSGMII 8 - 15
3? RTL8218D XSGMII 16 - 23
4? SFP+ 10GBase-R 24
6? SFP+ 10GBase-R 25
8? SFP+ 10GBase-R 26
9? SFP+ 10GBase-R 27

RTL93xxMIPS 34kcSwitchCoreRTL8218D_0RTL8218D_1RTL8218D_2SFP0SFP1SFP2SFP3SPI0UART0VPE0VPE1DDR3FlashRTL8321_0RTL8321_1consolelan1-8lan9-16lan17-24lan25lan26lan27lan28MDI BusMII/8MDI BusMII/8MDI BusMII/8I2C DATAIC2 DATAIC2 DATAIC2 DATAQSPISMI BusDailychain

4 Uplink ports are SFP+ cages which support 10GBit Base-X mini GBIC modules.

Power is supplied via a 100V-24-V 10A standard IEC connector. A Serial header can be connected to from the outside of the switch trough the RJ45 'console' port with a standard cisco 'blue' pinout. Serial connection is via 115200 baud, 8N1.

OEM U-Boot environment

RTL9300# # printenv
baudrate=115200
boardmodel=RTL8393M_DEMO
bootcmd=boota
bootdelay=1
ethaddr=00:E0:4C:00:00:00
ipaddr=192.168.1.1
ledModeInitSkip=0
serverip=192.168.1.111
stderr=serial
stdin=serial
stdout=serial

Environment size: 217/65532 bytes

OEM SYS environment

RTL9300# # printsys
bootpartition=1
...<0xff>...
System information size: 4093/4096 bytes

OEM bootlog

++++ Bootlog |

U-Boot 2011.12.(3.6.7.55090) (Jan 11 2023 - 11:23:36)

Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz
DRAM:  256 MB
SPI-F: WINBOND/EF4019/MMIO32-2/ModeC 1x32 MB (plr_flash_info @ 83f93cc4)
Loading 65536B env. variables from offset 0xe0000
Net:   Net Initialization Skipped
No ethernet found.
Hit Esc key to stop autoboot:  0 
## dual_image_sel ... -1-1-1
## Booting image from partition ... 1
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   RTK_SDK
   Created:      2023-01-11  11:28:27 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    9173575 Bytes = 8.7 MB
   Load Address: 80000000
   Entry Point:  802b3350
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...


Loading drivers..................................OK
Loading basic manager applications...............OK
Loading L2 applications..........................OK
Loading L3 applications..........................OK
Loading manager applications.....................OK
Load successfully.

Username(1-64 chars):admin
Password(1-128 chars):admin

Switch>

++++

U-Boot

RTL9300# # flshow
=============== FLASH Partition Layout ===============
Index  Name       Size       Address
------------------------------------------------------
 0     LOADER     0xe0000    0xb4000000-0xb40dffff
 1     BDINFO     0x10000    0xb40e0000-0xb40effff
 2     SYSINFO    0x10000    0xb40f0000-0xb40fffff
 3     JFFS2_CFG  0x100000   0xb4100000-0xb41fffff
 4     JFFS2_LOG  0x400000   0xb4200000-0xb45fffff
 5     RUNTIME1   0xd00000   0xb4600000-0xb52fffff
 6     RUNTIME2   0xd00000   0xb5300000-0xb5ffffff
======================================================

GPIO's

By looking at 0xb8003300 from U-Boot, we can see the GPIO's toggling the bits. Inserting an SFP module into the SFP port triggers 'some' GPIO, either ABS or something else as the pinout doesn't seem to match exactly. TBC.

  • GPIO D3 (03) seems to be connected to the reset button
  • GPIO C5 (13) seems to be connected to port24 (sfp0) mod-def (presence detect)
  • GPIO C7 (15) seems to be connected to port25 (sfp1) mod-def (presence detect)
  • GPIO B1 (17) seems to be connected to port26 (sfp2) mod-def (presence detect)
  • GPIO B3 (19) seems to be connected to port27 (sfp3) mod-def (presence detect)
  • ws-sw-24p-4s_r1.1677613177.txt.gz
  • Last modified: 2023/02/28 19:39
  • by oliver