Vojtěch Weiss Posted April 22 Posted April 22 (edited) rk3588-pcie_bifurcation_2x2-uboot.patchrk3588-pcie_bifurcation_2x2.patch Attached are two patches I've prepared. One for uBoot (to correctly recognize split pcie3x4 to two independent controllers, pcie3x4 and pcie3x2), and one for DT of NanoPC T6. This basically allows you to use trimmed-down bifurcation adapter. The adapter in question must be trimmed down/cut to fit on the back of the board. Tested with 2x NVME, and 1xNVME and QCNFA765 wireless card. I'll post photos later once I'll disconnect the board again from my setup. BEWARE!!! If you'd plan to use more than one ath11k wireless card, you'd need QRTR patch. Since the SBL enums changed in recent kernel 6.18.18+, I am also preparing modified kernel patch (originally for OpenWRT by Hauke Mehrtens and Robert Marko) to allow for more than one ath11k wireless to be installed. Will post later with new patch for it. root@ap-voyager:~# lspci -nn 0000:00:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3588 [1d87:3588] (rev 01) 0000:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc QCNFA765 Wireless Network Adapter [17cb:1103] (rev 01) 0001:10:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3588 [1d87:3588] (rev 01) 0001:11:00.0 Non-Volatile memory controller [0108]: Shenzhen Longsys Electronics Co., Ltd. Lexar NM610 PRO NVME SSD (DRAM-less) [1d97:1202] (rev 01) 0002:20:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3588 [1d87:3588] (rev 01) 0002:21:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05) 0003:30:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3588 [1d87:3588] (rev 01) 0003:31:00.0 Network controller [0280]: Qualcomm Technologies, Inc QCNFA765 Wireless Network Adapter [17cb:1103] (rev 01) 0004:40:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3588 [1d87:3588] (rev 01) 0004:41:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05) root@ap-voyager:~# Edited April 22 by Vojtěch Weiss 0 Quote
Vojtěch Weiss Posted 1 hour ago Author Posted 1 hour ago As for QCNFA765, using more than one NIC in the same system still won't do. I have found correct MHI registries (0x28 and 0x48) which are used to store QRTR ID, but the driver omitts it completely during cold-boot of the NIC. So, for now, I moved over to use single QCNFA765 and ntel AX210 combo. Which brought another issue - annoying LAR. Bellow are patches I do use to be able to use both cards in HostAP Master mode with no restrictions on selected channels. I do use regdomain CZ. Should you need different regdom, use example found in those patches for CZ, and just copy over the changes made (removing NO-IR, DFS, and other flags). 404-regd_no_assoc_hints.patch atheros-dfs_fix.patch atheros-regdomainfix.patch regdb-fix.patch rk3588-iwlwifi-disable-lar.patch 0 Quote
Vojtěch Weiss Posted 1 hour ago Author Posted 1 hour ago As for QRTR patch, WIP version is attached bellow. Be aware that this patch doesn't work yet. It builds, it writes to registries, but QCNFA765 ignores it. rk3588-ath11k-QRTR.patch 0 Quote
Vojtěch Weiss Posted 1 hour ago Author Posted 1 hour ago As for promised photos, here they are. Note custom-trimmed bifurcation adapter. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.