XikeStor SKS8300-8X

From TechInfoDepot
Jump to navigationJump to search
multiple revisions of this device, use caution
8-Ports 10G L3 Managed Switch
Homepage Product page
3rd Party Firmware
dd-wrt Status Unknown
OpenWrt Supported
Tomato any flavor Incompatible
Gargoyle Status Unknown
Platform
Brand • Model • Rev XikeStor SKS8300-8X
CPU1 checkY Realtek RTL9303
CPU1 Type MIPS 34Kc
CPU1 Speed 800 MHz
Flash1 Chip Winbond W25Q256JVFIQ
Flash1 Size 32 MiB 33,554,432 B <br />262,144 Kib <br />32,768 KiB <br />256 Mib <br />0.0313 GiB <br /> (SPI NOR)
RAM1 Size 512 MiB 536,870,912 B <br />4,194,304 Kib <br />524,288 KiB <br />4,096 Mib <br />0.5 GiB <br /> (DDR3)
ETH chip1 Realtek RTL9303
Switch Realtek RTL9303
Ethernet Port Count 8-10GbE
Ethernet connector SFP+
Wired Standard IEEE 802.3i/3u/3ab/3bz/an
Auto-MDIX unspecified
Switch Class managed

Ethernet OUI: 84:E5:D8

Expansion IF types SFP+
SFP ports 8
Stock bootloader U-Boot
Power 12 VDC, 2 A
Connector type barrel
Serial Port (UART) yes, RJ45, (9600 8N1)
Other
Flags:
Watchdog
3rd Party Firmware Support OpenWrt • (List | Dev | DLs)
 Switch brandSwitch2 brand
XikeStor SKS8300-12E2T2XRealtekRealtek
XikeStor SKS8300-12XRealtek
XikeStor SKS8300-8TRealtek
XikeStor SKS8300-8XRealtek

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


Flashing

Flashing OpenWrt

Target: realtek
Subtarget: rtl930x
Package architecture: mips_24kc
Supported Since Commit
Support started version: 25.12.0
Current supported version: 25.12.1
LAN Hardware: Realtek RTL9303
LAN Comment: 1G/2.5G/10G SFP+ Ports
WLAN Hardware: none
Installation method(s):
see git-commit
Recovery method(s):
see git-commit
git • >>
realtek: add support for XikeStor SKS8300-8X
XikeStor (Seeker) SKS8300-8X is a 8 ports Multi-Gig switch, based on
RTL9303.

Specification:

- SoC             : Realtek RTL9303
- RAM             : DDR3 512 MiB
- Flash           : SPI-NOR 32 MiB (Winbond W25Q256JVFIQ)
- Ethernet        : 8x 1/2.5/10 Gbps (SFP+)
- LEDs/Keys (GPIO): 1x/1x
- UART            : "Console" port on the front panel
  - type          : RS-232C
  - connector     : RJ-45
  - settings      : 9600n8
- Watchdog        : Diodes PT7A7514WE
- Power           : 12 VDC, 2 A

Flash instruction using initramfs image:

 1. Prepare TFTP server with an IP address "192.168.2.36"
 2. Connect your PC to Port1 on SKS8300-8X
 3. Power on SKS8300-8X and interrupt by Ctrl + B
 4. Login to the vendor CLI by Ctrl + F and "diagshell_unipoe_env"
 5. Login to the U-Boot CLI by "debug_unish_env" command
 6. Enable Port1 with the following commands

    rtk 10g 0 fiber1g (or fiber10g if 10GBase-*R)
    rtk ext-devInit 0
    rtk ext-pinSet 2 0

    Note: the last command sets tx-disable to low

 7. Download initramfs image from TFTP server

    tftpboot 0x82000000 <image name>

 8. Boot with the downloaded image

    bootm

 9. On the initramfs image, backup the stock firmware if needed
10. Upload (or download) sysupgrade image to the device
11. Erase "firmware" partition to cleanup JFFS2 of stock FW

    mtd erase firmware

12. Perform sysupgrade with the sysupgrade image
13. Wait ~120 sec to complete flashing

Notes:

- A kernel binary "nos.img" needs to be stored into JFFS2 filesystem
  using 4KiB erase block instead of 64KiB.

- PT7A7514WE is handled by hardware-assited system LED output
  (blinking).

- Some Japanese users asked to XikeStor about maximum power limit of
  SFP+ ports and got approximate criteria:

  - per port       : <=  2.9 W
  - total (8 ports): <= 15.8 W

MAC addresses:

eth0   : 84:E5:D8:xx:xx:37 (board-info (stock:"flash_raw"), 0x218 (hex))
(ports): 84:E5:D8:xx:xx:36 (board-info (stock:"flash_raw"), 0x1f1 (hex))

Reverting to stock firmware:

1. Prepare OpenWrt SDK to use the mkfs.jffs2 tool contained in it

   Note: the official mkfs.jffs2 tool in mtd-utils doesn't support 4KiB
         erase size and not usable for SKS8300-8X

2. Create a directory for working
3. Download official firmware for SKS8300-8X from XikeStor's official
   website
4. Rename the downloaded firmware to "nos.img" and place it to the
   working directory
5. Create a JFFS2 filesystem binary with the working directory

   /path/to/mkfs.jffs2 -p -b -U -v -e 4KiB -x lzma \
       -o nos.img.jffs2 -d /path/to/working/dir/

6. Upload the created JFFS2 filesystem binary to the device
7. Erase the "firmware" partition

   mtd erase firmware

8. Write the JFFS2 filesystem binary to the "firmware" partition

   mtd write /path/to/nos.img.jffs2 firmware

9. After writing, reboot the device by power cycle