Support for XikeStor SKS8300-8T (RTL9300)

I'm using a native PC (my server) UART RS-232 9 pin connector (not a fancy USB converter!), so 115200 is my limit. :wink:

I have this device and got stuck at the same point as you with porting, unable to make Ethernet work with autoboot, but reading this, I noticed something.

I assume this didn’t work at first because it needed something in the custom initialization done during autoboot. Then I assume this got forgotten when rtk network on made things work without driver modifications. Maybe could you pls try doing this again and I can test how it works with autoboot? See if that can get it to work.

@Naqwada Thank you !!!Thanks to your topic I was able to get this running on my switch! vimin-vm-s100-0800t

1 Like

did you ever figure it out ?

I'm hitting the same issue, the PR does a mw.l before it tries to rtk network on, but it doesn't make any difference.

for now I had to roll back to the stock fw.

btw, there's a saveenv missing from the PR, after you've modified the bootcmd.

I assume that the actual cause could be a similar issue I'm facing on the copper ports of my SKS7300-4X4T. We're currently comparing the SerDes register setup. Sorry, I can't link the thread right now, but there is only one SKS7300 thread anyway. I'll try the manual configuration tonight.

1 Like

This is absolutely not the same issue at all.

@frollic I wasn't able to test the tweak found which involves using mw.l command in bootcmd. I returned the device before this solution was found. All I could do with it was what's described in this thread.

Well, it doesn't work, so ... ,)

Then please add a few more details why this is absolutely not the same issue at all. Just to clarify, I was only referring to the copper ports not working unless rtk network on is called. The mw.l hack is a different story.

@jonasj you had PR https://github.com/openwrt/openwrt/pull/21930 merged .

Do you still need feed back from 8T users ?

As you can see I tried getting the network up and runing 15 days ago (at that time I assume your patch was already in the images), but it didn't work.
I did however executed the extra params in U-boot, would they make your patch fail ?

This would be a nice-to-have. I consider the USXGMII-SX setup on RTL930x as working now because I got it to run on two different devices (XGS1250-12 A1 and SKS7300-4X4T). But what I noticed is that the PHY side might be an issue still. Several devices use Realtek PHYs (RTL8264, RTL8261) and the driver we have in OpenWrt for that currently doesn't configure the PHYs on its own, but this is needed with the standalone USXGMII setup because the SDK does a different setup than we do.

So if you would like to have a look at this, try what I did for the SKS7300-4X4T: Adding support for XikeStor SKS7300 series - #98 by jonasj
This comments some stuff in the current shitty driver but it works. And IIRC the SKS8300-8T has equal or at least very very similar PHYs.

Sadly, https://github.com/openwrt/openwrt/pull/22563 doesn't work for me yet but I only tested this briefly. Maybe you have some more luck.

Thnx for getting back.

I have to set up the OpenWRT build env to create the image, it'll take a couple of days, I'll let you know once tested.

