Comments (4)
currently working on this issue #8
but you should read here
https://github.com/ulli-kroll/rtl8821au
If you build openwrt from "source" you should adapt
KSRC and CROSS_COMPILE to your needs
If you use -stable binaries you are out of luck
or install the SDK
also it may be possible this is also true for -development
I know this is hard for a true beginner/end user
from rtw88-usb.
I have sucessfully got this to compile on Openwrt. You be able to check out the source for openwrt as defined here, create a folder in package/kernel called rtw88-usb-new and then put the file below in it. After that simply type make menuconfig, select this package from the kernel modules > wireless devices menu.
You will need to manually copy across the firmware and place in /lib/firmware/rtw88/.
include $(TOPDIR)/rules.mk
PKG_NAME:=rtw88-usb-new
PKG_RELEASE:=2
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=
PKG_SOURCE_URL:=https://github.com/ulli-kroll/rtw88-usb.git
PKG_SOURCE_PROTO:=git
#PKG_SOURCE_DATE:=2020-10-17
#PKG_SOURCE_VERSION:=f9f4ee862b3e1f9e6a543d503a08d8de9b18b8f9
PKG_SOURCE_VERSION:=d6b859eed430c24cb74301cafaa1eab25f103dab
#PKG_MIRROR_HASH:=60359df8b49fa433d38b968b0df7eaddaca10f13cdd57471394bac1f6e5a162e
# PKG_MAINTAINER:=
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/package.mk
define KernelPackage/rtw88-usb-new
SUBMENU:=Wireless Drivers
TITLE:=Realtek rtw88-usb new version testing
DEPENDS:=+kmod-cfg80211 +kmod-mac80211 +kmod-usb-core +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT
FILES:=\
$(PKG_BUILD_DIR)/rtw88_pci.ko \
$(PKG_BUILD_DIR)/rtw88_usb.ko \
$(PKG_BUILD_DIR)/rtw88_core.ko \
$(PKG_BUILD_DIR)/rtw88_8822cu.ko \
$(PKG_BUILD_DIR)/rtw88_8822ce.ko \
$(PKG_BUILD_DIR)/rtw88_8822c.ko \
$(PKG_BUILD_DIR)/rtw88_8822b.ko \
$(PKG_BUILD_DIR)/rtw88_8822be.ko \
$(PKG_BUILD_DIR)/rtw88_8822bu.ko \
$(PKG_BUILD_DIR)/rtw88_8723d.ko \
$(PKG_BUILD_DIR)/rtw88_8723de.ko \
$(PKG_BUILD_DIR)/rtw88_8821c.ko \
$(PKG_BUILD_DIR)/rtw88_8821cu.ko
AUTOLOAD:=$(call AutoProbe, rtw88_8821cu)
endef
define Build/Compile
+$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
$(KERNEL_MAKE_FLAGS) \
M="$(PKG_BUILD_DIR)" \
modules
endef
$(eval $(call KernelPackage,rtw88-usb-new))
from rtw88-usb.
You forgot there is (currently) no master branch with all USB-ID's here.
I hope I sort this out after reading some other phy_init/mac_init code
and compare this with 8723d
;-)
from rtw88-usb.
I have sucessfully got this to compile on Openwrt. You be able to check out the source for openwrt as defined here, create a folder in package/kernel called rtw88-usb-new and then put the file below in it. After that simply type make menuconfig, select this package from the kernel modules > wireless devices menu.
You will need to manually copy across the firmware and place in /lib/firmware/rtw88/.
include $(TOPDIR)/rules.mk PKG_NAME:=rtw88-usb-new PKG_RELEASE:=2 PKG_LICENSE:=GPLv2 PKG_LICENSE_FILES:= PKG_SOURCE_URL:=https://github.com/ulli-kroll/rtw88-usb.git PKG_SOURCE_PROTO:=git #PKG_SOURCE_DATE:=2020-10-17 #PKG_SOURCE_VERSION:=f9f4ee862b3e1f9e6a543d503a08d8de9b18b8f9 PKG_SOURCE_VERSION:=d6b859eed430c24cb74301cafaa1eab25f103dab #PKG_MIRROR_HASH:=60359df8b49fa433d38b968b0df7eaddaca10f13cdd57471394bac1f6e5a162e # PKG_MAINTAINER:= PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/package.mk define KernelPackage/rtw88-usb-new SUBMENU:=Wireless Drivers TITLE:=Realtek rtw88-usb new version testing DEPENDS:=+kmod-cfg80211 +kmod-mac80211 +kmod-usb-core +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT FILES:=\ $(PKG_BUILD_DIR)/rtw88_pci.ko \ $(PKG_BUILD_DIR)/rtw88_usb.ko \ $(PKG_BUILD_DIR)/rtw88_core.ko \ $(PKG_BUILD_DIR)/rtw88_8822cu.ko \ $(PKG_BUILD_DIR)/rtw88_8822ce.ko \ $(PKG_BUILD_DIR)/rtw88_8822c.ko \ $(PKG_BUILD_DIR)/rtw88_8822b.ko \ $(PKG_BUILD_DIR)/rtw88_8822be.ko \ $(PKG_BUILD_DIR)/rtw88_8822bu.ko \ $(PKG_BUILD_DIR)/rtw88_8723d.ko \ $(PKG_BUILD_DIR)/rtw88_8723de.ko \ $(PKG_BUILD_DIR)/rtw88_8821c.ko \ $(PKG_BUILD_DIR)/rtw88_8821cu.ko AUTOLOAD:=$(call AutoProbe, rtw88_8821cu) endef define Build/Compile +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \ $(KERNEL_MAKE_FLAGS) \ M="$(PKG_BUILD_DIR)" \ modules endef $(eval $(call KernelPackage,rtw88-usb-new))
Thanks for your instruction, but it doesn't work for me
not even detect my TP-Link Archer T4U V3 (RTL8812BU) on Raspberry Pi 3 Model B Rev 1.2 with OpenWrt 22.03.5
do you have any suggestion for me?
from rtw88-usb.
Related Issues (20)
- Build process does not match instructions, built modules have unknown symbols HOT 2
- failed to download firmware using rtw_8822cu on 8811cu HOT 23
- rtw_8821cu fails to load on aarch64 kernel 5.4.70 with embedded USB HOT 11
- rtw8821cw fails to go into monitor mode HOT 1
- rtw8821cu antenna issue
- hard lockup with rtl8822bu HOT 2
- packet injection on 5G does not appear to work (2G does) - 8822bu
- How to compile for ARM (raspberry) - only USB part HOT 3
- Fail to connect with 8723du HOT 5
- rtw8822cu: rfe 3 support missing
- Compiling error
- Error in make load
- Can not support 7822ULC (rtw_8822bu) usb card
- Is there any upstreaming plans? HOT 8
- please support kernel version > 5.14
- 8822bu error when set antenna
- Compile problem on Slackware64-15.0
- Support for Concurrent Mode HOT 1
- try add support for jaguar-1 devices HOT 9
- Realtek RTL8821CU support (failed to download firmware) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtw88-usb.