My Xikestor SKS8300-8X arrived, I tried with SNAPSHOT (r28695-22d1e6cd26)
but I get a boot error. Any ideas @musashino ?
UPDATE - Appears that we need to load the vendor firmware at least one time before OpenWRT initramfs will load - guess it's expecting some config to be created or similar?
SKS8300-8X boots fine now, backing up firmware and loading sysupgrade currently.
SKS8300-8X first OpenWRT initramfs boot before booting vendor firmware log
RTL9300# tftpboot 0x82000000 openwrt-realtek-rtl930x-xikestor_sks8300-8x-initramfs-kernel.bin
Using rtl9300#0 device
TFTP from server 192.168.2.36; our IP address is 192.168.2.1
Filename 'openwrt-realtek-rtl930x-xikestor_sks8300-8x-initramfs-kernel.bin'. Size is 0x1129c00 Bytes = 17.2 MB
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################################################
done
Bytes transferred = 6426059 (620dcb hex)
RTL9300# bootm
Booting kernel with Legacy format image at 82000000
2772 bytes written, 0 bytes skipped
2772 bytes written, 0 bytes skipped
Start checking the Kernel Image CRC ............OK
Start uncompressing the Kernel Image ...........OK
Starting kernel ...
[ 0.000000] Linux version 6.6.74 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28695-22d1e6cd26) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Su5
[ 0.000000] RTL838X model is 0
[ 0.000000] RTL839X model is 0
[ 0.000000] RTL93XX model is 93030001
[ 0.000000] SoC Type: RTL9303
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[ 0.000000] MIPS: machine is XikeStor SKS8300-8X
[ 0.000000] earlycon: ns16550a0 at MMIO 0x18002000 (options '9600n8')
[ 0.000000] printk: bootconsole [ns16550a0] enabled
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Using appended Device Tree.
[ 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 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=0004e5be
[ 0.000000] Readback ErrCtl register=0004e5be
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 497884K/524288K available (6969K kernel code, 628K rwdata, 1608K rodata, 9732K init, 256K bss, 26404K reserved, 0K cma-reserved, 262144K highm)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 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.106755] Calibrating delay loop... 531.66 BogoMIPS (lpj=2658304)
[ 0.238998] pid_max: default: 32768 minimum: 301
[ 0.309774] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.406066] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.517884] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[ 0.645761] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.775252] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.867269] pinctrl core: initialized pinctrl subsystem
[ 0.938785] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 1.017496] thermal_sys: Registered thermal governor 'step_wise'
[ 1.034347] clocksource: Switched to clocksource realtek_otto_timer
[ 1.207142] NET: Registered PF_INET protocol family
[ 1.271675] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 1.368754] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.479989] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.582019] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 1.682929] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.777001] TCP: Hash tables configured (established 2048 bind 2048)
[ 1.861491] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.956990] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.043050] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.135773] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.225767] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 2.312413] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.389296] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.722178] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 2.821519] pinctrl-single 1b00c600.pinmux: 32 pins, size 4
[ 2.895466] pinctrl-single 1b00cc00.pinmux: 32 pins, size 4
[ 2.970857] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 3.061670] printk: console [ttyS0] disabled
[ 3.118484] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 30, base_baud = 10937500) is a 16550A
[ 3.234321] printk: console [ttyS0] enabled
[ 3.234321] printk: console [ttyS0] enabled
[ 3.344488] printk: bootconsole [early0] disabled
[ 3.344488] printk: bootconsole [early0] disabled
[ 3.508054] printk: bootconsole [ns16550a0] disabled
[ 3.508054] printk: bootconsole [ns16550a0] disabled
[ 3.677663] brd: module loaded
[ 3.724880] spi-nor spi0.0: w25q256 (32768 Kbytes)
[ 3.788123] 4 fixed-partitions partitions found on MTD device spi0.0
[ 3.871931] OF: Bad cell count for /soc/spi@1200/flash@0/partitions
[ 3.954560] OF: Bad cell count for /soc/spi@1200/flash@0/partitions
[ 4.037429] Creating 4 MTD partitions on "spi0.0":
[ 4.100608] 0x000000000000-0x000000100000 : "u-boot"
[ 4.169745] 0x000000100000-0x000000130000 : "board-info"
[ 4.242358] 0x000000130000-0x000000200000 : "syslog"
[ 4.310407] 0x000000200000-0x000002000000 : "firmware"
[ 4.380889] 2 fixed-partitions partitions found on MTD device firmware
[ 4.466963] Creating 2 MTD partitions on "firmware":
[ 4.532289] 0x000000000000-0x000000800000 : "kernel"
[ 4.600218] 0x000000800000-0x000001e00000 : "rootfs"
[ 4.668310] mtd: setting mtd5 (rootfs) as root device
[ 4.734917] mtdsplit: no squashfs found in "rootfs"
[ 4.815267] Probing RTL838X eth device pdev: 820b3200, dev: 820b3210
[ 4.919109] Found SoC ID: 9303: RTL9303, family 9300
[ 4.984624] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 00000000, ra == 805672e8
[ 5.124514] Oops[#1]:
[ 5.154276] CPU: 0 PID: 1 Comm: swapper Not tainted 6.6.74 #0
[ 5.229944] $ 0 : 00000000 00000001 00000000 8200bf38
[ 5.298734] $ 4 : 82348518 00000000 ffff8c6e 80a00000
[ 5.367525] $ 8 : 04000040 11d3b942 bed06324 82021a40
[ 5.436316] $12 : ffffff00 8092ad84 00000003 00000001
[ 5.505106] $16 : 82348518 00000000 809fe540 8200bf33
[ 5.573897] $20 : 0000000c 0000012c 8200bf38 8200bf40
[ 5.642689] $24 : 00000001 80417650
[ 5.711479] $28 : 82020000 8200bee8 80a00000 805672e8
[ 5.780270] Hi : 00005fff
[ 5.818106] Lo : 2e48f657
[ 5.855940] epc : 00000000 0x0
[ 5.898361] ra : 805672e8 __napi_poll+0x3c/0x1c0
[ 5.962566] Status: 1100fc03 KERNEL EXL IE
[ 6.017598] Cause : 50800008 (ExcCode 02)
[ 6.070338] BadVA : 00000000
[ 6.108174] PrId : 00019555 (MIPS 34Kc)
[ 6.159767] Modules linked in:
[ 6.199894] Process swapper (pid: 1, threadinfo=(ptrval), task=(ptrval), tls=00000000)
[ 6.304228] Stack : 00000020 809e8c4c 0000001f 00000019 000d48a4 8016ba0c 00000001 ffffffff
[ 6.414293] 82348518 809fe540 00000000 80567964 00010000 8016f05c 8088bd38 80a00000
[ 6.524358] ffff8c70 809e0000 00000000 01000000 8200bf38 8200bf38 8200bf40 8200bf40
[ 6.634424] 813836f8 00000008 00000003 00000004 0000000c 00000100 00000020 3fffffff
[ 6.744488] 813836ec 8012b8dc 00000005 00000001 0000001f 813b0000 809d4718 00000000
[ 6.854554] ...
[ 6.886658] Call Trace:
[ 6.886663]
[ 6.938251] [<8016ba0c>] handle_irq_event+0x94/0xc4
[ 7.002457] [<80567964>] net_rx_action+0x298/0x334
[ 7.065514] [<8016f05c>] handle_level_irq+0xb4/0x1bc
[ 7.130865] [<80a00000>] do_initcalls+0xe0/0x158
[ 7.191633] [<8012b8dc>] handle_softirqs+0x108/0x2a0
[ 7.256983] [<80a00000>] do_initcalls+0xe0/0x158
[ 7.317749] [<80417880>] plat_irq_dispatch+0x68/0x98
[ 7.383100] [<80101658>] handle_int+0x138/0x144
[ 7.442717]
[ 7.462206] Code: (Bad address in epc)
[ 7.462206]
[ 7.530997]
[ 7.550542] ---[ end trace 0000000000000000 ]---
[ 7.611288] Kernel panic - not syncing: Fatal exception in interrupt
[ 7.694953] Rebooting in 1 seconds..
[ 9.735781] Reboot failed -- System halted