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 |
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.
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
RTL9300# # printsys bootpartition=1 ...<0xff>... System information size: 4093/4096 bytes
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>
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 ======================================================
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.
Order of pinout is not the same for J1 and J2 …
Probably to test/sniff the POE leds and/or program the POE micro controller; though that one has its own pinout (J3) …
`rtk network on` in U-Boot sets all SPI pins to SPI pins, which breaks the reset GPIO. Use
'rtk network on; mw 0xbb0003a0 0x00340000; tftpboot; bootm'
instead