RTL8852BE driver support on Jetpack 6

I am trying to get this Telit WiFi 6 and BT 5.2 module working with Jetson Orin Nano using Jetpack 6. This chipset uses the RTL8852BE and requires a corresponding driver.

I’ve tried building the kernel from source and enabling the realtek drivers by adding these to the defconfig

CONFIG_NET_VENDOR_REALTEK=y
CONFIG_WLAN_VENDOR_REALTEK=y
CONFIG_RTL_CARDS=y
CONFIG_BT_RTL=y
CONFIG_BT_HCIBTUSB_RTL=y
CONFIG_BT_HCIUART_RTL=y
CONFIG_USB_RTL8153_ECM=y
CONFIG_RTW89=y
CONFIG_RTW89_8852AE=y
CONFIG_RTW89_CORE=y
CONFIG_RTW89_PCI=y
CONFIG_RTL8XXXU=y
CONFIG_REALTEK_PHY=y
CONFIG_USB_RTL8150=y
CONFIG_USB_RTL8152=y

This is what lspci shows me

0001:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
	Subsystem: Realtek Semiconductor Co., Ltd. Device b852
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 255
	Region 0: I/O ports at 1000 [disabled] [size=256]
	Region 2: Memory at 20a8000000 (64-bit, non-prefetchable) [disabled] [size=1M]
	Capabilities: <access denied>

0008:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 189
	IOMMU group: 34
	Region 0: I/O ports at 300000 [size=256]
	Region 2: Memory at 3528004000 (64-bit, non-prefetchable) [size=4K]
	Region 4: Memory at 3528000000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8168
	Kernel modules: r8168

and dmesg shows the ethernet driver is loaded

[    0.255017] usbcore: registered new interface driver rtl8150

So next I tried installing from source on the device

git clone https://github.com/lwfinger/rtw89.git
cd rtw89
make KSRC=/usr/src/linux-headers-5.15.136-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source/

However after doing so and rebooting, system commands like dmesg no longer function.

Can someone advise on how to properly support this chipset? My ideal solution would be to include this driver in my source build, since I am already building from source for my project.

Hello @dakejahl,

Are you running Jetpack ? Or something else like Yocto?

What we would recommend would be:

  1. Look for the specific driver you need along with its dependencies, which we believe it would be:
    rtw89/rtw8852be.c at main · lwfinger/rtw89 · GitHub
  2. Add that into your OS sources either JP or Yocto.
  3. Add the DTB
  4. Try compiling a cleaner version of it

Please let us know if you require further help.

regards,
Andrew
support@proventusnova.com

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.