1 Like
[    0.000000] Linux version 6.12.79 (frollic@) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r33711-5ee6ddb461) 14.3.0, GNU ld (GNU Binutils) 2.44) #0 SMP Tue Mar 31 02:37:14 2026
[    0.000000] Realtek RTL9303 rev B (6487) SoC with 512 MB
[    0.000000] highmem kernel on RTL930x with > 256 MB RAM, adapt SoC memory mapping
[    0.000000] printk: legacy bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is XikeStor SKS8300-8T
[    0.000000] earlycon: ns16550a0 at MMIO 0x18002000 (options '115200n8')
[    0.000000] printk: legacy bootconsole [ns16550a0] enabled
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using appended Device Tree.
[    0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000] Detected 1 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000]   HighMem  [mem 0x0000000020000000-0x000000002fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x000000002fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000] On node 0, zone HighMem: 65536 pages in unavailable ranges
[    0.000000] percpu: Embedded 12 pages/cpu s18128 r8192 d22832 u49152
[    0.000000] pcpu-alloc: s18128 r8192 d22832 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Kernel command line: earlycon
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00023090
[    0.000000] Readback ErrCtl register=00023090
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 131072
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000] NR_IRQS: 256
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] Failed to get CPU clock: -2
[    0.000000] CPU frequency from device tree: 800MHz
[    0.000000] clocksource: realtek_otto_timer: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: 38225208801 ns
[    0.000002] sched_clock: 28 bits at 3125kHz, resolution 320ns, wraps every 42949672800ns
[    0.009066] Calibrating delay loop... 531.66 BogoMIPS (lpj=2658304)
[    0.065737] pid_max: default: 32768 minimum: 301
[    0.082230] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.090289] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.112933] rcu: Hierarchical SRCU implementation.
[    0.118187] rcu:     Max phase no-delay instances is 1000.
[    0.126099] smp: Bringing up secondary CPUs ...
[    0.133092] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.133155] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.133254] CPU1 revision is: 00019555 (MIPS 34Kc)
[    0.208931] Counter synchronization [CPU#0 -> CPU#1]: passed
[    0.236296] smp: Brought up 1 node, 2 CPUs
[    0.242494] Memory: 495800K/524288K available (7528K kernel code, 719K rwdata, 1708K rodata, 9876K init, 243K bss, 27368K reserved, 0K cma-reserved, 262144K highmem)
[    0.265135] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.276030] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.290263] pinctrl core: initialized pinctrl subsystem
[    0.299551] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.306980] thermal_sys: Registered thermal governor 'step_wise'
[    0.330391] clocksource: Switched to clocksource realtek_otto_timer
[    0.355815] NET: Registered PF_INET protocol family
[    0.361602] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.370913] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.380082] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.388658] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.397170] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.405205] TCP: Hash tables configured (established 2048 bind 2048)
[    0.413154] MPTCP token hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.421668] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.428864] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.437693] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.447628] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.460953] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.467429] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.491416] pinctrl-single 1b000200.pinmux: 32 pins, size 4
[    0.498392] pinctrl-single 1b00c600.pinmux: 32 pins, size 4
[    0.505670] pinctrl-single 1b00cc00.pinmux: 32 pins, size 4
[    0.516384] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.527258] printk: legacy console [ttyS0] disabled
[    0.534191] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 30, base_baud = 10937500) is a 16550A
[    0.544102] printk: legacy console [ttyS0] enabled
[    0.544102] printk: legacy console [ttyS0] enabled
[    0.555029] printk: legacy bootconsole [early0] disabled
[    0.555029] printk: legacy bootconsole [early0] disabled
[    0.589736] printk: legacy bootconsole [ns16550a0] disabled
[    0.589736] printk: legacy bootconsole [ns16550a0] disabled
[    0.655531] brd: module loaded
[    0.670673] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.678457] Creating 7 MTD partitions on "spi0.0":
[    0.684085] 0x000000000000-0x0000001c0000 : "u-boot"
[    0.694573] 0x0000001c0000-0x0000001d0000 : "u-boot-env"
[    0.704582] 0x0000001d0000-0x0000001e0000 : "sysinfo"
[    0.713701] 0x0000001e0000-0x0000001f0000 : "factory"
[    0.723901] 0x0000001f0000-0x000000200000 : "sysdata"
[    0.732400] 0x000000200000-0x000000c00000 : "jffs2_filesystem"
[    0.743536] 0x000000c00000-0x000002000000 : "firmware"
[    0.753931] 2 uimage-fw partitions found on MTD device firmware
[    0.760814] Creating 2 MTD partitions on "firmware":
[    0.766424] 0x000000000000-0x000000ba0000 : "kernel"
[    0.775538] 0x000000ba0000-0x000001400000 : "rootfs"
[    0.785282] mtd: setting mtd8 (rootfs) as root device
[    0.791697] mtdsplit: no squashfs found in "rootfs"
[    1.449277] realtek-otto-serdes-mdio 1b000000.switchcore:mdio-serdes: Realtek SerDes mdio bus initialized, 12 SerDes, 64 pages, 32 registers
[    1.464132] realtek-otto-pcs 1b000000.switchcore:pcs: Realtek PCS driver initialized
[    1.473756] Probing RTL838X eth device pdev: 820e3c00, dev: 820e3c10
[    1.483883] Using MAC 8c:a6:82:70:f7:4c
[    1.489944] i2c_dev: i2c /dev entries driver
[    1.501005] NET: Registered PF_INET6 protocol family
[    1.517462] Segment Routing with IPv6
[    1.521865] In-situ OAM (IOAM) with IPv6
[    1.526430] NET: Registered PF_PACKET protocol family
[    1.533248] 8021q: 802.1Q VLAN Support v1.8
[    1.616621] rtldsa_93xx_setup called
[    1.621051] In rtldsa_vlan_setup
[    2.670249] rtldsa_enable_phy_polling:          f110101
[    2.676456] rtl83xx-switch 1b000000.switchcore:ethernet-switch: led_set0 has 2 LEDs configured
[    2.686323] rtl83xx-switch 1b000000.switchcore:ethernet-switch: configuring for fixed/internal link mode
[    2.697221] Realtek RTL8261N realtek-mdio:00: rtkphy_config_init:80 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF3 PHYAD:0
[    2.709546] rtl83xx-switch 1b000000.switchcore:ethernet-switch: Link is Up - 1Gbps/Full - flow control off
[    2.710675] ------------[ cut here ]------------
[    2.725572] WARNING: CPU: 1 PID: 58 at drivers/net/mdio/mdio-realtek-otto.c:235 rtmdio_run_cmd.isra.0+0x1a0/0x1a8
[    2.737083] mdio bus access failed
[    2.740926] Modules linked in:
[    2.744354] CPU: 1 UID: 0 PID: 58 Comm: kworker/u10:2 Not tainted 6.12.79 #0
[    2.744373] Hardware name: XikeStor SKS8300-8T
[    2.744383] Workqueue: events_unbound deferred_probe_work_func
[    2.744423] Stack : 80a20000 8236988c 00000001 8014d028 823698fc 823698d3 00000003 ffffffff
[    2.744463]         804f53c0 8200d400 82009100 6576656e 74735f75 00000001 823698a8 820a3300
[    2.744501]         00000000 00000000 8092c0a8 823696e8 00000000 ffffefff 00000001 0000007c
[    2.744537]         0000007e 823696ac 0000007e 000005e8 00000001 00000000 8092c0a8 823699b8
[    2.744574]         00000000 8056e510 80a1f178 824ae000 00000000 80a26840 00000004 81460004
[    2.744611]         ...
[    2.744620] Call Trace:
[    2.744624] [<80106504>] show_stack+0x28/0xf0
[    2.744662] [<80824298>] dump_stack_lvl+0x70/0xb0
[    2.744693] [<8012b52c>] __warn+0x9c/0x114
[    2.744730] [<8012b724>] warn_slowpath_fmt+0x180/0x188
[    2.744749] [<8056e510>] rtmdio_run_cmd.isra.0+0x1a0/0x1a8
[    2.744766] [<8056ec6c>] rtmdio_930x_read_mmd_phy+0x70/0xd4
[    2.744782] [<8056dc50>] rtmdio_read_c45+0x38/0x5c
[    2.744796] [<805573f8>] __mdiobus_c45_read+0x34/0xfc
[    2.744827] [<805502e0>] __phy_read_mmd+0x58/0x6c
[    2.744869] [<80550988>] phy_modify_mmd_changed+0x48/0xe8
[    2.744889] [<8056c004>] rtkphy_config_init+0xac/0x278
[    2.744904] [<80551d3c>] phy_init_hw+0xa0/0xe8
[    2.744918] [<80554d1c>] phy_attach_direct+0x184/0x41c
[    2.744934] [<80547884>] phylink_fwnode_phy_connect+0x1f0/0x23c
[    2.744951] [<807f99ec>] dsa_user_create+0x250/0x4d0
[    2.744981] [<807ea640>] dsa_port_setup+0xdc/0x174
[    2.745013] [<807ec700>] dsa_tree_setup+0x400/0x4a0
[    2.745033] [<807ec920>] dsa_register_switch+0x180/0x268
[    2.745051] [<8057c68c>] rtl83xx_sw_probe+0x41c/0x7b8
[    2.745085] [<804f8598>] platform_probe+0x50/0xb0
[    2.745122] [<804f59b0>] really_probe+0xd4/0x34c
[    2.745140] [<804f5eec>] driver_probe_device+0x48/0x110
[    2.745158] [<804f6084>] __device_attach_driver+0xd0/0x118
[    2.745176] [<804f3618>] bus_for_each_drv+0x7c/0xc8
[    2.745193] [<804f6418>] __device_attach+0x114/0x180
[    2.745211] [<804f4814>] bus_probe_device+0xb0/0xd8
[    2.745228] [<804f5470>] deferred_probe_work_func+0xb0/0x100
[    2.745246] [<80148e10>] process_one_work+0x1c0/0x3e0
[    2.745281] [<8014a160>] worker_thread+0x234/0x390
[    2.745301] [<80151a24>] kthread+0xfc/0x104
[    2.745326] [<80101498>] ret_from_kernel_thread+0x14/0x1c
[    2.745345]
[    2.745350] ---[ end trace 0000000000000000 ]---
[    3.315618] [rtkphy_config_init,110] SDS 0x07, 0x10 : 0x8003
[    3.322686] [rtkphy_config_init,112] SDS 0x06, 0x12 : 0xA4
[    3.329214] [rtkphy_config_init,125] sds link [DOWN] (0xC)
[    3.335664] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan1 (uninitialized): PHY [realtek-mdio:00] driver [Realtek RTL8261N] (irq=POLL)
[    3.352712] Realtek RTL8261N realtek-mdio:08: rtkphy_config_init:80 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF3 PHYAD:8
[    3.713094] [rtkphy_config_init,110] SDS 0x07, 0x10 : 0x8003
[    3.720000] [rtkphy_config_init,112] SDS 0x06, 0x12 : 0xA4
[    3.726688] [rtkphy_config_init,125] sds link [DOWN] (0xC)
[    3.733159] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan2 (uninitialized): PHY [realtek-mdio:08] driver [Realtek RTL8261N] (irq=POLL)
[    3.749867] Realtek RTL8261N realtek-mdio:10: rtkphy_config_init:80 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF3 PHYAD:16
[    4.107689] [rtkphy_config_init,110] SDS 0x07, 0x10 : 0x8003
[    4.114728] [rtkphy_config_init,112] SDS 0x06, 0x12 : 0xA4
[    4.121424] [rtkphy_config_init,125] sds link [DOWN] (0xC)
[    4.127824] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan3 (uninitialized): PHY [realtek-mdio:10] driver [Realtek RTL8261N] (irq=POLL)
[    4.144138] Realtek RTL8261N realtek-mdio:14: rtkphy_config_init:80 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF3 PHYAD:20
[    4.501896] [rtkphy_config_init,110] SDS 0x07, 0x10 : 0x8003
[    4.508801] [rtkphy_config_init,112] SDS 0x06, 0x12 : 0xA4
[    4.515493] [rtkphy_config_init,125] sds link [DOWN] (0xC)
[    4.521979] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan4 (uninitialized): PHY [realtek-mdio:14] driver [Realtek RTL8261N] (irq=POLL)
[    4.538314] Realtek RTL8261N realtek-mdio:18: rtkphy_config_init:80 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF3 PHYAD:24
[    4.590314] random: crng init done
[    4.894611] [rtkphy_config_init,110] SDS 0x07, 0x10 : 0x8003
[    4.901632] [rtkphy_config_init,112] SDS 0x06, 0x12 : 0xA4
[    4.908216] [rtkphy_config_init,125] sds link [DOWN] (0xC)
[    4.914679] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan5 (uninitialized): PHY [realtek-mdio:18] driver [Realtek RTL8261N] (irq=POLL)
[    4.931417] Realtek RTL8261N realtek-mdio:19: rtkphy_config_init:80 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF3 PHYAD:25
[    5.288616] [rtkphy_config_init,110] SDS 0x07, 0x10 : 0x8003
[    5.295694] [rtkphy_config_init,112] SDS 0x06, 0x12 : 0xA4
[    5.302327] [rtkphy_config_init,125] sds link [DOWN] (0xC)
[    5.308764] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan6 (uninitialized): PHY [realtek-mdio:19] driver [Realtek RTL8261N] (irq=POLL)
[    5.324849] Realtek RTL8261N realtek-mdio:1a: rtkphy_config_init:80 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF3 PHYAD:26
[    5.680015] [rtkphy_config_init,110] SDS 0x07, 0x10 : 0x8003
[    5.687028] [rtkphy_config_init,112] SDS 0x06, 0x12 : 0xA4
[    5.693728] [rtkphy_config_init,125] sds link [DOWN] (0xC)
[    5.700147] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan7 (uninitialized): PHY [realtek-mdio:1a] driver [Realtek RTL8261N] (irq=POLL)
[    5.716320] Realtek RTL8261N realtek-mdio:1b: rtkphy_config_init:80 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF3 PHYAD:27
[    6.081033] [rtkphy_config_init,110] SDS 0x07, 0x10 : 0x8003
[    6.087932] [rtkphy_config_init,112] SDS 0x06, 0x12 : 0xA4
[    6.094627] [rtkphy_config_init,125] sds link [UP] (0x100D)
[    6.101191] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan8 (uninitialized): PHY [realtek-mdio:1b] driver [Realtek RTL8261N] (irq=POLL)
[    6.117290] rtl838x_eth 1b000000.switchcore:ethernet eth0: entered promiscuous mode
[    6.126115] DSA: tree 0 setup
[    6.129532] LINK state irq: 23
[    6.133199] rtl930x_dbgfs_init called
[    6.138449] clk: Disabling unused clocks
[    6.192315] Freeing unused kernel image (initmem) memory: 9876K
[    6.198939] This architecture does not have kernel memory protection.
[    6.206184] Run /init as init process
[    6.210323]   with arguments:
[    6.213636]     /init
[    6.216155]   with environment:
[    6.219640]     HOME=/
[    6.222305]     TERM=linux
[    6.767772] init: Console is alive
[    6.772284] init: - watchdog -
[    6.794042] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.803924] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    6.816608] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.828153] init: - preinit -
Cannot parse config file '/etc/fw_env.config': No such file or directory
Failed to find NVMEM device
[    8.215384] RESETTING CPU_PORT 28
[    8.418780] rtl838x_eth 1b000000.switchcore:ethernet eth0: configuring for fixed/internal link mode
[    8.428891] In rteth_mac_config, mode 1
[    8.434211] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan1: configuring for phy/usxgmii link mode
[    8.445072] realtek-otto-pcs 1b000000.switchcore:pcs: configure SerDes 2 for mode usxgmii
[    8.464440] rtpcs_930x_phy_enable_10g_1g 1gbit phy: 00001140
[    8.470848] rtpcs_930x_phy_enable_10g_1g 1gbit phy enabled: 00001140
[    8.477943] rtpcs_930x_phy_enable_10g_1g 10gbit phy: 00002040
[    8.484400] rtpcs_930x_phy_enable_10g_1g 10gbit phy after: 00002040
[    8.491480] rtpcs_930x_phy_enable_10g_1g set medium: 00000002
[    8.497902] rtpcs_930x_phy_enable_10g_1g set medium after: 00000002
[    8.525031] start_1.1.1 initial value for sds 2
[    8.530254] end_1.1.1 --
[    8.533121] start_1.1.2 Load DFE init. value
[    8.537888] end_1.1.2
[    8.540468] start_1.1.3 disable LEQ training,enable DFE clock
[    8.546895] end_1.1.3 --
[    8.549707] start_1.1.4 offset cali setting
[    8.554439] end_1.1.4
[    8.556984] start_1.1.5 LEQ and DFE setting
[    8.561707] end_1.1.5
[    8.569246] start_1.2.1 ForegroundOffsetCal_Manual
[    8.574648] end_1.2.1
[    8.579665] start_1.2.3 Foreground Calibration
[    8.587223] rtpcs_930x_sds_do_rx_calibration_2_3: end_1.2.3
[    8.593499] start_1.4.1
[    8.814304] end_1.4.1
[    8.817055] start_1.4.2
[    8.820696] vthp_set_bin = 4, vthn_set_bin = 4, manual = 0
[    8.931019] tap0: coef_bin = 22, sign = +
[    8.935515] tap0: manual = 0
[    8.938725] end_1.4.2
[    9.010397] 8021q: adding VLAN 0 to HW filter on device lan1
[    9.019547] rtl838x_eth 1b000000.switchcore:ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   13.277622] procd: - early -
[   13.281381] procd: - watchdog -
[   13.936421] procd: - watchdog -
[   13.940733] procd: - ubus -
[   14.003928] procd: - init -
Please press Enter to activate this console.
[   14.766845] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.963330] lm75 0-0048: hwmon1: sensor 'lm75'
[   15.073885] kmodloader: done loading kernel modules from /etc/modules.d/*
[   16.107505] urngd: v1.0.2 started.
[   51.121430] in rteth_stop
[   51.124550] rtl838x_eth 1b000000.switchcore:ethernet eth0: Link is Down
[   51.762458] RESETTING CPU_PORT 28
[   52.005373] rtl838x_eth 1b000000.switchcore:ethernet eth0: configuring for fixed/internal link mode
[   52.015570] In rteth_mac_config, mode 1
[   52.020880] rtl838x_eth 1b000000.switchcore:ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   52.044884] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan1: configuring for phy/usxgmii link mode
[   52.056072] 8021q: adding VLAN 0 to HW filter on device lan1
[   52.065771] switch: port 1(lan1) entered blocking state
[   52.071791] switch: port 1(lan1) entered disabled state
[   52.077728] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan1: entered allmulticast mode
[   52.087529] rtl838x_eth 1b000000.switchcore:ethernet eth0: entered allmulticast mode
[   52.097049] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan1: entered promiscuous mode
[   52.165992] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan2: configuring for phy/usxgmii link mode
[   52.177087] realtek-otto-pcs 1b000000.switchcore:pcs: configure SerDes 3 for mode usxgmii
[   52.198663] rtpcs_930x_phy_enable_10g_1g 1gbit phy: 00001140
[   52.205288] rtpcs_930x_phy_enable_10g_1g 1gbit phy enabled: 00001140
[   52.212687] rtpcs_930x_phy_enable_10g_1g 10gbit phy: 00002040
[   52.219211] rtpcs_930x_phy_enable_10g_1g 10gbit phy after: 00002040
[   52.226544] rtpcs_930x_phy_enable_10g_1g set medium: 00000002
[   52.233243] rtpcs_930x_phy_enable_10g_1g set medium after: 00000002
[   52.264147] start_1.1.1 initial value for sds 3
[   52.269408] end_1.1.1 --
[   52.272518] start_1.1.2 Load DFE init. value
[   52.277376] end_1.1.2
[   52.279960] start_1.1.3 disable LEQ training,enable DFE clock
[   52.286600] end_1.1.3 --
[   52.289473] start_1.1.4 offset cali setting
[   52.294391] end_1.1.4
[   52.296982] start_1.1.5 LEQ and DFE setting
[   52.301920] end_1.1.5
[   52.310721] start_1.2.1 ForegroundOffsetCal_Manual
[   52.316182] end_1.2.1
[   52.322280] start_1.2.3 Foreground Calibration
[   52.329945] rtpcs_930x_sds_do_rx_calibration_2_3: end_1.2.3
[   52.336390] start_1.4.1
[   52.601403] end_1.4.1
[   52.604188] start_1.4.2
[   52.608040] vthp_set_bin = 3, vthn_set_bin = 3, manual = 0
[   52.741357] tap0: coef_bin = 15, sign = +
[   52.745905] tap0: manual = 0
[   52.749200] end_1.4.2
[   52.836641] 8021q: adding VLAN 0 to HW filter on device lan2
[   52.849458] switch: port 2(lan2) entered blocking state
[   52.855564] switch: port 2(lan2) entered disabled state
[   52.861778] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan2: entered allmulticast mode
[   52.872573] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan2: entered promiscuous mode
[   52.911418] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan3: configuring for phy/usxgmii link mode
[   52.922430] realtek-otto-pcs 1b000000.switchcore:pcs: configure SerDes 4 for mode usxgmii
[   52.943895] rtpcs_930x_phy_enable_10g_1g 1gbit phy: 00001140
[   52.950437] rtpcs_930x_phy_enable_10g_1g 1gbit phy enabled: 00001140
[   52.957617] rtpcs_930x_phy_enable_10g_1g 10gbit phy: 00002040
[   52.964258] rtpcs_930x_phy_enable_10g_1g 10gbit phy after: 00002040
[   52.971484] rtpcs_930x_phy_enable_10g_1g set medium: 00000002
[   52.977970] rtpcs_930x_phy_enable_10g_1g set medium after: 00000002
[   53.009599] start_1.1.1 initial value for sds 4
[   53.015019] end_1.1.1 --
[   53.017897] start_1.1.2 Load DFE init. value
[   53.022897] end_1.1.2
[   53.025500] start_1.1.3 disable LEQ training,enable DFE clock
[   53.032146] end_1.1.3 --
[   53.035021] start_1.1.4 offset cali setting
[   53.039742] end_1.1.4
[   53.042486] start_1.1.5 LEQ and DFE setting
[   53.047250] end_1.1.5
[   53.056021] start_1.2.1 ForegroundOffsetCal_Manual
[   53.061532] end_1.2.1
[   53.067721] start_1.2.3 Foreground Calibration
[   53.075535] rtpcs_930x_sds_do_rx_calibration_2_3: end_1.2.3
[   53.081959] start_1.4.1
[   53.351081] end_1.4.1
[   53.353871] start_1.4.2
[   53.357692] vthp_set_bin = 3, vthn_set_bin = 2, manual = 0
[   53.488598] tap0: coef_bin = 18, sign = +
[   53.493303] tap0: manual = 0
[   53.496611] end_1.4.2
[   53.581534] 8021q: adding VLAN 0 to HW filter on device lan3
[   53.595817] switch: port 3(lan3) entered blocking state
[   53.601958] switch: port 3(lan3) entered disabled state
[   53.607951] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan3: entered allmulticast mode
[   53.619049] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan3: entered promiscuous mode
[   53.673327] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan4: configuring for phy/usxgmii link mode
[   53.684560] realtek-otto-pcs 1b000000.switchcore:pcs: configure SerDes 5 for mode usxgmii
[   53.705740] rtpcs_930x_phy_enable_10g_1g 1gbit phy: 00001140
[   53.712277] rtpcs_930x_phy_enable_10g_1g 1gbit phy enabled: 00001140
[   53.719487] rtpcs_930x_phy_enable_10g_1g 10gbit phy: 00002040
[   53.726096] rtpcs_930x_phy_enable_10g_1g 10gbit phy after: 00002040
[   53.733270] rtpcs_930x_phy_enable_10g_1g set medium: 00000002
[   53.739719] rtpcs_930x_phy_enable_10g_1g set medium after: 00000002
[   53.767129] start_1.1.1 initial value for sds 5
[   53.772335] end_1.1.1 --
[   53.775165] start_1.1.2 Load DFE init. value
[   53.779909] end_1.1.2
[   53.782539] start_1.1.3 disable LEQ training,enable DFE clock
[   53.789008] end_1.1.3 --
[   53.791953] start_1.1.4 offset cali setting
[   53.796669] end_1.1.4
[   53.799214] start_1.1.5 LEQ and DFE setting
[   53.804022] end_1.1.5
[   53.811760] start_1.2.1 ForegroundOffsetCal_Manual
[   53.817123] end_1.2.1
[   53.822297] start_1.2.3 Foreground Calibration
[   53.829804] rtpcs_930x_sds_do_rx_calibration_2_3: end_1.2.3
[   53.836121] start_1.4.1
[   54.057478] end_1.4.1
[   54.060312] start_1.4.2
[   54.063920] vthp_set_bin = 7, vthn_set_bin = 7, manual = 0
[   54.174507] tap0: coef_bin = 20, sign = +
[   54.179011] tap0: manual = 0
[   54.182356] end_1.4.2
[   54.254115] 8021q: adding VLAN 0 to HW filter on device lan4
[   54.265983] switch: port 4(lan4) entered blocking state
[   54.271996] switch: port 4(lan4) entered disabled state
[   54.277943] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan4: entered allmulticast mode
[   54.288832] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan4: entered promiscuous mode
[   54.318266] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan5: configuring for phy/usxgmii link mode
[   54.329175] realtek-otto-pcs 1b000000.switchcore:pcs: configure SerDes 6 for mode usxgmii
[   54.348873] rtpcs_930x_phy_enable_10g_1g 1gbit phy: 00001140
[   54.355284] rtpcs_930x_phy_enable_10g_1g 1gbit phy enabled: 00001140
[   54.362517] rtpcs_930x_phy_enable_10g_1g 10gbit phy: 00002040
[   54.368973] rtpcs_930x_phy_enable_10g_1g 10gbit phy after: 00002040
[   54.376088] rtpcs_930x_phy_enable_10g_1g set medium: 00000002
[   54.382655] rtpcs_930x_phy_enable_10g_1g set medium after: 00000002
[   54.409915] start_1.1.1 initial value for sds 6
[   54.415132] end_1.1.1 --
[   54.417968] start_1.1.2 Load DFE init. value
[   54.422842] end_1.1.2
[   54.425415] start_1.1.3 disable LEQ training,enable DFE clock
[   54.431961] end_1.1.3 --
[   54.434816] start_1.1.4 offset cali setting
[   54.439503] end_1.1.4
[   54.442150] start_1.1.5 LEQ and DFE setting
[   54.446880] end_1.1.5
[   54.454576] start_1.2.1 ForegroundOffsetCal_Manual
[   54.459942] end_1.2.1
[   54.465120] start_1.2.3 Foreground Calibration
[   54.472705] rtpcs_930x_sds_do_rx_calibration_2_3: end_1.2.3
[   54.478925] start_1.4.1
[   54.700127] end_1.4.1
[   54.702957] start_1.4.2
[   54.706528] vthp_set_bin = 7, vthn_set_bin = 7, manual = 0
[   54.817031] tap0: coef_bin = 18, sign = +
[   54.821603] tap0: manual = 0
[   54.824838] end_1.4.2
[   54.896562] 8021q: adding VLAN 0 to HW filter on device lan5
[   54.908225] switch: port 5(lan5) entered blocking state
[   54.914256] switch: port 5(lan5) entered disabled state
[   54.920387] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan5: entered allmulticast mode
[   54.931362] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan5: entered promiscuous mode
[   54.957821] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan6: configuring for phy/usxgmii link mode
[   54.968692] realtek-otto-pcs 1b000000.switchcore:pcs: configure SerDes 7 for mode usxgmii
[   54.988278] rtpcs_930x_phy_enable_10g_1g 1gbit phy: 00001140
[   54.994686] rtpcs_930x_phy_enable_10g_1g 1gbit phy enabled: 00001140
[   55.001903] rtpcs_930x_phy_enable_10g_1g 10gbit phy: 00002040
[   55.008353] rtpcs_930x_phy_enable_10g_1g 10gbit phy after: 00002040
[   55.015523] rtpcs_930x_phy_enable_10g_1g set medium: 00000002
[   55.022074] rtpcs_930x_phy_enable_10g_1g set medium after: 00000002
[   55.049327] start_1.1.1 initial value for sds 7
[   55.054550] end_1.1.1 --
[   55.057384] start_1.1.2 Load DFE init. value
[   55.062249] end_1.1.2
[   55.064821] start_1.1.3 disable LEQ training,enable DFE clock
[   55.071455] end_1.1.3 --
[   55.074300] start_1.1.4 offset cali setting
[   55.078979] end_1.1.4
[   55.081617] start_1.1.5 LEQ and DFE setting
[   55.086349] end_1.1.5
[   55.094066] start_1.2.1 ForegroundOffsetCal_Manual
[   55.099428] end_1.2.1
[   55.104608] start_1.2.3 Foreground Calibration
[   55.112209] rtpcs_930x_sds_do_rx_calibration_2_3: end_1.2.3
[   55.118429] start_1.4.1
[   55.339515] end_1.4.1
[   55.342330] start_1.4.2
[   55.345909] vthp_set_bin = 2, vthn_set_bin = 2, manual = 0
[   55.456496] tap0: coef_bin = 31, sign = +
[   55.461072] tap0: manual = 0
[   55.464304] end_1.4.2
[   55.535945] 8021q: adding VLAN 0 to HW filter on device lan6
[   55.548898] switch: port 6(lan6) entered blocking state
[   55.554969] switch: port 6(lan6) entered disabled state
[   55.561136] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan6: entered allmulticast mode
[   55.571787] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan6: entered promiscuous mode
[   55.598078] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan7: configuring for phy/usxgmii link mode
[   55.608968] realtek-otto-pcs 1b000000.switchcore:pcs: configure SerDes 8 for mode usxgmii
[   55.628609] rtpcs_930x_phy_enable_10g_1g 1gbit phy: 00001140
[   55.635022] rtpcs_930x_phy_enable_10g_1g 1gbit phy enabled: 00001140
[   55.642239] rtpcs_930x_phy_enable_10g_1g 10gbit phy: 00002040
[   55.648689] rtpcs_930x_phy_enable_10g_1g 10gbit phy after: 00002040
[   55.655824] rtpcs_930x_phy_enable_10g_1g set medium: 00000002
[   55.662382] rtpcs_930x_phy_enable_10g_1g set medium after: 00000002
[   55.689646] start_1.1.1 initial value for sds 8
[   55.694869] end_1.1.1 --
[   55.697702] start_1.1.2 Load DFE init. value
[   55.702566] end_1.1.2
[   55.705141] start_1.1.3 disable LEQ training,enable DFE clock
[   55.711706] end_1.1.3 --
[   55.714589] start_1.1.4 offset cali setting
[   55.719268] end_1.1.4
[   55.721896] start_1.1.5 LEQ and DFE setting
[   55.726633] end_1.1.5
[   55.734362] start_1.2.1 ForegroundOffsetCal_Manual
[   55.739730] end_1.2.1
[   55.744903] start_1.2.3 Foreground Calibration
[   55.752495] rtpcs_930x_sds_do_rx_calibration_2_3: end_1.2.3
[   55.758720] start_1.4.1
[   55.979838] end_1.4.1
[   55.982662] start_1.4.2
[   55.986235] vthp_set_bin = 7, vthn_set_bin = 7, manual = 0
[   56.096839] tap0: coef_bin = 0, sign = +
[   56.101314] tap0: manual = 0
[   56.104555] end_1.4.2
[   56.176257] 8021q: adding VLAN 0 to HW filter on device lan7
[   56.188868] switch: port 7(lan7) entered blocking state
[   56.194895] switch: port 7(lan7) entered disabled state
[   56.201056] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan7: entered allmulticast mode
[   56.211743] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan7: entered promiscuous mode
[   56.237926] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan8: configuring for phy/usxgmii link mode
[   56.248813] realtek-otto-pcs 1b000000.switchcore:pcs: configure SerDes 9 for mode usxgmii
[   56.268399] rtpcs_930x_phy_enable_10g_1g 1gbit phy: 00001140
[   56.274839] rtpcs_930x_phy_enable_10g_1g 1gbit phy enabled: 00001140
[   56.282059] rtpcs_930x_phy_enable_10g_1g 10gbit phy: 00002040
[   56.288507] rtpcs_930x_phy_enable_10g_1g 10gbit phy after: 00002040
[   56.295643] rtpcs_930x_phy_enable_10g_1g set medium: 00000002
[   56.302199] rtpcs_930x_phy_enable_10g_1g set medium after: 00000002
[   56.329433] start_1.1.1 initial value for sds 9
[   56.334677] end_1.1.1 --
[   56.337512] start_1.1.2 Load DFE init. value
[   56.342376] end_1.1.2
[   56.344950] start_1.1.3 disable LEQ training,enable DFE clock
[   56.351507] end_1.1.3 --
[   56.354359] start_1.1.4 offset cali setting
[   56.359037] end_1.1.4
[   56.361683] start_1.1.5 LEQ and DFE setting
[   56.366424] end_1.1.5
[   56.374128] start_1.2.1 ForegroundOffsetCal_Manual
[   56.379495] end_1.2.1
[   56.384672] start_1.2.3 Foreground Calibration
[   56.392286] rtpcs_930x_sds_do_rx_calibration_2_3: end_1.2.3
[   56.398505] start_1.4.1
[   56.619497] end_1.4.1
[   56.622311] start_1.4.2
[   56.625887] vthp_set_bin = 3, vthn_set_bin = 3, manual = 0
[   56.736465] tap0: coef_bin = 15, sign = +
[   56.741033] tap0: manual = 0
[   56.744268] end_1.4.2
[   56.816167] 8021q: adding VLAN 0 to HW filter on device lan8
[   56.830708] switch: port 8(lan8) entered blocking state
[   56.836589] switch: port 8(lan8) entered disabled state
[   56.842725] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan8: entered allmulticast mode
[   56.853279] rtl83xx-switch 1b000000.switchcore:ethernet-switch lan8: entered promiscuous mode

this was an initramfs without the bootcmd=mw.l 0x8401da94 0; rtk network on; boota, built yesterday.

Thanks for the log, this looks like what I got with my device. The important question is: Did networking work in this state, or is still no traffic going through?

nope, no traffic.

Sad ... hard to say without the device in front of me. I can just suggest to compare SerDes dumps and several PHY registers between working and non-working state.

With the new driver I got it working with the SKS7300-4X4T now too, so the PCS setup is likely good (except something is missing that is specifically needed for the SKS8300-8T).