1 1
linoma

Building RTL8821CU module

Recommended Posts

Hello everybody,

 

I'd like build the module for my usb dongle with rtl8821cu. Im using the 4.4.154 version on rk3328 tvboxes. I need the kernel sources. Is the a repo on github for this build? Thanks and excuse me for my English

Share this post


Link to post
Share on other sites

I have same problems during the installation with armbian-config. Anyway I have downloaded the kernel source, Renegade option in compile.sh, and Im using insmod and the 8821cu.ko is loaded. But the kernel freeze with nulla pointer in rtw_os_ndev_register. May Be there Is a bug in halmac routines. Iam already using the driver on x86 Ubuntu 1604 and It works well. Im using old version 4.4.154 on rk3228

Share this post


Link to post
Share on other sites
22 hours ago, linoma said:

I have same problems during the installation with armbian-config. Anyway I have downloaded the kernel source, Renegade option in compile.sh, and Im using insmod and the 8821cu.ko is loaded. But the kernel freeze with nulla pointer in rtw_os_ndev_register. May Be there Is a bug in halmac routines.


Build image and try:
https://github.com/armbian/build/pull/1690

I don't have this hardware but it doesn't crash on loading:
 

[  119.107213] RTW: module init start
[  119.107222] RTW: rtl8821cu v5.4.1_28754.20180921_COEX20180712-3232
[  119.107225] RTW: build time: Dec 23 2019 21:19:20
[  119.107228] RTW: rtl8821cu BT-Coex version = COEX20180712-3232
[  119.107378] usbcore: registered new interface driver rtl8821cu
[  119.107382] RTW: module init ret=0

Running on Olimex Lime A64 http://ix.io/25kb

Share this post


Link to post
Share on other sites

Yes the module is ready. But as soon as the usb is ready it freezes. There are many problems in rtl8821c_read_efuse function. Im just detecting the problem, maybe there is a problem with country code. 

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1