RTL8852 wifi support
Posted: Sun Jun 29, 2025 11:32 pm
I wanted to use a Wifi 6 RTL8852BE module with the nanopi and not the older module that it can ordered with.
The rtw89 driver with RTL8852BE support has been in the kernel since 6.2, from February 2023, over 2 years ago. But the nano pi zero2 is still on kernel 6.1!
But there is an out of tree rtw89 driver that supports old kernels, https://github.com/lwfinger/rtw89
To build it, it's necessary to have the kernel headers and the FriendlyElec Ubuntu image doesn't come with them. It uses a special kernel and not the stock ubuntu arm64 kernel.
It also doesn't have any repository setup where it can install the deb with apt. IMHO, it's very disappointing that this simple thing isn't done.
Thankfully there is a deb for the headers mentioned in the wiki. It says to run:
Well, that doesn't work as the link is wrong. Paths are case sensitive. It file is at http://112.124.9.243/archives/rk3528/li ... latest.deb
But the driver build fails with this error:
[code ][/code]
The rtw89 driver with RTL8852BE support has been in the kernel since 6.2, from February 2023, over 2 years ago. But the nano pi zero2 is still on kernel 6.1!
But there is an out of tree rtw89 driver that supports old kernels, https://github.com/lwfinger/rtw89
To build it, it's necessary to have the kernel headers and the FriendlyElec Ubuntu image doesn't come with them. It uses a special kernel and not the stock ubuntu arm64 kernel.
It also doesn't have any repository setup where it can install the deb with apt. IMHO, it's very disappointing that this simple thing isn't done.
Thankfully there is a deb for the headers mentioned in the wiki. It says to run:
Code: Select all
wget http://112.124.9.243/archives/RK3528/linux-headers-$(uname -r)-latest.deb
Well, that doesn't work as the link is wrong. Paths are case sensitive. It file is at http://112.124.9.243/archives/rk3528/li ... latest.deb
But the driver build fails with this error:
[code ][/code]